Home
last modified time | relevance | path

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

/linux-4.19.296/lib/
Dstackdepot.c83 static bool init_stack_slab(void **prealloc) in init_stack_slab() argument
85 if (!*prealloc) in init_stack_slab()
94 stack_slabs[depot_index] = *prealloc; in init_stack_slab()
95 *prealloc = NULL; in init_stack_slab()
99 stack_slabs[depot_index + 1] = *prealloc; in init_stack_slab()
100 *prealloc = NULL; in init_stack_slab()
113 u32 hash, void **prealloc, gfp_t alloc_flags) in depot_alloc_stack() argument
136 init_stack_slab(prealloc); in depot_alloc_stack()
229 void *prealloc = NULL; in depot_save_stack() local
266 prealloc = page_address(page); in depot_save_stack()
[all …]
/linux-4.19.296/fs/btrfs/
Dinode-map.c406 int prealloc; in btrfs_save_ino_cache() local
487 prealloc = sizeof(struct btrfs_free_space) * ctl->free_extents; in btrfs_save_ino_cache()
488 prealloc = ALIGN(prealloc, PAGE_SIZE); in btrfs_save_ino_cache()
489 prealloc += ctl->total_bitmaps * PAGE_SIZE; in btrfs_save_ino_cache()
493 prealloc += 8 * PAGE_SIZE; in btrfs_save_ino_cache()
495 ret = btrfs_delalloc_reserve_space(inode, &data_reserved, 0, prealloc); in btrfs_save_ino_cache()
499 ret = btrfs_prealloc_file_range_trans(inode, trans, 0, 0, prealloc, in btrfs_save_ino_cache()
500 prealloc, prealloc, &alloc_hint); in btrfs_save_ino_cache()
502 btrfs_delalloc_release_extents(BTRFS_I(inode), prealloc); in btrfs_save_ino_cache()
503 btrfs_delalloc_release_metadata(BTRFS_I(inode), prealloc, true); in btrfs_save_ino_cache()
[all …]
Dextent_io.c530 struct extent_state *prealloc, u64 split) in split_state() argument
536 prealloc->start = orig->start; in split_state()
537 prealloc->end = split - 1; in split_state()
538 prealloc->state = orig->state; in split_state()
541 node = tree_insert(&tree->state, &orig->rb_node, prealloc->end, in split_state()
542 &prealloc->rb_node, NULL, NULL); in split_state()
544 free_extent_state(prealloc); in split_state()
603 alloc_extent_state_atomic(struct extent_state *prealloc) in alloc_extent_state_atomic() argument
605 if (!prealloc) in alloc_extent_state_atomic()
606 prealloc = alloc_extent_state(GFP_ATOMIC); in alloc_extent_state_atomic()
[all …]
Dextent_map.c292 bool prealloc = false; in unpin_extent_cache() local
308 prealloc = true; in unpin_extent_cache()
314 if (prealloc) { in unpin_extent_cache()
/linux-4.19.296/fs/sysfs/
Dfile.c214 .prealloc = true,
219 .prealloc = true,
225 .prealloc = true,
/linux-4.19.296/fs/xfs/
Dxfs_dquot.c79 int prealloc = 0; in xfs_qm_adjust_dqlimits() local
86 prealloc = 1; in xfs_qm_adjust_dqlimits()
90 prealloc = 1; in xfs_qm_adjust_dqlimits()
101 if (prealloc) in xfs_qm_adjust_dqlimits()
/linux-4.19.296/fs/xfs/libxfs/
Dxfs_bmap.h228 xfs_fileoff_t off, xfs_filblks_t len, xfs_filblks_t prealloc,
Dxfs_bmap.c3932 xfs_filblks_t prealloc, in xfs_bmapi_reserve_delalloc() argument
3948 alen = XFS_FILBLKS_MIN(len + prealloc, MAXEXTLEN); in xfs_bmapi_reserve_delalloc()
3951 if (prealloc && alen >= len) in xfs_bmapi_reserve_delalloc()
3952 prealloc = alen - len; in xfs_bmapi_reserve_delalloc()
4007 if (whichfork == XFS_DATA_FORK && prealloc) in xfs_bmapi_reserve_delalloc()
4009 if (whichfork == XFS_COW_FORK && (prealloc || aoff < off || alen > len)) in xfs_bmapi_reserve_delalloc()
/linux-4.19.296/fs/kernfs/
Dfile.c687 if (ops->prealloc && ops->seq_show) in kernfs_fop_open()
689 if (ops->prealloc) { in kernfs_fop_open()
/linux-4.19.296/include/linux/
Dkernfs.h261 bool prealloc; member
/linux-4.19.296/fs/f2fs/
Ddata.c1017 blkcnt_t prealloc; in f2fs_map_blocks() local
1064 prealloc = 0; in f2fs_map_blocks()
1085 prealloc++; in f2fs_map_blocks()
1152 err = f2fs_reserve_new_blocks(&dn, prealloc); in f2fs_map_blocks()
1157 if (prealloc && dn.ofs_in_node != last_ofs_in_node + 1) { in f2fs_map_blocks()