Home
last modified time | relevance | path

Searched refs:num_dirs (Results 1 – 23 of 23) 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.c818 ext2_ino_t num_dirs; in e2fsck_setup_icount() local
832 retval = ext2fs_get_num_dirs(ctx->fs, &num_dirs); in e2fsck_setup_icount()
834 num_dirs = 1024; /* Guess */ in e2fsck_setup_icount()
837 (!threshold || num_dirs > threshold)) { in e2fsck_setup_icount()
/external/ltp/utils/ffsb-6.0-rc2/
Dffsb_fs.c35 fs->num_dirs = num_data_dirs; in init_ffsb_fs()
65 target->num_dirs = orig->num_dirs; in clone_ffsb_fs()
233 uint32_t num_dirs = fs->num_dirs; in check_existing_fileset() local
261 (get_numsubdirs(&fs->files) != num_dirs)) { in check_existing_fileset()
341 init_filelist(&fs->files, buf, FILES_BASE, fs->num_dirs, 1); in construct_new_fileset()
449 return fs->num_dirs; in fs_get_numdirs()
583 printf("\t num_dirs = %u\n", fs->num_dirs); in fs_print_config()
Dffsb_fs.h78 uint32_t num_dirs; member
DREADME274 num_dirs=1
287 num_dirs, max_filesize, and min_filesize. Beyond those the following
332 num_dirs=100
Dparser.c889 fs->num_dirs = get_config_u32(config, "num_dirs"); in init_filesys()
/external/tensorflow/tensorflow/contrib/cudnn_rnn/python/layers/
Dcudnn_rnn.py267 def num_dirs(self): member in _CudnnRNN
477 num_dirs = 1 if self._direction == CUDNN_RNN_UNIDIRECTION else 2
478 return [[self._num_units]] * num_dirs * self._num_params_per_layer
557 return ([self.num_layers * self.num_dirs, batch_size, self.num_units],
558 [self.num_layers * self.num_dirs, batch_size, self.num_units])
584 return [self.num_layers * self.num_dirs, batch_size, self.num_units],
/external/ltp/testcases/kernel/fs/ext4-new-features/ext4-ffsb-config/
Dffsb-config27 num_dirs=40
Dffsb-config07 num_dirs=40
Dffsb-config17 num_dirs=40
Dffsb-config57 num_dirs=1
Dffsb-config47 num_dirs=1
Dffsb-config37 num_dirs=1
Dffsb-config77 num_dirs=1
Dffsb-config67 num_dirs=1
/external/toolchain-utils/
Dweekly_report.py209 num_dirs = os.listdir(startdir)
210 for d in num_dirs:
/external/tensorflow/tensorflow/contrib/cudnn_rnn/python/kernel_tests/
Dcudnn_rnn_ops_test.py76 num_dirs=True, argument
81 assert num_dirs == 1
563 num_dirs=True, argument
568 assert num_dirs == 1
931 num_dirs = 1 if direction == cudnn_rnn_ops.CUDNN_RNN_UNIDIRECTION else 2
936 for _ in range(num_layers * num_dirs):
997 num_dirs = 1 if direction == cudnn_rnn_ops.CUDNN_RNN_UNIDIRECTION else 2
1002 for _ in range(num_layers * num_dirs):
Dcudnn_rnn_test.py168 dir_count = self._rnn.num_dirs
187 dir_count = self._rnn.num_dirs
489 num_dirs = 1 if direction == CUDNN_RNN_UNIDIRECTION else 2
490 num_params_per_layer *= num_dirs
/external/ltp/utils/ffsb-6.0-rc2/examples/
Dprofile_everything7 num_dirs = 100
/external/tensorflow/tensorflow/core/kernels/
Dcudnn_rnn_ops.cc1108 int num_dirs = 1; in Compute() local
1110 num_dirs = 2; in Compute()
1112 const int num_params_per_layer = num_params_ / num_layers / num_dirs; in Compute()
1116 CHECK(num_params_ % (num_layers * num_dirs) == 0) in Compute()