Home
last modified time | relevance | path

Searched refs:PAGE_SIZE (Results 1 – 25 of 36) 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/amlogic/yukawa/gralloc/
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.h85 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/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/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/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/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/linaro/hikey/gralloc/
Dgralloc_helper.h26 return (x + (PAGE_SIZE - 1)) & ~(PAGE_SIZE - 1); in round_up_to_page_size()
/device/google/sunfish-kernel/sm7150/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/coral-kernel/sm8150/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/coral-kernel/sm8150/original-kernel-headers/linux/
Dspcom.h21 #ifndef PAGE_SIZE
22 #define PAGE_SIZE 4096 macro
48 #define SPCOM_GET_NEXT_REQUEST_SIZE (PAGE_SIZE-1)
/device/google/sunfish-kernel/sm7150/original-kernel-headers/linux/
Dspcom.h21 #ifndef PAGE_SIZE
22 #define PAGE_SIZE 4096 macro
48 #define SPCOM_GET_NEXT_REQUEST_SIZE (PAGE_SIZE-1)
/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/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/guest/hals/gralloc/legacy/
Dgralloc.cpp46 return (x + (PAGE_SIZE-1)) & ~(PAGE_SIZE-1); in roundUpToPageSize()
69 size += PAGE_SIZE; in gralloc_alloc_buffer()
Dregion_registry.cpp199 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/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

12