Searched refs:di_nlink (Results 1 – 20 of 20) sorted by relevance
239 ASSERT (ip->i_d.di_nlink > 0); in xfs_droplink()240 ip->i_d.di_nlink--; in xfs_droplink()245 if (ip->i_d.di_nlink == 0) { in xfs_droplink()301 ASSERT(ip->i_d.di_nlink > 0); in xfs_bumplink()302 ip->i_d.di_nlink++; in xfs_bumplink()305 (ip->i_d.di_nlink > XFS_MAXLINK_1)) { in xfs_bumplink()
526 if ((ip->i_d.di_nlink == 0) && xfs_inode_is_filestream(ip)) in xfs_release()547 if (ip->i_d.di_nlink == 0) in xfs_release()628 truncate = ((ip->i_d.di_nlink == 0) && in xfs_inactive()641 if (ip->i_d.di_nlink != 0) { in xfs_inactive()656 ASSERT(ip->i_d.di_nlink == 0); in xfs_inactive()1281 ASSERT(ip->i_d.di_nlink >= 2); in xfs_remove()1282 if (ip->i_d.di_nlink != 2) { in xfs_remove()1335 link_zero = (ip->i_d.di_nlink == 0); in xfs_remove()
51 __be32 di_nlink; /* number of links to file */ member
643 to->di_nlink = be32_to_cpu(from->di_nlink); in xfs_dinode_from_disk()679 to->di_nlink = cpu_to_be32(from->di_nlink); in xfs_dinode_to_disk()849 ip->i_d.di_nlink = ip->i_d.di_onlink; in xfs_iread()997 ip->i_d.di_nlink = nlink; in xfs_ialloc()998 ASSERT(ip->i_d.di_nlink == nlink); in xfs_ialloc()1314 ASSERT(ip->i_d.di_nlink == 0); in xfs_iunlink()1708 ASSERT(ip->i_d.di_nlink == 0); in xfs_ifree()2619 ASSERT(ip->i_d.di_nlink <= XFS_MAXLINK_1); in xfs_iflush_int()2620 dip->di_onlink = cpu_to_be16(ip->i_d.di_nlink); in xfs_iflush_int()
223 (target_ip->i_d.di_nlink > 2)) { in xfs_rename()
204 ASSERT(ip->i_d.di_nlink <= XFS_MAXLINK_1); in xfs_inode_item_format()205 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
424 stat->nlink = ip->i_d.di_nlink; in xfs_vn_getattr()1130 set_nlink(inode, ip->i_d.di_nlink); in xfs_setup_inode()
93 buf->bs_nlink = dic->di_nlink; in xfs_bulkstat_one_int()
3086 ASSERT(ip->i_d.di_nlink == 0); in xlog_recover_process_one_iunlink()
56 qnx4_nlink_t di_nlink; member
245 __be32 di_nlink; /* number of links to this file */ member
51 __be16 di_nlink; /* number of links to file */ member
99 set_nlink(inode, be16_to_cpu(efs_inode->di_nlink)); in efs_iget()
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()
317 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()
716 str->di_nlink = cpu_to_be32(ip->i_inode.i_nlink); in gfs2_dinode_out()
467 di->di_nlink = 0; in init_dinode()