Home
last modified time | relevance | path

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

12

/Linux-v6.1/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()
460 struct extent_state *prealloc, u64 split) in split_state() argument
468 prealloc->start = orig->start; in split_state()
469 prealloc->end = split - 1; in split_state()
470 prealloc->state = orig->state; in split_state()
481 if (prealloc->end < entry->start) { in split_state()
483 } else if (prealloc->end > entry->end) { in split_state()
[all …]
Dextent_map.c307 bool prealloc = false; in unpin_extent_cache() local
323 prealloc = true; in unpin_extent_cache()
329 if (prealloc) { in unpin_extent_cache()
Dextent_io.c1626 struct btrfs_subpage *prealloc) in attach_extent_buffer_page() argument
1650 btrfs_free_subpage(prealloc); in attach_extent_buffer_page()
1654 if (prealloc) in attach_extent_buffer_page()
1656 attach_page_private(page, prealloc); in attach_extent_buffer_page()
4600 struct btrfs_subpage *prealloc = NULL; in alloc_extent_buffer() local
4619 prealloc = btrfs_alloc_subpage(fs_info, BTRFS_SUBPAGE_METADATA); in alloc_extent_buffer()
4620 if (IS_ERR(prealloc)) { in alloc_extent_buffer()
4621 ret = PTR_ERR(prealloc); in alloc_extent_buffer()
4636 btrfs_free_subpage(prealloc); in alloc_extent_buffer()
4640 ret = attach_extent_buffer_page(eb, p, prealloc); in alloc_extent_buffer()
/Linux-v6.1/lib/
Dstackdepot.c90 static bool init_stack_slab(void **prealloc) in init_stack_slab() argument
92 if (!*prealloc) in init_stack_slab()
101 stack_slabs[depot_index] = *prealloc; in init_stack_slab()
102 *prealloc = NULL; in init_stack_slab()
106 stack_slabs[depot_index + 1] = *prealloc; in init_stack_slab()
107 *prealloc = NULL; in init_stack_slab()
120 depot_alloc_stack(unsigned long *entries, int size, u32 hash, void **prealloc) in depot_alloc_stack() argument
142 init_stack_slab(prealloc); in depot_alloc_stack()
427 void *prealloc = NULL; in __stack_depot_save() local
476 prealloc = page_address(page); in __stack_depot_save()
[all …]
/Linux-v6.1/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.1/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.1/net/sched/
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
701 prealloc = kzalloc(sizeof(*prealloc), GFP_KERNEL); in gred_change()
704 err = gred_change_vq(sch, ctl->DP, ctl, prio, stab, max_P, &prealloc, in gred_change()
719 kfree(prealloc); in gred_change()
726 kfree(prealloc); in gred_change()
/Linux-v6.1/arch/arc/lib/
Dmemset-archs.S21 prealloc [\reg, \off]
/Linux-v6.1/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.1/drivers/md/
Ddm-cache-target.c1383 struct dm_bio_prison_cell_v2 *prealloc; in mg_lock_writes() local
1385 prealloc = alloc_prison_cell(cache); in mg_lock_writes()
1395 prealloc, &mg->cell); in mg_lock_writes()
1397 free_prison_cell(cache, prealloc); in mg_lock_writes()
1402 if (mg->cell != prealloc) in mg_lock_writes()
1403 free_prison_cell(cache, prealloc); in mg_lock_writes()
1508 struct dm_bio_prison_cell_v2 *prealloc; in invalidate_lock() local
1510 prealloc = alloc_prison_cell(cache); in invalidate_lock()
1514 READ_WRITE_LOCK_LEVEL, prealloc, &mg->cell); in invalidate_lock()
1516 free_prison_cell(cache, prealloc); in invalidate_lock()
[all …]
/Linux-v6.1/drivers/gpu/drm/i915/display/
Dintel_fbdev.c208 bool prealloc = false; in intelfb_create() local
239 prealloc = true; in intelfb_create()
307 if (!i915_gem_object_is_shmem(vma->obj) && !prealloc) in intelfb_create()
/Linux-v6.1/fs/sysfs/
Dfile.c220 .prealloc = true,
225 .prealloc = true,
231 .prealloc = true,
/Linux-v6.1/sound/hda/
DKconfig36 via a proc file (/proc/asound/card*/pcm*/sub*/prealloc), too.
/Linux-v6.1/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.1/kernel/bpf/
Dhashtab.c410 bool prealloc = !(attr->map_flags & BPF_F_NO_PREALLOC); in htab_map_alloc_check() local
434 if (lru && !prealloc) in htab_map_alloc_check()
471 bool prealloc = !(attr->map_flags & BPF_F_NO_PREALLOC); in htab_map_alloc() local
557 if (prealloc) { in htab_map_alloc()
977 bool prealloc = htab_is_prealloc(htab); in alloc_htab_elem() local
981 if (prealloc) { in alloc_htab_elem()
1019 if (prealloc) { in alloc_htab_elem()
1035 if (!prealloc) in alloc_htab_elem()
/Linux-v6.1/mm/
Dmemory.c907 struct page **prealloc, struct page *page) in copy_present_page() argument
912 new_page = *prealloc; in copy_present_page()
920 *prealloc = NULL; in copy_present_page()
944 struct page **prealloc) in copy_present_pte() argument
964 addr, rss, prealloc, page); in copy_present_pte()
1030 struct page *prealloc = NULL; in copy_pte_range() local
1086 addr, rss, &prealloc); in copy_pte_range()
1093 if (unlikely(prealloc)) { in copy_pte_range()
1100 put_page(prealloc); in copy_pte_range()
1101 prealloc = NULL; in copy_pte_range()
[all …]
/Linux-v6.1/fs/xfs/libxfs/
Dxfs_bmap.h214 xfs_fileoff_t off, xfs_filblks_t len, xfs_filblks_t prealloc,
/Linux-v6.1/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-v6.1/Documentation/filesystems/
Dntfs3.rst94 * - prealloc
/Linux-v6.1/fs/kernfs/
Dfile.c705 if (ops->prealloc && ops->seq_show) in kernfs_fop_open()
707 if (ops->prealloc) { in kernfs_fop_open()
/Linux-v6.1/include/linux/
Dkernfs.h311 bool prealloc; member
/Linux-v6.1/fs/ntfs3/
Dfile.c495 &new_valid, ni->mi.sbi->options->prealloc, NULL); in ntfs_truncate()
1216 if (sbi->options->prealloc && ((file->f_mode & FMODE_WRITE) && in ntfs_file_release()
Dsuper.c352 opts->prealloc = result.negated ? 0 : 1; in ntfs_fs_parse_param()
543 if (opts->prealloc) in ntfs_show_options()
/Linux-v6.1/Documentation/sound/designs/
Dprocfile.rst136 ``card*/pcm*/sub*/prealloc``

12