/third_party/ltp/testcases/kernel/fs/ftest/ |
H A D | ftest05.c | 248 int file_max; /* file-max size */ variable 318 file_max = 0; in dotest() 345 //printf("%li %d", CHUNK(chunk), file_max ); in dotest() 346 if (CHUNK(chunk) >= file_max) { in dotest() 357 "\tTest[%d] bad verify @ 0x%Lx for val %d count %d xfr %d file_max 0x%x, should be %d.", in dotest() 359 xfr, file_max, zero_buf[0]); in dotest() 388 "\tTest[%d] bad verify @ 0x%Lx for val %d count %d xfr %d file_max 0x%x.", in dotest() 390 xfr, file_max); in dotest() 430 if (CHUNK(chunk) + csize > file_max) in dotest() 431 file_max in dotest() [all...] |
H A D | ftest01.c | 247 int file_max; /* file-max size */ variable 323 file_max = 0; in dotest() 352 if (CHUNK(chunk) >= file_max) { in dotest() 365 "count %d xfr %d file_max 0x%x, should be %d.", in dotest() 367 xfr, file_max, zero_buf[0]); in dotest() 398 "count %d xfr %d file_max 0x%x.", 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 / csiz in domisc() [all...] |
H A 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() 425 "\tTest[%d] bad verify @ 0x%Lx for val %d count %d xfr %d file_max 0x%llx, should be 0.", in dotest() 427 count, xfr, file_max); in dotest() 463 "\tTest[%d] bad verify @ 0x%Lx for val %d count %d xfr %d file_max 0x%llx.", 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 / csiz in domisc() [all...] |
H A 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() 430 "\tTest[%d] bad verify @ 0x%x for val %d count %d xfr %d file_max 0x%x, should be 0.", in dotest() 432 count, xfr, file_max); in dotest() 468 "\tTest[%d] bad verify @ 0x%x for val %d count %d xfr %d file_max 0x%x.", 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 / csiz in domisc() [all...] |
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_vs_llvm.c | 113 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()
|
H A D | draw_tess.c | 463 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()
|
H A D | draw_llvm.c | 2397 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_SAMPLE in draw_tcs_llvm_make_variant_key() [all...] |
H A D | draw_gs.c | 891 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/ |
H A D | lp_linear.c | 105 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()
|
H A D | lp_state_cs.c | 519 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()
|
H A D | lp_state_fs.c | 3912 const int nr_samplers = shader->info.base.file_max[TGSI_FILE_SAMPLER] + 1; in llvmpipe_create_fs_state() 3914 shader->info.base.file_max[TGSI_FILE_SAMPLER_VIEW] + 1; in llvmpipe_create_fs_state() 3915 const int nr_images = shader->info.base.file_max[TGSI_FILE_IMAGE] + 1; in llvmpipe_create_fs_state() 4437 key->nr_samplers = shader->info.base.file_max[TGSI_FILE_SAMPLER] + 1; in make_variant_key() 4439 if (shader->info.base.file_max[TGSI_FILE_SAMPLER_VIEW] != -1) { in make_variant_key() 4441 shader->info.base.file_max[TGSI_FILE_SAMPLER_VIEW] + 1; in make_variant_key() 4462 if (shader->info.base.file_max[TGSI_FILE_SAMPLER_VIEW] != -1) { in make_variant_key() 4487 key->nr_images = shader->info.base.file_max[TGSI_FILE_IMAGE] + 1; in make_variant_key()
|
/third_party/littlefs/ |
H A D | lfs.h | 254 lfs_size_t file_max; member 306 lfs_size_t file_max; member 406 lfs_size_t file_max; member 444 lfs_size_t file_max; member
|
H A D | lfs.c | 479 superblock->file_max = lfs_fromle32(superblock->file_max); in lfs_superblock_fromle32() 489 superblock->file_max = lfs_tole32(superblock->file_max); in lfs_superblock_tole32() 3603 if (file->pos + size > lfs->file_max) { 3652 if (npos > lfs->file_max) { 4204 LFS_ASSERT(lfs->cfg->file_max <= LFS_FILE_MAX); 4205 lfs->file_max = lfs->cfg->file_max; 4206 if (!lfs->file_max) { [all...] |
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_state_shader.c | 120 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()
|
H A D | sp_state_derived.c | 308 softpipe->fs_variant->info.file_max[TGSI_FILE_SAMPLER]); in update_tgsi_samplers()
|
/third_party/mesa3d/src/gallium/auxiliary/nir/ |
H A D | nir_to_tgsi_info.c | 573 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()
|
H A D | tgsi_to_nir.c | 2333 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/auxiliary/tgsi/ |
H A D | tgsi_scan.c | 640 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()
|
H A D | tgsi_scan.h | 66 int file_max[TGSI_FILE_COUNT]; /**< highest index of declared registers */ member
|
H A D | tgsi_lowering.c | 1176 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/drivers/svga/ |
H A 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()
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
H A 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() 1144 * XXX: this is possibly not quite the right value, since file_max may be in emit_fetch_gs_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[re in emit_fetch_temporary() [all...] |
H A D | lp_bld_tgsi.c | 371 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/src/gallium/auxiliary/util/ |
H A D | u_pstipple.c | 309 if (pctx->info.file_max[TGSI_FILE_SAMPLER_VIEW] != -1) { in pstip_transform_prolog()
|
/third_party/mesa3d/src/gallium/drivers/r300/ |
H A D | r300_tgsi_to_rc.c | 338 for(i = 0; i <= ttr->info->file_max[TGSI_FILE_CONSTANT]; ++i) { in r300_tgsi_to_rc()
|