Home
last modified time | relevance | path

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

/external/fio/
Dsmalloc.c47 size_t nr_blocks; /* total blocks */ member
65 unsigned int pool_size = pool->nr_blocks * SMALLOC_BPL; in ptr_valid()
76 unsigned int idx, size_t nr_blocks, in blocks_iter() argument
80 while (nr_blocks) { in blocks_iter()
84 if (pool_idx >= pool->nr_blocks) in blocks_iter()
89 this_blocks = nr_blocks; in blocks_iter()
103 nr_blocks -= this_blocks; in blocks_iter()
131 unsigned int idx, size_t nr_blocks) in blocks_free() argument
133 return blocks_iter(pool, pool_idx, idx, nr_blocks, mask_cmp); in blocks_free()
137 unsigned int idx, size_t nr_blocks) in set_blocks() argument
[all …]
Dio_u.c42 unsigned int nr_blocks; in mark_random_map() local
46 nr_blocks = (io_u->buflen + min_bs - 1) / min_bs; in mark_random_map()
49 nr_blocks = axmap_set_nr(f->io_axmap, block, nr_blocks); in mark_random_map()
51 if ((nr_blocks * min_bs) < io_u->buflen) in mark_random_map()
52 io_u->buflen = nr_blocks * min_bs; in mark_random_map()
1557 unsigned int i, nr_blocks = io_u->buflen / 512; in small_content_scramble() local
1562 if (!nr_blocks) in small_content_scramble()
1569 for (i = 0; i < nr_blocks; i++) { in small_content_scramble()
/external/fio/engines/
Dsg.c271 long long nr_blocks, lba; in fio_sgio_prep() local
278 nr_blocks = io_u->xfer_buflen / sd->bs; in fio_sgio_prep()
316 hdr->cmdp[7] = (unsigned char) ((nr_blocks >> 8) & 0xff); in fio_sgio_prep()
317 hdr->cmdp[8] = (unsigned char) (nr_blocks & 0xff); in fio_sgio_prep()
327 hdr->cmdp[10] = (unsigned char) ((nr_blocks >> 32) & 0xff); in fio_sgio_prep()
328 hdr->cmdp[11] = (unsigned char) ((nr_blocks >> 16) & 0xff); in fio_sgio_prep()
329 hdr->cmdp[12] = (unsigned char) ((nr_blocks >> 8) & 0xff); in fio_sgio_prep()
330 hdr->cmdp[13] = (unsigned char) (nr_blocks & 0xff); in fio_sgio_prep()
/external/mesa3d/src/mesa/tnl/
Dt_draw.c50 tnl->block[tnl->nr_blocks++] = space; in get_space()
59 for (i = 0; i < tnl->nr_blocks; i++) in free_space()
61 tnl->nr_blocks = 0; in free_space()
Dt_context.c86 tnl->nr_blocks = 0; in _tnl_CreateContext()
Dt_context.h533 GLuint nr_blocks; member
/external/e2fsprogs/lib/ext2fs/
Dsparse_io.c71 unsigned int block, unsigned int nr_blocks) in sparse_import_segment() argument
76 if (!nr_blocks || len % sm->block_size) in sparse_import_segment()
79 return sparse_write_blk(sm->channel, block, nr_blocks, data); in sparse_import_segment()