/linux-master/fs/xfs/scrub/ |
H A D | parent.c | 35 xfs_nlink_t nlink; member in struct:xchk_parent_ctx 58 spc->nlink++; 101 .nlink = 0, 178 if (spc.nlink != expected_nlink)
|
/linux-master/fs/squashfs/ |
H A D | squashfs_fs.h | 285 __le32 nlink; member in struct:squashfs_ipc_inode 295 __le32 nlink; member in struct:squashfs_lipc_inode 306 __le32 nlink; member in struct:squashfs_dev_inode 317 __le32 nlink; member in struct:squashfs_ldev_inode 329 __le32 nlink; member in struct:squashfs_symlink_inode 358 __le32 nlink; member in struct:squashfs_lreg_inode 373 __le32 nlink; member in struct:squashfs_dir_inode 386 __le32 nlink; member in struct:squashfs_ldir_inode
|
H A D | inode.c | 201 set_nlink(inode, le32_to_cpu(sqsh_ino->nlink)); 230 set_nlink(inode, le32_to_cpu(sqsh_ino->nlink)); 255 set_nlink(inode, le32_to_cpu(sqsh_ino->nlink)); 282 set_nlink(inode, le32_to_cpu(sqsh_ino->nlink)); 324 set_nlink(inode, le32_to_cpu(sqsh_ino->nlink)); 348 set_nlink(inode, le32_to_cpu(sqsh_ino->nlink)); 369 set_nlink(inode, le32_to_cpu(sqsh_ino->nlink)); 388 set_nlink(inode, le32_to_cpu(sqsh_ino->nlink));
|
/linux-master/fs/smb/server/ |
H A D | misc.c | 201 int nlink; local 203 nlink = st->nlink; 205 nlink--; 207 return nlink;
|
/linux-master/fs/afs/ |
H A D | xdr_fs.h | 15 __be32 nlink; member in struct:afs_xdr_AFSFetchStatus
|
H A D | protocol_yfs.h | 88 __be32 nlink; member in struct:yfs_xdr_YFSFetchStatus
|
H A D | afs.h | 141 u32 nlink; /* link count */ member in struct:afs_file_status
|
H A D | inode.c | 81 status->nlink, 98 set_nlink(&vnode->netfs.inode, status->nlink); 189 if (status->nlink != vnode->status.nlink) 190 set_nlink(inode, status->nlink); 607 stat->nlink > 0) 608 stat->nlink -= 1;
|
/linux-master/include/linux/ |
H A D | stat.h | 25 unsigned int nlink; member in struct:kstat
|
/linux-master/fs/hostfs/ |
H A D | hostfs.h | 59 unsigned int nlink; member in struct:hostfs_stat
|
/linux-master/fs/overlayfs/ |
H A D | inode.c | 221 (is_dir || lowerstat.nlink == 1))) { 268 * correct link count. nlink=1 seems to pacify 'find' and 272 stat->nlink = 1; 276 * Overlay inode nlink counts the union of the upper hardlinks 281 stat->nlink = dentry->d_inode->i_nlink; 938 * With inodes index enabled, an overlay inode nlink counts the union of upper 940 * upper inode, the following nlink modifying operations can happen: 946 * For the first, copy up case, the union nlink does not change, whether the 947 * operation succeeds or fails, but the upper inode nlink may change. 948 * Therefore, before copy up, we store the union nlink valu 1003 int nlink; local 1237 unsigned int nlink = is_dir ? 1 : realinode->i_nlink; local [all...] |
/linux-master/fs/bcachefs/ |
H A D | inode.h | 209 unsigned nlink) 211 if (nlink) { 212 bi->bi_nlink = nlink - nlink_bias(bi->bi_mode); 208 bch2_inode_nlink_set(struct bch_inode_unpacked *bi, unsigned nlink) argument
|
/linux-master/fs/proc/ |
H A D | generic.c | 143 nlink_t nlink = READ_ONCE(de->nlink); local 144 if (nlink > 0) { 145 set_nlink(inode, nlink); 380 dir->nlink++; 394 nlink_t nlink) 442 ent->nlink = nlink; 706 parent->nlink--; 766 next->nlink 391 __proc_create(struct proc_dir_entry **parent, const char *name, umode_t mode, nlink_t nlink) argument [all...] |
H A D | proc_net.c | 314 stat->nlink = net->proc_net->nlink; 367 netd->nlink = 2;
|
H A D | root.c | 319 stat->nlink = proc_root.nlink + nr_processes(); 369 .nlink = 2,
|
H A D | internal.h | 55 nlink_t nlink; member in struct:proc_dir_entry
|
H A D | inode.c | 671 if (de->nlink) 672 set_nlink(inode, de->nlink);
|
/linux-master/fs/ocfs2/ |
H A D | ocfs2.h | 560 u32 nlink = le16_to_cpu(di->i_links_count); local 563 nlink |= (hi << OCFS2_LINKS_HI_SHIFT); 565 return nlink; 568 static inline void ocfs2_set_links_count(struct ocfs2_dinode *di, u32 nlink) argument 572 lo = nlink; 573 hi = nlink >> OCFS2_LINKS_HI_SHIFT;
|
/linux-master/fs/ |
H A D | stat.c | 55 stat->nlink = inode->i_nlink; 336 tmp.st_nlink = stat->nlink; 337 if (tmp.st_nlink != stat->nlink) 417 tmp.st_nlink = stat->nlink; 418 if (tmp.st_nlink != stat->nlink) 563 tmp.st_nlink = stat->nlink; 638 tmp.stx_nlink = stat->nlink; 730 tmp.st_nlink = stat->nlink; 731 if (tmp.st_nlink != stat->nlink)
|
/linux-master/fs/fuse/ |
H A D | control.c | 212 int mode, int nlink, 239 set_nlink(inode, nlink); 209 fuse_ctl_add_dentry(struct dentry *parent, struct fuse_conn *fc, const char *name, int mode, int nlink, const struct inode_operations *iop, const struct file_operations *fop) argument
|
/linux-master/fs/ubifs/ |
H A D | debug.c | 449 pr_err("\tnlink %u\n", le32_to_cpu(ino->nlink)); 1126 unsigned int nlink = 2; local 1155 nlink += 1; 1170 if (dir->i_nlink != nlink) { 1171 ubifs_err(c, "directory inode %lu has nlink %u, but calculated nlink is %u", 1172 dir->i_ino, dir->i_nlink, nlink); 1768 * @nlink: inode link count 1787 unsigned int nlink; member in struct:fsck_inode 1865 fscki->nlink [all...] |
/linux-master/init/ |
H A D | initramfs.c | 179 static __initdata unsigned long ino, major, minor, nlink; variable 202 nlink = parsed[4]; 345 if (nlink >= 2) {
|
/linux-master/include/uapi/linux/ |
H A D | fuse.h | 274 uint32_t nlink; member in struct:fuse_attr 296 uint32_t nlink; member in struct:fuse_statx
|
/linux-master/fs/smb/client/ |
H A D | smb2pdu.h | 364 u32 nlink; member in struct:create_posix_rsp
|
/linux-master/include/linux/ceph/ |
H A D | ceph_fs.h | 597 __le32 nlink; member in struct:ceph_mds_reply_inode 795 __le32 nlink; member in struct:ceph_mds_caps
|