Symbol: linux_statfs
sys/amd64/linux/linux_proto.h
1550
int linux_statfs(struct thread *, struct linux_statfs_args *);
sys/amd64/linux/linux_sysent.c
154
{ .sy_narg = AS(linux_statfs_args), .sy_call = (sy_call_t *)linux_statfs, .sy_auevent = AUE_STATFS, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 137 = linux_statfs */
sys/amd64/linux32/linux32_proto.h
1813
int linux_statfs(struct thread *, struct linux_statfs_args *);
sys/amd64/linux32/linux32_sysent.c
117
{ .sy_narg = AS(linux_statfs_args), .sy_call = (sy_call_t *)linux_statfs, .sy_auevent = AUE_STATFS, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 99 = linux_statfs */
sys/arm64/linux/linux_proto.h
1285
int linux_statfs(struct thread *, struct linux_statfs_args *);
sys/arm64/linux/linux_sysent.c
60
{ .sy_narg = AS(linux_statfs_args), .sy_call = (sy_call_t *)linux_statfs, .sy_auevent = AUE_STATFS, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 43 = linux_statfs */
sys/compat/linux/linux_stats.c
396
bsd_to_linux_statfs(struct statfs *bsd_statfs, struct l_statfs *linux_statfs)
sys/compat/linux/linux_stats.c
402
linux_statfs->f_type = bsd_to_linux_ftype(bsd_statfs->f_fstypename);
sys/compat/linux/linux_stats.c
403
linux_statfs->f_bsize = bsd_statfs->f_bsize;
sys/compat/linux/linux_stats.c
404
linux_statfs->f_blocks = bsd_statfs->f_blocks;
sys/compat/linux/linux_stats.c
405
linux_statfs->f_bfree = bsd_statfs->f_bfree;
sys/compat/linux/linux_stats.c
406
linux_statfs->f_bavail = bsd_statfs->f_bavail;
sys/compat/linux/linux_stats.c
408
linux_statfs->f_ffree = MIN(bsd_statfs->f_ffree, INT32_MAX);
sys/compat/linux/linux_stats.c
409
linux_statfs->f_files = MIN(bsd_statfs->f_files, INT32_MAX);
sys/compat/linux/linux_stats.c
411
linux_statfs->f_ffree = bsd_statfs->f_ffree;
sys/compat/linux/linux_stats.c
412
linux_statfs->f_files = bsd_statfs->f_files;
sys/compat/linux/linux_stats.c
414
linux_statfs->f_fsid.val[0] = bsd_statfs->f_fsid.val[0];
sys/compat/linux/linux_stats.c
415
linux_statfs->f_fsid.val[1] = bsd_statfs->f_fsid.val[1];
sys/compat/linux/linux_stats.c
416
linux_statfs->f_namelen = MAXNAMLEN;
sys/compat/linux/linux_stats.c
417
linux_statfs->f_frsize = bsd_statfs->f_bsize;
sys/compat/linux/linux_stats.c
418
linux_statfs->f_flags = bsd_to_linux_mnt_flags(bsd_statfs->f_flags);
sys/compat/linux/linux_stats.c
419
memset(linux_statfs->f_spare, 0, sizeof(linux_statfs->f_spare));
sys/compat/linux/linux_stats.c
427
struct l_statfs linux_statfs;
sys/compat/linux/linux_stats.c
434
error = bsd_to_linux_statfs(bsd_statfs, &linux_statfs);
sys/compat/linux/linux_stats.c
438
return (copyout(&linux_statfs, args->buf, sizeof(linux_statfs)));
sys/compat/linux/linux_stats.c
443
bsd_to_linux_statfs64(struct statfs *bsd_statfs, struct l_statfs64 *linux_statfs)
sys/compat/linux/linux_stats.c
446
linux_statfs->f_type = bsd_to_linux_ftype(bsd_statfs->f_fstypename);
sys/compat/linux/linux_stats.c
447
linux_statfs->f_bsize = bsd_statfs->f_bsize;
sys/compat/linux/linux_stats.c
448
linux_statfs->f_blocks = bsd_statfs->f_blocks;
sys/compat/linux/linux_stats.c
449
linux_statfs->f_bfree = bsd_statfs->f_bfree;
sys/compat/linux/linux_stats.c
450
linux_statfs->f_bavail = bsd_statfs->f_bavail;
sys/compat/linux/linux_stats.c
451
linux_statfs->f_ffree = bsd_statfs->f_ffree;
sys/compat/linux/linux_stats.c
452
linux_statfs->f_files = bsd_statfs->f_files;
sys/compat/linux/linux_stats.c
453
linux_statfs->f_fsid.val[0] = bsd_statfs->f_fsid.val[0];
sys/compat/linux/linux_stats.c
454
linux_statfs->f_fsid.val[1] = bsd_statfs->f_fsid.val[1];
sys/compat/linux/linux_stats.c
455
linux_statfs->f_namelen = MAXNAMLEN;
sys/compat/linux/linux_stats.c
456
linux_statfs->f_frsize = bsd_statfs->f_bsize;
sys/compat/linux/linux_stats.c
457
linux_statfs->f_flags = bsd_to_linux_mnt_flags(bsd_statfs->f_flags);
sys/compat/linux/linux_stats.c
458
memset(linux_statfs->f_spare, 0, sizeof(linux_statfs->f_spare));
sys/compat/linux/linux_stats.c
464
struct l_statfs64 linux_statfs;
sys/compat/linux/linux_stats.c
474
bsd_to_linux_statfs64(bsd_statfs, &linux_statfs);
sys/compat/linux/linux_stats.c
478
return (copyout(&linux_statfs, args->buf, sizeof(linux_statfs)));
sys/compat/linux/linux_stats.c
484
struct l_statfs64 linux_statfs;
sys/compat/linux/linux_stats.c
494
bsd_to_linux_statfs64(bsd_statfs, &linux_statfs);
sys/compat/linux/linux_stats.c
498
return (copyout(&linux_statfs, args->buf, sizeof(linux_statfs)));
sys/compat/linux/linux_stats.c
505
struct l_statfs linux_statfs;
sys/compat/linux/linux_stats.c
512
error = bsd_to_linux_statfs(bsd_statfs, &linux_statfs);
sys/compat/linux/linux_stats.c
516
return (copyout(&linux_statfs, args->buf, sizeof(linux_statfs)));
sys/i386/linux/linux_proto.h
1805
int linux_statfs(struct thread *, struct linux_statfs_args *);
sys/i386/linux/linux_sysent.c
116
{ .sy_narg = AS(linux_statfs_args), .sy_call = (sy_call_t *)linux_statfs, .sy_auevent = AUE_STATFS, .sy_flags = 0, .sy_thrcnt = SY_THR_STATIC }, /* 99 = linux_statfs */