| /linux/fs/btrfs/ |
| H A D | extent-io-tree.c | 166 static struct extent_state *alloc_extent_state_atomic(struct extent_state *prealloc) in alloc_extent_state_atomic() argument 168 if (!prealloc) in alloc_extent_state_atomic() 169 prealloc = alloc_extent_state(GFP_ATOMIC); in alloc_extent_state_atomic() 171 return prealloc; in alloc_extent_state_atomic() 524 struct extent_state *prealloc, u64 split) in split_state() argument 532 prealloc->start = orig->start; in split_state() 533 prealloc->end = split - 1; in split_state() 534 prealloc->state = orig->state; in split_state() 545 if (prealloc->end < entry->start) { in split_state() 547 } else if (prealloc->end > entry->end) { in split_state() [all …]
|
| 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 | 230 changeset->range_changed.prealloc = EXTENT_CHANGESET_BYTES_ONLY; in extent_changeset_init_bytes_only() 235 return changeset->range_changed.prealloc != EXTENT_CHANGESET_BYTES_ONLY; in extent_changeset_tracks_ranges()
|
| H A D | ioctl.c | 3616 struct btrfs_qgroup_list AUTO_KFREE(prealloc); in btrfs_ioctl_qgroup_assign() 3638 prealloc = kzalloc_obj(*prealloc); in btrfs_ioctl_qgroup_assign() 3639 if (!prealloc) { in btrfs_ioctl_qgroup_assign() 3667 ret = btrfs_add_qgroup_relation(trans, sa->src, sa->dst, prealloc); in btrfs_ioctl_qgroup_assign() 3668 prealloc = NULL; in btrfs_ioctl_qgroup_assign()
|
| H A D | extent_io.c | 916 struct btrfs_folio_state *prealloc) in attach_extent_buffer_folio() argument 940 btrfs_free_folio_state(prealloc); in attach_extent_buffer_folio() 944 if (prealloc) in attach_extent_buffer_folio() 946 folio_attach_private(folio, prealloc); in attach_extent_buffer_folio()
|
| /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/tools/testing/selftests/net/ |
| H A D | ioam6.sh | 210 encap ioam6 trace prealloc type 0x800000 ns 0 size 4 dev veth0 &>/dev/null 693 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 \ 740 encap ioam6 mode $mode_tunsrc trace prealloc type 0x800000 ns 0 size 4 \ 774 encap ioam6 mode $mode trace prealloc type 0x800000 ns 0 size 4 \ 780 encap ioam6 mode $mode_tundst 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 \ [all …]
|
| 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/fs/ |
| H A D | pipe.c | 114 static struct page *anon_pipe_prealloc_pop(struct anon_pipe_prealloc *prealloc) in anon_pipe_prealloc_pop() argument 116 if (!prealloc->count) in anon_pipe_prealloc_pop() 119 prealloc->count--; in anon_pipe_prealloc_pop() 121 return prealloc->pages[prealloc->count]; in anon_pipe_prealloc_pop() 125 static bool anon_pipe_prealloc_push(struct anon_pipe_prealloc *prealloc, in anon_pipe_prealloc_push() argument 128 if (prealloc->count >= PIPE_PREALLOC_MAX) in anon_pipe_prealloc_push() 130 prealloc->pages[prealloc->count++] = page; in anon_pipe_prealloc_push() 149 have = min_t(unsigned int, READ_ONCE(pipe->prealloc.count), want); in anon_pipe_prefill_and_lock() 166 while (n && anon_pipe_prealloc_push(&pipe->prealloc, pages[n - 1])) in anon_pipe_prefill_and_lock() 186 while (pipe->prealloc.count > PIPE_PREALLOC_KEEP) in anon_pipe_trim_and_unlock() [all …]
|
| /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.h | 56 unsigned int prealloc);
|
| /linux/drivers/gpu/drm/msm/ |
| H A D | msm_mmu.h | 66 struct msm_mmu_prealloc *prealloc; member
|
| /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/kernel/bpf/ |
| H A D | hashtab.c | 424 bool prealloc = !(attr->map_flags & BPF_F_NO_PREALLOC); in htab_map_alloc_check() local 442 if (lru && !prealloc) in htab_map_alloc_check() 555 bool prealloc = !(attr->map_flags & BPF_F_NO_PREALLOC); in htab_map_alloc() local 638 if (prealloc) { in htab_map_alloc() 1081 bool prealloc = htab_is_prealloc(htab); in alloc_htab_elem() local 1085 if (prealloc) { in alloc_htab_elem() 1121 if (prealloc) { in alloc_htab_elem() 1138 if (!prealloc) in alloc_htab_elem() 2322 bool prealloc = htab_is_prealloc(htab); in htab_map_mem_usage() local 2330 if (prealloc) { in htab_map_mem_usage()
|
| /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/sound/hda/common/ |
| H A D | Kconfig | 95 via a proc file (/proc/asound/card*/pcm*/sub*/prealloc), too.
|
| /linux/mm/ |
| H A D | memory.c | 1065 struct folio **prealloc, struct page *page) in copy_present_page() argument 1070 new_folio = *prealloc; in copy_present_page() 1082 *prealloc = NULL; in copy_present_page() 1131 int max_nr, int *rss, struct folio **prealloc) in copy_present_ptes() argument 1149 if (unlikely(!*prealloc && folio_test_large(folio) && max_nr != 1)) { in copy_present_ptes() 1186 addr, rss, prealloc, page); in copy_present_ptes() 1238 struct folio *prealloc = NULL; in copy_pte_range() local 1321 ptent, addr, max_nr, rss, &prealloc); in copy_pte_range() 1329 if (unlikely(prealloc)) { in copy_pte_range() 1336 folio_put(prealloc); in copy_pte_range() [all …]
|
| /linux/Documentation/filesystems/ |
| H A D | ntfs3.rst | 102 * - prealloc
|
| /linux/fs/ntfs3/ |
| H A D | super.c | 415 opts->prealloc = 1; in ntfs_fs_parse_param() 418 opts->prealloc = result.boolean; in ntfs_fs_parse_param() 800 if (opts->prealloc) in ntfs_show_options() 1895 opts->prealloc = 1; in ntfs_init_fs_context()
|
| H A D | file.c | 1437 if (ni->mi.sbi->options->prealloc) { in ntfs_file_release()
|
| H A D | ntfs_fs.h | 110 unsigned prealloc : 1; /* Preallocate space when file is growing. */ member
|
| /linux/Documentation/sound/designs/ |
| H A D | procfile.rst | 136 ``card*/pcm*/sub*/prealloc``
|