Searched refs:_page_size (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/lib/posix/options/ |
D | mmap.c | 18 #define _page_size COND_CODE_1(CONFIG_MMU, (CONFIG_MMU_PAGE_SIZE), (PAGE_SIZE)) macro 87 k_mem_map_phys_bare((uint8_t **)&virt, phys, (size_t)ROUND_UP(len, _page_size), in mmap() 124 k_mem_unmap(addr, ROUND_UP(len, _page_size)); in munmap()
|
D | shm.c | 23 #define _page_size COND_CODE_1(CONFIG_MMU, (CONFIG_MMU_PAGE_SIZE), (PAGE_SIZE)) macro 89 k_mem_unmap(shm->mem, ROUND_UP(shm->size, _page_size)); in shm_obj_remove() 127 virt = k_mem_map(ROUND_UP(length, _page_size), K_MEM_PERM_RW); in shm_ftruncate() 184 ((off & (_page_size - 1)) != 0) || ((len + off) > shm->size)) { in shm_mmap()
|