Searched refs:bestcount (Results 1 – 6 of 6) sorted by relevance
| /freebsd-9-stable/crypto/openssh/ |
| D | dh.c | 149 int best, bestcount, which; in choose_dh() local 161 best = bestcount = 0; in choose_dh() 175 bestcount = 0; in choose_dh() 178 bestcount++; in choose_dh() 182 if (bestcount == 0) { in choose_dh() 189 which = arc4random_uniform(bestcount); in choose_dh()
|
| /freebsd-9-stable/sys/gnu/fs/xfs/ |
| D | xfs_dir2_leaf.c | 144 ltp->bestcount = cpu_to_be32(1); in xfs_dir2_block_to_leaf() 230 ASSERT(i < be32_to_cpu(ltp->bestcount)); in xfs_dir2_leaf_addname() 241 for (i = 0; i < be32_to_cpu(ltp->bestcount); i++) { in xfs_dir2_leaf_addname() 361 if (use_block >= be32_to_cpu(ltp->bestcount)) { in xfs_dir2_leaf_addname() 364 be32_to_cpu(ltp->bestcount) * sizeof(bestsp[0])); in xfs_dir2_leaf_addname() 365 be32_add(<p->bestcount, 1); in xfs_dir2_leaf_addname() 367 xfs_dir2_leaf_log_bests(tp, lbp, 0, be32_to_cpu(ltp->bestcount) - 1); in xfs_dir2_leaf_addname() 1188 ltp->bestcount = 0; in xfs_dir2_leaf_init() 1539 if (db == be32_to_cpu(ltp->bestcount) - 1) { in xfs_dir2_leaf_removename() 1552 (be32_to_cpu(ltp->bestcount) - (db - i)) * sizeof(*bestsp)); in xfs_dir2_leaf_removename() [all …]
|
| D | xfs_dir2_leaf.h | 65 __be32 bestcount; member 111 return (__be16 *)ltp - be32_to_cpu(ltp->bestcount); in xfs_dir2_leaf_bests_p()
|
| D | xfs_dir2_block.c | 918 if (be16_to_cpu(bestsp[be32_to_cpu(ltp->bestcount) - 1]) == in xfs_dir2_leaf_to_block() 922 (xfs_dir2_db_t)(be32_to_cpu(ltp->bestcount) - 1)))) in xfs_dir2_leaf_to_block()
|
| D | xfs_dir2_node.c | 154 ASSERT(be32_to_cpu(ltp->bestcount) <= (uint)dp->i_d.di_size / mp->m_dirblksize); in xfs_dir2_leaf_to_node() 155 free->hdr.nvalid = ltp->bestcount; in xfs_dir2_leaf_to_node() 161 i < be32_to_cpu(ltp->bestcount); i++, from++, to++) { in xfs_dir2_leaf_to_node()
|
| D | xfsidbg.c | 5981 for (j = 0; j < INT_GET(t->bestcount, ARCH_CONVERT); j++, b++) { in xfs_dir2leaf() 5986 kdb_printf("tail bestcount %d\n", INT_GET(t->bestcount, ARCH_CONVERT)); in xfs_dir2leaf()
|