Home
last modified time | relevance | path

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

12345

/Linux-v5.15/fs/
Dstat.c44 struct kstat *stat) in generic_fillattr()
70 void generic_fill_statx_attr(struct inode *inode, struct kstat *stat) in generic_fill_statx_attr()
93 int vfs_getattr_nosec(const struct path *path, struct kstat *stat, in vfs_getattr_nosec()
152 int vfs_getattr(const struct path *path, struct kstat *stat, in vfs_getattr()
174 int vfs_fstat(int fd, struct kstat *stat) in vfs_fstat()
203 struct kstat *stat, u32 request_mask) in vfs_statx()
241 struct kstat *stat, int flags) in vfs_fstatat()
253 static int cp_old_stat(struct kstat *stat, struct __old_kernel_stat __user * statbuf) in cp_old_stat()
293 struct kstat stat; in SYSCALL_DEFINE2()
306 struct kstat stat; in SYSCALL_DEFINE2()
[all …]
/Linux-v5.15/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.h22 struct kstat { struct
Dinit_syscalls.h11 int __init init_stat(const char *filename, struct kstat *stat, int flags);
/Linux-v5.15/fs/nfsd/
Dxdr.h85 struct kstat stat;
91 struct kstat stat;
104 struct kstat stat;
174 const struct svc_fh *fhp, const struct kstat *stat);
Dxdr3.h119 struct kstat stat;
133 struct kstat stat;
228 struct kstat stat;
Dnfsfh.h61 struct kstat fh_post_attr; /* full attrs after operation */
262 static inline u64 nfsd4_change_attribute(struct kstat *stat, in nfsd4_change_attribute()
/Linux-v5.15/arch/x86/kernel/
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-v5.15/fs/ksmbd/
Dmisc.h11 struct kstat;
18 int get_nlink(struct kstat *st);
Dvfs.h105 struct kstat *kstat; member
126 int ksmbd_vfs_getattr(struct path *path, struct kstat *stat);
Dvfs.c549 int ksmbd_vfs_getattr(struct path *path, struct kstat *stat) in ksmbd_vfs_getattr()
1615 struct kstat *kstat = ksmbd_kstat->kstat; in ksmbd_vfs_init_kstat() local
1620 time = ksmbd_UnixTimeToNT(kstat->atime); in ksmbd_vfs_init_kstat()
1622 time = ksmbd_UnixTimeToNT(kstat->mtime); in ksmbd_vfs_init_kstat()
1624 time = ksmbd_UnixTimeToNT(kstat->ctime); in ksmbd_vfs_init_kstat()
1631 info->EndOfFile = cpu_to_le64(kstat->size); in ksmbd_vfs_init_kstat()
1632 info->AllocationSize = cpu_to_le64(kstat->blocks << 9); in ksmbd_vfs_init_kstat()
1647 generic_fillattr(user_ns, d_inode(dentry), ksmbd_kstat->kstat); in ksmbd_vfs_fill_dentry_attrs()
1649 time = ksmbd_UnixTimeToNT(ksmbd_kstat->kstat->ctime); in ksmbd_vfs_fill_dentry_attrs()
1656 if (S_ISDIR(ksmbd_kstat->kstat->mode)) in ksmbd_vfs_fill_dentry_attrs()
Dsmb_common.c309 struct kstat kstat; in ksmbd_populate_dot_dotdot_entries() local
327 ksmbd_kstat.kstat = &kstat; in ksmbd_populate_dot_dotdot_entries()
Dsmb2pdu.c713 static int smb2_get_dos_mode(struct kstat *stat, int attribute) in smb2_get_dos_mode()
2472 struct kstat stat; in smb2_open()
3386 void *kstat; in smb2_populate_readdir_entry() local
3411 kstat = d_info->wptr; in smb2_populate_readdir_entry()
3413 kstat = ksmbd_vfs_init_kstat(&d_info->wptr, ksmbd_kstat); in smb2_populate_readdir_entry()
3420 ffdinfo = (struct file_full_directory_info *)kstat; in smb2_populate_readdir_entry()
3423 smb2_get_reparse_tag_special_file(ksmbd_kstat->kstat->mode); in smb2_populate_readdir_entry()
3436 fbdinfo = (struct file_both_directory_info *)kstat; in smb2_populate_readdir_entry()
3439 smb2_get_reparse_tag_special_file(ksmbd_kstat->kstat->mode); in smb2_populate_readdir_entry()
3454 fdinfo = (struct file_directory_info *)kstat; in smb2_populate_readdir_entry()
[all …]
/Linux-v5.15/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.15/arch/sparc/kernel/
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-v5.15/arch/arm/kernel/
Dsys_oabi-compat.c118 static long cp_oldabi_stat64(struct kstat *stat, in cp_oldabi_stat64()
148 struct kstat stat; in sys_oabi_stat64()
158 struct kstat stat; in sys_oabi_lstat64()
168 struct kstat stat; in sys_oabi_fstat64()
180 struct kstat stat; in sys_oabi_fstatat64()
/Linux-v5.15/fs/vboxsf/
Dvfsmod.h101 struct kstat *kstat, u32 request_mask,
Dutils.c234 struct kstat *kstat, u32 request_mask, unsigned int flags) in vboxsf_getattr() argument
254 generic_fillattr(&init_user_ns, d_inode(dentry), kstat); in vboxsf_getattr()
/Linux-v5.15/tools/testing/selftests/bpf/progs/
Dtest_d_path.c22 int BPF_PROG(prog_stat, struct path *path, struct kstat *stat, in BPF_PROG()
/Linux-v5.15/fs/ext4/
Dsymlink.c57 struct kstat *stat, u32 request_mask, in ext4_encrypted_symlink_getattr()
/Linux-v5.15/fs/coda/
Dcoda_linux.h52 int coda_getattr(struct user_namespace *, const struct path *, struct kstat *,
/Linux-v5.15/fs/overlayfs/
Dcopy_up.c272 static int ovl_set_size(struct dentry *upperdentry, struct kstat *stat) in ovl_set_size()
282 static int ovl_set_timestamps(struct dentry *upperdentry, struct kstat *stat) in ovl_set_timestamps()
294 int ovl_set_attr(struct dentry *upperdentry, struct kstat *stat) in ovl_set_attr()
483 struct kstat stat;
484 struct kstat pstat;
/Linux-v5.15/fs/ocfs2/
Dfile.h55 struct kstat *stat, u32 request_mask, unsigned int flags);
/Linux-v5.15/fs/kernfs/
Dkernfs-internal.h117 const struct path *path, struct kstat *stat,
/Linux-v5.15/fs/udf/
Dsymlink.c156 const struct path *path, struct kstat *stat, in udf_symlink_getattr()

12345