Symbol: linux_statfs
sys/amd64/linux/linux_proto.h
1549
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
1812
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
1284
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
348
bsd_to_linux_statfs(struct statfs *bsd_statfs, struct l_statfs *linux_statfs)
sys/compat/linux/linux_stats.c
354
linux_statfs->f_type = bsd_to_linux_ftype(bsd_statfs->f_fstypename);
sys/compat/linux/linux_stats.c
355
linux_statfs->f_bsize = bsd_statfs->f_bsize;
sys/compat/linux/linux_stats.c
356
linux_statfs->f_blocks = bsd_statfs->f_blocks;
sys/compat/linux/linux_stats.c
357
linux_statfs->f_bfree = bsd_statfs->f_bfree;
sys/compat/linux/linux_stats.c
358
linux_statfs->f_bavail = bsd_statfs->f_bavail;
sys/compat/linux/linux_stats.c
360
linux_statfs->f_ffree = MIN(bsd_statfs->f_ffree, INT32_MAX);
sys/compat/linux/linux_stats.c
361
linux_statfs->f_files = MIN(bsd_statfs->f_files, INT32_MAX);
sys/compat/linux/linux_stats.c
363
linux_statfs->f_ffree = bsd_statfs->f_ffree;
sys/compat/linux/linux_stats.c
364
linux_statfs->f_files = bsd_statfs->f_files;
sys/compat/linux/linux_stats.c
366
linux_statfs->f_fsid.val[0] = bsd_statfs->f_fsid.val[0];
sys/compat/linux/linux_stats.c
367
linux_statfs->f_fsid.val[1] = bsd_statfs->f_fsid.val[1];
sys/compat/linux/linux_stats.c
368
linux_statfs->f_namelen = MAXNAMLEN;
sys/compat/linux/linux_stats.c
369
linux_statfs->f_frsize = bsd_statfs->f_bsize;
sys/compat/linux/linux_stats.c
370
linux_statfs->f_flags = bsd_to_linux_mnt_flags(bsd_statfs->f_flags);
sys/compat/linux/linux_stats.c
371
memset(linux_statfs->f_spare, 0, sizeof(linux_statfs->f_spare));
sys/compat/linux/linux_stats.c
379
struct l_statfs linux_statfs;
sys/compat/linux/linux_stats.c
386
error = bsd_to_linux_statfs(bsd_statfs, &linux_statfs);
sys/compat/linux/linux_stats.c
390
return (copyout(&linux_statfs, args->buf, sizeof(linux_statfs)));
sys/compat/linux/linux_stats.c
395
bsd_to_linux_statfs64(struct statfs *bsd_statfs, struct l_statfs64 *linux_statfs)
sys/compat/linux/linux_stats.c
398
linux_statfs->f_type = bsd_to_linux_ftype(bsd_statfs->f_fstypename);
sys/compat/linux/linux_stats.c
399
linux_statfs->f_bsize = bsd_statfs->f_bsize;
sys/compat/linux/linux_stats.c
400
linux_statfs->f_blocks = bsd_statfs->f_blocks;
sys/compat/linux/linux_stats.c
401
linux_statfs->f_bfree = bsd_statfs->f_bfree;
sys/compat/linux/linux_stats.c
402
linux_statfs->f_bavail = bsd_statfs->f_bavail;
sys/compat/linux/linux_stats.c
403
linux_statfs->f_ffree = bsd_statfs->f_ffree;
sys/compat/linux/linux_stats.c
404
linux_statfs->f_files = bsd_statfs->f_files;
sys/compat/linux/linux_stats.c
405
linux_statfs->f_fsid.val[0] = bsd_statfs->f_fsid.val[0];
sys/compat/linux/linux_stats.c
406
linux_statfs->f_fsid.val[1] = bsd_statfs->f_fsid.val[1];
sys/compat/linux/linux_stats.c
407
linux_statfs->f_namelen = MAXNAMLEN;
sys/compat/linux/linux_stats.c
408
linux_statfs->f_frsize = bsd_statfs->f_bsize;
sys/compat/linux/linux_stats.c
409
linux_statfs->f_flags = bsd_to_linux_mnt_flags(bsd_statfs->f_flags);
sys/compat/linux/linux_stats.c
410
memset(linux_statfs->f_spare, 0, sizeof(linux_statfs->f_spare));
sys/compat/linux/linux_stats.c
416
struct l_statfs64 linux_statfs;
sys/compat/linux/linux_stats.c
426
bsd_to_linux_statfs64(bsd_statfs, &linux_statfs);
sys/compat/linux/linux_stats.c
430
return (copyout(&linux_statfs, args->buf, sizeof(linux_statfs)));
sys/compat/linux/linux_stats.c
436
struct l_statfs64 linux_statfs;
sys/compat/linux/linux_stats.c
446
bsd_to_linux_statfs64(bsd_statfs, &linux_statfs);
sys/compat/linux/linux_stats.c
450
return (copyout(&linux_statfs, args->buf, sizeof(linux_statfs)));
sys/compat/linux/linux_stats.c
457
struct l_statfs linux_statfs;
sys/compat/linux/linux_stats.c
464
error = bsd_to_linux_statfs(bsd_statfs, &linux_statfs);
sys/compat/linux/linux_stats.c
468
return (copyout(&linux_statfs, args->buf, sizeof(linux_statfs)));
sys/i386/linux/linux_proto.h
1804
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 */