Home
last modified time | relevance | path

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

12

/linux/lib/
A Dstackdepot.c75 static bool init_stack_slab(void **prealloc) in init_stack_slab() argument
77 if (!*prealloc) in init_stack_slab()
86 stack_slabs[depot_index] = *prealloc; in init_stack_slab()
87 *prealloc = NULL; in init_stack_slab()
92 *prealloc = NULL; in init_stack_slab()
127 init_stack_slab(prealloc); in depot_alloc_stack()
322 void *prealloc = NULL; in __stack_depot_save() local
361 prealloc = page_address(page); in __stack_depot_save()
379 } else if (prealloc) { in __stack_depot_save()
384 WARN_ON(!init_stack_slab(&prealloc)); in __stack_depot_save()
[all …]
/linux/fs/btrfs/
A Dextent_io.c797 prealloc = alloc_extent_state_atomic(prealloc); in __clear_extent_bit()
820 prealloc = alloc_extent_state_atomic(prealloc); in __clear_extent_bit()
853 if (prealloc) in __clear_extent_bit()
1020 prealloc = alloc_extent_state_atomic(prealloc); in set_extent_bit()
1095 prealloc = alloc_extent_state_atomic(prealloc); in set_extent_bit()
1132 prealloc = alloc_extent_state_atomic(prealloc); in set_extent_bit()
1162 prealloc = alloc_extent_state_atomic(prealloc); in set_extent_bit()
1258 prealloc = alloc_extent_state_atomic(prealloc); in convert_extent_bit()
1312 prealloc = alloc_extent_state_atomic(prealloc); in convert_extent_bit()
1351 prealloc = alloc_extent_state_atomic(prealloc); in convert_extent_bit()
[all …]
A 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/tools/testing/selftests/net/
A Dioam6.sh218 trace prealloc type 0x800000 ns 0 size 4 dev veth0
492 trace prealloc type 0x800000 ns 0 size 4 dev veth0
512 trace prealloc type 0xc00000 ns 123 size 4 dev veth0
538 trace prealloc type ${bit2type[$i]} ns 123 size ${bit2size[$i]} \
577 trace prealloc type 0xfff002 ns 123 size 100 dev veth0
607 trace prealloc type 0x800000 ns 0 size 4 dev veth0
627 trace prealloc type 0xc00000 ns 123 size 4 dev veth0
653 trace prealloc type ${bit2type[$i]} ns 123 size ${bit2size[$i]} \
682 trace prealloc type 0xc00000 ns 123 size 4 dev veth0
706 trace prealloc type 0xfff002 ns 123 size 80 dev veth0
[all …]
/linux/arch/powerpc/platforms/ps3/
A 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/net/sched/
A Dsch_gred.c482 struct gred_sched_data **prealloc, in gred_change_vq() argument
494 table->tab[dp] = q = *prealloc; in gred_change_vq()
495 *prealloc = NULL; in gred_change_vq()
649 struct gred_sched_data *prealloc; in gred_change() local
704 prealloc = kzalloc(sizeof(*prealloc), GFP_KERNEL); in gred_change()
707 err = gred_change_vq(sch, ctl->DP, ctl, prio, stab, max_P, &prealloc, in gred_change()
722 kfree(prealloc); in gred_change()
729 kfree(prealloc); in gred_change()
/linux/arch/arc/lib/
A Dmemset-archs.S21 prealloc [\reg, \off]
/linux/drivers/media/platform/vsp1/
A Dvsp1_dl.h56 unsigned int prealloc);
A 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/drivers/md/
A 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()
1524 free_prison_cell(cache, prealloc); in invalidate_lock()
1529 if (mg->cell != prealloc) in invalidate_lock()
[all …]
/linux/fs/sysfs/
A Dfile.c220 .prealloc = true,
225 .prealloc = true,
231 .prealloc = true,
/linux/drivers/gpu/drm/i915/display/
A Dintel_fbdev.c191 bool prealloc = false; in intelfb_create() local
216 prealloc = true; in intelfb_create()
284 if (!i915_gem_object_is_shmem(vma->obj) && !prealloc) in intelfb_create()
/linux/kernel/bpf/
A 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/fs/xfs/
A 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/sound/hda/
A DKconfig36 via a proc file (/proc/asound/card*/pcm*/sub*/prealloc), too.
/linux/mm/
A Dmemory.c909 new_page = *prealloc; in copy_present_page()
917 *prealloc = NULL; in copy_present_page()
941 struct page **prealloc) in copy_present_pte() argument
1018 struct page *prealloc = NULL; in copy_pte_range() local
1074 addr, rss, &prealloc); in copy_pte_range()
1081 if (unlikely(prealloc)) { in copy_pte_range()
1088 put_page(prealloc); in copy_pte_range()
1089 prealloc = NULL; in copy_pte_range()
1112 if (!prealloc) in copy_pte_range()
1124 if (unlikely(prealloc)) in copy_pte_range()
[all …]
/linux/fs/xfs/libxfs/
A Dxfs_bmap.h214 xfs_fileoff_t off, xfs_filblks_t len, xfs_filblks_t prealloc,
A Dxfs_bmap.c3958 xfs_filblks_t prealloc, in xfs_bmapi_reserve_delalloc() argument
3974 alen = XFS_FILBLKS_MIN(len + prealloc, MAXEXTLEN); in xfs_bmapi_reserve_delalloc()
3977 if (prealloc && alen >= len) in xfs_bmapi_reserve_delalloc()
3978 prealloc = alen - len; in xfs_bmapi_reserve_delalloc()
4033 if (whichfork == XFS_DATA_FORK && prealloc) in xfs_bmapi_reserve_delalloc()
4035 if (whichfork == XFS_COW_FORK && (prealloc || aoff < off || alen > len)) in xfs_bmapi_reserve_delalloc()
/linux/drivers/usb/gadget/function/
A Du_ether.c348 static int prealloc(struct list_head *list, struct usb_ep *ep, unsigned n) in prealloc() function
392 status = prealloc(&dev->tx_reqs, link->in_ep, n); in alloc_requests()
395 status = prealloc(&dev->rx_reqs, link->out_ep, n); in alloc_requests()
/linux/Documentation/filesystems/
A Dntfs3.rst94 * - prealloc
/linux/fs/kernfs/
A Dfile.c667 if (ops->prealloc && ops->seq_show) in kernfs_fop_open()
669 if (ops->prealloc) { in kernfs_fop_open()
/linux/include/linux/
A Dkernfs.h264 bool prealloc; member
/linux/Documentation/sound/designs/
A Dprocfile.rst136 ``card*/pcm*/sub*/prealloc``
/linux/fs/ntfs3/
A Dsuper.c351 opts->prealloc = result.negated ? 0 : 1; in ntfs_fs_parse_param()
542 if (opts->prealloc) in ntfs_show_options()
/linux/fs/f2fs/
A Ddata.c1464 blkcnt_t prealloc; in f2fs_map_blocks() local
1554 prealloc = 0; in f2fs_map_blocks()
1585 prealloc++; in f2fs_map_blocks()
1667 err = f2fs_reserve_new_blocks(&dn, prealloc); in f2fs_map_blocks()
1672 if (prealloc && dn.ofs_in_node != last_ofs_in_node + 1) { in f2fs_map_blocks()

Completed in 141 milliseconds

12