Home
last modified time | relevance | path

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

/libuv/src/unix/
H A Dfs.c687 uv_statfs_t* stat_fs; in uv__fs_statfs() local
703 stat_fs = uv__malloc(sizeof(*stat_fs)); in uv__fs_statfs()
704 if (stat_fs == NULL) { in uv__fs_statfs()
717 stat_fs->f_type = buf.f_type; in uv__fs_statfs()
719 stat_fs->f_bsize = buf.f_bsize; in uv__fs_statfs()
720 stat_fs->f_blocks = buf.f_blocks; in uv__fs_statfs()
721 stat_fs->f_bfree = buf.f_bfree; in uv__fs_statfs()
722 stat_fs->f_bavail = buf.f_bavail; in uv__fs_statfs()
723 stat_fs->f_files = buf.f_files; in uv__fs_statfs()
724 stat_fs->f_ffree = buf.f_ffree; in uv__fs_statfs()
[all …]
/libuv/src/win/
H A Dfs.c2841 uv_statfs_t* stat_fs; in fs__statfs() local
2904 stat_fs = uv__malloc(sizeof(*stat_fs)); in fs__statfs()
2905 if (stat_fs == NULL) { in fs__statfs()
2910 stat_fs->f_type = 0; in fs__statfs()
2911 stat_fs->f_bsize = bytes_per_sector * sectors_per_cluster; in fs__statfs()
2912 stat_fs->f_blocks = total_clusters; in fs__statfs()
2913 stat_fs->f_bfree = free_clusters; in fs__statfs()
2914 stat_fs->f_bavail = free_clusters; in fs__statfs()
2915 stat_fs->f_files = 0; in fs__statfs()
2916 stat_fs->f_ffree = 0; in fs__statfs()
[all …]

Completed in 30 milliseconds