Home
last modified time | relevance | path

Searched refs:PAGE_SIZE (Results 1 – 25 of 29) sorted by relevance

12

/device/linaro/bootloader/arm-trusted-firmware/include/lib/xlat_tables/aarch64/
Dxlat_tables_aarch64.h14 #if !defined(PAGE_SIZE)
28 #if PAGE_SIZE == (4 * 1024)
30 #elif PAGE_SIZE == (16 * 1024) || PAGE_SIZE == (64 * 1024)
/device/linaro/hikey/gralloc960/
Dgralloc_buffer_priv.cpp55 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()
Dgralloc_helper.h48 return (x + (PAGE_SIZE - 1)) & ~(PAGE_SIZE - 1); in round_up_to_page_size()
Dgralloc_buffer_priv.h86 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/linaro/bootloader/edk2/StdLib/Include/Ipf/machine/
Dvmparam.h92 #define PAGE_SIZE (1 << PAGE_SHIFT) macro
93 #define PAGE_MASK (PAGE_SIZE - 1)
98 #define VM_GATEWAY_SIZE PAGE_SIZE
111 #define VM_PHYS_SIZE (USRIOSIZE*PAGE_SIZE)
/device/google/crosshatch/sdm845/original-kernel-headers/linux/
Dspcom.h20 #ifndef PAGE_SIZE
21 #define PAGE_SIZE 4096 macro
48 #define SPCOM_GET_NEXT_REQUEST_SIZE (PAGE_SIZE-1)
/device/google/bonito/sdm710/kernel-headers/linux/
Dspcom.h25 #ifndef PAGE_SIZE
26 #define PAGE_SIZE 4096 macro
30 #define SPCOM_GET_NEXT_REQUEST_SIZE (PAGE_SIZE - 1)
/device/google/crosshatch/sdm845/kernel-headers/linux/
Dspcom.h25 #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/
Dspcom.h20 #ifndef PAGE_SIZE
21 #define PAGE_SIZE 4096 macro
48 #define SPCOM_GET_NEXT_REQUEST_SIZE (PAGE_SIZE-1)
/device/linaro/hikey/gralloc/
Dgralloc_helper.h26 return (x + (PAGE_SIZE - 1)) & ~(PAGE_SIZE - 1); in round_up_to_page_size()
/device/linaro/bootloader/arm-trusted-firmware/include/lib/xlat_tables/aarch32/
Dxlat_tables_aarch32.h14 #if !defined(PAGE_SIZE)
27 #if PAGE_SIZE != (4 * 1024)
/device/generic/goldfish/gralloc/
Dgr.h36 return (x + (PAGE_SIZE-1)) & ~(PAGE_SIZE-1); in roundUpToPageSize()
/device/linaro/bootloader/arm-trusted-firmware/include/plat/common/
Dcommon_def.h84 #define BL1_RO_DATA_END round_up(BL1_ROM_END, PAGE_SIZE)
91 #define BL1_CODE_END round_up(BL1_ROM_END, PAGE_SIZE)
/device/google/cuttlefish_common/guest/hals/gralloc/legacy/
Dgralloc.cpp49 return (x + (PAGE_SIZE-1)) & ~(PAGE_SIZE-1); in roundUpToPageSize()
72 size += PAGE_SIZE; in gralloc_alloc_buffer()
Dregion_registry.cpp197 uintptr_t addr = base + hnd->total_size - PAGE_SIZE; in reference_region()
198 if (mprotect((void*)addr, PAGE_SIZE, PROT_NONE) == -1) { in reference_region()
/device/google/cuttlefish_common/guest/vsoc/lib/
Dgralloc_region_view.cpp33 return (val + PAGE_SIZE - 1) & ~(PAGE_SIZE - 1); in gralloc_align()
/device/linaro/bootloader/arm-trusted-firmware/include/lib/xlat_tables/
Dxlat_tables_defs.h67 #define PAGE_SIZE (U(1) << PAGE_SIZE_SHIFT) macro
68 #define PAGE_SIZE_MASK (PAGE_SIZE - 1)
/device/linaro/bootloader/arm-trusted-firmware/plat/socionext/uniphier/
Duniphier_xlat_setup.c30 round_up(BL_CODE_END, PAGE_SIZE) - BL_CODE_BASE, in uniphier_mmap_setup()
/device/generic/goldfish-opengl/system/OpenglSystemCommon/
DVirtioGpuStream.cpp29 #ifndef PAGE_SIZE
30 #define PAGE_SIZE 0x1000 macro
37 #define MAX_CMDRESPBUF_SIZE (10*PAGE_SIZE)
/device/linaro/bootloader/edk2/Omap35xxPkg/Flash/
DFlash.h33 #define PAGE_SIZE(x) ((x) & 0x01) macro
/device/linaro/bootloader/arm-trusted-firmware/common/
Dbl_common.c23 if (value & (PAGE_SIZE - 1)) { in page_align()
24 value &= ~(PAGE_SIZE - 1); in page_align()
26 value += PAGE_SIZE; in page_align()
/device/google/cuttlefish_common/guest/hals/gralloc/
Dgralloc.cpp195 size = align(size + formatToBytesPerFrame(format, w, h), PAGE_SIZE); in gralloc_alloc()
196 size += PAGE_SIZE; in gralloc_alloc()
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
Dgoldfish_address_space.cpp251 return reinterpret_cast<char *>(m_mmaped_ptr) + (m_host_addr & (PAGE_SIZE - 1)); in guestPtr()
425 return reinterpret_cast<char *>(m_mmaped_ptr) + (m_host_addr & (PAGE_SIZE - 1)); in guestPtr()
/device/linaro/bootloader/arm-trusted-firmware/lib/xlat_tables_v2/
Dxlat_tables_internal.c1537 if ((size % PAGE_SIZE) != 0) { in change_mem_attributes()
1549 int pages_count = size / PAGE_SIZE; in change_mem_attributes()
1585 (unsigned long long)XLAT_BLOCK_SIZE(level), PAGE_SIZE); in change_mem_attributes()
1601 base_va += PAGE_SIZE; in change_mem_attributes()
1655 base_va += PAGE_SIZE; in change_mem_attributes()
/device/generic/goldfish-opengl/
DBUILD.gn78 "PAGE_SIZE=4096",

12