Home
last modified time | relevance | path

Searched refs:nlink (Results 1 – 25 of 76) sorted by relevance

1234

/linux-6.1.9/fs/xfs/scrub/ !
Dparent.c36 xfs_nlink_t nlink; member
55 spc->nlink++; in xchk_parent_actor()
73 xfs_nlink_t *nlink) in xchk_parent_count_parent_dentries() argument
118 *nlink = spc.nlink; in xchk_parent_count_parent_dentries()
137 xfs_nlink_t nlink; in xchk_parent_validate() local
192 error = xchk_parent_count_parent_dentries(sc, dp, &nlink); in xchk_parent_validate()
196 if (nlink != expected_nlink) in xchk_parent_validate()
214 error = xchk_parent_count_parent_dentries(sc, dp, &nlink); in xchk_parent_validate()
249 if (nlink != expected_nlink) in xchk_parent_validate()
/linux-6.1.9/fs/squashfs/ !
Dsquashfs_fs.h285 __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
Dinode.c198 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()
/linux-6.1.9/fs/ksmbd/ !
Dmisc.c201 int nlink; in get_nlink() local
203 nlink = st->nlink; in get_nlink()
205 nlink--; in get_nlink()
207 return nlink; in get_nlink()
/linux-6.1.9/fs/proc/ !
Dgeneric.c144 nlink_t nlink = READ_ONCE(de->nlink); in proc_getattr() local
145 if (nlink > 0) { in proc_getattr()
146 set_nlink(inode, nlink); in proc_getattr()
381 dir->nlink++; in proc_register()
395 nlink_t nlink) in __proc_create() argument
443 ent->nlink = nlink; in __proc_create()
707 parent->nlink--; in remove_proc_entry()
767 next->nlink--; in remove_proc_subtree()
Droot.c318 stat->nlink = proc_root.nlink + nr_processes(); in proc_root_getattr()
368 .nlink = 2,
Dproc_net.c314 stat->nlink = net->proc_net->nlink; in proc_tgid_net_getattr()
366 netd->nlink = 2; in proc_net_ns_init()
Dinternal.h55 nlink_t nlink; member
/linux-6.1.9/fs/overlayfs/ !
Dinode.c218 (is_dir || lowerstat.nlink == 1))) { in ovl_getattr()
262 stat->nlink = 1; in ovl_getattr()
271 stat->nlink = dentry->d_inode->i_nlink; in ovl_getattr()
979 int nlink; in ovl_get_nlink() local
1000 nlink = d_inode(buf[0] == 'L' ? lowerdentry : upperdentry)->i_nlink; in ovl_get_nlink()
1001 nlink += nlink_diff; in ovl_get_nlink()
1003 if (nlink <= 0) in ovl_get_nlink()
1006 return nlink; in ovl_get_nlink()
1213 unsigned int nlink = is_dir ? 1 : realinode->i_nlink; in ovl_get_inode() local
1237 nlink = ovl_get_nlink(ofs, lowerdentry, upperdentry, in ovl_get_inode()
[all …]
/linux-6.1.9/fs/ !
Dstat.c50 stat->nlink = inode->i_nlink; in generic_fillattr()
299 tmp.st_nlink = stat->nlink; in cp_old_stat()
300 if (tmp.st_nlink != stat->nlink) in cp_old_stat()
386 tmp.st_nlink = stat->nlink; in cp_new_stat()
387 if (tmp.st_nlink != stat->nlink) in cp_new_stat()
532 tmp.st_nlink = stat->nlink; in cp_new_stat64()
605 tmp.stx_nlink = stat->nlink; in cp_statx()
692 tmp.st_nlink = stat->nlink; in cp_compat_stat()
693 if (tmp.st_nlink != stat->nlink) in cp_compat_stat()
/linux-6.1.9/fs/ocfs2/ !
Docfs2.h560 u32 nlink = le16_to_cpu(di->i_links_count); in ocfs2_read_links_count() local
564 nlink |= (hi << OCFS2_LINKS_HI_SHIFT); in ocfs2_read_links_count()
566 return nlink; in ocfs2_read_links_count()
569 static inline void ocfs2_set_links_count(struct ocfs2_dinode *di, u32 nlink) in ocfs2_set_links_count() argument
573 lo = nlink; in ocfs2_set_links_count()
574 hi = nlink >> OCFS2_LINKS_HI_SHIFT; in ocfs2_set_links_count()
/linux-6.1.9/fs/afs/ !
Dinode.c81 status->nlink, in afs_inode_init_from_status()
99 set_nlink(&vnode->netfs.inode, status->nlink); in afs_inode_init_from_status()
190 if (status->nlink != vnode->status.nlink) in afs_apply_status()
191 set_nlink(inode, status->nlink); in afs_apply_status()
766 stat->nlink > 0) in afs_getattr()
767 stat->nlink -= 1; in afs_getattr()
Dxdr_fs.h15 __be32 nlink; member
Dafs.h141 u32 nlink; /* link count */ member
Dprotocol_yfs.h88 __be32 nlink; member
/linux-6.1.9/include/linux/ !
Dstat.h25 unsigned int nlink; member
/linux-6.1.9/fs/hostfs/ !
Dhostfs.h59 unsigned int nlink; member
/linux-6.1.9/fs/ubifs/ !
Ddebug.c449 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 …]
/linux-6.1.9/fs/fuse/ !
Dcontrol.c216 int mode, int nlink, in fuse_ctl_add_dentry() argument
243 set_nlink(inode, nlink); in fuse_ctl_add_dentry()
/linux-6.1.9/init/ !
Dinitramfs.c184 static __initdata unsigned long ino, major, minor, nlink; variable
207 nlink = parsed[4]; in parse_header()
350 if (nlink >= 2) { in maybe_link()
/linux-6.1.9/include/linux/ceph/ !
Dceph_fs.h567 __le32 nlink; member
765 __le32 nlink; member
/linux-6.1.9/arch/x86/kernel/ !
Dsys_ia32.c144 unsafe_put_user(stat->nlink, &ubuf->st_nlink, Efault); in cp_stat64()
/linux-6.1.9/fs/cifs/ !
Dsmb2pdu.h381 u32 nlink; member
/linux-6.1.9/arch/sparc/kernel/ !
Dsys_sparc32.c72 err |= put_user(stat->nlink, &statbuf->st_nlink); in cp_compat_stat64()
/linux-6.1.9/arch/s390/kernel/ !
Dcompat_linux.c136 tmp.st_nlink = (unsigned int)stat->nlink; in cp_stat64()

1234