Home
last modified time | relevance | path

Searched refs:prealloc (Results 1 – 25 of 32) sorted by relevance

12

/Linux-v6.6/fs/btrfs/
Dextent-io-tree.c158 static struct extent_state *alloc_extent_state_atomic(struct extent_state *prealloc) in alloc_extent_state_atomic() argument
160 if (!prealloc) in alloc_extent_state_atomic()
161 prealloc = alloc_extent_state(GFP_ATOMIC); in alloc_extent_state_atomic()
163 return prealloc; in alloc_extent_state_atomic()
458 struct extent_state *prealloc, u64 split) in split_state() argument
466 prealloc->start = orig->start; in split_state()
467 prealloc->end = split - 1; in split_state()
468 prealloc->state = orig->state; in split_state()
479 if (prealloc->end < entry->start) { in split_state()
481 } else if (prealloc->end > entry->end) { in split_state()
[all …]
Dextent_io.c862 struct btrfs_subpage *prealloc) in attach_extent_buffer_page() argument
886 btrfs_free_subpage(prealloc); in attach_extent_buffer_page()
890 if (prealloc) in attach_extent_buffer_page()
892 attach_page_private(page, prealloc); in attach_extent_buffer_page()
3472 struct btrfs_subpage *prealloc = NULL; in alloc_extent_buffer() local
3518 prealloc = btrfs_alloc_subpage(fs_info, BTRFS_SUBPAGE_METADATA); in alloc_extent_buffer()
3519 if (IS_ERR(prealloc)) { in alloc_extent_buffer()
3520 exists = ERR_CAST(prealloc); in alloc_extent_buffer()
3529 btrfs_free_subpage(prealloc); in alloc_extent_buffer()
3540 btrfs_free_subpage(prealloc); in alloc_extent_buffer()
[all …]
Dextent_map.c300 bool prealloc = false; in unpin_extent_cache() local
316 prealloc = true; in unpin_extent_cache()
322 if (prealloc) { in unpin_extent_cache()
/Linux-v6.6/lib/
Dstackdepot.c222 static void depot_init_pool(void **prealloc) in depot_init_pool() argument
236 stack_pools[pool_index] = *prealloc; in depot_init_pool()
237 *prealloc = NULL; in depot_init_pool()
244 stack_pools[pool_index + 1] = *prealloc; in depot_init_pool()
245 *prealloc = NULL; in depot_init_pool()
260 depot_alloc_stack(unsigned long *entries, int size, u32 hash, void **prealloc) in depot_alloc_stack() argument
293 if (*prealloc) in depot_alloc_stack()
294 depot_init_pool(prealloc); in depot_alloc_stack()
365 void *prealloc = NULL; in __stack_depot_save() local
412 prealloc = page_address(page); in __stack_depot_save()
[all …]
/Linux-v6.6/tools/testing/selftests/net/
Dioam6.sh220 trace prealloc type 0x800000 ns 0 size 4 dev veth0
494 trace prealloc type 0x800000 ns 0 size 4 dev veth0
514 trace prealloc type 0xc00000 ns 123 size 4 dev veth0
540 trace prealloc type ${bit2type[$i]} ns 123 size ${bit2size[$i]} \
579 trace prealloc type 0xfff002 ns 123 size 100 dev veth0
609 trace prealloc type 0x800000 ns 0 size 4 dev veth0
629 trace prealloc type 0xc00000 ns 123 size 4 dev veth0
655 trace prealloc type ${bit2type[$i]} ns 123 size ${bit2size[$i]} \
684 trace prealloc type 0xc00000 ns 123 size 4 dev veth0
708 trace prealloc type 0xfff002 ns 123 size 80 dev veth0
[all …]
/Linux-v6.6/arch/powerpc/platforms/ps3/
Dsetup.c113 static void __init prealloc(struct ps3_prealloc *p) in prealloc() function
135 #define prealloc_ps3fb_videomemory() prealloc(&ps3fb_videomemory)
158 #define prealloc_ps3flash_bounce_buffer() prealloc(&ps3flash_bounce_buffer)
/Linux-v6.6/net/sched/
Dsch_gred.c484 struct gred_sched_data **prealloc, in gred_change_vq() argument
496 table->tab[dp] = q = *prealloc; in gred_change_vq()
497 *prealloc = NULL; in gred_change_vq()
651 struct gred_sched_data *prealloc; in gred_change() local
703 prealloc = kzalloc(sizeof(*prealloc), GFP_KERNEL); in gred_change()
706 err = gred_change_vq(sch, ctl->DP, ctl, prio, stab, max_P, &prealloc, in gred_change()
721 kfree(prealloc); in gred_change()
728 kfree(prealloc); in gred_change()
/Linux-v6.6/arch/arc/lib/
Dmemset-archs.S21 prealloc [\reg, \off]
/Linux-v6.6/drivers/media/platform/renesas/vsp1/
Dvsp1_dl.h56 unsigned int prealloc);
Dvsp1_dl.c1091 unsigned int prealloc) in vsp1_dlm_create() argument
1121 dlm->pool = vsp1_dl_body_pool_create(vsp1, prealloc + 1, in vsp1_dlm_create()
1126 for (i = 0; i < prealloc; ++i) { in vsp1_dlm_create()
1145 VSP1_EXTCMD_AUTOFLD, prealloc); in vsp1_dlm_create()
/Linux-v6.6/drivers/md/
Ddm-cache-target.c1398 struct dm_bio_prison_cell_v2 *prealloc; in mg_lock_writes() local
1400 prealloc = alloc_prison_cell(cache); in mg_lock_writes()
1410 prealloc, &mg->cell); in mg_lock_writes()
1412 free_prison_cell(cache, prealloc); in mg_lock_writes()
1417 if (mg->cell != prealloc) in mg_lock_writes()
1418 free_prison_cell(cache, prealloc); in mg_lock_writes()
1528 struct dm_bio_prison_cell_v2 *prealloc; in invalidate_lock() local
1530 prealloc = alloc_prison_cell(cache); in invalidate_lock()
1534 READ_WRITE_LOCK_LEVEL, prealloc, &mg->cell); in invalidate_lock()
1536 free_prison_cell(cache, prealloc); in invalidate_lock()
[all …]
/Linux-v6.6/fs/sysfs/
Dfile.c220 .prealloc = true,
225 .prealloc = true,
231 .prealloc = true,
/Linux-v6.6/kernel/bpf/
Dhashtab.c419 bool prealloc = !(attr->map_flags & BPF_F_NO_PREALLOC); in htab_map_alloc_check() local
437 if (lru && !prealloc) in htab_map_alloc_check()
474 bool prealloc = !(attr->map_flags & BPF_F_NO_PREALLOC); in htab_map_alloc() local
564 if (prealloc) { in htab_map_alloc()
996 bool prealloc = htab_is_prealloc(htab); in alloc_htab_elem() local
1000 if (prealloc) { in alloc_htab_elem()
1037 if (prealloc) { in alloc_htab_elem()
1053 if (!prealloc) in alloc_htab_elem()
2213 bool prealloc = htab_is_prealloc(htab); in htab_map_mem_usage() local
2221 if (prealloc) { in htab_map_mem_usage()
/Linux-v6.6/drivers/gpu/drm/i915/display/
Dintel_fbdev.c224 bool prealloc = false; in intelfb_create() local
256 prealloc = true; in intelfb_create()
328 if (!i915_gem_object_is_shmem(vma->obj) && !prealloc) in intelfb_create()
/Linux-v6.6/fs/ext4/
Dextents_status.c148 struct extent_status *prealloc);
151 struct extent_status *prealloc);
772 struct extent_status *prealloc) in __es_insert_extent() argument
812 if (prealloc) in __es_insert_extent()
813 es = prealloc; in __es_insert_extent()
1342 struct extent_status *prealloc) in __es_remove_extent() argument
1389 err = __es_insert_extent(inode, &newes, prealloc); in __es_remove_extent()
/Linux-v6.6/sound/hda/
DKconfig36 via a proc file (/proc/asound/card*/pcm*/sub*/prealloc), too.
/Linux-v6.6/fs/xfs/
Dxfs_dquot.c75 int prealloc = 0; in xfs_qm_adjust_dqlimits() local
82 prealloc = 1; in xfs_qm_adjust_dqlimits()
86 prealloc = 1; in xfs_qm_adjust_dqlimits()
97 if (prealloc) in xfs_qm_adjust_dqlimits()
/Linux-v6.6/mm/
Dmemory.c888 struct folio **prealloc, struct page *page) in copy_present_page() argument
893 new_folio = *prealloc; in copy_present_page()
901 *prealloc = NULL; in copy_present_page()
925 struct folio **prealloc) in copy_present_pte() argument
948 addr, rss, prealloc, page); in copy_present_pte()
1014 struct folio *prealloc = NULL; in copy_pte_range() local
1083 addr, rss, &prealloc); in copy_pte_range()
1090 if (unlikely(prealloc)) { in copy_pte_range()
1097 folio_put(prealloc); in copy_pte_range()
1098 prealloc = NULL; in copy_pte_range()
[all …]
/Linux-v6.6/fs/xfs/libxfs/
Dxfs_bmap.h217 xfs_fileoff_t off, xfs_filblks_t len, xfs_filblks_t prealloc,
/Linux-v6.6/drivers/usb/gadget/function/
Du_ether.c313 static int prealloc(struct list_head *list, struct usb_ep *ep, unsigned n) in prealloc() function
357 status = prealloc(&dev->tx_reqs, link->in_ep, n); in alloc_requests()
360 status = prealloc(&dev->rx_reqs, link->out_ep, n); in alloc_requests()
/Linux-v6.6/Documentation/filesystems/
Dntfs3.rst102 * - prealloc
/Linux-v6.6/fs/kernfs/
Dfile.c709 if (ops->prealloc && ops->seq_show) in kernfs_fop_open()
711 if (ops->prealloc) { in kernfs_fop_open()
/Linux-v6.6/include/linux/
Dkernfs.h311 bool prealloc; member
/Linux-v6.6/fs/ntfs3/
Dfile.c394 &new_valid, ni->mi.sbi->options->prealloc, NULL); in ntfs_truncate()
1133 if (sbi->options->prealloc && in ntfs_file_release()
/Linux-v6.6/Documentation/sound/designs/
Dprocfile.rst136 ``card*/pcm*/sub*/prealloc``

12