Home
last modified time | relevance | path

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

12

/linux-6.15/fs/btrfs/
H A Dextent-io-tree.c185 if (!prealloc) in alloc_extent_state_atomic()
714 prealloc = alloc_extent_state_atomic(prealloc); in __clear_extent_bit()
736 prealloc = alloc_extent_state_atomic(prealloc); in __clear_extent_bit()
1101 prealloc = alloc_extent_state_atomic(prealloc); in __set_extent_bit()
1175 prealloc = alloc_extent_state_atomic(prealloc); in __set_extent_bit()
1215 prealloc = alloc_extent_state_atomic(prealloc); in __set_extent_bit()
1251 prealloc = alloc_extent_state_atomic(prealloc); in __set_extent_bit()
1352 prealloc = alloc_extent_state_atomic(prealloc); in convert_extent_bit()
1403 prealloc = alloc_extent_state_atomic(prealloc); in convert_extent_bit()
1443 prealloc = alloc_extent_state_atomic(prealloc); in convert_extent_bit()
[all …]
H A Dulist.c53 ulist->prealloc = NULL; in ulist_init()
72 kfree(ulist->prealloc); in ulist_release()
73 ulist->prealloc = NULL; in ulist_release()
113 if (!ulist->prealloc) in ulist_prealloc()
114 ulist->prealloc = kzalloc(sizeof(*ulist->prealloc), gfp_mask); in ulist_prealloc()
219 if (ulist->prealloc) { in ulist_add_merge()
220 node = ulist->prealloc; in ulist_add_merge()
221 ulist->prealloc = NULL; in ulist_add_merge()
H A Dqgroup.c199 ASSERT(prealloc); in add_qgroup_rb()
210 kfree(prealloc); in add_qgroup_rb()
215 qgroup = prealloc; in add_qgroup_rb()
279 kfree(prealloc); in __add_relation_rb()
462 prealloc = kzalloc(sizeof(*prealloc), GFP_KERNEL); in btrfs_read_qgroup_config()
1142 prealloc = kzalloc(sizeof(*prealloc), GFP_NOFS); in btrfs_quota_enable()
1201 prealloc = kzalloc(sizeof(*prealloc), GFP_NOFS); in btrfs_quota_enable()
1202 if (!prealloc) { in btrfs_quota_enable()
1697 prealloc = kzalloc(sizeof(*prealloc), GFP_NOFS); in btrfs_create_qgroup()
3333 prealloc = kzalloc(sizeof(*prealloc), GFP_NOFS); in btrfs_qgroup_inherit()
[all …]
H A Dulist.h44 struct ulist_node *prealloc; member
H A Dextent_io.c825 struct btrfs_subpage *prealloc) in attach_extent_buffer_folio() argument
849 btrfs_free_subpage(prealloc); in attach_extent_buffer_folio()
853 if (prealloc) in attach_extent_buffer_folio()
855 folio_attach_private(folio, prealloc); in attach_extent_buffer_folio()
3135 struct btrfs_subpage *prealloc, in attach_eb_folio_to_filemap() argument
3197 ret = attach_extent_buffer_folio(eb, eb->folios[i], prealloc); in attach_eb_folio_to_filemap()
3219 struct btrfs_subpage *prealloc = NULL; in alloc_extent_buffer() local
3265 if (IS_ERR(prealloc)) { in alloc_extent_buffer()
3266 ret = PTR_ERR(prealloc); in alloc_extent_buffer()
3275 btrfs_free_subpage(prealloc); in alloc_extent_buffer()
[all …]
H A Dqgroup.h342 struct btrfs_qgroup_list *prealloc);
/linux-6.15/lib/
H A Dstackdepot.c256 if (!new_pool && *prealloc) { in depot_init_pool()
258 WRITE_ONCE(new_pool, *prealloc); in depot_init_pool()
259 *prealloc = NULL; in depot_init_pool()
302 WRITE_ONCE(new_pool, *prealloc); in depot_keep_new_pool()
303 *prealloc = NULL; in depot_keep_new_pool()
319 if (!depot_init_pool(prealloc)) in depot_pop_free_pool()
593 void *prealloc = NULL; in stack_depot_save_flags() local
631 prealloc = page_address(page); in stack_depot_save_flags()
661 if (prealloc) { in stack_depot_save_flags()
667 depot_keep_new_pool(&prealloc); in stack_depot_save_flags()
[all …]
/linux-6.15/tools/testing/selftests/net/
H A Dioam6.sh693 encap ioam6 mode $mode trace prealloc type 0x800000 size 4 \
699 encap ioam6 mode $mode trace prealloc type 0x800000 ns 0 size 4 \
734 encap ioam6 mode $mode trace prealloc type 0x800000 ns 0 size 4 \
774 encap ioam6 mode $mode trace prealloc type 0x800000 ns 0 size 4 \
811 encap ioam6 mode $mode trace prealloc ns 0 size 4 \
817 encap ioam6 mode $mode trace prealloc type 0x800000 ns 0 size 4 \
842 encap ioam6 mode $mode trace prealloc type 0x800000 ns 0 \
848 encap ioam6 mode $mode trace prealloc type 0x800000 ns 0 size 4 \
911 encap ioam6 mode $mode trace prealloc type 0x800000 ns 0 size $i \
1124 encap ioam6 mode $mode trace prealloc \
[all …]
H A Dlwt_dst_cache_ref_loop.sh59 encap ioam6 trace prealloc type 0x800000 ns 0 size 4 \
168 encap ioam6 trace prealloc type 0x800000 ns 1 size 4 \
/linux-6.15/arch/powerpc/platforms/ps3/
H A Dsetup.c113 static void __init prealloc(struct ps3_prealloc *p) in prealloc() function
132 #define prealloc_ps3fb_videomemory() prealloc(&ps3fb_videomemory)
155 #define prealloc_ps3flash_bounce_buffer() prealloc(&ps3flash_bounce_buffer)
/linux-6.15/fs/ext4/
H A Dextents_status.c148 struct extent_status *prealloc);
151 struct extent_status *prealloc);
157 struct pending_reservation **prealloc);
788 struct extent_status *prealloc) in __es_insert_extent() argument
828 if (prealloc) in __es_insert_extent()
829 es = prealloc; in __es_insert_extent()
1384 struct extent_status *prealloc) in __es_remove_extent() argument
1960 struct pending_reservation **prealloc) in __insert_pending() argument
1986 if (likely(*prealloc == NULL)) { in __insert_pending()
1993 pr = *prealloc; in __insert_pending()
[all …]
/linux-6.15/net/sched/
H A 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-6.15/arch/arc/lib/
H A Dmemset-archs.S21 prealloc [\reg, \off]
/linux-6.15/drivers/gpu/drm/i915/display/
H A Dintel_fbdev.c220 bool prealloc = false; in intel_fbdev_driver_fbdev_probe() local
245 prealloc = true; in intel_fbdev_driver_fbdev_probe()
290 if (!intel_bo_is_shmem(obj) && !prealloc) in intel_fbdev_driver_fbdev_probe()
/linux-6.15/drivers/media/platform/renesas/vsp1/
H A Dvsp1_dl.h56 unsigned int prealloc);
H 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-6.15/fs/xfs/
H A Dxfs_iomap.c1209 xfs_filblks_t prealloc, in xfs_bmapi_reserve_delalloc() argument
1222 whichfork == XFS_COW_FORK && !prealloc; in xfs_bmapi_reserve_delalloc()
1230 alen = XFS_FILBLKS_MIN(len + prealloc, XFS_MAX_BMBT_EXTLEN); in xfs_bmapi_reserve_delalloc()
1233 if (prealloc && alen >= len) in xfs_bmapi_reserve_delalloc()
1234 prealloc = alen - len; in xfs_bmapi_reserve_delalloc()
1302 if (whichfork == XFS_DATA_FORK && prealloc) in xfs_bmapi_reserve_delalloc()
1304 if (whichfork == XFS_COW_FORK && (prealloc || aoff < off || alen > len)) in xfs_bmapi_reserve_delalloc()
1319 if (prealloc || use_cowextszhint) { in xfs_bmapi_reserve_delalloc()
1322 prealloc = 0; in xfs_bmapi_reserve_delalloc()
H A Dxfs_dquot.c125 int prealloc = 0; in xfs_qm_adjust_dqlimits() local
132 prealloc = 1; in xfs_qm_adjust_dqlimits()
136 prealloc = 1; in xfs_qm_adjust_dqlimits()
147 if (prealloc) in xfs_qm_adjust_dqlimits()
/linux-6.15/kernel/bpf/
H A Dhashtab.c406 bool prealloc = !(attr->map_flags & BPF_F_NO_PREALLOC); in htab_map_alloc_check() local
424 if (lru && !prealloc) in htab_map_alloc_check()
464 bool prealloc = !(attr->map_flags & BPF_F_NO_PREALLOC); in htab_map_alloc() local
547 if (prealloc) { in htab_map_alloc()
981 bool prealloc = htab_is_prealloc(htab); in alloc_htab_elem() local
985 if (prealloc) { in alloc_htab_elem()
1021 if (prealloc) { in alloc_htab_elem()
1038 if (!prealloc) in alloc_htab_elem()
2220 bool prealloc = htab_is_prealloc(htab); in htab_map_mem_usage() local
2228 if (prealloc) { in htab_map_mem_usage()
/linux-6.15/drivers/md/
H A Ddm-cache-target.c1403 struct dm_bio_prison_cell_v2 *prealloc; in mg_lock_writes() local
1405 prealloc = alloc_prison_cell(cache); in mg_lock_writes()
1415 prealloc, &mg->cell); in mg_lock_writes()
1417 free_prison_cell(cache, prealloc); in mg_lock_writes()
1422 if (mg->cell != prealloc) in mg_lock_writes()
1423 free_prison_cell(cache, prealloc); in mg_lock_writes()
1533 struct dm_bio_prison_cell_v2 *prealloc; in invalidate_lock() local
1535 prealloc = alloc_prison_cell(cache); in invalidate_lock()
1541 free_prison_cell(cache, prealloc); in invalidate_lock()
1546 if (mg->cell != prealloc) in invalidate_lock()
[all …]
/linux-6.15/fs/sysfs/
H A Dfile.c244 .prealloc = true,
249 .prealloc = true,
255 .prealloc = true,
/linux-6.15/sound/hda/
H A DKconfig37 via a proc file (/proc/asound/card*/pcm*/sub*/prealloc), too.
/linux-6.15/drivers/usb/gadget/function/
H A 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-6.15/mm/
H A Dmemory.c913 new_folio = *prealloc; in copy_present_page()
925 *prealloc = NULL; in copy_present_page()
1033 addr, rss, prealloc, page); in copy_present_ptes()
1085 struct folio *prealloc = NULL; in copy_pte_range() local
1168 ptent, addr, max_nr, rss, &prealloc); in copy_pte_range()
1176 if (unlikely(prealloc)) { in copy_pte_range()
1183 folio_put(prealloc); in copy_pte_range()
1184 prealloc = NULL; in copy_pte_range()
1208 if (!prealloc) in copy_pte_range()
1220 if (unlikely(prealloc)) in copy_pte_range()
[all …]
/linux-6.15/Documentation/filesystems/
H A Dntfs3.rst102 * - prealloc

12