Searched refs:di_nlink (Results 1 – 17 of 17) sorted by relevance
234 ASSERT (ip->i_d.di_nlink > 0); in xfs_droplink()235 ip->i_d.di_nlink--; in xfs_droplink()240 if (ip->i_d.di_nlink == 0) { in xfs_droplink()296 ASSERT(ip->i_d.di_nlink > 0); in xfs_bumplink()297 ip->i_d.di_nlink++; in xfs_bumplink()300 (ip->i_d.di_nlink > XFS_MAXLINK_1)) { in xfs_bumplink()
182 if ((ip->i_d.di_nlink == 0) && xfs_inode_is_filestream(ip)) in xfs_release()206 if (ip->i_d.di_nlink == 0) in xfs_release()284 if (ip->i_d.di_nlink != 0) { in xfs_inactive()927 ASSERT(ip->i_d.di_nlink >= 2); in xfs_remove()928 if (ip->i_d.di_nlink != 2) { in xfs_remove()981 link_zero = (ip->i_d.di_nlink == 0); in xfs_remove()
848 to->di_nlink = be32_to_cpu(from->di_nlink); in xfs_dinode_from_disk()895 to->di_nlink = cpu_to_be32(from->di_nlink); in xfs_dinode_to_disk()1121 ip->i_d.di_nlink = ip->i_d.di_onlink; in xfs_iread()1269 ip->i_d.di_nlink = nlink; in xfs_ialloc()1270 ASSERT(ip->i_d.di_nlink == nlink); in xfs_ialloc()1601 ASSERT(ip->i_d.di_nlink == 0); in xfs_iunlink()2035 ASSERT(ip->i_d.di_nlink == 0); in xfs_ifree()2920 ASSERT(ip->i_d.di_nlink <= XFS_MAXLINK_1); in xfs_iflush_int()2921 dip->di_onlink = cpu_to_be16(ip->i_d.di_nlink); in xfs_iflush_int()
51 __be32 di_nlink; /* number of links to file */ member
222 (target_ip->i_d.di_nlink > 2)) { in xfs_rename()
202 ASSERT(ip->i_d.di_nlink <= XFS_MAXLINK_1); in xfs_inode_item_format()203 ip->i_d.di_onlink = ip->i_d.di_nlink; in xfs_inode_item_format()
134 __uint32_t di_nlink; /* number of links to file */ member
422 stat->nlink = ip->i_d.di_nlink; in xfs_vn_getattr()1174 set_nlink(inode, ip->i_d.di_nlink); in xfs_setup_inode()
93 buf->bs_nlink = dic->di_nlink; in xfs_bulkstat_one_int()
3425 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
391 } else if (le32_to_cpu(dp->di_nlink) == 0) in diRead()2308 dp->di_nlink = 0; in diNewExt()3079 set_nlink(ip, le32_to_cpu(dip->di_nlink)); in copy_from_dinode()3152 dip->di_nlink = cpu_to_le32(ip->i_nlink); in copy_to_dinode()
51 __be16 di_nlink; /* number of links to file */ member
99 set_nlink(inode, be16_to_cpu(efs_inode->di_nlink)); in efs_iget()
318 set_nlink(inode, le16_to_cpu(raw_inode->di_nlink)); in qnx4_iget()
327 gfs2_set_nlink(&ip->i_inode, be32_to_cpu(str->di_nlink)); in gfs2_dinode_in()
678 str->di_nlink = cpu_to_be32(ip->i_inode.i_nlink); in gfs2_dinode_out()