/third_party/e2fsprogs/lib/ext2fs/ |
D | get_num_dirs.c | 31 ext2_ino_t num_dirs, max_dirs; in ext2fs_get_num_dirs() local 35 num_dirs = 0; in ext2fs_get_num_dirs() 39 num_dirs += max_dirs / 8; in ext2fs_get_num_dirs() 41 num_dirs += ext2fs_bg_used_dirs_count(fs, i); in ext2fs_get_num_dirs() 43 if (num_dirs > fs->super->s_inodes_count) in ext2fs_get_num_dirs() 44 num_dirs = fs->super->s_inodes_count; in ext2fs_get_num_dirs() 46 *ret_num_dirs = num_dirs; in ext2fs_get_num_dirs()
|
D | dblist.c | 38 ext2_ino_t num_dirs; in make_dblist() local 57 retval = ext2fs_get_num_dirs(fs, &num_dirs); in make_dblist() 60 dblist->size = (num_dirs * 2) + 12; in make_dblist()
|
D | gen_bitmap64.c | 100 ext2_ino_t num_dirs; in ext2fs_alloc_generic_bmap() local 114 retval = ext2fs_get_num_dirs(fs, &num_dirs); in ext2fs_alloc_generic_bmap() 115 if (retval || num_dirs > (fs->super->s_inodes_count / 320)) in ext2fs_alloc_generic_bmap()
|
/third_party/glib/gio/tests/ |
D | gio-du.c | 12 guint64 num_dirs, in print_result() argument 27 filename, str, num_dirs, num_files, nl); in print_result() 32 filename, disk_usage, num_dirs, num_files, nl); in print_result() 49 guint64 num_dirs; in async_ready_func() local 52 …g_file_measure_disk_usage_finish (G_FILE (source), result, &disk_usage, &num_dirs, &num_files, &er… in async_ready_func() 53 print_result (filename, disk_usage, num_dirs, num_files, error, '\n'); in async_ready_func() 61 guint64 num_dirs, in report_progress() argument 70 print_result (filename, disk_usage, num_dirs, num_files, NULL, '\r'); in report_progress() 143 guint64 num_dirs; in main() local 147 &disk_usage, &num_dirs, &num_files, &error); in main() [all …]
|
D | file.c | 2047 guint64 num_dirs; in test_measure() local 2068 &num_dirs, in test_measure() 2076 g_assert_cmpuint (num_dirs, ==, 6); in test_measure() 2096 guint64 num_dirs, in measure_progress() argument 2105 g_assert_cmpuint (num_dirs, >=, data->progress_dirs); in measure_progress() 2109 data->progress_dirs = num_dirs; in measure_progress() 2119 guint64 num_bytes, num_dirs, num_files; in measure_done() local 2123 …ok = g_file_measure_disk_usage_finish (G_FILE (source), res, &num_bytes, &num_dirs, &num_files, &e… in measure_done() 2129 g_assert_cmpuint (data->expected_dirs, ==, num_dirs); in measure_done() 2134 g_assert_cmpuint (num_dirs, >=, data->progress_dirs); in measure_done()
|
/third_party/e2fsprogs/e2fsck/ |
D | dirinfo.c | 46 static void setup_tdb(e2fsck_t ctx, ext2_ino_t num_dirs) in setup_tdb() argument 63 (threshold && num_dirs <= threshold)) in setup_tdb() 80 if (num_dirs < 99991) in setup_tdb() 81 num_dirs = 99991; /* largest 5 digit prime */ in setup_tdb() 83 db->tdb = tdb_open(db->tdb_fn, num_dirs, TDB_NOLOCK | TDB_NOSYNC, in setup_tdb() 92 ext2_ino_t num_dirs; in setup_db() local 103 retval = ext2fs_get_num_dirs(ctx->fs, &num_dirs); in setup_db() 105 num_dirs = 1024; /* Guess */ in setup_db() 108 setup_tdb(ctx, num_dirs); in setup_db() 118 db->size = num_dirs + 10; in setup_db()
|
D | pass1.c | 811 ext2_ino_t num_dirs; in e2fsck_setup_icount() local 825 retval = ext2fs_get_num_dirs(ctx->fs, &num_dirs); in e2fsck_setup_icount() 827 num_dirs = 1024; /* Guess */ in e2fsck_setup_icount() 830 (!threshold || num_dirs > threshold)) { in e2fsck_setup_icount()
|
/third_party/glib/gio/ |
D | gfile.c | 338 … guint64 *num_dirs, 352 … guint64 *num_dirs, 7838 guint64 *num_dirs, in g_file_real_measure_disk_usage() argument 7857 guint64 num_dirs; member 7867 guint64 num_dirs; member 7877 progress->current_size, progress->num_dirs, progress->num_files, in measure_disk_usage_invoke_progress() 7886 guint64 num_dirs, in measure_disk_usage_progress() argument 7900 progress.num_dirs = num_dirs; in measure_disk_usage_progress() 7922 &result.disk_usage, &result.num_dirs, &result.num_files, in measure_disk_usage_thread() 7959 guint64 *num_dirs, in g_file_real_measure_disk_usage_finish() argument [all …]
|
D | glocalfile.c | 2723 guint64 num_dirs; member 2797 state->num_dirs++; in g_local_file_measure_size_of_file() 2816 state->disk_usage, state->num_dirs, state->num_files, in g_local_file_measure_size_of_file() 2923 guint64 *num_dirs, in g_local_file_measure_disk_usage() argument 2950 if (num_dirs) in g_local_file_measure_disk_usage() 2951 *num_dirs = state.num_dirs; in g_local_file_measure_disk_usage()
|
D | gfile.h | 575 guint64 *num_dirs, 589 guint64 *num_dirs, 1134 guint64 *num_dirs, 1152 guint64 *num_dirs,
|
D | giotypes.h | 350 guint64 num_dirs,
|