Searched defs:prealloc (Results 1 - 6 of 6) sorted by relevance

/fs/btrfs/
H A Dextent_map.c280 bool prealloc = false; local
298 prealloc = true;
304 if (prealloc) {
H A Dinode-map.c393 int prealloc; local
474 prealloc = sizeof(struct btrfs_free_space) * ctl->free_extents;
475 prealloc = ALIGN(prealloc, PAGE_CACHE_SIZE);
476 prealloc += ctl->total_bitmaps * PAGE_CACHE_SIZE;
480 prealloc += 8 * PAGE_CACHE_SIZE;
482 ret = btrfs_delalloc_reserve_space(inode, prealloc);
486 ret = btrfs_prealloc_file_range_trans(inode, trans, 0, 0, prealloc,
487 prealloc, prealloc,
[all...]
H A Dextent_io.c463 * struct 'prealloc' as the newly created second half. 'split' indicates an
469 * prealloc: [orig->start, split - 1]
476 struct extent_state *prealloc, u64 split)
482 prealloc->start = orig->start;
483 prealloc->end = split - 1;
484 prealloc->state = orig->state;
487 node = tree_insert(&tree->state, &orig->rb_node, prealloc->end,
488 &prealloc->rb_node, NULL, NULL);
490 free_extent_state(prealloc);
545 alloc_extent_state_atomic(struct extent_state *prealloc) argument
475 split_state(struct extent_io_tree *tree, struct extent_state *orig, struct extent_state *prealloc, u64 split) argument
579 struct extent_state *prealloc = NULL; local
828 struct extent_state *prealloc = NULL; local
1054 struct extent_state *prealloc = NULL; local
[all...]
/fs/xfs/
H A Dxfs_iomap.c263 int *prealloc)
271 *prealloc = 0;
276 * If the file is smaller than the minimum prealloc and we are using
309 *prealloc = 1;
342 /* if we are using a specific prealloc size, return now */
346 /* If the file is small, then use the minimum prealloc */
407 /* no dq, or over hi wmark, squash the prealloc completely */
460 * MAXEXTLEN is not a power of two value but we round the prealloc down
462 * round down from unconditionally reducing the maximum supported prealloc
484 * Check each quota to cap the prealloc siz
256 xfs_iomap_eof_want_preallocate( xfs_mount_t *mp, xfs_inode_t *ip, xfs_off_t offset, size_t count, xfs_bmbt_irec_t *imap, int nimaps, int *prealloc) argument
552 int prealloc; local
[all...]
H A Dxfs_dquot.c97 int prealloc = 0; local
103 prealloc = 1;
107 prealloc = 1;
118 if (prealloc)
653 /* initialize the dquot speculative prealloc thresholds */
/fs/quota/
H A Ddquot.c1287 static int check_bdq(struct dquot *dquot, qsize_t space, int prealloc, argument
1303 if (!prealloc)
1313 if (!prealloc)
1321 if (!prealloc) {

Completed in 97 milliseconds