Home
last modified time | relevance | path

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

/netbsd-src/external/mit/libuv/dist/src/unix/
H A Dfs.c654 uv_statfs_t* stat_fs; in uv__fs_statfs() local
670 stat_fs = uv__malloc(sizeof(*stat_fs)); in uv__fs_statfs()
671 if (stat_fs == NULL) { in uv__fs_statfs()
682 stat_fs->f_type = 0; /* f_type is not supported. */ in uv__fs_statfs()
684 stat_fs->f_type = buf.f_type; in uv__fs_statfs()
686 stat_fs->f_bsize = buf.f_bsize; in uv__fs_statfs()
687 stat_fs->f_blocks = buf.f_blocks; in uv__fs_statfs()
688 stat_fs->f_bfree = buf.f_bfree; in uv__fs_statfs()
689 stat_fs->f_bavail = buf.f_bavail; in uv__fs_statfs()
690 stat_fs->f_files = buf.f_files; in uv__fs_statfs()
[all …]
/netbsd-src/external/mit/libuv/dist/src/win/
H A Dfs.c2710 uv_statfs_t* stat_fs; in fs__statfs() local
2773 stat_fs = uv__malloc(sizeof(*stat_fs)); in fs__statfs()
2774 if (stat_fs == NULL) { in fs__statfs()
2779 stat_fs->f_type = 0; in fs__statfs()
2780 stat_fs->f_bsize = bytes_per_sector * sectors_per_cluster; in fs__statfs()
2781 stat_fs->f_blocks = total_clusters; in fs__statfs()
2782 stat_fs->f_bfree = free_clusters; in fs__statfs()
2783 stat_fs->f_bavail = free_clusters; in fs__statfs()
2784 stat_fs->f_files = 0; in fs__statfs()
2785 stat_fs->f_ffree = 0; in fs__statfs()
[all …]