i_nlink          3435 drivers/staging/exfat/exfat_super.c 	if (!inode->i_nlink)
i_nlink           574 fs/9p/vfs_inode.c 	if (!S_ISDIR(inode->i_mode) || inode->i_nlink > 2)
i_nlink          1163 fs/9p/vfs_inode.c 	unsigned int i_nlink;
i_nlink          1191 fs/9p/vfs_inode.c 			sscanf(ext, "%13s %u", tag_name, &i_nlink);
i_nlink          1193 fs/9p/vfs_inode.c 				set_nlink(inode, i_nlink);
i_nlink           313 fs/affs/amigaffs.c 	if (inode->i_nlink > 1)
i_nlink           180 fs/affs/inode.c 	if (!inode->i_nlink)
i_nlink           266 fs/affs/inode.c 		 inode->i_ino, inode->i_nlink);
i_nlink           269 fs/affs/inode.c 	if (!inode->i_nlink) {
i_nlink           288 fs/affs/inode.c 	if (!inode->i_nlink)
i_nlink          1454 fs/afs/dir.c   			if (vnode->vfs_inode.i_nlink == 0) {
i_nlink          1470 fs/afs/dir.c   		_debug("nlink %d [val %d]", vnode->vfs_inode.i_nlink, ret);
i_nlink          1979 fs/afs/dir.c   			if (new_inode->i_nlink > 0)
i_nlink           183 fs/afs/dir_silly.c 			if (vnode->vfs_inode.i_nlink == 0) {
i_nlink           722 fs/autofs/root.c 	if (dir->i_nlink)
i_nlink           182 fs/bfs/dir.c   	if (!inode->i_nlink) {
i_nlink           185 fs/bfs/dir.c   					inode->i_nlink);
i_nlink            80 fs/bfs/inode.c 	set_nlink(inode, le32_to_cpu(di->i_nlink));
i_nlink           143 fs/bfs/inode.c 	di->i_nlink = cpu_to_le32(inode->i_nlink);
i_nlink           178 fs/bfs/inode.c 	if (inode->i_nlink)
i_nlink          1337 fs/binfmt_elf.c 		if (file_inode(vma->vm_file)->i_nlink == 0 ?
i_nlink          1227 fs/binfmt_elf_fdpic.c 		if (file_inode(vma->vm_file)->i_nlink == 0) {
i_nlink          1741 fs/btrfs/delayed-inode.c 	btrfs_set_stack_inode_nlink(inode_item, inode->i_nlink);
i_nlink          3676 fs/btrfs/inode.c 		if (ret == -ENOENT || inode->i_nlink) {
i_nlink          3911 fs/btrfs/inode.c 	if (inode->i_nlink != 1 ||
i_nlink          3997 fs/btrfs/inode.c 	btrfs_set_token_inode_nlink(leaf, item, inode->i_nlink, &token);
i_nlink          4276 fs/btrfs/inode.c 	if (inode->i_nlink == 0) {
i_nlink          5362 fs/btrfs/inode.c 		if (ret && inode->i_nlink) {
i_nlink          5574 fs/btrfs/inode.c 	if (inode->i_nlink &&
i_nlink          5588 fs/btrfs/inode.c 	if (inode->i_nlink > 0) {
i_nlink          6831 fs/btrfs/inode.c 	if (inode->i_nlink >= BTRFS_LINK_MAX)
i_nlink          6844 fs/btrfs/inode.c 	trans = btrfs_start_transaction(root, inode->i_nlink ? 5 : 6);
i_nlink          6871 fs/btrfs/inode.c 		if (inode->i_nlink == 1) {
i_nlink          9771 fs/btrfs/inode.c 	if (old_inode->i_nlink == 1)
i_nlink          9773 fs/btrfs/inode.c 	if (new_inode->i_nlink == 1)
i_nlink          10066 fs/btrfs/inode.c 			BUG_ON(new_inode->i_nlink == 0);
i_nlink          10073 fs/btrfs/inode.c 		if (!ret && new_inode->i_nlink == 0)
i_nlink          10090 fs/btrfs/inode.c 	if (old_inode->i_nlink == 1)
i_nlink          1394 fs/btrfs/tree-log.c 	if (other_inode->i_nlink == 0)
i_nlink          1539 fs/btrfs/tree-log.c 				if (!ret && inode->i_nlink == 0)
i_nlink          1736 fs/btrfs/tree-log.c 	if (nlink != inode->i_nlink) {
i_nlink          1742 fs/btrfs/tree-log.c 	if (inode->i_nlink == 0) {
i_nlink          1838 fs/btrfs/tree-log.c 		if (!inode->i_nlink)
i_nlink          3884 fs/btrfs/tree-log.c 	btrfs_set_token_inode_nlink(leaf, item, inode->i_nlink, &token);
i_nlink          5912 fs/btrfs/tree-log.c 	if (inode->vfs_inode.i_nlink < 2)
i_nlink          6034 fs/btrfs/tree-log.c 	    inode->vfs_inode.i_nlink == 0) {
i_nlink          1860 fs/ceph/caps.c 	if (!mdsc->stopping && inode->i_nlink > 0) {
i_nlink          3180 fs/ceph/caps.c 		if (inode->i_nlink == 0 &&
i_nlink          4143 fs/ceph/caps.c 	if (inode->i_nlink == 1) {
i_nlink           165 fs/ceph/export.c 	if (inode->i_nlink == 0) {
i_nlink           177 fs/ceph/export.c 	if (inode->i_nlink == 0) {
i_nlink           237 fs/ceph/export.c 			if (inode->i_nlink == 0)
i_nlink           355 fs/ceph/export.c 			if (dir->i_nlink == 0)
i_nlink          1322 fs/cifs/inode.c 	if (inode->i_nlink > 0)
i_nlink          1467 fs/cifs/inode.c 	if (inode->i_nlink < 2)
i_nlink          1565 fs/cifs/inode.c 	if (newinode->i_nlink != 2)
i_nlink          1567 fs/cifs/inode.c 			 newinode->i_nlink);
i_nlink          1921 fs/cifs/inode.c 	    S_ISREG(inode->i_mode) && inode->i_nlink != 1)
i_nlink           124 fs/coda/dir.c  	if (dir->i_nlink >= 2)
i_nlink           130 fs/coda/dir.c  	if (dir->i_nlink > 2)
i_nlink           758 fs/coredump.c  		if (inode->i_nlink > 1)
i_nlink           369 fs/dcache.c    	if (!inode->i_nlink)
i_nlink            46 fs/ecryptfs/dentry.c 		if (!inode->i_nlink)
i_nlink           150 fs/ecryptfs/inode.c 	set_nlink(inode, ecryptfs_inode_to_lower(inode)->i_nlink);
i_nlink           449 fs/ecryptfs/inode.c 		  ecryptfs_inode_to_lower(d_inode(old_dentry))->i_nlink);
i_nlink           518 fs/ecryptfs/inode.c 	set_nlink(dir, d_inode(lower_dir_dentry)->i_nlink);
i_nlink           548 fs/ecryptfs/inode.c 		set_nlink(dir, lower_dir_inode->i_nlink);
i_nlink            84 fs/erofs/erofs_fs.h 	__le16 i_nlink;
i_nlink           131 fs/erofs/erofs_fs.h 	__le32 i_nlink;
i_nlink            59 fs/erofs/inode.c 		set_nlink(inode, le32_to_cpu(die->i_nlink));
i_nlink            98 fs/erofs/inode.c 		set_nlink(inode, le16_to_cpu(dic->i_nlink));
i_nlink            77 fs/ext2/inode.c 	if (!inode->i_nlink && !is_bad_inode(inode)) {
i_nlink          1450 fs/ext2/inode.c 	if (inode->i_nlink == 0 && (inode->i_mode == 0 || ei->i_dtime)) {
i_nlink          1576 fs/ext2/inode.c 	raw_inode->i_links_count = cpu_to_le16(inode->i_nlink);
i_nlink          2079 fs/ext4/ext4.h #define EXT4_DIR_LINK_MAX(dir) unlikely((dir)->i_nlink >= EXT4_LINK_MAX && \
i_nlink          2081 fs/ext4/ext4.h #define EXT4_DIR_LINK_EMPTY(dir) ((dir)->i_nlink == 2 || (dir)->i_nlink == 1)
i_nlink           257 fs/ext4/ialloc.c 	if (inode->i_nlink) {
i_nlink           259 fs/ext4/ialloc.c 			 __func__, __LINE__, inode->i_ino, inode->i_nlink);
i_nlink           763 fs/ext4/ialloc.c 	if (!dir || !dir->i_nlink)
i_nlink          1242 fs/ext4/ialloc.c 	if ((inode->i_nlink && !ext4_can_truncate(inode)) ||
i_nlink          1263 fs/ext4/ialloc.c 		printk(KERN_ERR "i_nlink=%u\n", inode->i_nlink);
i_nlink          1265 fs/ext4/ialloc.c 		if (inode->i_nlink == 0)
i_nlink           617 fs/ext4/inline.c 		if (inode->i_nlink)
i_nlink          1984 fs/ext4/inline.c 	if (inode->i_nlink)
i_nlink           209 fs/ext4/inode.c 	if (inode->i_nlink) {
i_nlink          1376 fs/ext4/inode.c 			if (inode->i_nlink)
i_nlink          1477 fs/ext4/inode.c 		if (inode->i_nlink)
i_nlink          1595 fs/ext4/inode.c 		if (inode->i_nlink)
i_nlink          3604 fs/ext4/inode.c 	if (!truncate && inode->i_nlink &&
i_nlink          3616 fs/ext4/inode.c 		if (inode->i_nlink)
i_nlink          3802 fs/ext4/inode.c 			if (inode->i_nlink)
i_nlink          3807 fs/ext4/inode.c 		if (inode->i_nlink)
i_nlink          4551 fs/ext4/inode.c 	if (inode->i_nlink)
i_nlink          4946 fs/ext4/inode.c 	if (inode->i_nlink == 0) {
i_nlink          5295 fs/ext4/inode.c 	raw_inode->i_links_count = cpu_to_le16(inode->i_nlink);
i_nlink          5719 fs/ext4/inode.c 	if (orphan && inode->i_nlink)
i_nlink           133 fs/ext4/ioctl.c 	if (inode->i_nlink != 1 || !S_ISREG(inode->i_mode) ||
i_nlink           172 fs/ext4/ioctl.c 	if (inode_bl->i_nlink == 0) {
i_nlink          2543 fs/ext4/namei.c 	    (inode->i_nlink > EXT4_LINK_MAX || inode->i_nlink == 2))
i_nlink          2553 fs/ext4/namei.c 	if (!S_ISDIR(inode->i_mode) || inode->i_nlink > 2)
i_nlink          2930 fs/ext4/namei.c 		  S_ISLNK(inode->i_mode)) || inode->i_nlink == 0);
i_nlink          3120 fs/ext4/namei.c 			     inode->i_nlink);
i_nlink          3203 fs/ext4/namei.c 	if (inode->i_nlink == 0)
i_nlink          3208 fs/ext4/namei.c 	if (!inode->i_nlink)
i_nlink          3369 fs/ext4/namei.c 	if (inode->i_nlink >= EXT4_LINK_MAX)
i_nlink          3405 fs/ext4/namei.c 		if (inode->i_nlink == 1)
i_nlink          3585 fs/ext4/namei.c 				   ent->dir->i_nlink, retval);
i_nlink          3662 fs/ext4/namei.c 	if (new.inode && new.inode->i_nlink == 0) {
i_nlink          3828 fs/ext4/namei.c 		if (!new.inode->i_nlink)
i_nlink           936 fs/ext4/super.c 		       inode->i_mode, inode->i_nlink,
i_nlink          2721 fs/ext4/super.c 		if (inode->i_nlink) {
i_nlink          4789 fs/ext4/super.c 	if (!journal_inode->i_nlink) {
i_nlink          1043 fs/ext4/xattr.c 			WARN_ONCE(ea_inode->i_nlink, "EA inode %lu i_nlink=%u",
i_nlink          1044 fs/ext4/xattr.c 				  ea_inode->i_ino, ea_inode->i_nlink);
i_nlink          1062 fs/ext4/xattr.c 			WARN_ONCE(ea_inode->i_nlink != 1,
i_nlink          1064 fs/ext4/xattr.c 				  ea_inode->i_ino, ea_inode->i_nlink);
i_nlink          2562 fs/f2fs/data.c 			if (inode->i_nlink)
i_nlink           530 fs/f2fs/dir.c  		if (inode->i_nlink == 0)
i_nlink           799 fs/f2fs/dir.c  	if (inode->i_nlink == 0)
i_nlink           754 fs/f2fs/extent_cache.c 	if (inode->i_nlink && !is_bad_inode(inode) &&
i_nlink           159 fs/f2fs/file.c 	else if (inode->i_nlink != 1)
i_nlink           199 fs/f2fs/file.c 	if (file_wrong_pino(inode) && inode->i_nlink == 1 &&
i_nlink           516 fs/f2fs/inode.c 	ri->i_links = cpu_to_le32(inode->i_nlink);
i_nlink           577 fs/f2fs/inode.c 	if (inode->i_nlink == 0)
i_nlink           663 fs/f2fs/inode.c 	if (inode->i_nlink || is_bad_inode(inode))
i_nlink           727 fs/f2fs/inode.c 	if (inode->i_nlink) {
i_nlink           940 fs/f2fs/namei.c 		if (!new_inode->i_nlink)
i_nlink          1123 fs/f2fs/namei.c 		if ((old_nlink > 0 && old_dir->i_nlink >= F2FS_LINK_MAX) ||
i_nlink          1124 fs/f2fs/namei.c 			(new_nlink > 0 && new_dir->i_nlink >= F2FS_LINK_MAX))
i_nlink           937 fs/f2fs/super.c 		if (!inode->i_nlink && !is_bad_inode(inode)) {
i_nlink          3461 fs/f2fs/super.c 			!root->i_size || !root->i_nlink) {
i_nlink           500 fs/fat/inode.c 	if (dir->i_nlink < 2) {
i_nlink           653 fs/fat/inode.c 	if (!inode->i_nlink) {
i_nlink           725 fs/fuse/dir.c  		if (inode->i_nlink > 0)
i_nlink           873 fs/fuse/dir.c  		if (likely(inode->i_nlink < UINT_MAX))
i_nlink           339 fs/gfs2/inode.c 	if (!dip->i_inode.i_nlink)
i_nlink           344 fs/gfs2/inode.c 	if (S_ISDIR(mode) && dip->i_inode.i_nlink == (u32)-1)
i_nlink           924 fs/gfs2/inode.c 	if (inode->i_nlink == 0)
i_nlink           942 fs/gfs2/inode.c 	if (!dip->i_inode.i_nlink)
i_nlink           951 fs/gfs2/inode.c 	if (!ip->i_inode.i_nlink)
i_nlink           954 fs/gfs2/inode.c 	if (ip->i_inode.i_nlink == (u32)-1)
i_nlink          1080 fs/gfs2/inode.c 	if (inode->i_nlink == 0)
i_nlink          1132 fs/gfs2/inode.c 	if (inode->i_nlink == 0)
i_nlink          1137 fs/gfs2/inode.c 		if (ip->i_entries > 2 || inode->i_nlink > 2)
i_nlink          1432 fs/gfs2/inode.c 	if (ip->i_inode.i_nlink == 0)
i_nlink          1448 fs/gfs2/inode.c 		if (nip->i_inode.i_nlink == 0) {
i_nlink          1481 fs/gfs2/inode.c 			if (!ndip->i_inode.i_nlink) {
i_nlink          1490 fs/gfs2/inode.c 			    ndip->i_inode.i_nlink == (u32)-1) {
i_nlink          1651 fs/gfs2/inode.c 	if (oip->i_inode.i_nlink == 0 || nip->i_inode.i_nlink == 0)
i_nlink           468 fs/gfs2/super.c 	str->di_nlink = cpu_to_be32(ip->i_inode.i_nlink);
i_nlink           997 fs/gfs2/super.c 	    inode->i_nlink &&
i_nlink          1009 fs/gfs2/super.c 	if (!inode->i_nlink &&
i_nlink          1254 fs/gfs2/super.c 	if (inode->i_nlink || sb_rdonly(sb))
i_nlink          1289 fs/gfs2/super.c 	if (inode->i_nlink)
i_nlink            91 fs/hfs/catalog.c 		str->name, cnid, inode->i_nlink);
i_nlink           256 fs/hfs/inode.c 		if (!inode->i_nlink) {
i_nlink           449 fs/hfs/inode.c 	if (!main_inode->i_nlink)
i_nlink            98 fs/hfsplus/catalog.c 		perms->dev = cpu_to_be32(inode->i_nlink);
i_nlink           263 fs/hfsplus/catalog.c 		str->name, cnid, inode->i_nlink);
i_nlink           389 fs/hfsplus/dir.c 	if (inode->i_nlink > 0)
i_nlink           393 fs/hfsplus/dir.c 	if (!inode->i_nlink) {
i_nlink           438 fs/hfsplus/inode.c 		if (!inode->i_nlink) {
i_nlink           565 fs/hfsplus/inode.c 	if (!main_inode->i_nlink)
i_nlink           193 fs/hpfs/inode.c 	if (!i->i_nlink) {
i_nlink           218 fs/hpfs/inode.c 	if (i->i_ino != hpfs_sb(i->i_sb)->sb_root && i->i_nlink) {
i_nlink           312 fs/hpfs/inode.c 	if (!inode->i_nlink) {
i_nlink           259 fs/inode.c     	if (!inode->i_nlink) {
i_nlink           302 fs/inode.c     	WARN_ON(inode->i_nlink == 0);
i_nlink           304 fs/inode.c     	if (!inode->i_nlink)
i_nlink           319 fs/inode.c     	if (inode->i_nlink) {
i_nlink           340 fs/inode.c     		if (inode->i_nlink == 0)
i_nlink           358 fs/inode.c     	if (unlikely(inode->i_nlink == 0)) {
i_nlink          1590 fs/inode.c     		if (inode->i_nlink && (inode->i_state & I_DIRTY_TIME)) {
i_nlink           530 fs/isofs/rock.c 			set_nlink(inode, reloc->i_nlink);
i_nlink           209 fs/jffs2/dir.c 		  __func__, inode->i_ino, inode->i_mode, inode->i_nlink,
i_nlink            85 fs/jfs/inode.c 	if (inode->i_nlink == 0 || !test_cflag(COMMIT_Dirty, inode))
i_nlink           107 fs/jfs/inode.c 	if (inode->i_nlink && test_cflag(COMMIT_Dirty, inode))
i_nlink           119 fs/jfs/inode.c 	if (inode->i_nlink == 0)
i_nlink           145 fs/jfs/inode.c 	if (!inode->i_nlink && !is_bad_inode(inode)) {
i_nlink          3121 fs/jfs/jfs_imap.c 	dip->di_nlink = cpu_to_le32(ip->i_nlink);
i_nlink          1290 fs/jfs/jfs_txnmgr.c 	       ((tblk->u.ip->i_nlink == 0) &&
i_nlink           512 fs/jfs/namei.c 	ASSERT(ip->i_nlink);
i_nlink           523 fs/jfs/namei.c 	if (ip->i_nlink == 0) {
i_nlink           574 fs/jfs/namei.c 	if (ip->i_nlink == 0)
i_nlink          1175 fs/jfs/namei.c 			if (new_ip->i_nlink) {
i_nlink          1190 fs/jfs/namei.c 		} else if (new_ip->i_nlink == 0) {
i_nlink          1317 fs/jfs/namei.c 	if (new_ip && (new_ip->i_nlink == 0))
i_nlink            31 fs/minix/inode.c 	if (!inode->i_nlink) {
i_nlink            37 fs/minix/inode.c 	if (!inode->i_nlink)
i_nlink           559 fs/minix/inode.c 	raw_inode->i_nlinks = inode->i_nlink;
i_nlink           586 fs/minix/inode.c 	raw_inode->i_nlinks = inode->i_nlink;
i_nlink          3807 fs/namei.c     	if (max_links && dir->i_nlink >= max_links)
i_nlink          4229 fs/namei.c     	if (inode->i_nlink == 0 && !(inode->i_state & I_LINKABLE))
i_nlink          4231 fs/namei.c     	else if (max_links && inode->i_nlink >= max_links)
i_nlink          4456 fs/namei.c     		if (is_dir && !new_is_dir && new_dir->i_nlink >= max_links)
i_nlink          4459 fs/namei.c     		    old_dir->i_nlink >= max_links)
i_nlink          1063 fs/nfs/dir.c   	return (inode->i_nlink == 0) ? -ESTALE : 0;
i_nlink          1351 fs/nfs/dir.c   	if (inode->i_nlink > 0)
i_nlink          1460 fs/nfs/inode.c 	if ((fattr->valid & NFS_ATTR_FATTR_NLINK) && inode->i_nlink != fattr->nlink)
i_nlink          2002 fs/nfs/inode.c 		if (inode->i_nlink != fattr->nlink) {
i_nlink          4503 fs/nfs/nfs4proc.c 		if (ftype == NF4DIR && dir->i_nlink > 2)
i_nlink          4519 fs/nfs/nfs4proc.c 		if (inode->i_nlink == 1)
i_nlink           553 fs/nfsd/filecache.c 		if (inode->i_nlink)
i_nlink           890 fs/nfsd/filecache.c 	if (status != nfs_ok || inode->i_nlink == 0) {
i_nlink           299 fs/nfsd/trace.h 		__entry->nlink = inode->i_nlink;
i_nlink           449 fs/nilfs2/inode.c 	if (inode->i_nlink == 0)
i_nlink           633 fs/nilfs2/inode.c 	raw_inode->i_links_count = cpu_to_le16(inode->i_nlink);
i_nlink           786 fs/nilfs2/inode.c 	if (inode->i_nlink || !ii->i_root || unlikely(is_bad_inode(inode))) {
i_nlink           274 fs/nilfs2/namei.c 	if (!inode->i_nlink) {
i_nlink           277 fs/nilfs2/namei.c 			  inode->i_ino, inode->i_nlink);
i_nlink          1986 fs/nilfs2/segment.c 		if (!ii->vfs_inode.i_nlink || during_mount) {
i_nlink           602 fs/ntfs/inode.c 		if (vi->i_nlink > 1)
i_nlink          1212 fs/ntfs/inode.c 	set_nlink(vi, base_vi->i_nlink);
i_nlink          1478 fs/ntfs/inode.c 	set_nlink(vi, base_vi->i_nlink);
i_nlink            89 fs/ocfs2/dcache.c 	if (inode->i_nlink == 0) {
i_nlink          2179 fs/ocfs2/dlmglue.c 	lvb->lvb_inlink    = cpu_to_be16(inode->i_nlink);
i_nlink           900 fs/ocfs2/inode.c 					   inode->i_nlink);
i_nlink           912 fs/ocfs2/inode.c 	if (inode->i_nlink)
i_nlink          1120 fs/ocfs2/inode.c 				inode->i_nlink);
i_nlink          1216 fs/ocfs2/inode.c 	if (!inode->i_nlink ||
i_nlink          1233 fs/ocfs2/inode.c 				inode->i_nlink, oi->ip_flags);
i_nlink          1313 fs/ocfs2/inode.c 	ocfs2_set_links_count(fe, inode->i_nlink);
i_nlink           271 fs/ocfs2/namei.c 	if (S_ISDIR(mode) && (dir->i_nlink >= ocfs2_link_max(osb))) {
i_nlink           550 fs/ocfs2/namei.c 	ocfs2_set_links_count(fe, inode->i_nlink);
i_nlink           724 fs/ocfs2/namei.c 	if (!dir->i_nlink) {
i_nlink           791 fs/ocfs2/namei.c 	ocfs2_set_links_count(fe, inode->i_nlink);
i_nlink           856 fs/ocfs2/namei.c 		if (inode->i_nlink == 2)
i_nlink           861 fs/ocfs2/namei.c 	if (inode->i_nlink == 1)
i_nlink           936 fs/ocfs2/namei.c 		if (inode->i_nlink != 2 || !ocfs2_empty_dir(inode)) {
i_nlink           989 fs/ocfs2/namei.c 	ocfs2_set_links_count(fe, inode->i_nlink);
i_nlink          1212 fs/ocfs2/namei.c 	u32 old_dir_nlink = old_dir->i_nlink;
i_nlink          1293 fs/ocfs2/namei.c 	if (!new_dir->i_nlink) {
i_nlink          1350 fs/ocfs2/namei.c 		    new_dir->i_nlink >= ocfs2_link_max(osb)) {
i_nlink          1449 fs/ocfs2/namei.c 		if (S_ISDIR(new_inode->i_mode) || (new_inode->i_nlink == 1)) {
i_nlink          1489 fs/ocfs2/namei.c 			if (new_inode->i_nlink != 2 ||
i_nlink          1615 fs/ocfs2/namei.c 	if (old_dir_nlink != old_dir->i_nlink) {
i_nlink          1620 fs/ocfs2/namei.c 			     (int)old_dir_nlink, old_dir->i_nlink);
i_nlink          1628 fs/ocfs2/namei.c 			ocfs2_set_links_count(fe, old_dir->i_nlink);
i_nlink          2850 fs/ocfs2/namei.c 	ocfs2_set_links_count(di, inode->i_nlink);
i_nlink           191 fs/omfs/inode.c 	if (inode->i_nlink)
i_nlink           987 fs/overlayfs/dir.c 	return (d_inode(lowerdentry)->i_nlink > 1);
i_nlink           263 fs/overlayfs/inode.c 		stat->nlink = dentry->d_inode->i_nlink;
i_nlink           648 fs/overlayfs/inode.c 		       (int) (inode->i_nlink - realinode->i_nlink));
i_nlink           676 fs/overlayfs/inode.c 	if (!lowerdentry || !upperdentry || d_inode(lowerdentry)->i_nlink == 1)
i_nlink           692 fs/overlayfs/inode.c 	nlink = d_inode(buf[0] == 'L' ? lowerdentry : upperdentry)->i_nlink;
i_nlink           854 fs/overlayfs/inode.c 	    !d_is_dir(lower) && d_inode(lower)->i_nlink > 1)
i_nlink           900 fs/overlayfs/inode.c 		unsigned int nlink = is_dir ? 1 : realinode->i_nlink;
i_nlink           579 fs/overlayfs/namei.c 	if (!d_is_dir(index) && d_inode(index)->i_nlink == 1) {
i_nlink           601 fs/overlayfs/namei.c 			    d_inode(index)->i_nlink);
i_nlink           679 fs/overlayfs/util.c 	if (!d_is_dir(lower) && d_inode(lower)->i_nlink > 1)
i_nlink           702 fs/overlayfs/util.c 	if (!S_ISDIR(inode->i_mode) && inode->i_nlink != 1) {
i_nlink           704 fs/overlayfs/util.c 				    upperdentry, inode->i_ino, inode->i_nlink);
i_nlink           714 fs/overlayfs/util.c 		set_nlink(d_inode(dentry), inode->i_nlink - 1);
i_nlink           807 fs/overlayfs/util.c 	if (ovl_test_flag(OVL_INDEX, inode) && inode->i_nlink == 0) {
i_nlink          2286 fs/quota/dquot.c 			else if (!toputinode[cnt]->i_nlink)
i_nlink            39 fs/reiserfs/inode.c 	if (!inode->i_nlink && !is_bad_inode(inode))
i_nlink            43 fs/reiserfs/inode.c 	if (inode->i_nlink)
i_nlink          1381 fs/reiserfs/inode.c 	set_sd_v2_nlink(sd_v2, inode->i_nlink);
i_nlink          1404 fs/reiserfs/inode.c 	set_sd_v1_nlink(sd_v1, inode->i_nlink);
i_nlink          1475 fs/reiserfs/inode.c 			if (inode->i_nlink == 0) {
i_nlink          1482 fs/reiserfs/inode.c 					 INODE_PKEY(inode), inode->i_nlink,
i_nlink          1601 fs/reiserfs/inode.c 	if ((inode->i_nlink == 0) &&
i_nlink          1951 fs/reiserfs/inode.c 	if (!dir->i_nlink) {
i_nlink            22 fs/reiserfs/namei.c #define INC_DIR_INODE_NLINK(i) if (i->i_nlink != 1) { inc_nlink(i); if (i->i_nlink >= REISERFS_LINK_MAX) set_nlink(i, 1); }
i_nlink            23 fs/reiserfs/namei.c #define DEC_DIR_INODE_NLINK(i) if (i->i_nlink != 1) drop_nlink(i);
i_nlink           408 fs/reiserfs/namei.c 	if (dir->i_nlink == 0) {
i_nlink           960 fs/reiserfs/namei.c 	if (inode->i_nlink != 2 && inode->i_nlink != 1)
i_nlink           963 fs/reiserfs/namei.c 			       inode->i_nlink);
i_nlink          1048 fs/reiserfs/namei.c 	if (!inode->i_nlink) {
i_nlink          1051 fs/reiserfs/namei.c 				 inode->i_ino, inode->i_nlink);
i_nlink          1061 fs/reiserfs/namei.c 	savelink = inode->i_nlink;
i_nlink          1216 fs/reiserfs/namei.c 	if (inode->i_nlink >= REISERFS_LINK_MAX) {
i_nlink          1590 fs/reiserfs/namei.c 		savelink = new_dentry_inode->i_nlink;
i_nlink          1843 fs/reiserfs/stree.c 	if (inode->i_nlink)
i_nlink           335 fs/reiserfs/super.c 		if (!truncate && inode->i_nlink) {
i_nlink           476 fs/reiserfs/xattr.c 	if (inode_unhashed(inode) || !inode->i_nlink ||
i_nlink            74 fs/stack.c     	set_nlink(dest, src->i_nlink);
i_nlink            38 fs/stat.c      	stat->nlink = inode->i_nlink;
i_nlink            83 fs/sysv/ialloc.c 		if (raw_inode->i_mode == 0 && raw_inode->i_nlink == 0) {
i_nlink           203 fs/sysv/ialloc.c 		if (raw_inode->i_mode == 0 && raw_inode->i_nlink == 0)
i_nlink           202 fs/sysv/inode.c 	set_nlink(inode, fs16_to_cpu(sbi, raw_inode->i_nlink));
i_nlink           256 fs/sysv/inode.c 	raw_inode->i_nlink = cpu_to_fs16(sbi, inode->i_nlink);
i_nlink           294 fs/sysv/inode.c 	if (!inode->i_nlink) {
i_nlink           300 fs/sysv/inode.c 	if (!inode->i_nlink)
i_nlink           236 fs/ubifs/debug.c 	pr_err("\tnlink          %u\n", inode->i_nlink);
i_nlink          1148 fs/ubifs/debug.c 	if (dir->i_nlink != nlink) {
i_nlink          1150 fs/ubifs/debug.c 			  dir->i_ino, dir->i_nlink, nlink);
i_nlink          1846 fs/ubifs/debug.c 		fscki->nlink = inode->i_nlink;
i_nlink           706 fs/ubifs/dir.c 		inode->i_nlink, dir->i_ino);
i_nlink           729 fs/ubifs/dir.c 	if (inode->i_nlink == 0)
i_nlink           752 fs/ubifs/dir.c 	if (inode->i_nlink == 0)
i_nlink           769 fs/ubifs/dir.c 	unsigned int saved_nlink = inode->i_nlink;
i_nlink           781 fs/ubifs/dir.c 		inode->i_nlink, dir->i_ino);
i_nlink          1393 fs/ubifs/dir.c 		saved_nlink = new_inode->i_nlink;
i_nlink           449 fs/ubifs/journal.c 	int data_len = 0, last_reference = !inode->i_nlink;
i_nlink           466 fs/ubifs/journal.c 	ino->nlink = cpu_to_le32(inode->i_nlink);
i_nlink           544 fs/ubifs/journal.c 	int last_reference = !!(deletion && inode->i_nlink == 0);
i_nlink           846 fs/ubifs/journal.c 	int last_reference = !inode->i_nlink;
i_nlink           850 fs/ubifs/journal.c 	dbg_jnl("ino %lu, nlink %u", inode->i_ino, inode->i_nlink);
i_nlink          1005 fs/ubifs/journal.c 	ubifs_assert(c, inode->i_nlink == 0);
i_nlink          1222 fs/ubifs/journal.c 	int last_reference = !!(new_inode && new_inode->i_nlink == 0);
i_nlink          1676 fs/ubifs/journal.c 	ubifs_assert(c, inode->i_nlink == 0);
i_nlink          1798 fs/ubifs/journal.c 	ubifs_assert(c, host->i_nlink > 0);
i_nlink          1799 fs/ubifs/journal.c 	ubifs_assert(c, inode->i_nlink > 0);
i_nlink           305 fs/ubifs/super.c 		inode->i_ino, (int)inode->i_mode, inode->i_nlink);
i_nlink           306 fs/ubifs/super.c 	if (inode->i_nlink) {
i_nlink           350 fs/ubifs/super.c 	if (inode->i_nlink)
i_nlink           609 fs/ubifs/xattr.c 	ubifs_assert(c, inode->i_nlink == 1);
i_nlink           142 fs/udf/inode.c 	if (!inode->i_nlink && !is_bad_inode(inode)) {
i_nlink          1735 fs/udf/inode.c 	if (S_ISDIR(inode->i_mode) && inode->i_nlink > 0)
i_nlink          1736 fs/udf/inode.c 		fe->fileLinkCount = cpu_to_le16(inode->i_nlink - 1);
i_nlink          1738 fs/udf/inode.c 		fe->fileLinkCount = cpu_to_le16(inode->i_nlink);
i_nlink           816 fs/udf/namei.c 	if (inode->i_nlink != 2)
i_nlink           818 fs/udf/namei.c 			 inode->i_nlink);
i_nlink           858 fs/udf/namei.c 	if (!inode->i_nlink) {
i_nlink           860 fs/udf/namei.c 			  inode->i_ino, inode->i_nlink);
i_nlink            81 fs/udf/truncate.c 	if (inode->i_nlink == 0)
i_nlink           188 fs/ufs/ialloc.c 	if (!dir || !dir->i_nlink)
i_nlink           571 fs/ufs/inode.c 	if (inode->i_nlink == 0)
i_nlink           617 fs/ufs/inode.c 	if (inode->i_nlink == 0)
i_nlink           720 fs/ufs/inode.c 	ufs_inode->ui_nlink = cpu_to_fs16(sb, inode->i_nlink);
i_nlink           753 fs/ufs/inode.c 	if (!inode->i_nlink)
i_nlink           764 fs/ufs/inode.c 	ufs_inode->ui_nlink = cpu_to_fs16(sb, inode->i_nlink);
i_nlink           792 fs/ufs/inode.c 	if (!inode->i_nlink)
i_nlink           850 fs/ufs/inode.c 	if (!inode->i_nlink && !is_bad_inode(inode))
i_nlink           292 fs/xfs/libxfs/xfs_inode_buf.c 	to->di_nlink = cpu_to_be32(inode->i_nlink);
i_nlink           141 fs/xfs/scrub/parent.c 	expected_nlink = VFS_I(sc->ip)->i_nlink == 0 ? 0 : 1;
i_nlink           216 fs/xfs/scrub/parent.c 	expected_nlink = VFS_I(sc->ip)->i_nlink == 0 ? 0 : 1;
i_nlink           513 fs/xfs/xfs_bmap_item.c 	if (VFS_I(ip)->i_nlink == 0)
i_nlink           287 fs/xfs/xfs_icache.c 	uint32_t	nlink = inode->i_nlink;
i_nlink          1104 fs/xfs/xfs_inode.c 	if (VFS_I(ip)->i_nlink)
i_nlink          1435 fs/xfs/xfs_inode.c 	if (VFS_I(sip)->i_nlink == 0) {
i_nlink          1631 fs/xfs/xfs_inode.c 	if (VFS_I(ip)->i_nlink == 0)
i_nlink          1838 fs/xfs/xfs_inode.c 	if (VFS_I(ip)->i_nlink != 0) {
i_nlink          2243 fs/xfs/xfs_inode.c 	ASSERT(VFS_I(ip)->i_nlink == 0);
i_nlink          2743 fs/xfs/xfs_inode.c 	ASSERT(VFS_I(ip)->i_nlink == 0);
i_nlink          2912 fs/xfs/xfs_inode.c 		ASSERT(VFS_I(ip)->i_nlink >= 2);
i_nlink          2913 fs/xfs/xfs_inode.c 		if (VFS_I(ip)->i_nlink != 2) {
i_nlink          3305 fs/xfs/xfs_inode.c 		     (VFS_I(target_ip)->i_nlink > 2))) {
i_nlink          3324 fs/xfs/xfs_inode.c 		ASSERT(VFS_I(wip)->i_nlink == 0);
i_nlink           323 fs/xfs/xfs_inode_item.c 	to->di_nlink = inode->i_nlink;
i_nlink           506 fs/xfs/xfs_iops.c 	stat->nlink = inode->i_nlink;
i_nlink            93 fs/xfs/xfs_itable.c 	buf->bs_nlink = inode->i_nlink;
i_nlink          4995 fs/xfs/xfs_log_recover.c 	ASSERT(VFS_I(ip)->i_nlink == 0);
i_nlink           658 include/linux/fs.h 		const unsigned int i_nlink;
i_nlink          3031 include/linux/fs.h 	return !inode->i_nlink || inode_unhashed(inode);
i_nlink           194 include/linux/sysv_fs.h 	__fs16 i_nlink;
i_nlink           199 include/trace/events/ext4.h 		__entry->nlink	= inode->i_nlink;
i_nlink           179 include/trace/events/f2fs.h 		__entry->nlink	= inode->i_nlink;
i_nlink            34 include/uapi/linux/bfs_fs.h 	__le32 i_nlink;
i_nlink          2965 mm/shmem.c     	if (inode->i_nlink) {
i_nlink          2985 mm/shmem.c     	if (inode->i_nlink > 1 && !S_ISDIR(inode->i_mode))
i_nlink           161 security/apparmor/file.c 	if (d_unlinked(dentry) && d_backing_inode(dentry)->i_nlink == 0)