Home
last modified time | relevance | path

Searched refs:vec_size (Results 1 - 25 of 25) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/mincore/
H A Dmincore_selftest.c191 int vec_size; in TEST() local
200 vec_size = FILE_SIZE / page_size; in TEST()
202 vec_size++; in TEST()
204 vec = calloc(vec_size, sizeof(unsigned char)); in TEST()
239 for (i = 0; i < vec_size; i++) { in TEST()
257 while (i < vec_size && vec[i]) { in TEST()
265 EXPECT_LT(i, vec_size) { in TEST()
272 if (i < vec_size) { in TEST()
273 while (i < vec_size && !vec[i]) in TEST()
275 EXPECT_EQ(vec_size, in TEST()
296 int vec_size; TEST() local
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/mincore/
H A Dmincore_selftest.c190 int vec_size; in TEST() local
199 vec_size = FILE_SIZE / page_size; in TEST()
201 vec_size++; in TEST()
203 vec = calloc(vec_size, sizeof(unsigned char)); in TEST()
238 for (i = 0; i < vec_size; i++) { in TEST()
256 while (i < vec_size && vec[i]) { in TEST()
264 EXPECT_LT(i, vec_size) { in TEST()
271 if (i < vec_size) { in TEST()
272 while (i < vec_size && !vec[i]) in TEST()
274 EXPECT_EQ(vec_size, in TEST()
295 int vec_size; TEST() local
[all...]
/third_party/skia/third_party/externals/tint/src/transform/
H A Dfold_constants.cc61 uint32_t vec_size = static_cast<uint32_t>(vec->Width()); in Run()
67 // vec3<f32> = vec3<f32>(vec2<f32>, 1.0) // vec_size=3, ctor_size=2 in Run()
70 // create it with 3. So what we do is construct with vec_size args, in Run()
73 uint32_t ctor_size = (call->Arguments().size() == 1) ? 1 : vec_size; in Run()
82 return ctx.dst->vec(el_ty, vec_size, ctors); in Run()
/kernel/linux/linux-5.10/drivers/bus/mhi/host/
H A Dboot.c330 size_t vec_size = seg_size; in mhi_alloc_bhie_table() local
334 vec_size = sizeof(struct bhi_vec_entry) * i; in mhi_alloc_bhie_table()
336 mhi_buf->len = vec_size; in mhi_alloc_bhie_table()
337 mhi_buf->buf = mhi_alloc_coherent(mhi_cntrl, vec_size, in mhi_alloc_bhie_table()
/kernel/linux/linux-6.6/drivers/bus/mhi/host/
H A Dboot.c336 size_t vec_size = seg_size; in mhi_alloc_bhie_table() local
340 vec_size = sizeof(struct bhi_vec_entry) * i; in mhi_alloc_bhie_table()
342 mhi_buf->len = vec_size; in mhi_alloc_bhie_table()
344 vec_size, &mhi_buf->dma_addr, in mhi_alloc_bhie_table()
/kernel/linux/linux-5.10/arch/mips/kernel/
H A Dtraps.c2363 unsigned long i, vec_size; in trap_init() local
2371 vec_size = 0x400; in trap_init()
2373 memblock_reserve(ebase_pa, vec_size); in trap_init()
2376 vec_size = 0x200 + VECTORSPACING*64; in trap_init()
2378 vec_size = PAGE_SIZE; in trap_init()
2380 ebase_pa = memblock_phys_alloc(vec_size, 1 << fls(vec_size)); in trap_init()
2383 __func__, vec_size, 1 << fls(vec_size)); in trap_init()
2537 local_flush_icache_range(ebase, ebase + vec_size); in trap_init()
[all...]
/kernel/linux/linux-6.6/arch/mips/kernel/
H A Dtraps.c2363 unsigned long i, vec_size; in trap_init() local
2370 vec_size = 0x400; in trap_init()
2373 vec_size = 0x200 + VECTORSPACING*64; in trap_init()
2375 vec_size = PAGE_SIZE; in trap_init()
2377 ebase_pa = memblock_phys_alloc(vec_size, 1 << fls(vec_size)); in trap_init()
2380 __func__, vec_size, 1 << fls(vec_size)); in trap_init()
2534 local_flush_icache_range(ebase, ebase + vec_size); in trap_init()
/third_party/mesa3d/src/compiler/nir/
H A Dnir_lower_io_to_vector.c638 unsigned vec_size = glsl_get_vector_elements(var->type); in nir_vectorize_tess_levels_impl() local
646 intrin->num_components = vec_size; in nir_vectorize_tess_levels_impl()
649 if (index >= vec_size) { in nir_vectorize_tess_levels_impl()
/third_party/skia/third_party/externals/tint/src/reader/spirv/
H A Dfunction_glsl_std_450_test.cc941 uint32_t vec_size; member
957 (param.vec_size == 2 ? " %v2f1" : " %v4f1") + R"( in TEST_P()
968 std::to_string(param.vec_size) + "f1);")) in TEST_P()
987 %1 = OpExtInst )" + (param.vec_size == 2 ? "%v2float" : "%v4float") + in TEST_P()
999 std::string(param.vec_size == 2 ? "vec2<f32>" in TEST_P()
/third_party/ffmpeg/libavcodec/
H A Dmss3.c474 int vec_size; in decode_image_block() local
479 vec_size = rac_get_model_sym(c, &ic->vec_size_model) + 2; in decode_image_block()
480 for (i = 0; i < vec_size; i++) in decode_image_block()
H A Dmss4.c296 int vec_size, int component, int shift, int *prev) in get_value_cached()
298 if (vec_pos < vec_size) in get_value_cached()
295 get_value_cached(GetBitContext *gb, int vec_pos, uint8_t *vec, int vec_size, int component, int shift, int *prev) get_value_cached() argument
/third_party/mesa3d/src/compiler/glsl/
H A Dserialize.cpp482 unsigned vec_size = in write_uniforms() local
489 sizeof(union gl_constant_value) * vec_size); in write_uniforms()
552 unsigned vec_size = in read_uniforms() local
560 sizeof(union gl_constant_value) * vec_size); in read_uniforms()
562 assert(vec_size + prog->data->UniformStorage[i].storage <= in read_uniforms()
/kernel/linux/linux-5.10/drivers/md/
H A Ddm-bufio.c623 unsigned vec_size, len; in use_bio() local
625 vec_size = b->c->block_size >> PAGE_SHIFT; in use_bio()
627 vec_size += 2; in use_bio()
629 bio = bio_kmalloc(GFP_NOWAIT | __GFP_NORETRY | __GFP_NOWARN, vec_size); in use_bio()
/third_party/mesa3d/src/broadcom/vulkan/
H A Dv3dvx_pipeline.c594 /* vec_size == 0 means 4 */ in pack_shader_state_attribute_record()
595 attr.vec_size = desc->nr_channels & 3; in pack_shader_state_attribute_record()
H A Dv3dvx_cmd_buffer.c2079 attr.vec_size = 1; in cmd_buffer_emit_gl_shader_state()
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_nir_to_llvm.c365 unsigned vec_size = LLVMGetVectorSize(LLVMTypeOf(value)); in radv_fixup_vertex_input_fetches() local
367 if (num_channels == 4 && num_channels == vec_size) in radv_fixup_vertex_input_fetches()
370 num_channels = MIN2(num_channels, vec_size); in radv_fixup_vertex_input_fetches()
/third_party/skia/third_party/externals/tint/src/resolver/
H A Dresolver_test.cc1629 uint32_t vec_size = std::get<1>(GetParam()); in TEST_P() local
1639 lhs_type = ty.vec<f32>(vec_size); in TEST_P()
1642 is_valid_expr = vec_size == mat_rows; in TEST_P()
1645 rhs_type = ty.vec<f32>(vec_size); in TEST_P()
1647 is_valid_expr = vec_size == mat_cols; in TEST_P()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
H A Dgen_builtin_symbols.py1124 def specific_type(self, vec_size):
1130 type['primarySize'] = vec_size
/third_party/mesa3d/src/amd/llvm/
H A Dac_llvm_build.c632 unsigned vec_size = LLVMGetVectorSize(LLVMTypeOf(value)); in ac_build_expand() local
634 if (src_channels == dst_channels && vec_size == dst_channels) in ac_build_expand()
637 src_channels = MIN2(src_channels, vec_size); in ac_build_expand()
2594 unsigned vec_size = LLVMGetVectorSize(type); in ac_const_uint_vec() local
2595 LLVMValueRef *scalars = alloca(vec_size * sizeof(LLVMValueRef)); in ac_const_uint_vec()
2597 for (unsigned i = 0; i < vec_size; i++) in ac_const_uint_vec()
2599 return LLVMConstVector(scalars, vec_size); in ac_const_uint_vec()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
H A Dice_flex_pipe.c3281 u16 vec_size = hw->blk[blk].es.fvw * sizeof(struct ice_fv_word); in ice_prof_bld_es() local
3293 vec_size - in ice_prof_bld_es()
3302 memcpy(p->es, &hw->blk[blk].es.t[off], vec_size); in ice_prof_bld_es()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/
H A Dice_flex_pipe.c2462 u16 vec_size = hw->blk[blk].es.fvw * sizeof(struct ice_fv_word); in ice_prof_bld_es() local
2474 vec_size - in ice_prof_bld_es()
2483 memcpy(p->es, &hw->blk[blk].es.t[off], vec_size); in ice_prof_bld_es()
/third_party/mesa3d/src/gallium/drivers/v3d/
H A Dv3dx_state.c364 /* vec_size == 0 means 4 */ in v3d_vertex_state_create()
365 attr.vec_size = desc->nr_channels & 3; in v3d_vertex_state_create()
H A Dv3dx_draw.c786 attr.vec_size = 1; in v3d_emit_gl_shader_state()
/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
H A Dnir_to_spirv.c1634 unsigned vec_size = glsl_get_vector_elements(out_type); in emit_so_outputs() local
1635 SpvId vec_type = get_fvec_type(ctx, glsl_get_bit_size(out_type), vec_size); in emit_so_outputs()
1636 if (glsl_type_is_64bit(out_type) && vec_size > 2) { in emit_so_outputs()
/third_party/skia/third_party/externals/tint/src/writer/spirv/
H A Dbuilder.cc1464 size_t vec_size = init_result_type->As<sem::Vector>()->Width(); in GenerateTypeConstructorOrConversion() local
1465 for (size_t i = 0; i < (vec_size - 1); ++i) { in GenerateTypeConstructorOrConversion()

Completed in 63 milliseconds