Searched refs:dblocks (Results 1 – 2 of 2) sorted by relevance
254 uint32_t dblocks = (uint32_t)((size+(TT.blocksize-1))/TT.blocksize); in file_blocks_used() local263 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()
761 const GLuint dblocks = (depth + bd - 1) / bd; in _mesa_format_image_size() local762 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() local790 sz = wblocks * hblocks * dblocks * info->BytesPerBlock; in _mesa_format_image_size64()