Home
last modified time | relevance | path

Searched refs:mem_addr (Results 1 – 8 of 8) 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.c289 bo->mem_addr = util_vma_heap_alloc(&shim_device.mem_heap, size, shim_page_size); in drm_shim_bo_init()
291 assert(bo->mem_addr); in drm_shim_bo_init()
330 util_vma_heap_free(&shim_device.mem_heap, bo->mem_addr, bo->size); in drm_shim_bo_put()
381 assert((bo->mem_addr & (shim_page_size - 1)) == 0); in drm_shim_mmap()
383 return mmap(NULL, length, prot, flags, shim_device.mem_fd, bo->mem_addr); in drm_shim_mmap()
Ddrm_shim.h71 uint64_t mem_addr; member
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/cache/
Dcache_client.cc133 int64_t mem_addr; in GetRows() local
134 Status rc = rq->RestoreRows(out, comm_->SharedMemoryBaseAddr(), &mem_addr); in GetRows()
136 if (mem_addr != -1) { in GetRows()
137 … mfree_req = std::make_shared<FreeSharedBlockRequest>(server_connection_id_, client_id_, mem_addr); in GetRows()
/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.c85 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>