Home
last modified time | relevance | path

Searched refs:file_max (Results 1 – 25 of 38) sorted by relevance

12

/external/ltp/testcases/kernel/fs/ftest/
Dftest05.c249 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 …]
Dftest01.c248 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 …]
Dftest03.c268 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 …]
Dftest07.c265 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/
Ddraw_vs_llvm.c118 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()
Ddraw_tess.c462 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()
Ddraw_llvm.c2379 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 …]
Ddraw_gs.c899 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/
Dtgsi_scan.c63 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()
Dtgsi_scan.h65 int file_max[TGSI_FILE_COUNT]; /**< highest index of declared registers */ member
/external/igt-gpu-tools/tests/i915/
Dgem_exec_alignment.c53 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/
Dsvga_tgsi.c193 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/
Dsp_state_shader.c134 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()
Dsp_state_derived.c309 softpipe->fs_variant->info.file_max[TGSI_FILE_SAMPLER]); in update_tgsi_samplers()
/external/mesa3d/src/mesa/state_tracker/
Dst_tgsi_lower_depth_clamp.c91 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()
Dst_cb_bitmap_shader.c69 if (ctx->info.file_max[TGSI_FILE_TEMPORARY] == -1) { in transform_instr()
Dst_cb_drawpixels_shader.c103 ctx->color_temp = ctx->info.file_max[TGSI_FILE_TEMPORARY] + 1; in transform_instr()
/external/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi_info.c580 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()
Dtgsi_to_nir.c2319 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/
Dtgsi_scan.c642 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()
Dtgsi_scan.h67 int file_max[TGSI_FILE_COUNT]; /**< highest index of declared registers */ member
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi_soa.c478 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 …]
Dlp_bld_tgsi.c367 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/
Dlp_state_cs.c467 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/
Du_pstipple.c309 if (pctx->info.file_max[TGSI_FILE_SAMPLER_VIEW] != -1) { in pstip_transform_prolog()

12