/device/amlogic/yukawa/hal/gralloc/ |
D | gralloc_buffer_priv.cpp | 55 hnd->share_attr_fd = ashmem_create_region("gralloc_shared_attr", PAGE_SIZE); in gralloc_buffer_attr_allocate() 76 hnd->attr_base = mmap(NULL, PAGE_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED, hnd->share_attr_fd, 0); in gralloc_buffer_attr_allocate() 86 memset(hnd->attr_base, 0xff, PAGE_SIZE); in gralloc_buffer_attr_allocate() 87 munmap(hnd->attr_base, PAGE_SIZE); in gralloc_buffer_attr_allocate() 135 munmap(hnd->attr_base, PAGE_SIZE); in gralloc_buffer_attr_free()
|
D | gralloc_helper.h | 48 return (x + (PAGE_SIZE - 1)) & ~(PAGE_SIZE - 1); in round_up_to_page_size()
|
D | gralloc_buffer_priv.h | 85 hnd->attr_base = mmap(NULL, PAGE_SIZE, prot_flags, MAP_SHARED, hnd->share_attr_fd, 0); in gralloc_buffer_attr_map() 115 if (munmap(hnd->attr_base, PAGE_SIZE) == 0) in gralloc_buffer_attr_unmap()
|
/device/linaro/hikey/gralloc960/ |
D | gralloc_buffer_priv.cpp | 55 hnd->share_attr_fd = ashmem_create_region("gralloc_shared_attr", PAGE_SIZE); in gralloc_buffer_attr_allocate() 76 hnd->attr_base = mmap(NULL, PAGE_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED, hnd->share_attr_fd, 0); in gralloc_buffer_attr_allocate() 86 memset(hnd->attr_base, 0xff, PAGE_SIZE); in gralloc_buffer_attr_allocate() 87 munmap(hnd->attr_base, PAGE_SIZE); in gralloc_buffer_attr_allocate() 135 munmap(hnd->attr_base, PAGE_SIZE); in gralloc_buffer_attr_free()
|
D | gralloc_helper.h | 48 return (x + (PAGE_SIZE - 1)) & ~(PAGE_SIZE - 1); in round_up_to_page_size()
|
D | gralloc_buffer_priv.h | 86 hnd->attr_base = mmap(NULL, PAGE_SIZE, prot_flags, MAP_SHARED, hnd->share_attr_fd, 0); in gralloc_buffer_attr_map() 116 if (munmap(hnd->attr_base, PAGE_SIZE) == 0) in gralloc_buffer_attr_unmap()
|
/device/google/bonito/sdm710/kernel-headers/linux/ |
D | spcom.h | 25 #ifndef PAGE_SIZE 26 #define PAGE_SIZE 4096 macro 30 #define SPCOM_GET_NEXT_REQUEST_SIZE (PAGE_SIZE - 1)
|
/device/google/crosshatch/sdm845/original-kernel-headers/linux/ |
D | spcom.h | 20 #ifndef PAGE_SIZE 21 #define PAGE_SIZE 4096 macro 48 #define SPCOM_GET_NEXT_REQUEST_SIZE (PAGE_SIZE-1)
|
/device/google/crosshatch/sdm845/kernel-headers/linux/ |
D | spcom.h | 25 #ifndef PAGE_SIZE 26 #define PAGE_SIZE 4096 macro 30 #define SPCOM_GET_NEXT_REQUEST_SIZE (PAGE_SIZE - 1)
|
/device/google/bonito/sdm710/original-kernel-headers/linux/ |
D | spcom.h | 20 #ifndef PAGE_SIZE 21 #define PAGE_SIZE 4096 macro 48 #define SPCOM_GET_NEXT_REQUEST_SIZE (PAGE_SIZE-1)
|
/device/google/coral-kernel/sm8150/kernel-headers/linux/ |
D | spcom.h | 25 #ifndef PAGE_SIZE 26 #define PAGE_SIZE 4096 macro 30 #define SPCOM_GET_NEXT_REQUEST_SIZE (PAGE_SIZE - 1)
|
/device/google/coral-kernel/sm8150/original-kernel-headers/linux/ |
D | spcom.h | 21 #ifndef PAGE_SIZE 22 #define PAGE_SIZE 4096 macro 48 #define SPCOM_GET_NEXT_REQUEST_SIZE (PAGE_SIZE-1)
|
/device/linaro/hikey/gralloc/ |
D | gralloc_helper.h | 26 return (x + (PAGE_SIZE - 1)) & ~(PAGE_SIZE - 1); in round_up_to_page_size()
|
/device/google/cuttlefish/guest/hals/gralloc/legacy/ |
D | gralloc.cpp | 46 return (x + (PAGE_SIZE-1)) & ~(PAGE_SIZE-1); in roundUpToPageSize() 69 size += PAGE_SIZE; in gralloc_alloc_buffer()
|
D | region_registry.cpp | 199 uintptr_t addr = base + hnd->total_size - PAGE_SIZE; in reference_region() 200 if (mprotect((void*)addr, PAGE_SIZE, PROT_NONE) == -1) { in reference_region()
|
/device/generic/goldfish-opengl/system/OpenglSystemCommon/ |
D | VirtioGpuStream.cpp | 29 #ifndef PAGE_SIZE 30 #define PAGE_SIZE 0x1000 macro 37 #define MAX_CMDRESPBUF_SIZE (10*PAGE_SIZE)
|
D | HostConnection.cpp | 227 res_create.size = align_up(bpp * width * height, PAGE_SIZE); in createColorBuffer()
|
/device/generic/goldfish-opengl/shared/GoldfishAddressSpace/include/ |
D | goldfish_address_space_host.impl | 183 m_mmaped_ptr = (void*)(uintptr_t)(host_addr & (~(PAGE_SIZE - 1))); 191 return reinterpret_cast<char *>(m_mmaped_ptr) + (m_host_addr & (PAGE_SIZE - 1)); 371 return (void*)(((char*)res) + (uintptr_t)(pgoff & (PAGE_SIZE - 1)));
|
D | goldfish_address_space_fuchsia.impl | 201 return reinterpret_cast<char *>(m_mmaped_ptr) + (m_host_addr & (PAGE_SIZE - 1)); 449 return (void*)(((char*)ptr) + (uintptr_t)(pgoff & (PAGE_SIZE - 1))); 454 (zx_vaddr_t)(((uintptr_t)ptr) & (uintptr_t)(~(PAGE_SIZE - 1))),
|
D | goldfish_address_space_android.impl | 282 return reinterpret_cast<char *>(m_mmaped_ptr) + (m_host_addr & (PAGE_SIZE - 1)); 515 return (void*)(((char*)res) + (uintptr_t)(pgoff & (PAGE_SIZE - 1))); 519 void* pagePtr = (void*)(((uintptr_t)ptr) & ~(PAGE_SIZE - 1));
|
/device/linaro/dragonboard/qcom/rmtfs/ |
D | sharedmem.c | 202 #define PAGE_SIZE 4096 macro 209 char val[PAGE_SIZE]; in rmtfs_mem_open_rfsa()
|
/device/generic/goldfish-opengl/ |
D | BUILD.gn | 102 "PAGE_SIZE=4096",
|
/device/generic/opengl-transport/host/libs/virglrenderer/ |
D | AVDVirglRenderer.cpp | 68 #ifndef PAGE_SIZE 69 #define PAGE_SIZE 0x1000 macro 72 #define MAX_CMDRESPBUF_SIZE (10 * PAGE_SIZE)
|
/device/generic/goldfish-opengl/system/gralloc/ |
D | gralloc_old.cpp | 831 ashmem_size = (ashmem_size + (PAGE_SIZE-1)) & ~(PAGE_SIZE-1); in gralloc_alloc()
|
/device/generic/goldfish-opengl/system/vulkan_enc/ |
D | ResourceTracker.cpp | 2125 directMappedAddr += (uint64_t)(uintptr_t)(hvaSizeId[0]) & (PAGE_SIZE - 1); in getOrAllocateHostMemBlockLocked()
|