Home
last modified time | relevance | path

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

12345

/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);
H A Dstat.h22 struct kstat { struct
/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;
/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.h14 struct kstat;
22 int get_nlink(struct kstat *st);
H A Dvfs.h70 struct kstat *kstat; member
89 int ksmbd_vfs_getattr(const struct path *path, struct kstat *stat);
H A Dvfs.c534 int ksmbd_vfs_getattr(const struct path *path, struct kstat *stat) in ksmbd_vfs_getattr()
1590 struct kstat *kstat = ksmbd_kstat->kstat; in ksmbd_vfs_init_kstat() local
1595 time = ksmbd_UnixTimeToNT(kstat->atime); in ksmbd_vfs_init_kstat()
1597 time = ksmbd_UnixTimeToNT(kstat->mtime); in ksmbd_vfs_init_kstat()
1599 time = ksmbd_UnixTimeToNT(kstat->ctime); in ksmbd_vfs_init_kstat()
1606 info->EndOfFile = cpu_to_le64(kstat->size); in ksmbd_vfs_init_kstat()
1607 info->AllocationSize = cpu_to_le64(kstat->blocks << 9); in ksmbd_vfs_init_kstat()
1627 rc = vfs_getattr(&path, ksmbd_kstat->kstat, in ksmbd_vfs_fill_dentry_attrs()
1633 time = ksmbd_UnixTimeToNT(ksmbd_kstat->kstat->ctime); in ksmbd_vfs_fill_dentry_attrs()
1640 if (S_ISDIR(ksmbd_kstat->kstat->mode)) in ksmbd_vfs_fill_dentry_attrs()
H A Dsmb_common.c466 struct kstat kstat; in ksmbd_populate_dot_dotdot_entries() local
487 ksmbd_kstat.kstat = &kstat; in ksmbd_populate_dot_dotdot_entries()
H A Dsmb2pdu.c764 static int smb2_get_dos_mode(struct kstat *stat, int attribute) in smb2_get_dos_mode()
2901 struct kstat stat; in smb2_open()
3935 void *kstat; in smb2_populate_readdir_entry() local
3960 kstat = d_info->wptr; in smb2_populate_readdir_entry()
3962 kstat = ksmbd_vfs_init_kstat(&d_info->wptr, ksmbd_kstat); in smb2_populate_readdir_entry()
3969 ffdinfo = (FILE_FULL_DIRECTORY_INFO *)kstat; in smb2_populate_readdir_entry()
3972 smb2_get_reparse_tag_special_file(ksmbd_kstat->kstat->mode); in smb2_populate_readdir_entry()
3985 fbdinfo = (FILE_BOTH_DIRECTORY_INFO *)kstat; in smb2_populate_readdir_entry()
3988 smb2_get_reparse_tag_special_file(ksmbd_kstat->kstat->mode); in smb2_populate_readdir_entry()
4003 fdinfo = (FILE_DIRECTORY_INFO *)kstat; in smb2_populate_readdir_entry()
[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/init/
H A Dinitramfs_test.c70 struct kstat st = {}; in initramfs_test_extract()
309 struct kstat st0, st1; in initramfs_test_hardlink()
454 struct kstat st0, st1; in initramfs_test_fname_path_max()
/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()
/linux/fs/coda/
H A Dcoda_linux.h52 int coda_getattr(struct mnt_idmap *, const struct path *, struct kstat *,
/linux/fs/ocfs2/
H A Dfile.h56 struct kstat *stat, u32 request_mask, unsigned int flags);

12345