Home
last modified time | relevance | path

Searched refs:nr_blocks (Results 1 – 7 of 7) sorted by relevance

/external/fio/
Dsmalloc.c42 size_t nr_blocks; /* total blocks */ member
91 unsigned int pool_size = pool->nr_blocks * SMALLOC_BPL; in ptr_valid()
102 unsigned int idx, size_t nr_blocks, in blocks_iter() argument
106 while (nr_blocks) { in blocks_iter()
110 if (pool_idx >= pool->nr_blocks) in blocks_iter()
115 this_blocks = nr_blocks; in blocks_iter()
129 nr_blocks -= this_blocks; in blocks_iter()
157 unsigned int idx, size_t nr_blocks) in blocks_free() argument
159 return blocks_iter(pool, pool_idx, idx, nr_blocks, mask_cmp); in blocks_free()
163 unsigned int idx, size_t nr_blocks) in set_blocks() argument
[all …]
Dio_u.c40 unsigned int nr_blocks; in mark_random_map() local
44 nr_blocks = (io_u->buflen + min_bs - 1) / min_bs; in mark_random_map()
47 nr_blocks = axmap_set_nr(f->io_axmap, block, nr_blocks); in mark_random_map()
49 if ((nr_blocks * min_bs) < io_u->buflen) in mark_random_map()
50 io_u->buflen = nr_blocks * min_bs; in mark_random_map()
1397 unsigned int i, nr_blocks = io_u->buflen / 512; in small_content_scramble() local
1402 if (!nr_blocks) in small_content_scramble()
1409 for (i = 0; i < nr_blocks; i++) { in small_content_scramble()
/external/fio/engines/
Dsg.c209 int nr_blocks, lba; in fio_sgio_prep() local
234 nr_blocks = io_u->xfer_buflen / sd->bs; in fio_sgio_prep()
240 hdr->cmdp[7] = (unsigned char) ((nr_blocks >> 8) & 0xff); in fio_sgio_prep()
241 hdr->cmdp[8] = (unsigned char) (nr_blocks & 0xff); in fio_sgio_prep()
/external/mesa3d/src/mesa/tnl/
Dt_draw.c47 tnl->block[tnl->nr_blocks++] = space; in get_space()
56 for (i = 0; i < tnl->nr_blocks; i++) in free_space()
58 tnl->nr_blocks = 0; in free_space()
Dt_context.c82 tnl->nr_blocks = 0; in _tnl_CreateContext()
Dt_context.h532 GLuint nr_blocks; member
/external/e2fsprogs/lib/ext2fs/
Dsparse_io.c67 unsigned int block, unsigned int nr_blocks) in sparse_import_segment() argument
72 if (!nr_blocks || len % sm->block_size) in sparse_import_segment()
75 return sparse_write_blk(sm->channel, block, nr_blocks, data); in sparse_import_segment()