| /kernel/liteos_m/testsuites/unittest/posix/src/fs/api/ |
| D | posix_fs_statfs_test.c | 40 struct statfs buf = { 0 }; 42 int32_t ret = statfs(TEST_ROOT, &buf); 55 struct statfs buf = { 0 }; 57 int32_t ret = statfs(NULL, &buf); 61 ret = statfs(TEST_ROOT, NULL); 75 struct statfs buf = { 0 }; 79 ret = statfs(TEST_ROOT, &buf);
|
| /kernel/liteos_m/kal/libc/newlib/porting/include/sys/ |
| D | statfs.h | 45 struct statfs { struct 53 int statfs(const char *, struct statfs *); argument
|
| /kernel/linux/linux-5.10/fs/orangefs/ |
| D | super.c | 181 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 …]
|
| /kernel/linux/linux-5.10/fs/ |
| D | statfs.c | 59 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/ |
| D | vfs_mount.h | 51 int (*statfs)(const char *path, struct statfs *buf); member
|
| /kernel/uniproton/src/fs/vfs/ |
| D | vfs_mount.h | 29 S32 (*statfs)(const char *path, struct statfs *buf); member
|
| /kernel/linux/linux-5.10/fs/ecryptfs/ |
| D | super.c | 95 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/ |
| D | mount.h | 64 int (*Statfs)(struct Mount *mount, struct statfs *sbp); 70 struct statfs *statbuf,
|
| /kernel/linux/linux-5.10/tools/bpf/bpftool/ |
| D | tracelog.c | 29 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/ |
| D | mem.c | 26 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/ |
| D | file | 17 statfs
|
| D | string | 56 statfs
|
| /kernel/linux/linux-5.10/tools/testing/selftests/mount/ |
| D | nosymfollow-test.c | 178 struct statfs buf; in test_statfs() 181 ret = statfs(TMP, &buf); in test_statfs()
|
| /kernel/liteos_a/syscall/ |
| D | fs_syscall.c | 1284 int SysStatfs(const char *path, struct statfs *buf) in SysStatfs() 1288 struct statfs bufRet = {0}; in SysStatfs() 1297 ret = statfs((path ? pathRet : NULL), (buf ? (&bufRet) : NULL)); in SysStatfs() 1303 ret = LOS_ArchCopyToUser(buf, &bufRet, sizeof(struct statfs)); in SysStatfs() 1315 int SysStatfs64(const char *path, size_t sz, struct statfs *buf) in SysStatfs64() 1319 struct statfs bufRet = {0}; in SysStatfs64() 1333 ret = statfs((path ? pathRet : NULL), (buf ? (&bufRet) : NULL)); in SysStatfs64() 1339 ret = LOS_ArchCopyToUser(buf, &bufRet, sizeof(struct statfs)); in SysStatfs64() 2579 struct statfs fsBuf; in SysFaccessat() 2587 ret = statfs(fullDirectory, &fsBuf); in SysFaccessat() [all …]
|
| D | los_syscall.h | 270 extern int SysStatfs(const char *path, struct statfs *buf); 271 extern int SysStatfs64(const char *path, size_t sz, struct statfs *buf); 272 extern int SysFstatfs(int fd, struct statfs *buf); 273 extern int SysFstatfs64(int fd, size_t sz, struct statfs *buf);
|
| /kernel/linux/linux-5.10/arch/s390/include/uapi/asm/ |
| D | statfs.h | 21 struct statfs { struct
|
| /kernel/uniproton/src/fs/ |
| D | fs.c | 70 int statfs(const char *path, struct statfs *buf) in statfs() function
|
| /kernel/liteos_a/fs/fat/virpart/src/ |
| D | virpart.c | 445 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/liteos_a/fs/proc/os_adapt/ |
| D | mounts_proc.c | 41 static int ShowType(const char *devPoint, const char *mountPoint, struct statfs *statBuf, void *arg) in ShowType()
|
| D | proc_vfs.c | 415 int VfsProcfsStatfs(struct Mount *mnt, struct statfs *buf) in VfsProcfsStatfs() 417 (void)memset_s(buf, sizeof(struct statfs), 0, sizeof(struct statfs)); in VfsProcfsStatfs()
|
| /kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-mips/asm/ |
| D | statfs.h | 23 struct statfs { struct
|
| /kernel/linux/linux-5.10/arch/mips/include/uapi/asm/ |
| D | statfs.h | 23 struct statfs { struct
|
| /kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-generic/ |
| D | statfs.h | 29 struct statfs { struct
|
| /kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-generic/ |
| D | statfs.h | 16 struct statfs { struct
|
| /kernel/linux/linux-5.10/include/uapi/asm-generic/ |
| D | statfs.h | 23 struct statfs { struct
|