Searched refs:bsd_statfs (Results 1 – 1 of 1) sorted by relevance
376 bsd_to_linux_statfs(struct statfs *bsd_statfs, struct l_statfs *linux_statfs) in bsd_to_linux_statfs() argument383 tmp = bsd_statfs->f_blocks | bsd_statfs->f_bfree | bsd_statfs->f_files | in bsd_to_linux_statfs()384 bsd_statfs->f_bsize; in bsd_to_linux_statfs()385 if ((bsd_statfs->f_bavail != -1 && (bsd_statfs->f_bavail & LINUX_HIBITS)) || in bsd_to_linux_statfs()386 (bsd_statfs->f_ffree != -1 && (bsd_statfs->f_ffree & LINUX_HIBITS)) || in bsd_to_linux_statfs()391 linux_statfs->f_type = bsd_to_linux_ftype(bsd_statfs->f_fstypename); in bsd_to_linux_statfs()392 linux_statfs->f_bsize = bsd_statfs->f_bsize; in bsd_to_linux_statfs()393 linux_statfs->f_blocks = bsd_statfs->f_blocks; in bsd_to_linux_statfs()394 linux_statfs->f_bfree = bsd_statfs->f_bfree; in bsd_to_linux_statfs()395 linux_statfs->f_bavail = bsd_statfs->f_bavail; in bsd_to_linux_statfs()[all …]