Home
last modified time | relevance | path

Searched refs:di_nlink (Results 1 – 17 of 17) sorted by relevance

/fs/xfs/
Dxfs_utils.c234 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()
Dxfs_vnodeops.c182 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()
Dxfs_inode.c848 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()
Dxfs_dinode.h51 __be32 di_nlink; /* number of links to file */ member
Dxfs_rename.c222 (target_ip->i_d.di_nlink > 2)) { in xfs_rename()
Dxfs_inode_item.c202 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()
Dxfs_inode.h134 __uint32_t di_nlink; /* number of links to file */ member
Dxfs_iops.c422 stat->nlink = ip->i_d.di_nlink; in xfs_vn_getattr()
1174 set_nlink(inode, ip->i_d.di_nlink); in xfs_setup_inode()
Dxfs_itable.c93 buf->bs_nlink = dic->di_nlink; in xfs_bulkstat_one_int()
Dxfs_log_recover.c3425 ASSERT(ip->i_d.di_nlink == 0); in xlog_recover_process_one_iunlink()
/fs/jfs/
Djfs_dinode.h52 __le32 di_nlink; /* 4: number of links to the object */ member
Djfs_imap.c391 } 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()
/fs/efs/
Defs.h51 __be16 di_nlink; /* number of links to file */ member
Dinode.c99 set_nlink(inode, be16_to_cpu(efs_inode->di_nlink)); in efs_iget()
/fs/qnx4/
Dinode.c318 set_nlink(inode, le16_to_cpu(raw_inode->di_nlink)); in qnx4_iget()
/fs/gfs2/
Dglops.c327 gfs2_set_nlink(&ip->i_inode, be32_to_cpu(str->di_nlink)); in gfs2_dinode_in()
Dsuper.c678 str->di_nlink = cpu_to_be32(ip->i_inode.i_nlink); in gfs2_dinode_out()