Lines Matching refs:nr_extents
61 if (ni->nr_extents == -1) in ntfs_inode_base()
79 if (ni->nr_extents == -1) in ntfs_inode_mark_dirty()
335 if (ni->nr_extents > 0) { in ntfs_inode_real_close()
336 while (ni->nr_extents > 0) { in ntfs_inode_real_close()
343 } else if (ni->nr_extents == -1) { in ntfs_inode_real_close()
353 for (i = 0; i < base_ni->nr_extents; ++i) { in ntfs_inode_real_close()
359 (base_ni->nr_extents - i - 1) * in ntfs_inode_real_close()
362 if ((--base_ni->nr_extents) & 3) { in ntfs_inode_real_close()
370 if (base_ni->nr_extents) { in ntfs_inode_real_close()
372 tmp_nis = realloc(tmp_nis, base_ni->nr_extents * in ntfs_inode_real_close()
629 if (base_ni->nr_extents > 0) { in ntfs_extent_inode_open()
631 for (i = 0; i < base_ni->nr_extents; i++) { in ntfs_extent_inode_open()
657 ni->nr_extents = -1; in ntfs_extent_inode_open()
660 if (!(base_ni->nr_extents & 3)) { in ntfs_extent_inode_open()
661 i = (base_ni->nr_extents + 4) * sizeof(ntfs_inode *); in ntfs_extent_inode_open()
666 if (base_ni->nr_extents) { in ntfs_extent_inode_open()
673 base_ni->extent_nis[base_ni->nr_extents++] = ni; in ntfs_extent_inode_open()
700 if (ni->nr_extents == -1) in ntfs_inode_attach_all_extents()
963 if ((ni->mrec->flags & MFT_RECORD_IN_USE) && ni->nr_extents != -1 && in ntfs_inode_sync_in_dir()
973 if ((ni->mrec->flags & MFT_RECORD_IN_USE) && ni->nr_extents != -1 && in ntfs_inode_sync_in_dir()
987 if ((ni->mrec->flags & MFT_RECORD_IN_USE) && ni->nr_extents != -1 && in ntfs_inode_sync_in_dir()
1043 if (ni->nr_extents > 0) { in ntfs_inode_sync_in_dir()
1046 for (i = 0; i < ni->nr_extents; ++i) { in ntfs_inode_sync_in_dir()
1128 if (NInoAttrList(ni) || ni->nr_extents) { in ntfs_inode_add_attrlist()