/external/fio/engines/ |
sg.c | 271 long long nr_blocks, lba; local 278 nr_blocks = io_u->xfer_buflen / sd->bs; 316 hdr->cmdp[7] = (unsigned char) ((nr_blocks >> 8) & 0xff); 317 hdr->cmdp[8] = (unsigned char) (nr_blocks & 0xff); 327 hdr->cmdp[10] = (unsigned char) ((nr_blocks >> 32) & 0xff); 328 hdr->cmdp[11] = (unsigned char) ((nr_blocks >> 16) & 0xff); 329 hdr->cmdp[12] = (unsigned char) ((nr_blocks >> 8) & 0xff); 330 hdr->cmdp[13] = (unsigned char) (nr_blocks & 0xff);
|
/system/core/libsparse/ |
sparse.c | 205 unsigned int nr_blocks; member in struct:chunk_data 207 unsigned int nr_blocks); 214 return chk->write(chk->priv, data, len, chk->block, chk->nr_blocks); 219 unsigned int nr_blocks), 230 chk.block = chk.nr_blocks = 0; 242 chk.nr_blocks = (backed_block_len(bb) - 1) / s->block_size + 1;
|
/external/fio/ |
smalloc.c | 47 size_t nr_blocks; /* total blocks */ member in struct:pool 65 unsigned int pool_size = pool->nr_blocks * SMALLOC_BPL; 76 unsigned int idx, size_t nr_blocks, 80 while (nr_blocks) { 84 if (pool_idx >= pool->nr_blocks) 89 this_blocks = nr_blocks; 103 nr_blocks -= this_blocks; 131 unsigned int idx, size_t nr_blocks) 133 return blocks_iter(pool, pool_idx, idx, nr_blocks, mask_cmp); 137 unsigned int idx, size_t nr_blocks) 345 size_t nr_blocks; local [all...] |
io_u.c | 42 unsigned int nr_blocks; local 46 nr_blocks = (io_u->buflen + min_bs - 1) / min_bs; 49 nr_blocks = axmap_set_nr(f->io_axmap, block, nr_blocks); 51 if ((nr_blocks * min_bs) < io_u->buflen) 52 io_u->buflen = nr_blocks * min_bs; 1557 unsigned int i, nr_blocks = io_u->buflen \/ 512; local [all...] |
/external/mesa3d/src/mesa/tnl/ |
t_context.h | 533 GLuint nr_blocks; member in struct:__anon30636
|