Home
last modified time | relevance | path

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

/external/e2fsprogs/lib/ext2fs/
Dget_num_dirs.c31 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()
Ddblist.c38 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()
Dgen_bitmap64.c98 ext2_ino_t num_dirs; in ext2fs_alloc_generic_bmap() local
112 retval = ext2fs_get_num_dirs(fs, &num_dirs); in ext2fs_alloc_generic_bmap()
113 if (retval || num_dirs > (fs->super->s_inodes_count / 320)) in ext2fs_alloc_generic_bmap()
/external/e2fsprogs/e2fsck/
Ddirinfo.c46 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()
Dpass1.c820 ext2_ino_t num_dirs; in e2fsck_setup_icount() local
834 retval = ext2fs_get_num_dirs(ctx->fs, &num_dirs); in e2fsck_setup_icount()
836 num_dirs = 1024; /* Guess */ in e2fsck_setup_icount()
839 (!threshold || num_dirs > threshold)) { in e2fsck_setup_icount()
/external/toolchain-utils/deprecated/
Dweekly_report.py211 num_dirs = os.listdir(startdir)
212 for d in num_dirs:
/external/tensorflow/tensorflow/core/kernels/
Dcudnn_rnn_ops.cc1220 int num_dirs = 1; in Compute() local
1222 num_dirs = 2; in Compute()
1225 num_params_weights_ / num_layers / num_dirs; in Compute()
1230 context, num_params_weights_ % (num_layers * num_dirs) == 0, in Compute()
1234 context, num_params_biases_ % (num_layers * num_dirs) == 0, in Compute()