Home
last modified time | relevance | path

Searched refs:statfs (Results 1 – 25 of 171) sorted by relevance

1234567

/kernel/liteos_m/kal/libc/newlib/porting/include/sys/
Dstatfs.h45 struct statfs { struct
53 int statfs(const char *, struct statfs *); argument
/kernel/linux/linux-5.10/fs/orangefs/
Dsuper.c181 new_op->upcall.req.statfs.fs_id = ORANGEFS_SB(sb)->fs_id; in orangefs_statfs()
196 (long)new_op->downcall.resp.statfs.blocks_avail, in orangefs_statfs()
197 (long)new_op->downcall.resp.statfs.blocks_total, in orangefs_statfs()
198 (long)new_op->downcall.resp.statfs.block_size, in orangefs_statfs()
199 (long)new_op->downcall.resp.statfs.files_total, in orangefs_statfs()
200 (long)new_op->downcall.resp.statfs.files_avail); in orangefs_statfs()
204 buf->f_bsize = new_op->downcall.resp.statfs.block_size; in orangefs_statfs()
207 buf->f_blocks = (sector_t) new_op->downcall.resp.statfs.blocks_total; in orangefs_statfs()
208 buf->f_bfree = (sector_t) new_op->downcall.resp.statfs.blocks_avail; in orangefs_statfs()
209 buf->f_bavail = (sector_t) new_op->downcall.resp.statfs.blocks_avail; in orangefs_statfs()
[all …]
Ddowncall.h114 struct orangefs_statfs_response statfs; member
/kernel/linux/linux-5.10/fs/
Dstatfs.c59 if (!dentry->d_sb->s_op->statfs) in statfs_by_dentry()
66 retval = dentry->d_sb->s_op->statfs(dentry, buf); in statfs_by_dentry()
126 static int do_statfs_native(struct kstatfs *st, struct statfs __user *p) in do_statfs_native()
128 struct statfs buf; in do_statfs_native()
192 SYSCALL_DEFINE2(statfs, const char __user *, pathname, struct statfs __user *, buf) in SYSCALL_DEFINE2() argument
213 SYSCALL_DEFINE2(fstatfs, unsigned int, fd, struct statfs __user *, buf) in SYSCALL_DEFINE2()
302 COMPAT_SYSCALL_DEFINE2(statfs, const char __user *, pathname, struct compat_statfs __user *, buf) in COMPAT_SYSCALL_DEFINE2() argument
/kernel/liteos_m/components/fs/vfs/
Dvfs_mount.h51 int (*statfs)(const char *path, struct statfs *buf); member
/kernel/uniproton/src/fs/vfs/
Dvfs_mount.h29 S32 (*statfs)(const char *path, struct statfs *buf); member
/kernel/linux/linux-5.10/fs/ecryptfs/
Dsuper.c95 if (!lower_dentry->d_sb->s_op->statfs) in ecryptfs_statfs()
98 rc = lower_dentry->d_sb->s_op->statfs(lower_dentry, buf); in ecryptfs_statfs()
174 .statfs = ecryptfs_statfs,
/kernel/liteos_a/fs/include/fs/
Dmount.h63 int (*Statfs)(struct Mount *mount, struct statfs *sbp);
69 struct statfs *statbuf,
/kernel/linux/linux-5.10/tools/bpf/bpftool/
Dtracelog.c29 struct statfs st_fs; in validate_tracefs_mnt()
31 if (statfs(mnt, &st_fs) < 0) in validate_tracefs_mnt()
/kernel/linux/linux-5.10/arch/um/os-Linux/
Dmem.c26 struct statfs st; in check_tmpfs()
29 if (statfs(dir, &st) < 0) { in check_tmpfs()
/kernel/linux/linux-5.10/tools/perf/trace/strace/groups/
Dfile17 statfs
Dstring56 statfs
/kernel/linux/linux-5.10/tools/testing/selftests/mount/
Dnosymfollow-test.c178 struct statfs buf; in test_statfs()
181 ret = statfs(TMP, &buf); in test_statfs()
/kernel/liteos_a/syscall/
Dfs_syscall.c1157 int SysStatfs(const char *path, struct statfs *buf) in SysStatfs()
1161 struct statfs bufRet = {0}; in SysStatfs()
1170 ret = statfs((path ? pathRet : NULL), (buf ? (&bufRet) : NULL)); in SysStatfs()
1176 ret = LOS_ArchCopyToUser(buf, &bufRet, sizeof(struct statfs)); in SysStatfs()
1188 int SysStatfs64(const char *path, size_t sz, struct statfs *buf) in SysStatfs64()
1192 struct statfs bufRet = {0}; in SysStatfs64()
1206 ret = statfs((path ? pathRet : NULL), (buf ? (&bufRet) : NULL)); in SysStatfs64()
1212 ret = LOS_ArchCopyToUser(buf, &bufRet, sizeof(struct statfs)); in SysStatfs64()
2443 struct statfs fsBuf; in SysFaccessat()
2451 ret = statfs(fullDirectory, &fsBuf); in SysFaccessat()
[all …]
Dlos_syscall.h264 extern int SysStatfs(const char *path, struct statfs *buf);
265 extern int SysStatfs64(const char *path, size_t sz, struct statfs *buf);
266 extern int SysFstatfs(int fd, struct statfs *buf);
267 extern int SysFstatfs64(int fd, size_t sz, struct statfs *buf);
/kernel/linux/linux-5.10/arch/s390/include/uapi/asm/
Dstatfs.h21 struct statfs { struct
/kernel/uniproton/src/fs/
Dfs.c70 int statfs(const char *path, struct statfs *buf) in statfs() function
/kernel/liteos_a/fs/proc/os_adapt/
Dproc_vfs.c325 int VfsProcfsStatfs(struct Mount *mnt, struct statfs *buf) in VfsProcfsStatfs()
327 (void)memset_s(buf, sizeof(struct statfs), 0, sizeof(struct statfs)); in VfsProcfsStatfs()
Dmounts_proc.c41 static int ShowType(const char *devPoint, const char *mountPoint, struct statfs *statBuf, void *arg) in ShowType()
/kernel/liteos_a/fs/fat/virpart/src/
Dvirpart.c445 INT fatfs_virstatfs_internel(struct Vnode *mountpt, const char *relpath, struct statfs *buf) in fatfs_virstatfs_internel()
481 (void)memset_s((void *)buf, sizeof(struct statfs), 0, sizeof(struct statfs)); in fatfs_virstatfs_internel()
/kernel/linux/linux-5.10/arch/mips/include/uapi/asm/
Dstatfs.h23 struct statfs { struct
/kernel/linux/linux-5.10/include/uapi/asm-generic/
Dstatfs.h23 struct statfs { struct
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-generic/
Dstatfs.h29 struct statfs { struct
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-generic/
Dstatfs.h16 struct statfs { struct
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-mips/asm/
Dstatfs.h23 struct statfs { struct

1234567