Home
last modified time | relevance | path

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

/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_link_uniform_blocks.c219 unsigned *num_blks = block_type == BLOCK_SSBO ? &prog->data->NumShaderStorageBlocks : in nir_interstage_cross_validate_uniform_blocks() local
257 num_blks, sh_blks[j]); in nir_interstage_cross_validate_uniform_blocks()
272 *num_blks = 0; in nir_interstage_cross_validate_uniform_blocks()
283 for (unsigned j = 0; j < *num_blks; j++) { in nir_interstage_cross_validate_uniform_blocks()
306 prog->data->NumUniformBlocks = *num_blks; in nir_interstage_cross_validate_uniform_blocks()
Dlink_uniforms.cpp752 unsigned num_blks = var->is_in_shader_storage_block() ? in set_and_process() local
760 for (unsigned i = 0; i < num_blks; i++) { in set_and_process()
768 for (unsigned i = 0; i < num_blks; i++) { in set_and_process()
Dlinker.cpp1238 unsigned *num_blks = validate_ssbo ? &prog->data->NumShaderStorageBlocks : in interstage_cross_validate_uniform_blocks() local
1277 num_blks, sh_blks[j]); in interstage_cross_validate_uniform_blocks()
1291 *num_blks = 0; in interstage_cross_validate_uniform_blocks()
1303 for (unsigned j = 0; j < *num_blks; j++) { in interstage_cross_validate_uniform_blocks()
Dgl_nir_link_uniforms.c1000 ASSERTED unsigned num_blks = nir_variable_is_in_ubo(var) ? in find_and_update_previous_uniform_storage() local
1016 assert(block_index < num_blks); in find_and_update_previous_uniform_storage()
/third_party/e2fsprogs/misc/
De2freefrag.c125 unsigned long long blk, num_blks; in scan_block_bitmap() local
130 num_blks = blocks_count - chunk_start_blk; in scan_block_bitmap()
132 num_blks = info->blks_in_chunk; in scan_block_bitmap()
139 for (blk = 0; blk < num_blks; blk++, chunk_start_blk++) { in scan_block_bitmap()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/util/
Darena.cc38 uint64_t num_blks = size_in_bytes_ / ARENA_BLK_SZ; in ArenaImpl() local
39 …MS_LOG(DEBUG) << "Arena memory pool is created. Number of blocks : " << num_blks << ". Block size … in ArenaImpl()
41 tr_.Insert(0, num_blks); in ArenaImpl()
/third_party/e2fsprogs/e2fsck/
Drecovery.c392 int i, num_blks, err; in calc_chksums() local
396 num_blks = count_tags(journal, bh); in calc_chksums()
400 for (i = 0; i < num_blks; i++) { in calc_chksums()
/third_party/ltp/testcases/kernel/fs/scsi/ltpscsi/
Dscsimain.c251 int num_blks; member
6844 rep->num_blks = blocks; in read_write_thread()
6938 memset(rep->buffp, 0, rep->num_blks * rep->bs); in normal_in_operation()
6942 rep->num_blks * rep->bs, strerror(errno)); in normal_in_operation()
6943 res = rep->num_blks * clp->bs; in normal_in_operation()
6963 rep->num_blks = blocks; in normal_in_operation()
6977 rep->num_blks * clp->bs)) < 0) in normal_out_operation()
6983 rep->num_blks * rep->bs, strerror(errno)); in normal_out_operation()
6984 res = rep->num_blks * clp->bs; in normal_out_operation()
6999 rep->num_blks = blocks; in normal_out_operation()
[all …]