Home
last modified time | relevance | path

Searched refs:kstat (Results 1 – 25 of 87) sorted by relevance

1234

/Linux-v5.4/fs/
Dstat.c33 void generic_fillattr(struct inode *inode, struct kstat *stat) in generic_fillattr()
64 int vfs_getattr_nosec(const struct path *path, struct kstat *stat, in vfs_getattr_nosec()
110 int vfs_getattr(const struct path *path, struct kstat *stat, in vfs_getattr()
134 int vfs_statx_fd(unsigned int fd, struct kstat *stat, in vfs_statx_fd()
169 struct kstat *stat, u32 request_mask) in vfs_statx()
209 static int cp_old_stat(struct kstat *stat, struct __old_kernel_stat __user * statbuf) in cp_old_stat()
249 struct kstat stat; in SYSCALL_DEFINE2()
262 struct kstat stat; in SYSCALL_DEFINE2()
274 struct kstat stat; in SYSCALL_DEFINE2()
300 static int cp_new_stat(struct kstat *stat, struct stat __user *statbuf) in cp_new_stat()
[all …]
Dbad_inode.c93 static int bad_inode_getattr(const struct path *path, struct kstat *stat, in bad_inode_getattr()
/Linux-v5.4/include/linux/
Dkernel_stat.h43 DECLARE_PER_CPU(struct kernel_stat, kstat);
47 #define kstat_this_cpu this_cpu_ptr(&kstat)
49 #define kstat_cpu(cpu) per_cpu(kstat, cpu)
59 __this_cpu_inc(kstat.softirqs[irq]); in kstat_incr_softirqs_this_cpu()
Dstat.h24 struct kstat { struct
Dfs.h1874 int (*getattr) (const struct path *, struct kstat *, u32, unsigned int);
3218 extern void generic_fillattr(struct inode *, struct kstat *);
3219 extern int vfs_getattr_nosec(const struct path *, struct kstat *, u32, unsigned int);
3220 extern int vfs_getattr(const struct path *, struct kstat *, u32, unsigned int);
3237 extern int vfs_statx(int, const char __user *, int, struct kstat *, u32);
3238 extern int vfs_statx_fd(unsigned int, struct kstat *, u32, unsigned int);
3240 static inline int vfs_stat(const char __user *filename, struct kstat *stat) in vfs_stat()
3245 static inline int vfs_lstat(const char __user *name, struct kstat *stat) in vfs_lstat()
3251 struct kstat *stat, int flags) in vfs_fstatat()
3256 static inline int vfs_fstat(int fd, struct kstat *stat) in vfs_fstat()
[all …]
/Linux-v5.4/fs/nfsd/
Dxdr.h87 struct kstat stat;
92 struct kstat stat;
102 struct kstat stat;
162 __be32 *nfs2svc_encode_fattr(struct svc_rqst *rqstp, __be32 *p, struct svc_fh *fhp, struct kstat *s…
Dxdr3.h127 struct kstat stat;
141 struct kstat stat;
234 struct kstat stat;
Dnfsfh.h54 struct kstat fh_post_attr; /* full attrs after operation */
256 static inline u64 nfsd4_change_attribute(struct kstat *stat, in nfsd4_change_attribute()
Dvfs.h141 static inline __be32 fh_getattr(struct svc_fh *fh, struct kstat *stat) in fh_getattr()
/Linux-v5.4/arch/x86/ia32/
Dsys_ia32.c72 static int cp_stat64(struct stat64 __user *ubuf, struct kstat *stat) in cp_stat64()
103 struct kstat stat; in COMPAT_SYSCALL_DEFINE2()
114 struct kstat stat; in COMPAT_SYSCALL_DEFINE2()
124 struct kstat stat; in COMPAT_SYSCALL_DEFINE2()
135 struct kstat stat; in COMPAT_SYSCALL_DEFINE4()
/Linux-v5.4/arch/s390/kernel/
Dcompat_linux.c126 static int cp_stat64(struct stat64_emu31 __user *ubuf, struct kstat *stat) in cp_stat64()
152 struct kstat stat; in COMPAT_SYSCALL_DEFINE2()
161 struct kstat stat; in COMPAT_SYSCALL_DEFINE2()
170 struct kstat stat; in COMPAT_SYSCALL_DEFINE2()
180 struct kstat stat; in COMPAT_SYSCALL_DEFINE4()
/Linux-v5.4/arch/sparc/kernel/
Dsys_sparc32.c65 static int cp_compat_stat64(struct kstat *stat, in cp_compat_stat64()
98 struct kstat stat; in COMPAT_SYSCALL_DEFINE2()
109 struct kstat stat; in COMPAT_SYSCALL_DEFINE2()
120 struct kstat stat; in COMPAT_SYSCALL_DEFINE2()
132 struct kstat stat; in COMPAT_SYSCALL_DEFINE4()
/Linux-v5.4/arch/arm/kernel/
Dsys_oabi-compat.c115 static long cp_oldabi_stat64(struct kstat *stat, in cp_oldabi_stat64()
145 struct kstat stat; in sys_oabi_stat64()
155 struct kstat stat; in sys_oabi_lstat64()
165 struct kstat stat; in sys_oabi_fstat64()
177 struct kstat stat; in sys_oabi_fstatat64()
/Linux-v5.4/init/
Ddo_mounts.h25 struct kstat stat; in bstat()
/Linux-v5.4/fs/coda/
Dcoda_linux.h51 int coda_getattr(const struct path *, struct kstat *, u32, unsigned int);
/Linux-v5.4/fs/overlayfs/
Dcopy_up.c180 static int ovl_set_size(struct dentry *upperdentry, struct kstat *stat) in ovl_set_size()
190 static int ovl_set_timestamps(struct dentry *upperdentry, struct kstat *stat) in ovl_set_timestamps()
202 int ovl_set_attr(struct dentry *upperdentry, struct kstat *stat) in ovl_set_attr()
389 struct kstat stat;
390 struct kstat pstat;
Dinode.c78 static int ovl_map_dev_ino(struct dentry *dentry, struct kstat *stat, in ovl_map_dev_ino()
141 int ovl_getattr(const struct path *path, struct kstat *stat, in ovl_getattr()
175 struct kstat lowerstat; in ovl_getattr()
226 struct kstat lowerdatastat; in ovl_getattr()
/Linux-v5.4/fs/kernfs/
Dkernfs-internal.h92 int kernfs_iop_getattr(const struct path *path, struct kstat *stat,
/Linux-v5.4/fs/ocfs2/
Dfile.h55 int ocfs2_getattr(const struct path *path, struct kstat *stat,
/Linux-v5.4/fs/udf/
Dsymlink.c155 static int udf_symlink_getattr(const struct path *path, struct kstat *stat, in udf_symlink_getattr()
/Linux-v5.4/drivers/base/
Ddevtmpfs.c291 static int dev_mynode(struct device *dev, struct inode *inode, struct kstat *stat) in dev_mynode()
324 struct kstat stat; in handle_remove()
/Linux-v5.4/fs/minix/
Dminix.h55 extern int minix_getattr(const struct path *, struct kstat *, u32, unsigned int);
/Linux-v5.4/fs/cifs/
Dcifsfs.h85 extern int cifs_getattr(const struct path *, struct kstat *, u32, unsigned int);
/Linux-v5.4/fs/nfs/
Dnamespace.c171 nfs_namespace_getattr(const struct path *path, struct kstat *stat, in nfs_namespace_getattr()
/Linux-v5.4/fs/proc/
Dinternal.h156 extern int pid_getattr(const struct path *, struct kstat *, u32, unsigned int);

1234