Home
last modified time | relevance | path

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

1234

/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 Dfs.h2024 struct kstat *, u32, unsigned int);
3165 void fill_mg_cmtime(struct kstat *stat, u32 request_mask, struct inode *inode);
3166 void generic_fillattr(struct mnt_idmap *, u32, struct inode *, struct kstat *);
3167 void generic_fill_statx_attr(struct inode *inode, struct kstat *stat);
3168 void generic_fill_statx_atomic_writes(struct kstat *stat,
3172 extern int vfs_getattr_nosec(const struct path *, struct kstat *, u32, unsigned int);
3173 extern int vfs_getattr(const struct path *, struct kstat *, u32, unsigned int);
3190 int vfs_fstatat(int dfd, const char __user *filename, struct kstat *stat,
3192 int vfs_fstat(int fd, struct kstat *stat);
3194 static inline int vfs_stat(const char __user *filename, struct kstat *stat) in vfs_stat()
[all …]
H A Dfscrypt.h478 int fscrypt_symlink_getattr(const struct path *path, struct kstat *stat);
851 struct kstat *stat) in fscrypt_symlink_getattr()
/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/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/smb/server/
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.c761 static int smb2_get_dos_mode(struct kstat *stat, int attribute) in smb2_get_dos_mode()
2887 struct kstat stat; in smb2_open()
3917 void *kstat; in smb2_populate_readdir_entry() local
3942 kstat = d_info->wptr; in smb2_populate_readdir_entry()
3944 kstat = ksmbd_vfs_init_kstat(&d_info->wptr, ksmbd_kstat); in smb2_populate_readdir_entry()
3951 ffdinfo = (FILE_FULL_DIRECTORY_INFO *)kstat; in smb2_populate_readdir_entry()
3954 smb2_get_reparse_tag_special_file(ksmbd_kstat->kstat->mode); in smb2_populate_readdir_entry()
3967 fbdinfo = (FILE_BOTH_DIRECTORY_INFO *)kstat; in smb2_populate_readdir_entry()
3970 smb2_get_reparse_tag_special_file(ksmbd_kstat->kstat->mode); in smb2_populate_readdir_entry()
3985 fdinfo = (FILE_DIRECTORY_INFO *)kstat; in smb2_populate_readdir_entry()
[all …]
/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/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);
/linux/fs/ext4/
H A Dsymlink.c60 struct kstat *stat, u32 request_mask, in ext4_encrypted_symlink_getattr()
/linux/fs/overlayfs/
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/kernfs/
H A Dkernfs-internal.h178 const struct path *path, struct kstat *stat,
/linux/fs/smb/client/
H A Dcifsfs.h76 struct kstat *stat, u32 request_mask, unsigned int flags);

1234