Home
last modified time | relevance | path

Searched refs:bsd_statfs (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/compat/linux/
H A Dlinux_stats.c348 bsd_to_linux_statfs(struct statfs *bsd_statfs, struct l_statfs *linux_statfs) in bsd_to_linux_statfs() argument
352 statfs_scale_blocks(bsd_statfs, INT32_MAX); in bsd_to_linux_statfs()
354 linux_statfs->f_type = bsd_to_linux_ftype(bsd_statfs->f_fstypename); in bsd_to_linux_statfs()
355 linux_statfs->f_bsize = bsd_statfs->f_bsize; in bsd_to_linux_statfs()
356 linux_statfs->f_blocks = bsd_statfs->f_blocks; in bsd_to_linux_statfs()
357 linux_statfs->f_bfree = bsd_statfs->f_bfree; in bsd_to_linux_statfs()
358 linux_statfs->f_bavail = bsd_statfs->f_bavail; in bsd_to_linux_statfs()
360 linux_statfs->f_ffree = MIN(bsd_statfs->f_ffree, INT32_MAX); in bsd_to_linux_statfs()
361 linux_statfs->f_files = MIN(bsd_statfs->f_files, INT32_MAX); in bsd_to_linux_statfs()
363 linux_statfs->f_ffree = bsd_statfs->f_ffree; in bsd_to_linux_statfs()
[all …]