Home
last modified time | relevance | path

Searched refs:dblocks (Results 1 – 2 of 2) sorted by relevance

/external/toybox/toys/pending/
Dmke2fs.c254 uint32_t dblocks = (uint32_t)((size+(TT.blocksize-1))/TT.blocksize); in file_blocks_used() local
263 for (i=0; i<13 && i<dblocks; i++) blocklist[i] = i; in file_blocks_used()
265 if (dblocks > 13+idx) blocklist[13] = 13+idx; in file_blocks_used()
268 if (dblocks > idx) blocklist[14] = idx; in file_blocks_used()
275 if (dblocks > 12) { in file_blocks_used()
276 iblocks = ((dblocks-13)/idx)+1; in file_blocks_used()
284 return dblocks + iblocks + diblocks + tiblocks; in file_blocks_used()
/external/mesa3d/src/mesa/main/
Dformats.c761 const GLuint dblocks = (depth + bd - 1) / bd; in _mesa_format_image_size() local
762 sz = wblocks * hblocks * dblocks * info->BytesPerBlock; in _mesa_format_image_size()
789 const uint64_t dblocks = (depth + bd - 1) / bd; in _mesa_format_image_size64() local
790 sz = wblocks * hblocks * dblocks * info->BytesPerBlock; in _mesa_format_image_size64()