/kernel/linux/linux-5.10/fs/xfs/scrub/ |
D | parent.c | 37 xfs_nlink_t nlink; member 56 spc->nlink++; in xchk_parent_actor() 74 xfs_nlink_t *nlink) in xchk_parent_count_parent_dentries() argument 119 *nlink = spc.nlink; in xchk_parent_count_parent_dentries() 138 xfs_nlink_t nlink; in xchk_parent_validate() local 193 error = xchk_parent_count_parent_dentries(sc, dp, &nlink); in xchk_parent_validate() 197 if (nlink != expected_nlink) in xchk_parent_validate() 215 error = xchk_parent_count_parent_dentries(sc, dp, &nlink); in xchk_parent_validate() 250 if (nlink != expected_nlink) in xchk_parent_validate()
|
/kernel/linux/linux-5.10/fs/squashfs/ |
D | squashfs_fs.h | 285 __le32 nlink; member 295 __le32 nlink; member 306 __le32 nlink; member 317 __le32 nlink; member 329 __le32 nlink; member 358 __le32 nlink; member 373 __le32 nlink; member 386 __le32 nlink; member
|
D | inode.c | 198 set_nlink(inode, le32_to_cpu(sqsh_ino->nlink)); in squashfs_read_inode() 227 set_nlink(inode, le32_to_cpu(sqsh_ino->nlink)); in squashfs_read_inode() 252 set_nlink(inode, le32_to_cpu(sqsh_ino->nlink)); in squashfs_read_inode() 279 set_nlink(inode, le32_to_cpu(sqsh_ino->nlink)); in squashfs_read_inode() 321 set_nlink(inode, le32_to_cpu(sqsh_ino->nlink)); in squashfs_read_inode() 345 set_nlink(inode, le32_to_cpu(sqsh_ino->nlink)); in squashfs_read_inode() 366 set_nlink(inode, le32_to_cpu(sqsh_ino->nlink)); in squashfs_read_inode() 385 set_nlink(inode, le32_to_cpu(sqsh_ino->nlink)); in squashfs_read_inode()
|
/kernel/linux/linux-5.10/fs/overlayfs/ |
D | inode.c | 217 (is_dir || lowerstat.nlink == 1))) { in ovl_getattr() 263 stat->nlink = 1; in ovl_getattr() 272 stat->nlink = dentry->d_inode->i_nlink; in ovl_getattr() 749 int nlink; in ovl_get_nlink() local 770 nlink = d_inode(buf[0] == 'L' ? lowerdentry : upperdentry)->i_nlink; in ovl_get_nlink() 771 nlink += nlink_diff; in ovl_get_nlink() 773 if (nlink <= 0) in ovl_get_nlink() 776 return nlink; in ovl_get_nlink() 979 unsigned int nlink = is_dir ? 1 : realinode->i_nlink; in ovl_get_inode() local 1003 nlink = ovl_get_nlink(ofs, lowerdentry, upperdentry, in ovl_get_inode() [all …]
|
/kernel/linux/linux-5.10/fs/proc/ |
D | generic.c | 142 nlink_t nlink = READ_ONCE(de->nlink); in proc_getattr() local 143 if (nlink > 0) { in proc_getattr() 144 set_nlink(inode, nlink); in proc_getattr() 386 dir->nlink++; in proc_register() 400 nlink_t nlink) in __proc_create() argument 448 ent->nlink = nlink; in __proc_create() 709 parent->nlink--; in remove_proc_entry() 769 next->nlink--; in remove_proc_subtree()
|
D | root.c | 315 stat->nlink = proc_root.nlink + nr_processes(); in proc_root_getattr() 365 .nlink = 2,
|
D | proc_net.c | 303 stat->nlink = net->proc_net->nlink; in proc_tgid_net_getattr() 349 netd->nlink = 2; in proc_net_ns_init()
|
D | internal.h | 55 nlink_t nlink; member
|
D | inode.c | 682 if (de->nlink) in proc_get_inode() 683 set_nlink(inode, de->nlink); in proc_get_inode()
|
/kernel/linux/linux-5.10/fs/ |
D | stat.c | 41 stat->nlink = inode->i_nlink; in generic_fillattr() 245 tmp.st_nlink = stat->nlink; in cp_old_stat() 246 if (tmp.st_nlink != stat->nlink) in cp_old_stat() 333 tmp.st_nlink = stat->nlink; in cp_new_stat() 334 if (tmp.st_nlink != stat->nlink) in cp_new_stat() 479 tmp.st_nlink = stat->nlink; in cp_new_stat64() 552 tmp.stx_nlink = stat->nlink; in cp_statx() 628 tmp.st_nlink = stat->nlink; in cp_compat_stat() 629 if (tmp.st_nlink != stat->nlink) in cp_compat_stat()
|
/kernel/linux/linux-5.10/fs/ocfs2/ |
D | ocfs2.h | 563 u32 nlink = le16_to_cpu(di->i_links_count); in ocfs2_read_links_count() local 567 nlink |= (hi << OCFS2_LINKS_HI_SHIFT); in ocfs2_read_links_count() 569 return nlink; in ocfs2_read_links_count() 572 static inline void ocfs2_set_links_count(struct ocfs2_dinode *di, u32 nlink) in ocfs2_set_links_count() argument 576 lo = nlink; in ocfs2_set_links_count() 577 hi = nlink >> OCFS2_LINKS_HI_SHIFT; in ocfs2_set_links_count()
|
/kernel/linux/linux-5.10/fs/afs/ |
D | inode.c | 73 status->nlink, in afs_inode_init_from_status() 91 set_nlink(&vnode->vfs_inode, status->nlink); in afs_inode_init_from_status() 179 if (status->nlink != vnode->status.nlink) in afs_apply_status() 180 set_nlink(inode, status->nlink); in afs_apply_status() 740 stat->nlink > 0) in afs_getattr() 741 stat->nlink -= 1; in afs_getattr()
|
D | xdr_fs.h | 15 __be32 nlink; member
|
D | afs.h | 141 u32 nlink; /* link count */ member
|
D | protocol_yfs.h | 88 __be32 nlink; member
|
/kernel/linux/linux-5.10/include/linux/ |
D | stat.h | 25 unsigned int nlink; member
|
/kernel/linux/linux-5.10/fs/hostfs/ |
D | hostfs.h | 59 unsigned int nlink; member
|
/kernel/linux/linux-5.10/fs/ubifs/ |
D | debug.c | 449 pr_err("\tnlink %u\n", le32_to_cpu(ino->nlink)); in ubifs_dump_node() 1126 unsigned int nlink = 2; in dbg_check_dir() local 1155 nlink += 1; in dbg_check_dir() 1170 if (dir->i_nlink != nlink) { in dbg_check_dir() 1172 dir->i_ino, dir->i_nlink, nlink); in dbg_check_dir() 1782 unsigned int nlink; member 1860 fscki->nlink = le32_to_cpu(ino->nlink); in add_inode() 1868 fscki->nlink = inode->i_nlink; in add_inode() 2202 if (fscki->calc_cnt != fscki->nlink) { in check_inodes() 2205 fscki->nlink, fscki->calc_cnt); in check_inodes() [all …]
|
/kernel/linux/linux-5.10/init/ |
D | initramfs.c | 150 static __initdata unsigned long ino, major, minor, nlink; variable 172 nlink = parsed[4]; in parse_header() 311 if (nlink >= 2) { in maybe_link()
|
/kernel/linux/linux-5.10/fs/fuse/ |
D | control.c | 233 int mode, int nlink, in fuse_ctl_add_dentry() argument 260 set_nlink(inode, nlink); in fuse_ctl_add_dentry()
|
/kernel/linux/linux-5.10/include/linux/ceph/ |
D | ceph_fs.h | 521 __le32 nlink; member 719 __le32 nlink; member
|
/kernel/linux/linux-5.10/fs/nfsd/ |
D | trace.h | 525 __field(unsigned int, nlink) 531 __entry->nlink = inode->i_nlink; 536 __entry->nlink, __entry->mode, __entry->mask)
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | sys_ia32.c | 144 unsafe_put_user(stat->nlink, &ubuf->st_nlink, Efault); in cp_stat64()
|
/kernel/linux/linux-5.10/arch/s390/kernel/ |
D | compat_linux.c | 136 tmp.st_nlink = (unsigned int)stat->nlink; in cp_stat64()
|
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
D | sys_sparc32.c | 72 err |= put_user(stat->nlink, &statbuf->st_nlink); in cp_compat_stat64()
|