Searched refs:di_nlink (Results 1 – 16 of 16) sorted by relevance
244 ASSERT (ip->i_d.di_nlink > 0); in xfs_droplink()245 ip->i_d.di_nlink--; in xfs_droplink()250 if (ip->i_d.di_nlink == 0) { in xfs_droplink()304 if (ip->i_d.di_nlink >= XFS_MAXLINK) in xfs_bumplink()308 ASSERT(ip->i_d.di_nlink > 0); in xfs_bumplink()309 ip->i_d.di_nlink++; in xfs_bumplink()312 (ip->i_d.di_nlink > XFS_MAXLINK_1)) { in xfs_bumplink()396 ((ip->i_d.di_nlink != 0 || in xfs_truncate_file()
141 target_dp->i_d.di_nlink >= XFS_MAXLINK) { in xfs_rename()258 (target_ip->i_d.di_nlink > 2)) { in xfs_rename()
314 ((ip->i_d.di_nlink != 0 || in xfs_setattr()1079 if ((ip->i_d.di_nlink == 0) && xfs_inode_is_filestream(ip)) in xfs_release()1097 if (ip->i_d.di_nlink != 0) { in xfs_release()1151 truncate = ((ip->i_d.di_nlink == 0) && in xfs_inactive()1158 if (ip->i_d.di_nlink == 0 && DM_EVENT_ENABLED(ip, DM_EVENT_DESTROY)) in xfs_inactive()1167 if (ip->i_d.di_nlink != 0) { in xfs_inactive()1182 ASSERT(ip->i_d.di_nlink == 0); in xfs_inactive()1871 ASSERT(ip->i_d.di_nlink >= 2); in xfs_remove()1872 if (ip->i_d.di_nlink != 2) { in xfs_remove()1925 link_zero = (ip->i_d.di_nlink == 0); in xfs_remove()[all …]
51 __be32 di_nlink; /* number of links to file */ member
657 to->di_nlink = be32_to_cpu(from->di_nlink); in xfs_dinode_from_disk()692 to->di_nlink = cpu_to_be32(from->di_nlink); in xfs_dinode_to_disk()873 ip->i_d.di_nlink = ip->i_d.di_onlink; in xfs_iread()1026 ip->i_d.di_nlink = nlink; in xfs_ialloc()1027 ASSERT(ip->i_d.di_nlink == nlink); in xfs_ialloc()1747 ASSERT(ip->i_d.di_nlink == 0); in xfs_iunlink()2143 ASSERT(ip->i_d.di_nlink == 0); in xfs_ifree()3149 ASSERT(ip->i_d.di_nlink <= XFS_MAXLINK_1); in xfs_iflush_int()3150 dip->di_onlink = cpu_to_be16(ip->i_d.di_nlink); in xfs_iflush_int()
79 buf->bs_nlink = dic->di_nlink; in xfs_bulkstat_one_iget()146 buf->bs_nlink = be32_to_cpu(dic->di_nlink); in xfs_bulkstat_one_dinode()
305 ASSERT(ip->i_d.di_nlink <= XFS_MAXLINK_1); in xfs_inode_item_format()306 ip->i_d.di_onlink = ip->i_d.di_nlink; in xfs_inode_item_format()
135 __uint32_t di_nlink; /* number of links to file */ member
3174 ASSERT(ip->i_d.di_nlink == 0); in xlog_recover_process_one_iunlink()
52 __le32 di_nlink; /* 4: number of links to the object */ member
396 } else if (le32_to_cpu(dp->di_nlink) == 0) in diRead()2312 dp->di_nlink = 0; in diNewExt()3083 ip->i_nlink = le32_to_cpu(dip->di_nlink); in copy_from_dinode()3156 dip->di_nlink = cpu_to_le32(ip->i_nlink); in copy_to_dinode()
51 __be16 di_nlink; /* number of links to file */ member
100 inode->i_nlink = be16_to_cpu(efs_inode->di_nlink); in efs_iget()
111 raw_inode->di_nlink = cpu_to_le16(inode->i_nlink); in qnx4_write_inode()505 inode->i_nlink = le16_to_cpu(raw_inode->di_nlink); in qnx4_iget()
274 ip->i_inode.i_nlink = be32_to_cpu(str->di_nlink); in gfs2_dinode_in()779 di->di_nlink = 0; in init_dinode()1254 str->di_nlink = cpu_to_be32(ip->i_inode.i_nlink); in gfs2_dinode_out()
552 stat->nlink = ip->i_d.di_nlink; in xfs_vn_getattr()862 inode->i_nlink = ip->i_d.di_nlink; in xfs_setup_inode()