Home
last modified time | relevance | path

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

12345

/openbmc/linux/fs/
H A Dstat.c47 struct inode *inode, struct kstat *stat) in generic_fillattr()
82 void generic_fill_statx_attr(struct inode *inode, struct kstat *stat) in generic_fill_statx_attr()
105 int vfs_getattr_nosec(const struct path *path, struct kstat *stat, in vfs_getattr_nosec()
165 int vfs_getattr(const struct path *path, struct kstat *stat, in vfs_getattr()
190 int vfs_fstat(int fd, struct kstat *stat) in vfs_fstat()
233 struct kstat *stat, u32 request_mask) in vfs_statx()
275 struct kstat *stat, int flags) in vfs_fstatat()
311 static int cp_old_stat(struct kstat *stat, struct __old_kernel_stat __user * statbuf) in cp_old_stat()
351 struct kstat stat; in SYSCALL_DEFINE2()
364 struct kstat stat; in SYSCALL_DEFINE2()
[all …]
/openbmc/linux/include/linux/
H A 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)
63 __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
/openbmc/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 Dxdr3.h119 struct kstat stat;
133 struct kstat stat;
228 struct kstat stat;
H A Dnfsfh.h106 struct kstat fh_post_attr; /* full attrs after operation */
296 u64 nfsd4_change_attribute(struct kstat *stat, struct inode *inode);
/openbmc/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()
/openbmc/linux/arch/s390/kernel/
H A 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()
/openbmc/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()
/openbmc/linux/fs/smb/server/
H A Dmisc.h11 struct kstat;
19 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.c556 int ksmbd_vfs_getattr(const struct path *path, struct kstat *stat) in ksmbd_vfs_getattr()
1659 struct kstat *kstat = ksmbd_kstat->kstat; in ksmbd_vfs_init_kstat() local
1664 time = ksmbd_UnixTimeToNT(kstat->atime); in ksmbd_vfs_init_kstat()
1666 time = ksmbd_UnixTimeToNT(kstat->mtime); in ksmbd_vfs_init_kstat()
1668 time = ksmbd_UnixTimeToNT(kstat->ctime); in ksmbd_vfs_init_kstat()
1675 info->EndOfFile = cpu_to_le64(kstat->size); in ksmbd_vfs_init_kstat()
1676 info->AllocationSize = cpu_to_le64(kstat->blocks << 9); in ksmbd_vfs_init_kstat()
1696 rc = vfs_getattr(&path, ksmbd_kstat->kstat, in ksmbd_vfs_fill_dentry_attrs()
1702 time = ksmbd_UnixTimeToNT(ksmbd_kstat->kstat->ctime); in ksmbd_vfs_fill_dentry_attrs()
1709 if (S_ISDIR(ksmbd_kstat->kstat->mode)) in ksmbd_vfs_fill_dentry_attrs()
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.c747 static int smb2_get_dos_mode(struct kstat *stat, int attribute) in smb2_get_dos_mode()
2834 struct kstat stat; in smb2_open()
3849 void *kstat; in smb2_populate_readdir_entry() local
3874 kstat = d_info->wptr; in smb2_populate_readdir_entry()
3876 kstat = ksmbd_vfs_init_kstat(&d_info->wptr, ksmbd_kstat); in smb2_populate_readdir_entry()
3883 ffdinfo = (struct file_full_directory_info *)kstat; in smb2_populate_readdir_entry()
3886 smb2_get_reparse_tag_special_file(ksmbd_kstat->kstat->mode); in smb2_populate_readdir_entry()
3899 fbdinfo = (struct file_both_directory_info *)kstat; in smb2_populate_readdir_entry()
3902 smb2_get_reparse_tag_special_file(ksmbd_kstat->kstat->mode); in smb2_populate_readdir_entry()
3917 fdinfo = (struct file_directory_info *)kstat; in smb2_populate_readdir_entry()
[all …]
/openbmc/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()
/openbmc/linux/fs/vboxsf/
H A Dvfsmod.h101 struct kstat *kstat, u32 request_mask,
H A Dutils.c235 struct kstat *kstat, u32 request_mask, unsigned int flags) in vboxsf_getattr() argument
255 generic_fillattr(&nop_mnt_idmap, request_mask, d_inode(dentry), kstat); in vboxsf_getattr()
/openbmc/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.c22 int BPF_PROG(prog_stat, struct path *path, struct kstat *stat, in BPF_PROG()
/openbmc/linux/fs/coda/
H A Dcoda_linux.h52 int coda_getattr(struct mnt_idmap *, const struct path *, struct kstat *,
/openbmc/linux/fs/ocfs2/
H A Dfile.h55 struct kstat *stat, u32 request_mask, unsigned int flags);
/openbmc/linux/fs/ext4/
H A Dsymlink.c60 struct kstat *stat, u32 request_mask, in ext4_encrypted_symlink_getattr()
/openbmc/linux/fs/overlayfs/
H A Dcopy_up.c325 struct dentry *upperdentry, struct kstat *stat) in ovl_set_size()
336 struct kstat *stat) in ovl_set_timestamps()
349 struct kstat *stat) in ovl_set_attr()
538 struct kstat stat;
539 struct kstat pstat;

12345