Home
last modified time | relevance | path

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

12

/external/ltp/testcases/kernel/fs/ftest/
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 …]
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 …]
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 …]
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 …]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_vs_llvm.c103 vs->base.info.file_max[TGSI_FILE_INPUT]+1, in draw_create_vs_llvm()
104 MAX2(vs->base.info.file_max[TGSI_FILE_SAMPLER]+1, in draw_create_vs_llvm()
105 vs->base.info.file_max[TGSI_FILE_SAMPLER_VIEW]+1)); in draw_create_vs_llvm()
Ddraw_llvm.c1993 key->nr_samplers = llvm->draw->vs.vertex_shader->info.file_max[TGSI_FILE_SAMPLER] + 1; in draw_llvm_make_variant_key()
1994 if (llvm->draw->vs.vertex_shader->info.file_max[TGSI_FILE_SAMPLER_VIEW] != -1) { in draw_llvm_make_variant_key()
1996 llvm->draw->vs.vertex_shader->info.file_max[TGSI_FILE_SAMPLER_VIEW] + 1; in draw_llvm_make_variant_key()
2014 llvm->draw->vs.vertex_shader->info.file_max[TGSI_FILE_INPUT] + 1; in draw_llvm_make_variant_key()
2457 key->nr_samplers = llvm->draw->gs.geometry_shader->info.file_max[TGSI_FILE_SAMPLER] + 1; in draw_gs_llvm_make_variant_key()
2458 if (llvm->draw->gs.geometry_shader->info.file_max[TGSI_FILE_SAMPLER_VIEW] != -1) { in draw_gs_llvm_make_variant_key()
2460 llvm->draw->gs.geometry_shader->info.file_max[TGSI_FILE_SAMPLER_VIEW] + 1; in draw_gs_llvm_make_variant_key()
Ddraw_gs.c833 MAX2(gs->info.file_max[TGSI_FILE_SAMPLER]+1, in draw_create_geometry_shader()
834 gs->info.file_max[TGSI_FILE_SAMPLER_VIEW]+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/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi.c192 emit.imm_start = emit.info.file_max[TGSI_FILE_CONSTANT] + 1; in svga_tgsi_vgpu9_translate()
202 (emit.imm_start + emit.info.file_max[TGSI_FILE_IMMEDIATE] + 1); in svga_tgsi_vgpu9_translate()
204 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.c224 state->max_sampler = state->draw_data->info.file_max[TGSI_FILE_SAMPLER]; in softpipe_create_vs_state()
293 state->max_sampler = state->draw_data->info.file_max[TGSI_FILE_SAMPLER]; in softpipe_create_gs_state()
402 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/gallium/auxiliary/tgsi/
Dtgsi_scan.c597 info->file_max[file] = MAX2(info->file_max[file], (int)reg); in scan_declaration()
778 info->file_max[file] = MAX2(info->file_max[file], (int)reg); in scan_immediate()
820 info->file_max[i] = -1; in tgsi_scan_shader()
882 info->file_max[TGSI_FILE_INPUT] = in tgsi_scan_shader()
883 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
Dtgsi_lowering.c1175 inbase = info->file_max[TGSI_FILE_INPUT] + 1; in emit_twoside()
1176 tmpbase = info->file_max[TGSI_FILE_TEMPORARY] + 1; in emit_twoside()
1259 tmpbase = info->file_max[TGSI_FILE_TEMPORARY] + 1; in emit_decls()
1455 for (i = 0; i <= info->file_max[TGSI_FILE_INPUT]; i++) { in tgsi_transform_lowering()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_bitmap_shader.c70 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/gallivm/
Dlp_bld_tgsi.c358 assert(reg->Register.Index <= bld_base->info->file_max[reg->Register.File]); in lp_build_emit_fetch_src()
473 assert(off->Index <= bld_base->info->file_max[off->File]); in lp_build_emit_fetch_texoffset()
Dlp_bld_tgsi_soa.c854 assert(index <= bld->bld_base.info->file_max[file]); in get_file_ptr()
899 bld->bld_base.info->file_max[TGSI_FILE_OUTPUT] + 1); in gather_outputs()
1099 bld->bld_base.info->file_max[reg_file]); in get_indirect_index()
1780 bld_base->info->file_max[reg->Register.File]); in emit_store_chan()
2757 int max_index = info->file_max[file]; in emit_dump_file()
2839 assert(last <= bld->bld_base.info->file_max[decl->Declaration.File]); in lp_emit_declaration_soa()
3650 bld_base->info->file_max[TGSI_FILE_TEMPORARY] * 4 + 4); in emit_prologue()
3659 bld_base->info->file_max[TGSI_FILE_OUTPUT] * 4 + 4); in emit_prologue()
3668 bld_base->info->file_max[TGSI_FILE_IMMEDIATE] * 4 + 4); in emit_prologue()
3680 bld_base->info->file_max[TGSI_FILE_INPUT]*4 + 4); in emit_prologue()
[all …]
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_tgsi_setup.c281 range.Last = bld_base->info->file_max[File]; in get_array_range()
500 assert(index <= ctx->bld_base.info->file_max[TGSI_FILE_OUTPUT]); in get_output_ptr()
704 ctx->temps_count = bld_base->info->file_max[TGSI_FILE_TEMPORARY] + 1; in emit_declaration()
1136 if (info->file_max[TGSI_FILE_IMMEDIATE] >= 0) { in si_llvm_context_set_tgsi()
1137 int size = info->file_max[TGSI_FILE_IMMEDIATE] + 1; in si_llvm_context_set_tgsi()
/external/mesa3d/src/gallium/auxiliary/nir/
Dtgsi_to_nir.c1925 s->num_inputs = scan.file_max[TGSI_FILE_INPUT] + 1; in tgsi_to_nir()
1927 s->num_outputs = scan.file_max[TGSI_FILE_OUTPUT] + 1; in tgsi_to_nir()
1930 scan.file_max[TGSI_FILE_OUTPUT] + 1); in tgsi_to_nir()
1932 scan.file_max[TGSI_FILE_TEMPORARY] + 1); in tgsi_to_nir()
1934 scan.file_max[TGSI_FILE_IMMEDIATE] + 1); in tgsi_to_nir()
1936 c->num_samp_types = scan.file_max[TGSI_FILE_SAMPLER_VIEW] + 1; in tgsi_to_nir()
/external/mesa3d/src/gallium/auxiliary/util/
Du_pstipple.c309 if (pctx->info.file_max[TGSI_FILE_SAMPLER_VIEW] != -1) { in pstip_transform_prolog()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_tgsi_to_rc.c315 for(i = 0; i <= ttr->info->file_max[TGSI_FILE_CONSTANT]; ++i) { in r300_tgsi_to_rc()
/external/mesa3d/src/gallium/drivers/swr/
Dswr_shader.cpp82 key.nr_samplers = info.base.file_max[TGSI_FILE_SAMPLER] + 1; in swr_generate_sampler_key()
97 if (info.base.file_max[TGSI_FILE_SAMPLER_VIEW] != -1) { in swr_generate_sampler_key()
99 info.base.file_max[TGSI_FILE_SAMPLER_VIEW] + 1; in swr_generate_sampler_key()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_fs.c2927 nr_samplers = shader->info.base.file_max[TGSI_FILE_SAMPLER] + 1; in llvmpipe_create_fs_state()
2928 nr_sampler_views = shader->info.base.file_max[TGSI_FILE_SAMPLER_VIEW] + 1; in llvmpipe_create_fs_state()
3309 key->nr_samplers = shader->info.base.file_max[TGSI_FILE_SAMPLER] + 1; in make_variant_key()
3323 if (shader->info.base.file_max[TGSI_FILE_SAMPLER_VIEW] != -1) { in make_variant_key()
3324 key->nr_sampler_views = shader->info.base.file_max[TGSI_FILE_SAMPLER_VIEW] + 1; in make_variant_key()

12