Home
last modified time | relevance | path

Searched refs:fragments (Results 1 – 25 of 98) sorted by relevance

1234

/linux-6.12.1/drivers/of/
Doverlay.c77 struct fragment *fragments; member
164 struct fragment *fragment = &ovcs->fragments[i]; in overlay_notify()
226 fragment = &ovcs->fragments[k]; in dup_and_fixup_symbol_prop()
641 fragment = &ovcs->fragments[i]; in build_changeset()
655 fragment = &ovcs->fragments[ovcs->count - 1]; in build_changeset()
742 struct fragment *fragments; in init_overlay_changeset() local
782 fragments = kcalloc(cnt, sizeof(*fragments), GFP_KERNEL); in init_overlay_changeset()
783 if (!fragments) { in init_overlay_changeset()
787 ovcs->fragments = fragments; in init_overlay_changeset()
795 fragment = &fragments[cnt]; in init_overlay_changeset()
[all …]
/linux-6.12.1/drivers/net/wireless/intel/ipw2x00/
Dlibipw_tx.c172 if (txb->fragments[i]) in libipw_txb_free()
173 dev_kfree_skb_any(txb->fragments[i]); in libipw_txb_free()
183 txb = kzalloc(struct_size(txb, fragments, nr_frags), gfp_mask); in libipw_alloc_txb()
191 txb->fragments[i] = __dev_alloc_skb(txb_size + headroom, in libipw_alloc_txb()
193 if (unlikely(!txb->fragments[i])) { in libipw_alloc_txb()
197 skb_reserve(txb->fragments[i], headroom); in libipw_alloc_txb()
201 dev_kfree_skb_any(txb->fragments[i--]); in libipw_alloc_txb()
426 skb_frag = txb->fragments[0]; in libipw_xmit()
451 skb_frag = txb->fragments[i]; in libipw_xmit()
/linux-6.12.1/lib/kunit/
Dstring-stream.c84 list_add_tail(&frag_container->node, &stream->fragments); in string_stream_vadd()
109 &stream->fragments, in string_stream_clear()
128 list_for_each_entry(frag_container, &stream->fragments, node) in string_stream_get_string()
154 return list_empty(&stream->fragments); in string_stream_is_empty()
166 INIT_LIST_HEAD(&stream->fragments); in alloc_string_stream()
Dstring-stream-test.c50 KUNIT_EXPECT_TRUE(test, list_empty(&stream->fragments)); in string_stream_managed_init_test()
66 KUNIT_EXPECT_TRUE(test, list_empty(&stream->fragments)); in string_stream_unmanaged_init_test()
390 KUNIT_EXPECT_TRUE(test, list_empty(&stream->fragments)); in string_stream_append_empty_string_test()
394 original_frag_count = list_count_nodes(&stream->fragments); in string_stream_append_empty_string_test()
397 KUNIT_EXPECT_EQ(test, list_count_nodes(&stream->fragments), original_frag_count); in string_stream_append_empty_string_test()
485 list_for_each_entry(frag_container, &stream->fragments, node) { in string_stream_performance_test()
Dstring-stream.h23 struct list_head fragments; member
/linux-6.12.1/fs/squashfs/
Dfragment.c43 if (fragment >= msblk->fragments) in squashfs_frag_lookup()
64 u64 fragment_table_start, u64 next_table, unsigned int fragments) in squashfs_read_fragment_index_table() argument
66 unsigned int length = SQUASHFS_FRAGMENT_INDEX_BYTES(fragments); in squashfs_read_fragment_index_table()
Dsuper.c188 unsigned int fragments; in squashfs_fill_super() local
290 msblk->fragments = le32_to_cpu(sblk->fragments); in squashfs_fill_super()
302 TRACE("Number of fragments %d\n", msblk->fragments); in squashfs_fill_super()
403 fragments = msblk->fragments; in squashfs_fill_super()
404 if (fragments == 0) in squashfs_fill_super()
416 le64_to_cpu(sblk->fragment_table_start), next_table, fragments); in squashfs_fill_super()
Dsquashfs_fs_sb.h66 unsigned int fragments; member
/linux-6.12.1/Documentation/mm/
Dpage_frags.rst2 Page fragments
7 fragments within that page are individually refcounted, in the page's
11 simple allocation framework for page fragments. This is used by the
35 fragments, but the page fragments are cached at the ring or descriptor
/linux-6.12.1/fs/xfs/scrub/
Drefcount.c90 struct list_head fragments; member
150 list_add_tail(&frag->list, &refchk->fragments); in xchk_refcountbt_rmap_check()
193 list_for_each_entry(frag, &refchk->fragments, list) { in xchk_refcountbt_process_rmap_fragments()
204 list_for_each_entry_safe(frag, n, &refchk->fragments, list) { in xchk_refcountbt_process_rmap_fragments()
221 while (!list_empty(&refchk->fragments)) { in xchk_refcountbt_process_rmap_fragments()
238 list_for_each_entry_safe(frag, n, &refchk->fragments, list) { in xchk_refcountbt_process_rmap_fragments()
277 list_for_each_entry_safe(frag, n, &refchk->fragments, list) { in xchk_refcountbt_process_rmap_fragments()
311 INIT_LIST_HEAD(&refchk.fragments); in xchk_refcountbt_xref_rmap()
324 list_for_each_entry_safe(frag, n, &refchk.fragments, list) { in xchk_refcountbt_xref_rmap()
/linux-6.12.1/drivers/staging/rtl8192e/
Drtllib_tx.c207 txb = kzalloc(struct_size(txb, fragments, nr_frags), gfp_mask); in rtllib_alloc_txb()
215 txb->fragments[i] = dev_alloc_skb(txb_size); in rtllib_alloc_txb()
216 if (unlikely(!txb->fragments[i])) in rtllib_alloc_txb()
218 memset(txb->fragments[i]->cb, 0, sizeof(txb->fragments[i]->cb)); in rtllib_alloc_txb()
225 dev_kfree_skb_any(txb->fragments[i]); in rtllib_alloc_txb()
578 skb_put_data(txb->fragments[0], skb->data, skb->len); in rtllib_xmit_inter()
735 skb_frag = txb->fragments[i]; in rtllib_xmit_inter()
822 (txb->fragments[0]->cb + MAX_DEV_ADDR_SIZE); in rtllib_xmit_inter()
867 rtllib_tx_query_agg_cap(ieee, txb->fragments[0], in rtllib_xmit_inter()
872 txb->fragments[0]); in rtllib_xmit_inter()
/linux-6.12.1/scripts/kconfig/
DMakefile105 all-config-fragments = $(call configfiles,*.config)
106 config-fragments = $(call configfiles,$@)
109 $(if $(config-fragments),, $(error $@ fragment does not exists on this architecture))
110 …$(CONFIG_SHELL) $(srctree)/scripts/kconfig/merge_config.sh -m $(KCONFIG_CONFIG) $(config-fragments)
157 @$(foreach f, $(all-config-fragments), \
/linux-6.12.1/tools/perf/Documentation/
Dperf-test.txt11 'perf test [<options>] [{list <test-name-fragment>|[<test-name-fragments>|<test-numbers>]}]'
21 To run just specific tests, inform test name fragments or the numbers obtained
/linux-6.12.1/tools/perf/tests/config-fragments/
DREADME1 This folder is for kernel config fragments that can be merged with
/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-fs-erofs8 dedupe, fragments.
Ddev-kmsg118 By default, kernel tries to avoid fragments by concatenating
119 when it can and fragments are rare; however, when extended
121 disabled and /dev/kmsg output will contain more fragments. If
/linux-6.12.1/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_arm.c402 char *fragments; in create_pagelist() local
412 fragments = drv_mgmt->free_fragments; in create_pagelist()
413 WARN_ON(!fragments); in create_pagelist()
417 (fragments - drv_mgmt->fragments_base) / drv_mgmt->fragments_size; in create_pagelist()
446 char *fragments = drv_mgmt->fragments_base + in free_pagelist() local
462 fragments, in free_pagelist()
470 fragments + drv_mgmt->info->cache_line_size, in free_pagelist()
474 *(char **)fragments = drv_mgmt->free_fragments; in free_pagelist()
475 drv_mgmt->free_fragments = fragments; in free_pagelist()
/linux-6.12.1/fs/erofs/
Dsysfs.c79 EROFS_ATTR_FEATURE(fragments);
91 ATTR_LIST(fragments),
/linux-6.12.1/include/uapi/sound/
Dcompress_offload.h25 __u32 fragments; member
/linux-6.12.1/sound/core/
Dcompress_offload.c524 buffer_size = params->buffer.fragment_size * params->buffer.fragments; in snd_compr_allocate_buffer()
547 stream->runtime->fragments = params->buffer.fragments; in snd_compr_allocate_buffer()
557 params->buffer.fragments > U32_MAX / params->buffer.fragment_size || in snd_compress_check_input()
558 params->buffer.fragments == 0) in snd_compress_check_input()
/linux-6.12.1/Documentation/networking/
Dudplite.rst194 several tiny fragments, consider the following example::
210 the last packet before releasing the fragments to the IP module.
218 of 3356 bytes will be split into the following fragments::
224 The first two fragments have to be checksummed in full, of the last
Dppp_generic.rst18 ordering and combining received fragments
180 or more fragments and puts a multilink header on each fragment. It
181 decides how many fragments to use based on the length of the packet
184 fragment if it doesn't have any fragments currently queued up for it
187 scheme has the effect that more fragments are given to higher-
191 transmitted as single fragments, thus reducing the overhead of
358 numbers on received multilink fragments
453 fragments is disabled. This ioctl is only available if the
/linux-6.12.1/Documentation/scsi/
Dsym53c500_cs.rst17 the code fragments I shamelessly adapted for this work. Thanks also to
/linux-6.12.1/Documentation/sound/designs/
Doss-emulation.rst138 app_name fragments fragment_size [options]
142 ``fragments`` specifies the number of fragments or zero if no specific
158 write also partial fragments (affects playback only)
/linux-6.12.1/net/batman-adv/
Dfragmentation.c66 chain = &orig_node->fragments[i]; in batadv_frag_purge_orig()
170 chain = &orig_node->fragments[bucket]; in batadv_frag_insert_packet()

1234