Home
last modified time | relevance | path

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

12

/third_party/ltp/testcases/kernel/fs/ftest/
Dftest01.c247 int file_max; /* file-max size */ variable
323 file_max = 0; in dotest()
352 if (CHUNK(chunk) >= file_max) { in dotest()
367 xfr, file_max, zero_buf[0]); in dotest()
400 xfr, file_max); in dotest()
441 if (CHUNK(chunk) + csize > file_max) in dotest()
442 file_max = CHUNK(chunk) + csize; in dotest()
487 chunk = rand() % (file_max / csize); in domisc()
488 file_max = CHUNK(chunk); in domisc()
489 last_trunc = file_max; in domisc()
[all …]
Dftest05.c248 int file_max; /* file-max size */ variable
318 file_max = 0; in dotest()
346 if (CHUNK(chunk) >= file_max) { in dotest()
359 xfr, file_max, zero_buf[0]); in dotest()
390 xfr, file_max); in dotest()
430 if (CHUNK(chunk) + csize > file_max) in dotest()
431 file_max = CHUNK(chunk) + csize; in dotest()
477 chunk = rand() % (file_max / csize); in domisc()
478 file_max = CHUNK(chunk); in domisc()
479 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 …]
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_vs_llvm.c113 vs->base.info.file_max[TGSI_FILE_INPUT]+1, in draw_create_vs_llvm()
114 vs->base.info.file_max[TGSI_FILE_SAMPLER]+1, in draw_create_vs_llvm()
115 vs->base.info.file_max[TGSI_FILE_SAMPLER_VIEW]+1, in draw_create_vs_llvm()
116 vs->base.info.file_max[TGSI_FILE_IMAGE]+1); in draw_create_vs_llvm()
Ddraw_tess.c463 tcs->info.file_max[TGSI_FILE_SAMPLER]+1, in draw_create_tess_ctrl_shader()
464 tcs->info.file_max[TGSI_FILE_SAMPLER_VIEW]+1, in draw_create_tess_ctrl_shader()
465 tcs->info.file_max[TGSI_FILE_IMAGE]+1); in draw_create_tess_ctrl_shader()
588 tes->info.file_max[TGSI_FILE_SAMPLER]+1, in draw_create_tess_eval_shader()
589 tes->info.file_max[TGSI_FILE_SAMPLER_VIEW]+1, in draw_create_tess_eval_shader()
590 tes->info.file_max[TGSI_FILE_IMAGE]+1); in draw_create_tess_eval_shader()
Ddraw_llvm.c2397 key->nr_samplers = llvm->draw->vs.vertex_shader->info.file_max[TGSI_FILE_SAMPLER] + 1; in draw_llvm_make_variant_key()
2398 if (llvm->draw->vs.vertex_shader->info.file_max[TGSI_FILE_SAMPLER_VIEW] != -1) { in draw_llvm_make_variant_key()
2400 llvm->draw->vs.vertex_shader->info.file_max[TGSI_FILE_SAMPLER_VIEW] + 1; in draw_llvm_make_variant_key()
2406 key->nr_images = llvm->draw->vs.vertex_shader->info.file_max[TGSI_FILE_IMAGE] + 1; in draw_llvm_make_variant_key()
2420 llvm->draw->vs.vertex_shader->info.file_max[TGSI_FILE_INPUT] + 1; in draw_llvm_make_variant_key()
3021 key->nr_samplers = llvm->draw->gs.geometry_shader->info.file_max[TGSI_FILE_SAMPLER] + 1; in draw_gs_llvm_make_variant_key()
3022 if (llvm->draw->gs.geometry_shader->info.file_max[TGSI_FILE_SAMPLER_VIEW] != -1) { in draw_gs_llvm_make_variant_key()
3024 llvm->draw->gs.geometry_shader->info.file_max[TGSI_FILE_SAMPLER_VIEW] + 1; in draw_gs_llvm_make_variant_key()
3030 key->nr_images = llvm->draw->gs.geometry_shader->info.file_max[TGSI_FILE_IMAGE] + 1; in draw_gs_llvm_make_variant_key()
3683 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.c891 gs->info.file_max[TGSI_FILE_SAMPLER]+1, in draw_create_geometry_shader()
892 gs->info.file_max[TGSI_FILE_SAMPLER_VIEW]+1, in draw_create_geometry_shader()
893 gs->info.file_max[TGSI_FILE_IMAGE]+1); in draw_create_geometry_shader()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_linear.c105 nr_consts = (info->base.file_max[TGSI_FILE_CONSTANT] + 1) * 4; in lp_fs_linear_run()
227 const int nr_inputs = info->base.file_max[TGSI_FILE_INPUT]+1; in check_linear_interp_mask_a()
265 int nr_inputs = info->base.file_max[TGSI_FILE_INPUT]+1; in check_linear_interp_mask_b()
291 if (info->base.file_max[TGSI_FILE_CONSTANT] >= LP_MAX_LINEAR_CONSTANTS || in lp_linear_check_variant()
292 info->base.file_max[TGSI_FILE_INPUT] >= LP_MAX_LINEAR_INPUTS) { in lp_linear_check_variant()
Dlp_state_cs.c519 nr_samplers = shader->info.base.file_max[TGSI_FILE_SAMPLER] + 1; in llvmpipe_create_compute_state()
520 nr_sampler_views = shader->info.base.file_max[TGSI_FILE_SAMPLER_VIEW] + 1; in llvmpipe_create_compute_state()
521 int nr_images = shader->info.base.file_max[TGSI_FILE_IMAGE] + 1; in llvmpipe_create_compute_state()
607 key->nr_samplers = shader->info.base.file_max[TGSI_FILE_SAMPLER] + 1; in make_variant_key()
609 if (shader->info.base.file_max[TGSI_FILE_SAMPLER_VIEW] != -1) in make_variant_key()
610 key->nr_sampler_views = shader->info.base.file_max[TGSI_FILE_SAMPLER_VIEW] + 1; in make_variant_key()
628 if (shader->info.base.file_max[TGSI_FILE_SAMPLER_VIEW] != -1) { in make_variant_key()
653 key->nr_images = shader->info.base.file_max[TGSI_FILE_IMAGE] + 1; in make_variant_key()
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_shader.c120 info.file_max[TGSI_FILE_TEMPORARY] + 1, in softpipe_shader_db()
121 info.file_max[TGSI_FILE_CONSTANT] + 1, in softpipe_shader_db()
253 state->max_sampler = state->draw_data->info.file_max[TGSI_FILE_SAMPLER]; in softpipe_create_vs_state()
314 state->max_sampler = state->draw_data->info.file_max[TGSI_FILE_SAMPLER]; in softpipe_create_gs_state()
436 state->max_sampler = state->info.file_max[TGSI_FILE_SAMPLER]; in softpipe_create_compute_state()
Dsp_state_derived.c308 softpipe->fs_variant->info.file_max[TGSI_FILE_SAMPLER]); in update_tgsi_samplers()
/third_party/littlefs/
Dlfs.h254 lfs_size_t file_max; member
377 lfs_size_t file_max; member
414 lfs_size_t file_max; member
Dlfs.c434 superblock->file_max = lfs_fromle32(superblock->file_max); in lfs_superblock_fromle32()
444 superblock->file_max = lfs_tole32(superblock->file_max); in lfs_superblock_tole32()
3429 if (file->pos + size > lfs->file_max) {
3478 if (npos > lfs->file_max) {
3982 LFS_ASSERT(lfs->cfg->file_max <= LFS_FILE_MAX);
3983 lfs->file_max = lfs->cfg->file_max;
3984 if (!lfs->file_max) {
3985 lfs->file_max = LFS_FILE_MAX;
4062 .file_max = lfs->file_max,
4167 if (superblock.file_max) {
[all …]
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi_info.c573 info->file_max[TGSI_FILE_INPUT] = info->num_inputs - 1; in nir_tgsi_scan_shader()
575 int max = info->file_max[TGSI_FILE_INPUT] = -1; in nir_tgsi_scan_shader()
581 info->file_max[TGSI_FILE_INPUT] = max; in nir_tgsi_scan_shader()
789 info->file_max[TGSI_FILE_SAMPLER] = BITSET_LAST_BIT(nir->info.samplers_used) - 1; in nir_tgsi_scan_shader()
790 info->file_max[TGSI_FILE_SAMPLER_VIEW] = BITSET_LAST_BIT(nir->info.textures_used) - 1; in nir_tgsi_scan_shader()
793 info->file_max[TGSI_FILE_IMAGE] = BITSET_LAST_BIT(nir->info.images_used) - 1; in nir_tgsi_scan_shader()
Dtgsi_to_nir.c2333 s->num_inputs = scan.file_max[TGSI_FILE_INPUT] + 1; in ttn_compile_init()
2335 s->num_outputs = scan.file_max[TGSI_FILE_OUTPUT] + 1; in ttn_compile_init()
2421 scan.file_max[TGSI_FILE_OUTPUT] + 1); in ttn_compile_init()
2423 scan.file_max[TGSI_FILE_TEMPORARY] + 1); in ttn_compile_init()
2425 scan.file_max[TGSI_FILE_IMMEDIATE] + 1); in ttn_compile_init()
2427 c->num_samp_types = scan.file_max[TGSI_FILE_SAMPLER_VIEW] + 1; in ttn_compile_init()
/third_party/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()
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_scan.c640 info->file_max[file] = MAX2(info->file_max[file], (int)reg); in scan_declaration()
827 info->file_max[file] = MAX2(info->file_max[file], (int)reg); in scan_immediate()
869 info->file_max[i] = -1; in tgsi_scan_shader()
932 info->file_max[TGSI_FILE_INPUT] = in tgsi_scan_shader()
933 MAX2(info->file_max[TGSI_FILE_INPUT], num_verts - 1); in tgsi_scan_shader()
Dtgsi_scan.h66 int file_max[TGSI_FILE_COUNT]; /**< highest index of declared registers */ member
Dtgsi_lowering.c1176 inbase = info->file_max[TGSI_FILE_INPUT] + 1; in emit_twoside()
1177 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()
/third_party/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()
1748 int index_limit = info->file_max[reg->Register.File]; in emit_store_tcs_output()
[all …]
Dlp_bld_tgsi.c371 assert(reg->Register.Index <= bld_base->info->file_max[reg->Register.File]); in lp_build_emit_fetch_src()
484 assert(off->Index <= bld_base->info->file_max[off->File]); in lp_build_emit_fetch_texoffset()
/third_party/mesa3d/docs/relnotes/
D21.1.8.rst60 - gallium/nir/tgsi: initialize file_max for inputs
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_pstipple.c309 if (pctx->info.file_max[TGSI_FILE_SAMPLER_VIEW] != -1) { in pstip_transform_prolog()
/third_party/mesa3d/src/gallium/drivers/r300/
Dr300_tgsi_to_rc.c338 for(i = 0; i <= ttr->info->file_max[TGSI_FILE_CONSTANT]; ++i) { in r300_tgsi_to_rc()

12