| /linux/lib/ |
| H A D | stackdepot.c | 293 static bool depot_init_pool(void **prealloc) in depot_init_pool() argument 306 if (!new_pool && *prealloc) { in depot_init_pool() 308 WRITE_ONCE(new_pool, *prealloc); in depot_init_pool() 309 *prealloc = NULL; in depot_init_pool() 341 static void depot_keep_new_pool(void **prealloc) in depot_keep_new_pool() argument 353 WRITE_ONCE(new_pool, *prealloc); in depot_keep_new_pool() 354 *prealloc = NULL; in depot_keep_new_pool() 361 static struct stack_record *depot_pop_free_pool(void **prealloc, size_t size) in depot_pop_free_pool() argument 371 if (!depot_init_pool(prealloc)) in depot_pop_free_pool() 434 …ck(unsigned long *entries, unsigned int nr_entries, u32 hash, depot_flags_t flags, void **prealloc) in depot_alloc_stack() argument [all …]
|
| /linux/fs/btrfs/ |
| H A D | ulist.c | 53 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_obj(*ulist->prealloc, gfp_mask); in ulist_prealloc() 218 if (ulist->prealloc) { in ulist_add_merge() 219 node = ulist->prealloc; in ulist_add_merge() 220 ulist->prealloc = NULL; in ulist_add_merge()
|
| H A D | qgroup.c | 202 struct btrfs_qgroup *prealloc, in add_qgroup_rb() argument 208 ASSERT(prealloc); in add_qgroup_rb() 210 prealloc->qgroupid = qgroupid; in add_qgroup_rb() 211 node = rb_find_add(&prealloc->node, &fs_info->qgroup_tree, btrfs_qgroup_qgroupid_cmp); in add_qgroup_rb() 213 kfree(prealloc); in add_qgroup_rb() 217 INIT_LIST_HEAD(&prealloc->groups); in add_qgroup_rb() 218 INIT_LIST_HEAD(&prealloc->members); in add_qgroup_rb() 219 INIT_LIST_HEAD(&prealloc->dirty); in add_qgroup_rb() 220 INIT_LIST_HEAD(&prealloc->iterator); in add_qgroup_rb() 221 INIT_LIST_HEAD(&prealloc->nested_iterator); in add_qgroup_rb() [all …]
|
| H A D | ulist.h | 44 struct ulist_node *prealloc; member
|
| H A D | extent_io.h | 212 changeset->range_changed.prealloc = EXTENT_CHANGESET_BYTES_ONLY; in extent_changeset_init_bytes_only() 217 return changeset->range_changed.prealloc != EXTENT_CHANGESET_BYTES_ONLY; in extent_changeset_tracks_ranges()
|
| H A D | extent_io.c | 865 struct btrfs_folio_state *prealloc) in attach_extent_buffer_folio() argument 889 btrfs_free_folio_state(prealloc); in attach_extent_buffer_folio() 893 if (prealloc) in attach_extent_buffer_folio() 895 folio_attach_private(folio, prealloc); in attach_extent_buffer_folio() 3358 struct btrfs_folio_state *prealloc, in attach_eb_folio_to_filemap() argument 3419 ret = attach_extent_buffer_folio(eb, eb->folios[i], prealloc); in attach_eb_folio_to_filemap() 3441 struct btrfs_folio_state *prealloc = NULL; in alloc_extent_buffer() local 3486 prealloc = btrfs_alloc_folio_state(fs_info, PAGE_SIZE, BTRFS_SUBPAGE_METADATA); in alloc_extent_buffer() 3487 if (IS_ERR(prealloc)) { in alloc_extent_buffer() 3488 ret = PTR_ERR(prealloc); in alloc_extent_buffer() [all …]
|
| H A D | ioctl.c | 3592 struct btrfs_qgroup_list *prealloc = NULL; in btrfs_ioctl_qgroup_assign() local 3614 prealloc = kzalloc_obj(*prealloc); in btrfs_ioctl_qgroup_assign() 3615 if (!prealloc) { in btrfs_ioctl_qgroup_assign() 3633 ret = btrfs_add_qgroup_relation(trans, sa->src, sa->dst, prealloc); in btrfs_ioctl_qgroup_assign() 3634 prealloc = NULL; in btrfs_ioctl_qgroup_assign() 3652 kfree(prealloc); in btrfs_ioctl_qgroup_assign()
|
| /linux/net/sched/ |
| H A D | sch_gred.c | 484 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_obj(*prealloc); 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/arch/arc/lib/ |
| H A D | memset-archs.S | 21 prealloc [\reg, \off]
|
| /linux/drivers/media/platform/renesas/vsp1/ |
| H A D | vsp1_dl.c | 1114 unsigned int prealloc) in vsp1_dlm_create() argument 1149 dlm->pool = vsp1_dl_body_pool_create(vsp1, prealloc + 1, in vsp1_dlm_create() 1154 for (i = 0; i < prealloc; ++i) { in vsp1_dlm_create() 1171 dlm->list_count = prealloc; in vsp1_dlm_create() 1175 VSP1_EXTCMD_AUTOFLD, prealloc); in vsp1_dlm_create()
|
| H A D | vsp1_dl.h | 56 unsigned int prealloc);
|
| /linux/tools/testing/selftests/net/ |
| H A D | lwt_dst_cache_ref_loop.sh | 59 encap ioam6 trace prealloc type 0x800000 ns 0 size 4 \ 168 encap ioam6 trace prealloc type 0x800000 ns 1 size 4 \
|
| /linux/drivers/gpu/drm/msm/ |
| H A D | msm_mmu.h | 66 struct msm_mmu_prealloc *prealloc; member
|
| H A D | msm_iommu.c | 384 struct msm_mmu_prealloc *p = pagetable->base.prealloc; in msm_iommu_pagetable_alloc_pt()
|
| /linux/fs/sysfs/ |
| H A D | file.c | 238 .prealloc = true, 243 .prealloc = true, 249 .prealloc = true,
|
| /linux/kernel/bpf/ |
| H A D | hashtab.c | 419 bool prealloc = !(attr->map_flags & BPF_F_NO_PREALLOC); in htab_map_alloc_check() local 437 if (lru && !prealloc) in htab_map_alloc_check() 552 bool prealloc = !(attr->map_flags & BPF_F_NO_PREALLOC); in htab_map_alloc() local 635 if (prealloc) { in htab_map_alloc() 1079 bool prealloc = htab_is_prealloc(htab); in alloc_htab_elem() local 1083 if (prealloc) { in alloc_htab_elem() 1119 if (prealloc) { in alloc_htab_elem() 1136 if (!prealloc) in alloc_htab_elem() 2320 bool prealloc = htab_is_prealloc(htab); in htab_map_mem_usage() local 2328 if (prealloc) { in htab_map_mem_usage()
|
| /linux/fs/xfs/ |
| H A D | xfs_dquot.c | 125 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/drivers/usb/gadget/function/ |
| H A D | u_ether.c | 316 static int prealloc(struct list_head *list, struct usb_ep *ep, unsigned n) in prealloc() function 360 status = prealloc(&dev->tx_reqs, link->in_ep, n); in alloc_requests() 363 status = prealloc(&dev->rx_reqs, link->out_ep, n); in alloc_requests()
|
| /linux/mm/ |
| H A D | memory.c | 1049 struct folio **prealloc, struct page *page) in copy_present_page() argument 1054 new_folio = *prealloc; in copy_present_page() 1066 *prealloc = NULL; in copy_present_page() 1115 int max_nr, int *rss, struct folio **prealloc) in copy_present_ptes() argument 1133 if (unlikely(!*prealloc && folio_test_large(folio) && max_nr != 1)) { in copy_present_ptes() 1170 addr, rss, prealloc, page); in copy_present_ptes() 1222 struct folio *prealloc = NULL; in copy_pte_range() local 1305 ptent, addr, max_nr, rss, &prealloc); in copy_pte_range() 1313 if (unlikely(prealloc)) { in copy_pte_range() 1320 folio_put(prealloc); in copy_pte_range() [all …]
|
| /linux/sound/hda/common/ |
| H A D | Kconfig | 95 via a proc file (/proc/asound/card*/pcm*/sub*/prealloc), too.
|
| /linux/Documentation/filesystems/ |
| H A D | ntfs3.rst | 102 * - prealloc
|
| /linux/fs/kernfs/ |
| H A D | file.c | 687 if (ops->prealloc && ops->seq_show) in kernfs_fop_open() 689 if (ops->prealloc) { in kernfs_fop_open()
|
| /linux/include/linux/ |
| H A D | kernfs.h | 317 bool prealloc; member
|
| /linux/Documentation/sound/designs/ |
| H A D | procfile.rst | 136 ``card*/pcm*/sub*/prealloc``
|
| /linux/fs/ |
| H A D | namespace.c | 2249 struct path *prealloc, unsigned count) in collect_paths() argument 2253 struct path *res = prealloc, *to_free = NULL; in collect_paths() 2282 void drop_collected_paths(const struct path *paths, const struct path *prealloc) in drop_collected_paths() argument 2286 if (paths != prealloc) in drop_collected_paths()
|