Home
last modified time | relevance | path

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

/external/f2fs-tools/lib/
Dlibf2fs_io.c119 size_t len, unsigned int block, unsigned int nr_blocks) in sparse_import_segment() argument
122 unsigned int block, unsigned int nr_blocks) in sparse_import_segment()
126 if (!nr_blocks || len % F2FS_BLKSIZE) in sparse_import_segment()
129 return sparse_write_blk(block, nr_blocks, data); in sparse_import_segment()
/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.h532 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()
/external/u-boot/fs/fat/
Dfat_write.c30 static int disk_write(__u32 block, __u32 nr_blocks, void *buf) in disk_write() argument
37 if (cur_part_info.start + block + nr_blocks > in disk_write()
43 ret = blk_dwrite(cur_dev, cur_part_info.start + block, nr_blocks, buf); in disk_write()
44 if (nr_blocks && ret == 0) in disk_write()
Dfat.c44 static int disk_read(__u32 block, __u32 nr_blocks, void *buf) in disk_read() argument
51 ret = blk_dread(cur_dev, cur_part_info.start + block, nr_blocks, buf); in disk_read()
53 if (ret != nr_blocks) in disk_read()
/external/u-boot/fs/jffs2/
Djffs2_nand_1pass.c790 unsigned nr_blocks, sectorsize, ofs, offset; in jffs2_1pass_build_lists() local
812 nr_blocks = part->size / sectorsize; in jffs2_1pass_build_lists()
817 for (i = 0; i < nr_blocks; i++) { in jffs2_1pass_build_lists()