Home
last modified time | relevance | path

Searched refs:nr_extents (Results 1 – 6 of 6) sorted by relevance

/fs/ntfs/
Dmft.c267 if (base_ni->nr_extents > 0) { in map_extent_mft_record()
269 for (i = 0; i < base_ni->nr_extents; i++) { in map_extent_mft_record()
312 ni->nr_extents = -1; in map_extent_mft_record()
331 if (!(base_ni->nr_extents & 3)) { in map_extent_mft_record()
333 int new_size = (base_ni->nr_extents + 4) * sizeof(ntfs_inode *); in map_extent_mft_record()
343 if (base_ni->nr_extents) { in map_extent_mft_record()
351 base_ni->ext.extent_ntfs_inos[base_ni->nr_extents++] = ni; in map_extent_mft_record()
404 if (likely(ni->nr_extents >= 0)) in __mark_mft_record_dirty()
1045 if (ni->nr_extents <= 0) { in ntfs_may_write_mft_record()
1058 for (eni = NULL, i = 0; i < ni->nr_extents; ++i) { in ntfs_may_write_mft_record()
[all …]
Dinode.c417 ni->nr_extents = 0; in __ntfs_init_inode()
1431 ni->nr_extents = -1; in ntfs_read_locked_attr_inode()
1717 ni->nr_extents = -1; in ntfs_read_locked_index_inode()
2231 BUG_ON(ni->nr_extents != -1); in ntfs_clear_extent_inode()
2281 if (ni->nr_extents > 0) { in ntfs_evict_big_inode()
2284 for (i = 0; i < ni->nr_extents; i++) in ntfs_evict_big_inode()
2293 if (ni->nr_extents == -1) { in ntfs_evict_big_inode()
2295 ni->nr_extents = 0; in ntfs_evict_big_inode()
2381 BUG_ON(ni->nr_extents < 0); in ntfs_truncate()
3064 if (ni->nr_extents > 0) { in __ntfs_write_inode()
[all …]
Dinode.h123 s32 nr_extents; /* For a base mft record, the number of attached extent member
Dindex.c140 BUG_ON(idx_ni->nr_extents != -1); in ntfs_index_lookup()
Daops.c1282 if (tni->nr_extents >= 0) in ntfs_write_mst_block()
/fs/btrfs/
Dextent-tree.c4787 unsigned nr_extents = 0; in btrfs_delalloc_reserve_metadata() local
4819 nr_extents = BTRFS_I(inode)->outstanding_extents - in btrfs_delalloc_reserve_metadata()
4828 nr_extents++; in btrfs_delalloc_reserve_metadata()
4832 to_reserve = btrfs_calc_trans_metadata_size(root, nr_extents); in btrfs_delalloc_reserve_metadata()
4839 nr_extents * root->leafsize); in btrfs_delalloc_reserve_metadata()
4848 nr_extents * root->leafsize); in btrfs_delalloc_reserve_metadata()
4856 nr_extents--; in btrfs_delalloc_reserve_metadata()
4858 BTRFS_I(inode)->reserved_extents += nr_extents; in btrfs_delalloc_reserve_metadata()