Home
last modified time | relevance | path

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

/fs/btrfs/
A Dextent-io-tree.c168 if (!prealloc) in alloc_extent_state_atomic()
702 prealloc = alloc_extent_state_atomic(prealloc); in btrfs_clear_extent_bit_changeset()
730 prealloc = alloc_extent_state_atomic(prealloc); in btrfs_clear_extent_bit_changeset()
1098 prealloc = alloc_extent_state_atomic(prealloc); in set_extent_bit()
1171 prealloc = alloc_extent_state_atomic(prealloc); in set_extent_bit()
1204 prealloc = alloc_extent_state_atomic(prealloc); in set_extent_bit()
1261 prealloc = alloc_extent_state_atomic(prealloc); in set_extent_bit()
1363 prealloc = alloc_extent_state_atomic(prealloc); in btrfs_convert_extent_bit()
1413 prealloc = alloc_extent_state_atomic(prealloc); in btrfs_convert_extent_bit()
1446 prealloc = alloc_extent_state_atomic(prealloc); in btrfs_convert_extent_bit()
[all …]
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()
218 if (ulist->prealloc) { in ulist_add_merge()
219 node = ulist->prealloc; in ulist_add_merge()
220 ulist->prealloc = NULL; in ulist_add_merge()
A Dqgroup.c208 ASSERT(prealloc); in add_qgroup_rb()
213 kfree(prealloc); in add_qgroup_rb()
223 return prealloc; in add_qgroup_rb()
276 kfree(prealloc); in __add_relation_rb()
462 prealloc = kzalloc(sizeof(*prealloc), GFP_KERNEL); in btrfs_read_qgroup_config()
1131 prealloc = kzalloc(sizeof(*prealloc), GFP_NOFS); in btrfs_quota_enable()
1185 prealloc = kzalloc(sizeof(*prealloc), GFP_NOFS); in btrfs_quota_enable()
1186 if (!prealloc) { in btrfs_quota_enable()
1676 prealloc = kzalloc(sizeof(*prealloc), GFP_NOFS); in btrfs_create_qgroup()
3312 prealloc = kzalloc(sizeof(*prealloc), GFP_NOFS); in btrfs_qgroup_inherit()
[all …]
A Dulist.h44 struct ulist_node *prealloc; member
A Dextent_io.c785 struct btrfs_folio_state *prealloc) in attach_extent_buffer_folio() argument
809 btrfs_free_folio_state(prealloc); in attach_extent_buffer_folio()
813 if (prealloc) in attach_extent_buffer_folio()
815 folio_attach_private(folio, prealloc); in attach_extent_buffer_folio()
3187 struct btrfs_folio_state *prealloc, in attach_eb_folio_to_filemap() argument
3248 ret = attach_extent_buffer_folio(eb, eb->folios[i], prealloc); in attach_eb_folio_to_filemap()
3270 struct btrfs_folio_state *prealloc = NULL; in alloc_extent_buffer() local
3316 if (IS_ERR(prealloc)) { in alloc_extent_buffer()
3317 ret = PTR_ERR(prealloc); in alloc_extent_buffer()
3326 btrfs_free_folio_state(prealloc); in alloc_extent_buffer()
[all …]
A Dqgroup.h342 struct btrfs_qgroup_list *prealloc);
A Dioctl.c3718 struct btrfs_qgroup_list *prealloc = NULL; in btrfs_ioctl_qgroup_assign() local
3740 prealloc = kzalloc(sizeof(*prealloc), GFP_KERNEL); in btrfs_ioctl_qgroup_assign()
3741 if (!prealloc) { in btrfs_ioctl_qgroup_assign()
3758 ret = btrfs_add_qgroup_relation(trans, sa->src, sa->dst, prealloc); in btrfs_ioctl_qgroup_assign()
3759 prealloc = NULL; in btrfs_ioctl_qgroup_assign()
3777 kfree(prealloc); in btrfs_ioctl_qgroup_assign()
A Dinode.c3837 static int btrfs_add_inode_to_root(struct btrfs_inode *inode, bool prealloc) in btrfs_add_inode_to_root() argument
3847 if (prealloc) { in btrfs_add_inode_to_root()
/fs/ext4/
A Dextents_status.c179 struct extent_status *prealloc);
182 struct extent_status *prealloc);
188 struct pending_reservation **prealloc);
819 struct extent_status *prealloc) in __es_insert_extent() argument
859 if (prealloc) in __es_insert_extent()
860 es = prealloc; in __es_insert_extent()
1415 struct extent_status *prealloc) in __es_remove_extent() argument
1991 struct pending_reservation **prealloc) in __insert_pending() argument
2017 if (likely(*prealloc == NULL)) { in __insert_pending()
2024 pr = *prealloc; in __insert_pending()
[all …]
/fs/xfs/
A Dxfs_iomap.c1397 xfs_filblks_t prealloc, in xfs_bmapi_reserve_delalloc() argument
1410 whichfork == XFS_COW_FORK && !prealloc; in xfs_bmapi_reserve_delalloc()
1418 alen = XFS_FILBLKS_MIN(len + prealloc, XFS_MAX_BMBT_EXTLEN); in xfs_bmapi_reserve_delalloc()
1421 if (prealloc && alen >= len) in xfs_bmapi_reserve_delalloc()
1422 prealloc = alen - len; in xfs_bmapi_reserve_delalloc()
1490 if (whichfork == XFS_DATA_FORK && prealloc) in xfs_bmapi_reserve_delalloc()
1492 if (whichfork == XFS_COW_FORK && (prealloc || aoff < off || alen > len)) in xfs_bmapi_reserve_delalloc()
1507 if (prealloc || use_cowextszhint) { in xfs_bmapi_reserve_delalloc()
1510 prealloc = 0; in xfs_bmapi_reserve_delalloc()
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()
/fs/sysfs/
A Dfile.c244 .prealloc = true,
249 .prealloc = true,
255 .prealloc = true,
/fs/kernfs/
A Dfile.c669 if (ops->prealloc && ops->seq_show) in kernfs_fop_open()
671 if (ops->prealloc) { in kernfs_fop_open()
/fs/ntfs3/
A Dfile.c457 &new_valid, ni->mi.sbi->options->prealloc, NULL); in ntfs_truncate()
1284 if (sbi->options->prealloc && in ntfs_file_release()
A Dsuper.c393 opts->prealloc = 1; in ntfs_fs_parse_param()
756 if (opts->prealloc) in ntfs_show_options()
A Dntfs_fs.h109 unsigned prealloc : 1; /* Preallocate space when file is growing. */ member
A Dattrib.c535 sbi->options->prealloc) { in attr_set_size()
/fs/f2fs/
A Ddata.c1548 blkcnt_t prealloc; in f2fs_map_blocks() local
1594 prealloc = 0; in f2fs_map_blocks()
1619 prealloc++; in f2fs_map_blocks()
1715 err = f2fs_reserve_new_blocks(&dn, prealloc); in f2fs_map_blocks()
1720 if (prealloc && dn.ofs_in_node != last_ofs_in_node + 1) { in f2fs_map_blocks()
/fs/
A Dnamespace.c2302 struct path *prealloc, unsigned count) in collect_paths() argument
2306 struct path *res = prealloc, *to_free = NULL; in collect_paths()
2335 void drop_collected_paths(struct path *paths, struct path *prealloc) in drop_collected_paths() argument
2339 if (paths != prealloc) in drop_collected_paths()

Completed in 87 milliseconds