Home
last modified time | relevance | path

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

/third_party/mesa3d/src/panfrost/midgard/
Dmir_promote_uniforms.c66 unsigned nr_blocks; member
74 .nr_blocks = ctx->nir->info.num_ubos + 1, in mir_analyze_ranges()
77 res.blocks = calloc(res.nr_blocks, sizeof(struct mir_ubo_block)); in mir_analyze_ranges()
85 assert(ubo < res.nr_blocks); in mir_analyze_ranges()
103 for (signed ubo = analysis->nr_blocks - 1; ubo >= 0; --ubo) { in mir_pick_ubo()
131 printf("%u blocks\n", res->nr_blocks);
133 for (unsigned i = 0; i < res->nr_blocks; ++i) {
159 for (unsigned i = 0; i < analysis->nr_blocks; ++i) { in mir_promoteable_uniform_count()
304 assert(ubo < analysis.nr_blocks); in midgard_promote_uniforms()
/third_party/mesa3d/src/panfrost/bifrost/
Dbi_opt_push_ubo.c59 unsigned nr_blocks; member
67 .nr_blocks = ctx->nir->info.num_ubos + 1, in bi_analyze_ranges()
70 res.blocks = calloc(res.nr_blocks, sizeof(struct bi_ubo_block)); in bi_analyze_ranges()
79 assert(ubo < res.nr_blocks); in bi_analyze_ranges()
100 for (signed ubo = analysis->nr_blocks - 1; ubo >= 0; --ubo) { in bi_pick_ubo()
157 assert(ubo < analysis.nr_blocks); in bi_opt_push_ubo()
/third_party/f2fs-tools/lib/
Dlibf2fs_io.c455 size_t len, unsigned int block, unsigned int nr_blocks) in sparse_import_segment() argument
458 unsigned int block, unsigned int nr_blocks) in sparse_import_segment()
462 if (!nr_blocks || len % F2FS_BLKSIZE) in sparse_import_segment()
465 return sparse_write_blk(block, nr_blocks, data); in sparse_import_segment()
/third_party/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()
/third_party/mesa3d/src/mesa/tnl/
Dt_draw.c52 tnl->block[tnl->nr_blocks++] = space; in get_space()
61 for (GLuint i = 0; i < tnl->nr_blocks; i++) in free_space()
64 tnl->nr_blocks = 0; in free_space()
Dt_context.c87 tnl->nr_blocks = 0; in _tnl_CreateContext()
Dt_context.h569 GLuint nr_blocks; member