Home
last modified time | relevance | path

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

1234

/linux/fs/
H A Dstat.c45 void fill_mg_cmtime(struct kstat *stat, u32 request_mask, struct inode *inode) in fill_mg_cmtime()
83 struct inode *inode, struct kstat *stat) in generic_fillattr()
124 void generic_fill_statx_attr(struct inode *inode, struct kstat *stat) in generic_fill_statx_attr()
144 void generic_fill_statx_atomic_writes(struct kstat *stat, in generic_fill_statx_atomic_writes()
181 int vfs_getattr_nosec(const struct path *path, struct kstat *stat, in vfs_getattr_nosec()
254 int vfs_getattr(const struct path *path, struct kstat *stat, in vfs_getattr()
276 int vfs_fstat(int fd, struct kstat *stat) in vfs_fstat()
296 static int vfs_statx_path(const struct path *path, int flags, struct kstat *stat, in vfs_statx_path()
317 static int vfs_statx_fd(int fd, int flags, struct kstat *stat, in vfs_statx_fd()
342 struct kstat *stat, u32 request_mask) in vfs_statx()
[all …]
/linux/include/linux/
H A Dkernel_stat.h45 DECLARE_PER_CPU(struct kernel_stat, kstat);
49 #define kstat_this_cpu this_cpu_ptr(&kstat)
51 #define kstat_cpu(cpu) per_cpu(kstat, cpu)
62 __this_cpu_inc(kstat.softirqs[irq]); in kstat_incr_softirqs_this_cpu()
H A Dinit_syscalls.h11 int __init init_stat(const char *filename, struct kstat *stat, int flags);
/linux/fs/nfsd/
H A Dxdr.h85 struct kstat stat;
91 struct kstat stat;
104 struct kstat stat;
175 const struct svc_fh *fhp, const struct kstat *stat);
H A Dnfsfh.h111 struct kstat fh_post_attr; /* full attrs after operation */
225 __be32 fh_getattr(const struct svc_fh *fhp, struct kstat *stat);
335 u64 nfsd4_change_attribute(const struct kstat *stat);
H A Dxdr3.h119 struct kstat stat;
133 struct kstat stat;
228 struct kstat stat;
H A Dnfsfh.c693 __be32 fh_getattr(const struct svc_fh *fhp, struct kstat *stat) in fh_getattr()
720 struct kstat stat; in fh_fill_pre_attrs()
878 u64 nfsd4_change_attribute(const struct kstat *stat) in nfsd4_change_attribute()
/linux/arch/x86/kernel/
H A Dsys_ia32.c132 static int cp_stat64(struct stat64 __user *ubuf, struct kstat *stat) in cp_stat64()
167 struct kstat stat; in COMPAT_SYSCALL_DEFINE2()
178 struct kstat stat; in COMPAT_SYSCALL_DEFINE2()
188 struct kstat stat; in COMPAT_SYSCALL_DEFINE2()
199 struct kstat stat; in COMPAT_SYSCALL_DEFINE4()
/linux/arch/sparc/kernel/
H A Dsys_sparc32.c64 static int cp_compat_stat64(struct kstat *stat, in cp_compat_stat64()
97 struct kstat stat; in COMPAT_SYSCALL_DEFINE2()
108 struct kstat stat; in COMPAT_SYSCALL_DEFINE2()
119 struct kstat stat; in COMPAT_SYSCALL_DEFINE2()
131 struct kstat stat; in COMPAT_SYSCALL_DEFINE4()
/linux/fs/smb/server/
H A Dmisc.h11 struct kstat;
19 int get_nlink(struct kstat *st);
H A Dsmb_common.c442 struct kstat kstat; in ksmbd_populate_dot_dotdot_entries() local
463 ksmbd_kstat.kstat = &kstat; in ksmbd_populate_dot_dotdot_entries()
H A Dsmb2pdu.c749 * @stat: kstat containing file mode
754 static int smb2_get_dos_mode(struct kstat *stat, int attribute) in smb2_get_dos_mode()
2876 struct kstat stat; in smb2_open()
3906 void *kstat; in smb2_populate_readdir_entry()
3931 kstat = d_info->wptr; in smb2_populate_readdir_entry()
3933 kstat = ksmbd_vfs_init_kstat(&d_info->wptr, ksmbd_kstat); in smb2_populate_readdir_entry()
3940 ffdinfo = (FILE_FULL_DIRECTORY_INFO *)kstat; in smb2_populate_readdir_entry()
3943 smb2_get_reparse_tag_special_file(ksmbd_kstat->kstat->mode); in smb2_populate_readdir_entry()
3956 fbdinfo = (FILE_BOTH_DIRECTORY_INFO *)kstat; in smb2_populate_readdir_entry()
3959 smb2_get_reparse_tag_special_file(ksmbd_kstat->kstat in smb2_populate_readdir_entry()
3902 void *kstat; smb2_populate_readdir_entry() local
4121 struct kstat kstat; process_query_dir_entries() local
[all...]
/linux/arch/arm/kernel/
H A Dsys_oabi-compat.c121 static long cp_oldabi_stat64(struct kstat *stat, in cp_oldabi_stat64()
151 struct kstat stat; in sys_oabi_stat64()
161 struct kstat stat; in sys_oabi_lstat64()
171 struct kstat stat; in sys_oabi_fstat64()
183 struct kstat stat; in sys_oabi_fstatat64()
/linux/fs/xfs/
H A Dxfs_exchrange.c843 struct kstat kstat = { }; in xfs_ioc_start_commit() local
861 fill_mg_cmtime(&kstat, STATX_CTIME | STATX_MTIME, inode2); in xfs_ioc_start_commit()
862 kern_f->file2_ctime = kstat.ctime.tv_sec; in xfs_ioc_start_commit()
863 kern_f->file2_ctime_nsec = kstat.ctime.tv_nsec; in xfs_ioc_start_commit()
864 kern_f->file2_mtime = kstat.mtime.tv_sec; in xfs_ioc_start_commit()
865 kern_f->file2_mtime_nsec = kstat.mtime.tv_nsec; in xfs_ioc_start_commit()
/linux/fs/vboxsf/
H A Dvfsmod.h101 struct kstat *kstat, u32 request_mask,
H A Dutils.c236 struct kstat *kstat, u32 request_mask, unsigned int flags) in vboxsf_getattr() argument
256 generic_fillattr(&nop_mnt_idmap, request_mask, d_inode(dentry), kstat); in vboxsf_getattr()
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_d_path_check_rdonly_mem.c11 int BPF_PROG(d_path_check_rdonly_mem, struct path *path, struct kstat *stat, in BPF_PROG()
H A Dtest_d_path_check_types.c15 int BPF_PROG(d_path_check_rdonly_mem, struct path *path, struct kstat *stat, in BPF_PROG()
H A Dtest_d_path.c23 int BPF_PROG(prog_stat, struct path *path, struct kstat *stat, in BPF_PROG()
/linux/fs/coda/
H A Dcoda_linux.h52 int coda_getattr(struct mnt_idmap *, const struct path *, struct kstat *,
/linux/fs/overlayfs/
H A Dinode.c95 static void ovl_map_dev_ino(struct dentry *dentry, struct kstat *stat, int fsid) in ovl_map_dev_ino()
156 struct kstat *stat, u32 request_mask, in ovl_real_getattr_nosec()
164 struct kstat *stat, u32 request_mask, unsigned int flags) in ovl_getattr()
199 struct kstat lowerstat; in ovl_getattr()
251 struct kstat lowerdatastat; in ovl_getattr()
H A Dcopy_up.c369 struct dentry *upperdentry, struct kstat *stat) in ovl_set_size()
380 struct kstat *stat) in ovl_set_timestamps()
393 struct kstat *stat) in ovl_set_attr()
581 struct kstat stat;
582 struct kstat pstat;
/linux/fs/ocfs2/
H A Dfile.h56 struct kstat *stat, u32 request_mask, unsigned int flags);
/linux/fs/ext4/
H A Dsymlink.c60 struct kstat *stat, u32 request_mask, in ext4_encrypted_symlink_getattr()
/linux/fs/kernfs/
H A Dkernfs-internal.h178 const struct path *path, struct kstat *stat,

1234