Home
last modified time | relevance | path

Searched refs:file_max (Results 1 – 25 of 40) 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.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.c463 MAX2(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()
591 MAX2(tes->info.file_max[TGSI_FILE_SAMPLER]+1, in draw_create_tess_eval_shader()
592 tes->info.file_max[TGSI_FILE_SAMPLER_VIEW]+1), in draw_create_tess_eval_shader()
593 tes->info.file_max[TGSI_FILE_IMAGE]+1); in draw_create_tess_eval_shader()
Ddraw_llvm.c2413 key->nr_samplers = llvm->draw->vs.vertex_shader->info.file_max[TGSI_FILE_SAMPLER] + 1; in draw_llvm_make_variant_key()
2414 if (llvm->draw->vs.vertex_shader->info.file_max[TGSI_FILE_SAMPLER_VIEW] != -1) { in draw_llvm_make_variant_key()
2416 llvm->draw->vs.vertex_shader->info.file_max[TGSI_FILE_SAMPLER_VIEW] + 1; in draw_llvm_make_variant_key()
2422 key->nr_images = llvm->draw->vs.vertex_shader->info.file_max[TGSI_FILE_IMAGE] + 1; in draw_llvm_make_variant_key()
2436 llvm->draw->vs.vertex_shader->info.file_max[TGSI_FILE_INPUT] + 1; in draw_llvm_make_variant_key()
3037 key->nr_samplers = llvm->draw->gs.geometry_shader->info.file_max[TGSI_FILE_SAMPLER] + 1; in draw_gs_llvm_make_variant_key()
3038 if (llvm->draw->gs.geometry_shader->info.file_max[TGSI_FILE_SAMPLER_VIEW] != -1) { in draw_gs_llvm_make_variant_key()
3040 llvm->draw->gs.geometry_shader->info.file_max[TGSI_FILE_SAMPLER_VIEW] + 1; in draw_gs_llvm_make_variant_key()
3046 key->nr_images = llvm->draw->gs.geometry_shader->info.file_max[TGSI_FILE_IMAGE] + 1; in draw_gs_llvm_make_variant_key()
3696 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.c888 MAX2(gs->info.file_max[TGSI_FILE_SAMPLER]+1, in draw_create_geometry_shader()
889 gs->info.file_max[TGSI_FILE_SAMPLER_VIEW]+1), in draw_create_geometry_shader()
890 gs->info.file_max[TGSI_FILE_IMAGE]+1); in draw_create_geometry_shader()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_linear.c96 int nr_consts = info->base.file_max[TGSI_FILE_CONSTANT]+1; in lp_fs_linear_run()
221 int nr_inputs = info->base.file_max[TGSI_FILE_INPUT]+1; in check_linear_interp_mask_a()
259 int nr_inputs = info->base.file_max[TGSI_FILE_INPUT]+1; in check_linear_interp_mask_b()
286 if (info->base.file_max[TGSI_FILE_CONSTANT] >= LP_MAX_LINEAR_CONSTANTS || in lp_linear_check_variant()
287 info->base.file_max[TGSI_FILE_INPUT] >= LP_MAX_LINEAR_INPUTS) { in lp_linear_check_variant()
Dlp_state_cs.c494 nr_samplers = shader->info.base.file_max[TGSI_FILE_SAMPLER] + 1; in llvmpipe_create_compute_state()
495 nr_sampler_views = shader->info.base.file_max[TGSI_FILE_SAMPLER_VIEW] + 1; in llvmpipe_create_compute_state()
496 int nr_images = shader->info.base.file_max[TGSI_FILE_IMAGE] + 1; in llvmpipe_create_compute_state()
585 key->nr_samplers = shader->info.base.file_max[TGSI_FILE_SAMPLER] + 1; in make_variant_key()
604 if (shader->info.base.file_max[TGSI_FILE_SAMPLER_VIEW] != -1) { in make_variant_key()
605 key->nr_sampler_views = shader->info.base.file_max[TGSI_FILE_SAMPLER_VIEW] + 1; in make_variant_key()
630 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.c134 info.file_max[TGSI_FILE_TEMPORARY] + 1, in softpipe_shader_db()
135 info.file_max[TGSI_FILE_CONSTANT] + 1, in softpipe_shader_db()
267 state->max_sampler = state->draw_data->info.file_max[TGSI_FILE_SAMPLER]; in softpipe_create_vs_state()
328 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()
/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/littlefs/
Dlfs.h253 lfs_size_t file_max; member
376 lfs_size_t file_max; member
413 lfs_size_t file_max; member
Dlfs.c416 superblock->file_max = lfs_fromle32(superblock->file_max); in lfs_superblock_fromle32()
425 superblock->file_max = lfs_tole32(superblock->file_max); in lfs_superblock_tole32()
2960 if (file->pos + size > lfs->file_max) {
3075 if (npos > lfs->file_max) {
3559 LFS_ASSERT(lfs->cfg->file_max <= LFS_FILE_MAX);
3560 lfs->file_max = lfs->cfg->file_max;
3561 if (!lfs->file_max) {
3562 lfs->file_max = LFS_FILE_MAX;
3639 .file_max = lfs->file_max,
3744 if (superblock.file_max) {
[all …]
/third_party/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()
582 int max = info->file_max[TGSI_FILE_INPUT] = -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] = BITSET_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()
/third_party/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()
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_scan.c642 info->file_max[file] = MAX2(info->file_max[file], (int)reg); in scan_declaration()
825 info->file_max[file] = MAX2(info->file_max[file], (int)reg); in scan_immediate()
867 info->file_max[i] = -1; in tgsi_scan_shader()
930 info->file_max[TGSI_FILE_INPUT] = in tgsi_scan_shader()
931 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
/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()
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()
/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()

12