Home
last modified time | relevance | path

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

/linux-3.4.99/fs/xfs/
Dxfs_utils.c239 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()
Dxfs_vnodeops.c526 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()
Dxfs_dinode.h51 __be32 di_nlink; /* number of links to file */ member
Dxfs_inode.c643 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()
Dxfs_rename.c223 (target_ip->i_d.di_nlink > 2)) { in xfs_rename()
Dxfs_inode_item.c204 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()
Dxfs_inode.h134 __uint32_t di_nlink; /* number of links to file */ member
Dxfs_iops.c424 stat->nlink = ip->i_d.di_nlink; in xfs_vn_getattr()
1130 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.c3086 ASSERT(ip->i_d.di_nlink == 0); in xlog_recover_process_one_iunlink()
/linux-3.4.99/include/linux/
Dqnx4_fs.h56 qnx4_nlink_t di_nlink; member
Dgfs2_ondisk.h245 __be32 di_nlink; /* number of links to this file */ member
/linux-3.4.99/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()
/linux-3.4.99/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()
/linux-3.4.99/fs/qnx4/
Dinode.c317 set_nlink(inode, le16_to_cpu(raw_inode->di_nlink)); in qnx4_iget()
/linux-3.4.99/fs/gfs2/
Dglops.c327 gfs2_set_nlink(&ip->i_inode, be32_to_cpu(str->di_nlink)); in gfs2_dinode_in()
Dsuper.c716 str->di_nlink = cpu_to_be32(ip->i_inode.i_nlink); in gfs2_dinode_out()
Dinode.c467 di->di_nlink = 0; in init_dinode()