Home
last modified time | relevance | path

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

12345

/linux-6.1.9/fs/
Dstat.c45 struct kstat *stat) in generic_fillattr()
71 void generic_fill_statx_attr(struct inode *inode, struct kstat *stat) in generic_fill_statx_attr()
94 int vfs_getattr_nosec(const struct path *path, struct kstat *stat, in vfs_getattr_nosec()
153 int vfs_getattr(const struct path *path, struct kstat *stat, in vfs_getattr()
175 int vfs_fstat(int fd, struct kstat *stat) in vfs_fstat()
218 struct kstat *stat, u32 request_mask) in vfs_statx()
260 struct kstat *stat, int flags) in vfs_fstatat()
279 static int cp_old_stat(struct kstat *stat, struct __old_kernel_stat __user * statbuf) in cp_old_stat()
319 struct kstat stat; in SYSCALL_DEFINE2()
332 struct kstat stat; in SYSCALL_DEFINE2()
[all …]
/linux-6.1.9/include/linux/
Dkernel_stat.h46 DECLARE_PER_CPU(struct kernel_stat, kstat);
50 #define kstat_this_cpu this_cpu_ptr(&kstat)
52 #define kstat_cpu(cpu) per_cpu(kstat, cpu)
62 __this_cpu_inc(kstat.softirqs[irq]); in kstat_incr_softirqs_this_cpu()
Dinit_syscalls.h11 int __init init_stat(const char *filename, struct kstat *stat, int flags);
Dstat.h22 struct kstat { struct
/linux-6.1.9/fs/nfsd/
Dxdr.h85 struct kstat stat;
91 struct kstat stat;
104 struct kstat stat;
175 const struct svc_fh *fhp, const struct kstat *stat);
Dxdr3.h119 struct kstat stat;
133 struct kstat stat;
228 struct kstat stat;
Dnfsfh.h106 struct kstat fh_post_attr; /* full attrs after operation */
305 static inline u64 nfsd4_change_attribute(struct kstat *stat, in nfsd4_change_attribute()
/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/fs/ksmbd/
Dmisc.h11 struct kstat;
19 int get_nlink(struct kstat *st);
Dvfs.h69 struct kstat *kstat; member
90 int ksmbd_vfs_getattr(const struct path *path, struct kstat *stat);
Dvfs.c544 int ksmbd_vfs_getattr(const struct path *path, struct kstat *stat) in ksmbd_vfs_getattr()
1628 struct kstat *kstat = ksmbd_kstat->kstat; in ksmbd_vfs_init_kstat() local
1633 time = ksmbd_UnixTimeToNT(kstat->atime); in ksmbd_vfs_init_kstat()
1635 time = ksmbd_UnixTimeToNT(kstat->mtime); in ksmbd_vfs_init_kstat()
1637 time = ksmbd_UnixTimeToNT(kstat->ctime); in ksmbd_vfs_init_kstat()
1644 info->EndOfFile = cpu_to_le64(kstat->size); in ksmbd_vfs_init_kstat()
1645 info->AllocationSize = cpu_to_le64(kstat->blocks << 9); in ksmbd_vfs_init_kstat()
1660 generic_fillattr(user_ns, d_inode(dentry), ksmbd_kstat->kstat); in ksmbd_vfs_fill_dentry_attrs()
1662 time = ksmbd_UnixTimeToNT(ksmbd_kstat->kstat->ctime); in ksmbd_vfs_fill_dentry_attrs()
1669 if (S_ISDIR(ksmbd_kstat->kstat->mode)) in ksmbd_vfs_fill_dentry_attrs()
Dsmb_common.c313 struct kstat kstat; in ksmbd_populate_dot_dotdot_entries() local
334 ksmbd_kstat.kstat = &kstat; in ksmbd_populate_dot_dotdot_entries()
Dsmb2pdu.c715 static int smb2_get_dos_mode(struct kstat *stat, int attribute) in smb2_get_dos_mode()
2517 struct kstat stat; in smb2_open()
3429 void *kstat; in smb2_populate_readdir_entry() local
3454 kstat = d_info->wptr; in smb2_populate_readdir_entry()
3456 kstat = ksmbd_vfs_init_kstat(&d_info->wptr, ksmbd_kstat); in smb2_populate_readdir_entry()
3463 ffdinfo = (struct file_full_directory_info *)kstat; in smb2_populate_readdir_entry()
3466 smb2_get_reparse_tag_special_file(ksmbd_kstat->kstat->mode); in smb2_populate_readdir_entry()
3479 fbdinfo = (struct file_both_directory_info *)kstat; in smb2_populate_readdir_entry()
3482 smb2_get_reparse_tag_special_file(ksmbd_kstat->kstat->mode); in smb2_populate_readdir_entry()
3497 fdinfo = (struct file_directory_info *)kstat; in smb2_populate_readdir_entry()
[all …]
/linux-6.1.9/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-6.1.9/tools/testing/selftests/bpf/progs/
Dtest_d_path_check_rdonly_mem.c11 int BPF_PROG(d_path_check_rdonly_mem, struct path *path, struct kstat *stat, in BPF_PROG()
Dtest_d_path_check_types.c15 int BPF_PROG(d_path_check_rdonly_mem, struct path *path, struct kstat *stat, in BPF_PROG()
Dtest_d_path.c22 int BPF_PROG(prog_stat, struct path *path, struct kstat *stat, in BPF_PROG()
/linux-6.1.9/fs/vboxsf/
Dvfsmod.h101 struct kstat *kstat, u32 request_mask,
Dutils.c235 struct kstat *kstat, u32 request_mask, unsigned int flags) in vboxsf_getattr() argument
255 generic_fillattr(&init_user_ns, d_inode(dentry), kstat); in vboxsf_getattr()
/linux-6.1.9/fs/coda/
Dcoda_linux.h52 int coda_getattr(struct user_namespace *, const struct path *, struct kstat *,
/linux-6.1.9/fs/ocfs2/
Dfile.h55 struct kstat *stat, u32 request_mask, unsigned int flags);
/linux-6.1.9/fs/overlayfs/
Dcopy_up.c288 struct dentry *upperdentry, struct kstat *stat) in ovl_set_size()
299 struct kstat *stat) in ovl_set_timestamps()
312 struct kstat *stat) in ovl_set_attr()
501 struct kstat stat;
502 struct kstat pstat;
/linux-6.1.9/fs/ext4/
Dsymlink.c60 struct kstat *stat, u32 request_mask, in ext4_encrypted_symlink_getattr()

12345