/external/ltp/testcases/kernel/fs/ftest/ |
D | ftest05.c | 249 int file_max; /* file-max size */ variable 319 file_max = 0; in dotest() 347 if (CHUNK(chunk) >= file_max) { in dotest() 360 xfr, file_max, zero_buf[0]); in dotest() 391 xfr, file_max); in dotest() 431 if (CHUNK(chunk) + csize > file_max) in dotest() 432 file_max = CHUNK(chunk) + csize; in dotest() 478 chunk = rand() % (file_max / csize); in domisc() 479 file_max = CHUNK(chunk); in domisc() 480 last_trunc = file_max; in domisc() [all …]
|
D | ftest01.c | 248 int file_max; /* file-max size */ variable 324 file_max = 0; in dotest() 353 if (CHUNK(chunk) >= file_max) { in dotest() 368 xfr, file_max, zero_buf[0]); in dotest() 401 xfr, file_max); in dotest() 442 if (CHUNK(chunk) + csize > file_max) in dotest() 443 file_max = CHUNK(chunk) + csize; in dotest() 488 chunk = rand() % (file_max / csize); in domisc() 489 file_max = CHUNK(chunk); in domisc() 490 last_trunc = file_max; in domisc() [all …]
|
D | ftest03.c | 268 int file_max; /* file-max size */ variable 375 file_max = 0; in dotest() 414 if (CHUNK(chunk) >= file_max) { in dotest() 432 count, xfr, file_max); in dotest() 470 count, xfr, file_max); in dotest() 514 if (CHUNK(chunk) + csize > file_max) in dotest() 515 file_max = CHUNK(chunk) + csize; in dotest() 562 chunk = rand() % (file_max / csize); in domisc() 563 file_max = CHUNK(chunk); in domisc() 564 last_trunc = file_max; in domisc() [all …]
|
D | ftest07.c | 265 long long unsigned int file_max; /* file-max size */ variable 372 file_max = 0; in dotest() 409 if (CHUNK(chunk) >= file_max) { in dotest() 427 count, xfr, file_max); in dotest() 465 count, xfr, file_max); in dotest() 509 if (CHUNK(chunk) + csize > file_max) in dotest() 510 file_max = CHUNK(chunk) + csize; in dotest() 556 chunk = rand() % (file_max / csize); in domisc() 557 file_max = CHUNK(chunk); in domisc() 558 last_trunc = file_max; in domisc() [all …]
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_vs_llvm.c | 118 vs->base.info.file_max[TGSI_FILE_INPUT]+1, in draw_create_vs_llvm() 119 MAX2(vs->base.info.file_max[TGSI_FILE_SAMPLER]+1, in draw_create_vs_llvm() 120 vs->base.info.file_max[TGSI_FILE_SAMPLER_VIEW]+1), in draw_create_vs_llvm() 121 vs->base.info.file_max[TGSI_FILE_IMAGE]+1); in draw_create_vs_llvm()
|
D | draw_tess.c | 462 MAX2(tcs->info.file_max[TGSI_FILE_SAMPLER]+1, in draw_create_tess_ctrl_shader() 463 tcs->info.file_max[TGSI_FILE_SAMPLER_VIEW]+1), in draw_create_tess_ctrl_shader() 464 tcs->info.file_max[TGSI_FILE_IMAGE]+1); in draw_create_tess_ctrl_shader() 582 MAX2(tes->info.file_max[TGSI_FILE_SAMPLER]+1, in draw_create_tess_eval_shader() 583 tes->info.file_max[TGSI_FILE_SAMPLER_VIEW]+1), in draw_create_tess_eval_shader() 584 tes->info.file_max[TGSI_FILE_IMAGE]+1); in draw_create_tess_eval_shader()
|
D | draw_llvm.c | 2379 key->nr_samplers = llvm->draw->vs.vertex_shader->info.file_max[TGSI_FILE_SAMPLER] + 1; in draw_llvm_make_variant_key() 2380 if (llvm->draw->vs.vertex_shader->info.file_max[TGSI_FILE_SAMPLER_VIEW] != -1) { in draw_llvm_make_variant_key() 2382 llvm->draw->vs.vertex_shader->info.file_max[TGSI_FILE_SAMPLER_VIEW] + 1; in draw_llvm_make_variant_key() 2388 key->nr_images = llvm->draw->vs.vertex_shader->info.file_max[TGSI_FILE_IMAGE] + 1; in draw_llvm_make_variant_key() 2402 llvm->draw->vs.vertex_shader->info.file_max[TGSI_FILE_INPUT] + 1; in draw_llvm_make_variant_key() 2993 key->nr_samplers = llvm->draw->gs.geometry_shader->info.file_max[TGSI_FILE_SAMPLER] + 1; in draw_gs_llvm_make_variant_key() 2994 if (llvm->draw->gs.geometry_shader->info.file_max[TGSI_FILE_SAMPLER_VIEW] != -1) { in draw_gs_llvm_make_variant_key() 2996 llvm->draw->gs.geometry_shader->info.file_max[TGSI_FILE_SAMPLER_VIEW] + 1; in draw_gs_llvm_make_variant_key() 3002 key->nr_images = llvm->draw->gs.geometry_shader->info.file_max[TGSI_FILE_IMAGE] + 1; in draw_gs_llvm_make_variant_key() 3642 key->nr_samplers = llvm->draw->tcs.tess_ctrl_shader->info.file_max[TGSI_FILE_SAMPLER] + 1; in draw_tcs_llvm_make_variant_key() [all …]
|
D | draw_gs.c | 899 MAX2(gs->info.file_max[TGSI_FILE_SAMPLER]+1, in draw_create_geometry_shader() 900 gs->info.file_max[TGSI_FILE_SAMPLER_VIEW]+1), in draw_create_geometry_shader() 901 gs->info.file_max[TGSI_FILE_IMAGE]+1); in draw_create_geometry_shader()
|
/external/virglrenderer/src/gallium/auxiliary/tgsi/ |
D | tgsi_scan.c | 63 info->file_max[i] = -1; in tgsi_scan_shader() 272 info->file_max[file] = MAX2(info->file_max[file], (int)reg); in tgsi_scan_shader() 422 info->file_max[file] = MAX2(info->file_max[file], (int)reg); in tgsi_scan_shader() 466 info->file_max[TGSI_FILE_INPUT] = in tgsi_scan_shader() 467 MAX2(info->file_max[TGSI_FILE_INPUT], num_verts - 1); in tgsi_scan_shader()
|
D | tgsi_scan.h | 65 int file_max[TGSI_FILE_COUNT]; /**< highest index of declared registers */ member
|
/external/igt-gpu-tools/tests/i915/ |
D | gem_exec_alignment.c | 53 static uint32_t file_max(void) in file_max() function 82 if (count > file_max()) /* vfs cap */ in many() 83 count = file_max(); in many()
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_tgsi.c | 193 emit.imm_start = emit.info.file_max[TGSI_FILE_CONSTANT] + 1; in svga_tgsi_vgpu9_translate() 203 (emit.imm_start + emit.info.file_max[TGSI_FILE_IMMEDIATE] + 1); in svga_tgsi_vgpu9_translate() 205 emit.nr_hw_temp = emit.info.file_max[TGSI_FILE_TEMPORARY] + 1; in svga_tgsi_vgpu9_translate()
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_state_shader.c | 134 info.file_max[TGSI_FILE_TEMPORARY] + 1, in softpipe_shader_db() 135 info.file_max[TGSI_FILE_CONSTANT] + 1, in softpipe_shader_db() 272 state->max_sampler = state->draw_data->info.file_max[TGSI_FILE_SAMPLER]; in softpipe_create_vs_state() 333 state->max_sampler = state->draw_data->info.file_max[TGSI_FILE_SAMPLER]; in softpipe_create_gs_state() 450 state->max_sampler = state->info.file_max[TGSI_FILE_SAMPLER]; in softpipe_create_compute_state()
|
D | sp_state_derived.c | 309 softpipe->fs_variant->info.file_max[TGSI_FILE_SAMPLER]); in update_tgsi_samplers()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_tgsi_lower_depth_clamp.c | 91 ctx->pos_output_temp = ctx->info.file_max[TGSI_FILE_TEMPORARY] + 1; in prolog_common() 218 ctx->depth_range_corrected = ctx->info.file_max[TGSI_FILE_TEMPORARY] + 2; in prolog_fs() 238 ctx->pos_input_temp = ctx->info.file_max[TGSI_FILE_TEMPORARY] + 3; in prolog_fs()
|
D | st_cb_bitmap_shader.c | 69 if (ctx->info.file_max[TGSI_FILE_TEMPORARY] == -1) { in transform_instr()
|
D | st_cb_drawpixels_shader.c | 103 ctx->color_temp = ctx->info.file_max[TGSI_FILE_TEMPORARY] + 1; in transform_instr()
|
/external/mesa3d/src/gallium/auxiliary/nir/ |
D | nir_to_tgsi_info.c | 580 info->file_max[TGSI_FILE_INPUT] = info->num_inputs - 1; in nir_tgsi_scan_shader() 588 info->file_max[TGSI_FILE_INPUT] = max; in nir_tgsi_scan_shader() 803 info->file_max[TGSI_FILE_SAMPLER] = util_last_bit(info->samplers_declared) - 1; in nir_tgsi_scan_shader() 804 info->file_max[TGSI_FILE_SAMPLER_VIEW] = util_last_bit(nir->info.textures_used) - 1; in nir_tgsi_scan_shader() 807 info->file_max[TGSI_FILE_IMAGE] = util_last_bit(info->images_declared) - 1; in nir_tgsi_scan_shader()
|
D | tgsi_to_nir.c | 2319 s->num_inputs = scan.file_max[TGSI_FILE_INPUT] + 1; in ttn_compile_init() 2321 s->num_outputs = scan.file_max[TGSI_FILE_OUTPUT] + 1; in ttn_compile_init() 2391 scan.file_max[TGSI_FILE_OUTPUT] + 1); in ttn_compile_init() 2393 scan.file_max[TGSI_FILE_TEMPORARY] + 1); in ttn_compile_init() 2395 scan.file_max[TGSI_FILE_IMMEDIATE] + 1); in ttn_compile_init() 2397 c->num_samp_types = scan.file_max[TGSI_FILE_SAMPLER_VIEW] + 1; in ttn_compile_init()
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_scan.c | 642 info->file_max[file] = MAX2(info->file_max[file], (int)reg); in scan_declaration() 826 info->file_max[file] = MAX2(info->file_max[file], (int)reg); in scan_immediate() 868 info->file_max[i] = -1; in tgsi_scan_shader() 931 info->file_max[TGSI_FILE_INPUT] = in tgsi_scan_shader() 932 MAX2(info->file_max[TGSI_FILE_INPUT], num_verts - 1); in tgsi_scan_shader()
|
D | tgsi_scan.h | 67 int file_max[TGSI_FILE_COUNT]; /**< highest index of declared registers */ member
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_tgsi_soa.c | 478 assert(index <= bld->bld_base.info->file_max[file]); in get_file_ptr() 523 bld->bld_base.info->file_max[TGSI_FILE_OUTPUT] + 1); in gather_outputs() 842 bld->bld_base.info->file_max[reg->Register.File]); in emit_fetch_constant() 982 bld->bld_base.info->file_max[reg->Register.File]); in emit_fetch_immediate() 1057 bld->bld_base.info->file_max[reg->Register.File]); in emit_fetch_input() 1150 int index_limit = info->file_max[reg->Register.File]; in emit_fetch_gs_input() 1231 int index_limit = info->file_max[reg->Register.File]; in emit_fetch_tcs_input() 1334 int index_limit = info->file_max[reg->Register.File]; in emit_fetch_tes_input() 1424 bld->bld_base.info->file_max[reg->Register.File]); in emit_fetch_temporary() 1743 int index_limit = info->file_max[reg->Register.File]; in emit_store_tcs_output() [all …]
|
D | lp_bld_tgsi.c | 367 assert(reg->Register.Index <= bld_base->info->file_max[reg->Register.File]); in lp_build_emit_fetch_src() 482 assert(off->Index <= bld_base->info->file_max[off->File]); in lp_build_emit_fetch_texoffset()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_state_cs.c | 467 nr_samplers = shader->info.base.file_max[TGSI_FILE_SAMPLER] + 1; in llvmpipe_create_compute_state() 468 nr_sampler_views = shader->info.base.file_max[TGSI_FILE_SAMPLER_VIEW] + 1; in llvmpipe_create_compute_state() 469 int nr_images = shader->info.base.file_max[TGSI_FILE_IMAGE] + 1; in llvmpipe_create_compute_state() 558 key->nr_samplers = shader->info.base.file_max[TGSI_FILE_SAMPLER] + 1; in make_variant_key() 575 if (shader->info.base.file_max[TGSI_FILE_SAMPLER_VIEW] != -1) { in make_variant_key() 576 key->nr_sampler_views = shader->info.base.file_max[TGSI_FILE_SAMPLER_VIEW] + 1; in make_variant_key() 601 key->nr_images = shader->info.base.file_max[TGSI_FILE_IMAGE] + 1; in make_variant_key()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_pstipple.c | 309 if (pctx->info.file_max[TGSI_FILE_SAMPLER_VIEW] != -1) { in pstip_transform_prolog()
|