Home
last modified time | relevance | path

Searched refs:mem_addr (Results 1 – 9 of 9) sorted by relevance

/third_party/ltp/testcases/kernel/mce-test/tsrc/
Dttranshuge.c90 static char *mem_addr; variable
112 mem_addr, REQ_MEM_SIZE, in print_prep_info()
203 mem_addr = (char *)mmap(NULL, REQ_MEM_SIZE, PROT_WRITE | PROT_READ, in prep_memory_map()
205 if (mem_addr == NULL) { in prep_memory_map()
217 if (request_thp_with_madvise((unsigned long)mem_addr) < 0) { in prep_injection()
222 write_mem(mem_addr, REQ_MEM_SIZE); in prep_injection()
223 if (read_mem(mem_addr, REQ_MEM_SIZE, 0) < 0) { in prep_injection()
229 thp_addr = find_thp_addr((unsigned long)mem_addr, REQ_MEM_SIZE); in prep_injection()
270 if (read_mem(mem_addr, REQ_MEM_SIZE, avoid_touch) < 0) { in post_injection()
285 munmap(mem_addr, REQ_MEM_SIZE); in post_memory_map()
/third_party/mesa3d/src/drm-shim/
Ddevice.c328 bo->mem_addr = util_vma_heap_alloc(&shim_device.mem_heap, size, shim_page_size); in drm_shim_bo_init()
331 if (!bo->mem_addr) in drm_shim_bo_init()
373 util_vma_heap_free(&shim_device.mem_heap, bo->mem_addr, bo->size); in drm_shim_bo_put()
405 _mesa_hash_table_u64_insert(shim_device.offset_map, bo->mem_addr, bo); in drm_shim_bo_get_mmap_offset()
409 return bo->mem_addr; in drm_shim_bo_get_mmap_offset()
430 assert((bo->mem_addr & (shim_page_size - 1)) == 0); in drm_shim_mmap()
432 return mmap(NULL, length, prot, flags, shim_device.mem_fd, bo->mem_addr); in drm_shim_mmap()
Ddrm_shim.h79 uint64_t mem_addr; member
/third_party/mesa3d/src/gallium/drivers/lima/drm-shim/
Dlima_noop.c85 gem_info->va = bo->mem_addr; in lima_ioctl_gem_info()
/third_party/mesa3d/src/panfrost/drm-shim/
Dpanfrost_noop.c97 create->offset = bo->mem_addr; in pan_ioctl_create_bo()
/third_party/libdrm/include/drm/
Dvia_drm.h270 unsigned char *mem_addr; member
/third_party/selinux/secilc/docs/
Dcil_xen_statements.md16 (iomemcon mem_addr|(mem_low mem_high) context_id)
32 <td align="left"><p><code>mem_addr |</code></p>
/third_party/mesa3d/src/freedreno/drm-shim/
Dfreedreno_noop.c90 args->value = bo->mem_addr; in msm_ioctl_gem_info()
/third_party/node/deps/v8/src/execution/s390/
Dsimulator-s390.cc5257 intptr_t mem_addr = b2_val + x2_val + d2_val; in EVALUATE() local
5258 WriteH(mem_addr, r1_val); in EVALUATE()
5280 intptr_t mem_addr = b2_val + x2_val + d2_val; in EVALUATE() local
5281 WriteB(mem_addr, r1_val); in EVALUATE()
5338 intptr_t mem_addr = x2_val + b2_val + d2_val; in EVALUATE() local
5340 int32_t result = static_cast<int32_t>(ReadH(mem_addr)); in EVALUATE()
9468 intptr_t mem_addr = b2_val + x2_val + d2; in EVALUATE() local
9469 int64_t mem_val = ReadW64(mem_addr); in EVALUATE()
9479 intptr_t mem_addr = b2_val + x2_val + d2; in EVALUATE() local
9480 int32_t mem_val = ReadW(mem_addr); in EVALUATE()
[all …]