Home
last modified time | relevance | path

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

12

/Linux-v5.15/lib/
Dstackdepot.c76 static bool init_stack_slab(void **prealloc) in init_stack_slab() argument
78 if (!*prealloc) in init_stack_slab()
87 stack_slabs[depot_index] = *prealloc; in init_stack_slab()
88 *prealloc = NULL; in init_stack_slab()
92 stack_slabs[depot_index + 1] = *prealloc; in init_stack_slab()
93 *prealloc = NULL; in init_stack_slab()
106 u32 hash, void **prealloc, gfp_t alloc_flags) in depot_alloc_stack() argument
128 init_stack_slab(prealloc); in depot_alloc_stack()
266 void *prealloc = NULL; in stack_depot_save() local
305 prealloc = page_address(page); in stack_depot_save()
[all …]
/Linux-v5.15/fs/btrfs/
Dextent_io.c602 struct extent_state *prealloc, u64 split) in split_state() argument
609 prealloc->start = orig->start; in split_state()
610 prealloc->end = split - 1; in split_state()
611 prealloc->state = orig->state; in split_state()
614 node = tree_insert(&tree->state, &orig->rb_node, prealloc->end, in split_state()
615 &prealloc->rb_node, NULL, NULL); in split_state()
617 free_extent_state(prealloc); in split_state()
679 alloc_extent_state_atomic(struct extent_state *prealloc) in alloc_extent_state_atomic() argument
681 if (!prealloc) in alloc_extent_state_atomic()
682 prealloc = alloc_extent_state(GFP_ATOMIC); in alloc_extent_state_atomic()
[all …]
Dextent_map.c301 bool prealloc = false; in unpin_extent_cache() local
317 prealloc = true; in unpin_extent_cache()
323 if (prealloc) { in unpin_extent_cache()
/Linux-v5.15/tools/testing/selftests/net/
Dioam6.sh217 ip -netns ioam-tmp-node route add db02::/64 encap ioam6 trace prealloc \
434 ip -netns ioam-node-alpha route change db01::/64 encap ioam6 trace prealloc \
449 ip -netns ioam-node-alpha route change db01::/64 encap ioam6 trace prealloc \
471 prealloc type ${bit2type[$i]} ns 123 size ${bit2size[$i]} \
504 ip -netns ioam-node-alpha route change db01::/64 encap ioam6 trace prealloc \
529 ip -netns ioam-node-alpha route change db01::/64 encap ioam6 trace prealloc \
544 ip -netns ioam-node-alpha route change db01::/64 encap ioam6 trace prealloc \
566 prealloc type ${bit2type[$i]} ns 123 size ${bit2size[$i]} dev veth0
588 ip -netns ioam-node-alpha route change db01::/64 encap ioam6 trace prealloc \
607 ip -netns ioam-node-alpha route change db01::/64 encap ioam6 trace prealloc \
[all …]
/Linux-v5.15/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-v5.15/net/sched/
Dsch_gred.c477 struct gred_sched_data **prealloc, in gred_change_vq() argument
489 table->tab[dp] = q = *prealloc; in gred_change_vq()
490 *prealloc = NULL; in gred_change_vq()
644 struct gred_sched_data *prealloc; in gred_change() local
699 prealloc = kzalloc(sizeof(*prealloc), GFP_KERNEL); in gred_change()
702 err = gred_change_vq(sch, ctl->DP, ctl, prio, stab, max_P, &prealloc, in gred_change()
717 kfree(prealloc); in gred_change()
724 kfree(prealloc); in gred_change()
/Linux-v5.15/arch/arc/lib/
Dmemset-archs.S21 prealloc [\reg, \off]
/Linux-v5.15/drivers/media/platform/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-v5.15/fs/sysfs/
Dfile.c223 .prealloc = true,
228 .prealloc = true,
234 .prealloc = true,
/Linux-v5.15/drivers/md/
Ddm-cache-target.c1391 struct dm_bio_prison_cell_v2 *prealloc; in mg_lock_writes() local
1393 prealloc = alloc_prison_cell(cache); in mg_lock_writes()
1403 prealloc, &mg->cell); in mg_lock_writes()
1405 free_prison_cell(cache, prealloc); in mg_lock_writes()
1410 if (mg->cell != prealloc) in mg_lock_writes()
1411 free_prison_cell(cache, prealloc); in mg_lock_writes()
1516 struct dm_bio_prison_cell_v2 *prealloc; in invalidate_lock() local
1518 prealloc = alloc_prison_cell(cache); in invalidate_lock()
1522 READ_WRITE_LOCK_LEVEL, prealloc, &mg->cell); in invalidate_lock()
1524 free_prison_cell(cache, prealloc); in invalidate_lock()
[all …]
/Linux-v5.15/drivers/gpu/drm/i915/display/
Dintel_fbdev.c189 bool prealloc = false; in intelfb_create() local
214 prealloc = true; in intelfb_create()
284 if (!i915_gem_object_is_shmem(vma->obj) && !prealloc) in intelfb_create()
/Linux-v5.15/sound/hda/
DKconfig36 via a proc file (/proc/asound/card*/pcm*/sub*/prealloc), too.
/Linux-v5.15/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-v5.15/kernel/bpf/
Dhashtab.c411 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
537 if (prealloc) { in htab_map_alloc()
925 bool prealloc = htab_is_prealloc(htab); in alloc_htab_elem() local
929 if (prealloc) { in alloc_htab_elem()
971 if (prealloc) { in alloc_htab_elem()
986 if (!prealloc) in alloc_htab_elem()
/Linux-v5.15/mm/
Dmemory.c886 struct page **prealloc, pte_t pte, struct page *page) in copy_present_page() argument
906 new_page = *prealloc; in copy_present_page()
914 *prealloc = NULL; in copy_present_page()
938 struct page **prealloc) in copy_present_pte() argument
950 addr, rss, prealloc, pte, page); in copy_present_pte()
1015 struct page *prealloc = NULL; in copy_pte_range() local
1071 addr, rss, &prealloc); in copy_pte_range()
1078 if (unlikely(prealloc)) { in copy_pte_range()
1085 put_page(prealloc); in copy_pte_range()
1086 prealloc = NULL; in copy_pte_range()
[all …]
/Linux-v5.15/fs/xfs/libxfs/
Dxfs_bmap.h232 xfs_fileoff_t off, xfs_filblks_t len, xfs_filblks_t prealloc,
Dxfs_bmap.c4008 xfs_filblks_t prealloc, in xfs_bmapi_reserve_delalloc() argument
4024 alen = XFS_FILBLKS_MIN(len + prealloc, MAXEXTLEN); in xfs_bmapi_reserve_delalloc()
4027 if (prealloc && alen >= len) in xfs_bmapi_reserve_delalloc()
4028 prealloc = alen - len; in xfs_bmapi_reserve_delalloc()
4083 if (whichfork == XFS_DATA_FORK && prealloc) in xfs_bmapi_reserve_delalloc()
4085 if (whichfork == XFS_COW_FORK && (prealloc || aoff < off || alen > len)) in xfs_bmapi_reserve_delalloc()
/Linux-v5.15/drivers/usb/gadget/function/
Du_ether.c347 static int prealloc(struct list_head *list, struct usb_ep *ep, unsigned n) in prealloc() function
391 status = prealloc(&dev->tx_reqs, link->in_ep, n); in alloc_requests()
394 status = prealloc(&dev->rx_reqs, link->out_ep, n); in alloc_requests()
/Linux-v5.15/Documentation/filesystems/
Dntfs3.rst94 * - prealloc
/Linux-v5.15/fs/kernfs/
Dfile.c667 if (ops->prealloc && ops->seq_show) in kernfs_fop_open()
669 if (ops->prealloc) { in kernfs_fop_open()
/Linux-v5.15/include/linux/
Dkernfs.h264 bool prealloc; member
/Linux-v5.15/Documentation/sound/designs/
Dprocfile.rst136 ``card*/pcm*/sub*/prealloc``
/Linux-v5.15/fs/ntfs3/
Dsuper.c351 opts->prealloc = result.negated ? 0 : 1; in ntfs_fs_parse_param()
542 if (opts->prealloc) in ntfs_show_options()
/Linux-v5.15/fs/f2fs/
Ddata.c1464 blkcnt_t prealloc; in f2fs_map_blocks() local
1534 prealloc = 0; in f2fs_map_blocks()
1565 prealloc++; in f2fs_map_blocks()
1639 err = f2fs_reserve_new_blocks(&dn, prealloc); in f2fs_map_blocks()
1644 if (prealloc && dn.ofs_in_node != last_ofs_in_node + 1) { in f2fs_map_blocks()

12