Lines Matching refs:nr_extents
256 if (base_ni->nr_extents > 0) { in map_extent_mft_record()
258 for (i = 0; i < base_ni->nr_extents; i++) { in map_extent_mft_record()
301 ni->nr_extents = -1; in map_extent_mft_record()
320 if (!(base_ni->nr_extents & 3)) { in map_extent_mft_record()
322 int new_size = (base_ni->nr_extents + 4) * sizeof(ntfs_inode *); in map_extent_mft_record()
332 if (base_ni->nr_extents) { in map_extent_mft_record()
340 base_ni->ext.extent_ntfs_inos[base_ni->nr_extents++] = ni; in map_extent_mft_record()
393 if (likely(ni->nr_extents >= 0)) in __mark_mft_record_dirty()
1040 if (ni->nr_extents <= 0) { in ntfs_may_write_mft_record()
1053 for (eni = NULL, i = 0; i < ni->nr_extents; ++i) { in ntfs_may_write_mft_record()
2784 BUG_ON(ni->nr_extents != -1); in ntfs_extent_mft_record_free()
2790 BUG_ON(base_ni->nr_extents <= 0); in ntfs_extent_mft_record_free()
2808 for (i = 0; i < base_ni->nr_extents; i++) { in ntfs_extent_mft_record_free()
2812 base_ni->nr_extents--; in ntfs_extent_mft_record_free()
2813 memmove(extent_nis, extent_nis + 1, (base_ni->nr_extents - i) * in ntfs_extent_mft_record_free()
2880 if (!(base_ni->nr_extents & 3)) { in ntfs_extent_mft_record_free()
2881 int new_size = (base_ni->nr_extents + 4) * sizeof(ntfs_inode*); in ntfs_extent_mft_record_free()
2891 if (base_ni->nr_extents) { in ntfs_extent_mft_record_free()
2901 extent_nis[base_ni->nr_extents++] = ni; in ntfs_extent_mft_record_free()