Home
last modified time | relevance | path

Searched refs:mem_type (Results 1 – 22 of 22) sorted by relevance

/external/fio/
Dmemory.c69 if (td->o.mem_type == MEM_SHMHUGE) { in alloc_mem_shm()
82 if (td->o.mem_type == MEM_SHMHUGE) { in alloc_mem_shm()
131 if (td->o.mem_type == MEM_MMAPHUGE) { in alloc_mem_mmap()
148 if (td->o.mem_type != MEM_MMAPHUGE && in alloc_mem_mmap()
149 td->o.mem_type != MEM_MMAPSHARED && in alloc_mem_mmap()
155 if (td->o.mem_type == MEM_MMAPHUGE || in alloc_mem_mmap()
156 td->o.mem_type == MEM_MMAPSHARED) in alloc_mem_mmap()
309 if (fio_option_is_set(&td->o, mem_type)) { in allocate_io_mem()
314 } else if (td->o.mem_type == MEM_MALLOC) in allocate_io_mem()
316 else if (td->o.mem_type == MEM_SHM || td->o.mem_type == MEM_SHMHUGE) in allocate_io_mem()
[all …]
Dthread_options.h186 enum fio_memtype mem_type; member
455 uint32_t mem_type; member
Dcconv.c231 o->mem_type = le32_to_cpu(top->mem_type); in convert_thread_options_to_cpu()
417 top->mem_type = cpu_to_le32(o->mem_type); in convert_thread_options_to_net()
Doptions.c393 if (td->o.mem_type == MEM_MMAPHUGE || td->o.mem_type == MEM_MMAP || in str_mem_cb()
394 td->o.mem_type == MEM_MMAPSHARED) in str_mem_cb()
2580 .off1 = offsetof(struct thread_options, mem_type),
Dbackend.c1182 if (td->o.mem_type == MEM_SHMHUGE || td->o.mem_type == MEM_MMAPHUGE) { in init_io_u()
Dio_u.c2048 if (o->mem_type == MEM_CUDA_MALLOC) in fill_io_buffer()
Dinit.c1074 if (o->mem_type == MEM_CUDA_MALLOC) in init_flags()
/external/mesa3d/src/gallium/state_trackers/va/
Dbuffer.c242 uint32_t mem_type; in vlVaAcquireBufferHandle() local
271 if (!out_buf_info->mem_type) in vlVaAcquireBufferHandle()
272 mem_type = mem_types[0]; in vlVaAcquireBufferHandle()
274 mem_type = 0; in vlVaAcquireBufferHandle()
276 if (out_buf_info->mem_type & mem_types[i]) { in vlVaAcquireBufferHandle()
277 mem_type = out_buf_info->mem_type; in vlVaAcquireBufferHandle()
281 if (!mem_type) in vlVaAcquireBufferHandle()
289 if (buf->export_state.mem_type != mem_type) in vlVaAcquireBufferHandle()
294 switch (mem_type) { in vlVaAcquireBufferHandle()
321 buf_info->mem_type = mem_type; in vlVaAcquireBufferHandle()
[all …]
/external/autotest/server/site_tests/brillo_MemorySizeTest/
Dbrillo_MemorySizeTest.py42 for mem_type, min_mem in (('MemTotal', min_total), ('MemFree', min_free)):
43 actual_mem = meminfo_dict.get(mem_type)
46 'Failed to read %s from /proc/meminfo' % mem_type)
51 (mem_type, actual_mem, min_mem))
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_posix.cc125 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report) { in MmapOrDie() argument
132 ReportMmapFailureAndDie(size, mem_type, "allocate", reserrno, raw_report); in MmapOrDie()
151 void *MmapAlignedOrDie(uptr size, uptr alignment, const char *mem_type) { in MmapAlignedOrDie() argument
155 uptr map_res = (uptr)MmapOrDie(map_size, mem_type); in MmapAlignedOrDie()
168 void *MmapNoReserveOrDie(uptr size, const char *mem_type) { in MmapNoReserveOrDie() argument
177 ReportMmapFailureAndDie(size, mem_type, "allocate noreserve", reserrno); in MmapNoReserveOrDie()
191 char mem_type[30]; in MmapFixedOrDie() local
192 internal_snprintf(mem_type, sizeof(mem_type), "memory at address 0x%zx", in MmapFixedOrDie()
194 ReportMmapFailureAndDie(size, mem_type, "allocate", reserrno); in MmapFixedOrDie()
Dsanitizer_win.cc88 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report) { in MmapOrDie() argument
91 ReportMmapFailureAndDie(size, mem_type, "allocate", in MmapOrDie()
117 void *MmapAlignedOrDie(uptr size, uptr alignment, const char *mem_type) { in MmapAlignedOrDie() argument
127 ReportMmapFailureAndDie(size, mem_type, "allocate aligned", GetLastError()); in MmapAlignedOrDie()
134 ReportMmapFailureAndDie(size, mem_type, "deallocate", GetLastError()); in MmapAlignedOrDie()
147 ReportMmapFailureAndDie(size, mem_type, "allocate aligned", in MmapAlignedOrDie()
155 ReportMmapFailureAndDie(size, mem_type, "deallocate", GetLastError()); in MmapAlignedOrDie()
166 ReportMmapFailureAndDie(size, mem_type, "allocate aligned", GetLastError()); in MmapAlignedOrDie()
197 char mem_type[30]; in MmapFixedOrDie() local
198 internal_snprintf(mem_type, sizeof(mem_type), "memory at address 0x%zx", in MmapFixedOrDie()
[all …]
Dsanitizer_common.h83 void *MmapOrDie(uptr size, const char *mem_type, bool raw_report = false);
84 INLINE void *MmapOrDieQuietly(uptr size, const char *mem_type) { in MmapOrDieQuietly() argument
85 return MmapOrDie(size, mem_type, /*raw_report*/ true); in MmapOrDieQuietly()
90 void *MmapNoReserveOrDie(uptr size, const char *mem_type);
95 void *MmapAlignedOrDie(uptr size, uptr alignment, const char *mem_type);
340 void NORETURN ReportMmapFailureAndDie(uptr size, const char *mem_type,
Dsanitizer_common.cc103 void NORETURN ReportMmapFailureAndDie(uptr size, const char *mem_type, in ReportMmapFailureAndDie() argument
116 SanitizerToolName, mmap_type, size, size, mem_type, err); in ReportMmapFailureAndDie()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_fs.c1250 struct lp_type mem_type; in convert_to_blend_type() local
1318 lp_mem_type_from_format_desc(src_fmt, &mem_type); in convert_to_blend_type()
1322 is_arith = blend_type.length * blend_type.width != mem_type.width * mem_type.length; in convert_to_blend_type()
1323 is_arith &= !(mem_type.width == 16 && mem_type.floating); in convert_to_blend_type()
1335 if (mem_type.width == 16 && mem_type.floating) { in convert_to_blend_type()
1347 src_type.length *= pixels / (src_type.length / mem_type.length); in convert_to_blend_type()
1417 struct lp_type mem_type; in convert_from_blend_type() local
1495 lp_mem_type_from_format_desc(src_fmt, &mem_type); in convert_from_blend_type()
1498 is_arith = (blend_type.length * blend_type.width != mem_type.width * mem_type.length); in convert_from_blend_type()
1501 if (mem_type.width == 16 && mem_type.floating) { in convert_from_blend_type()
[all …]
/external/v8/src/wasm/
Dfunction-body-decoder.cc1406 int DecodeLoadMem(ValueType type, MachineType mem_type) { in DecodeLoadMem() argument
1409 ElementSizeLog2Of(mem_type.representation())); in DecodeLoadMem()
1412 TFNode* node = BUILD(LoadMem, type, mem_type, index.node, operand.offset, in DecodeLoadMem()
1418 int DecodeStoreMem(ValueType type, MachineType mem_type) { in DecodeStoreMem() argument
1421 ElementSizeLog2Of(mem_type.representation())); in DecodeStoreMem()
1424 BUILD(StoreMem, mem_type, index.node, operand.offset, operand.alignment, in DecodeStoreMem()
/external/pcre/dist2/src/sljit/
DsljitNativeMIPS_common.c2012 # define mem_type WORD_DATA in sljit_emit_op_flags() macro
2014 sljit_s32 mem_type = (op & SLJIT_I32_OP) ? (INT_DATA | SIGNED_DATA) : WORD_DATA; in sljit_emit_op_flags() local
2027 mem_type = INT_DATA | SIGNED_DATA; in sljit_emit_op_flags()
2035 FAIL_IF(emit_op_mem2(compiler, mem_type | LOAD_DATA, DR(TMP_REG1), src, srcw, dst, dstw)); in sljit_emit_op_flags()
2103 …return emit_op(compiler, op | flags, mem_type | CUMULATIVE_OP | LOGICAL_OP | IMM_OP | ALT_KEEP_CAC… in sljit_emit_op_flags()
2107 return emit_op_mem(compiler, mem_type, dst_ar, dst, dstw); in sljit_emit_op_flags()
2114 # undef mem_type in sljit_emit_op_flags()
DsljitNativeTILEGX_64.c2089 sljit_s32 mem_type = (op & SLJIT_I32_OP) ? (INT_DATA | SIGNED_DATA) : WORD_DATA; in sljit_emit_op_flags() local
2100 mem_type = INT_DATA | SIGNED_DATA; in sljit_emit_op_flags()
2107 FAIL_IF(emit_op_mem2(compiler, mem_type | LOAD_DATA, TMP_REG1_mapped, src, srcw, dst, dstw)); in sljit_emit_op_flags()
2159 …return emit_op(compiler, op | flags, mem_type | CUMULATIVE_OP | LOGICAL_OP | IMM_OP | ALT_KEEP_CAC… in sljit_emit_op_flags()
2163 return emit_op_mem(compiler, mem_type, dst_ar, dst, dstw); in sljit_emit_op_flags()
/external/syslinux/gpxe/src/drivers/net/
Dmtnic.h232 u32 mem_type; member
Dmtnic.c156 rx_desc_ptr->data.mem_type = priv->mtnic->fw.mem_type_snoop_be; in mtnic_alloc_iobuf()
1567 data->mem_type = priv->mtnic->fw.mem_type_snoop_be; in mtnic_transmit()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_build.c131 unsigned mem_type, in tgsi_build_declaration() argument
149 declaration.MemType = mem_type; in tgsi_build_declaration()
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_from_tgsi.cpp979 uint8_t mem_type; // TGSI_MEMORY_TYPE_* member
1369 memoryFiles[i].mem_type = decl->Declaration.MemType; in scanDeclaration()
1411 memoryFiles[src.getIndex(0)].mem_type == TGSI_MEMORY_TYPE_GLOBAL)) { in scanInstructionSrc()
1492 memoryFiles[dst.getIndex(0)].mem_type == TGSI_MEMORY_TYPE_GLOBAL)) { in scanInstruction()
1693 switch (code->memoryFiles[fileIdx].mem_type) { in makeSym()
/external/v8/src/compiler/
Dwasm-compiler.cc3112 MachineType mem_type = in GetGlobal() local
3118 const Operator* op = jsgraph()->machine()->Load(mem_type); in GetGlobal()
3126 MachineType mem_type = in SetGlobal() local
3133 StoreRepresentation(mem_type.representation(), kNoWriteBarrier)); in SetGlobal()