Home
last modified time | relevance | path

Searched refs:blockbits (Results 1 – 5 of 5) sorted by relevance

/external/fsverity-utils/
Dcmd_setup.c67 static void compute_tree_layout(u64 data_size, u64 tree_offset, int blockbits, in compute_tree_layout() argument
72 u64 blocks = data_size >> blockbits; in compute_tree_layout()
73 u64 offset = tree_offset >> blockbits; in compute_tree_layout()
78 ASSERT(data_size % (1 << blockbits) == 0); in compute_tree_layout()
79 ASSERT(tree_offset % (1 << blockbits) == 0); in compute_tree_layout()
94 *tree_end_ret = offset << blockbits; in compute_tree_layout()
129 compute_tree_layout(data_size, tree_offset, params->blockbits, in build_merkle_tree()
137 nr_hashes_at_this_lvl = data_size >> params->blockbits; in build_merkle_tree()
164 blk_idx << params->blockbits)) in build_merkle_tree()
191 blk_idx << params->blockbits)) in build_merkle_tree()
[all …]
Dfsveritysetup.h12 int blockbits; /* ilog2(blocksize) */ member
/external/toybox/toys/pending/
Dmke2fs.c94 unsigned blockbits; // Bits per block. (Also blocks per group.)
393 sb->blocks_per_group = sb->frags_per_group = SWAP_LE32(TT.blockbits); in init_superblock()
508 int i, group = TT.nextblock/TT.blockbits; in fill_inode()
571 TT.blockbits = 8*TT.blocksize; in mke2fs_main()
609 if (!TT.blocks) TT.groups = (TT.treeblocks/TT.blockbits)+1; in mke2fs_main()
610 else TT.groups = div_round_up(TT.blocks, TT.blockbits); in mke2fs_main()
621 if (temp <= TT.groups * TT.blockbits) { in mke2fs_main()
644 end = TT.blockbits; in mke2fs_main()
645 if ((i+1)*TT.blockbits > TT.blocks) end = TT.blocks & (TT.blockbits-1); in mke2fs_main()
703 used += j*TT.blockbits; in mke2fs_main()
[all …]
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_format_soa.c120 unsigned blockbits, in lp_build_extract_soa_chan() argument
152 if (stop < blockbits) { in lp_build_extract_soa_chan()
652 unsigned blockbits = type.width; in lp_build_fetch_rgba_soa() local
663 blockbits, in lp_build_fetch_rgba_soa()
/external/toybox/generated/
Dglobals.h722 unsigned blockbits; // Bits per block. (Also blocks per group.) member