Home
last modified time | relevance | path

Searched refs:pg_size (Results 1 – 4 of 4) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/munlock/
Dmunlock02.c20 static size_t len, pg_size; variable
31 pg_size = getpagesize(); in setup()
32 len = 8 * pg_size; in setup()
40 addr += 2 * pg_size; in setup()
41 SAFE_MUNMAP(addr, 4 * pg_size); in setup()
/third_party/libunwind/libunwind/src/mi/
Dmempool.c46 static size_t pg_size; variable
97 size = UNW_ALIGN(pool->obj_size, pg_size); in expand()
112 if (pg_size == 0) in mempool_init()
113 pg_size = getpagesize (); in mempool_init()
124 reserve = pg_size / obj_size / 4; in mempool_init()
131 pool->chunk_size = UNW_ALIGN(2*reserve*obj_size, pg_size); in mempool_init()
/third_party/ltp/testcases/kernel/syscalls/ioctl/
Dioctl_loop06.c98 unsigned int pg_size; in setup() local
107 pg_size = getpagesize(); in setup()
108 invalid_value = pg_size * 2 ; in setup()
109 unalign_value = pg_size - 1; in setup()
/third_party/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_screen_svga.c138 const size_t pg_size = getpagesize(); in vmw_svga_winsys_stats_len() local
139 const size_t area_size_stat_pg = ALIGN(mksstat_area_size_stat, pg_size); in vmw_svga_winsys_stats_len()
140 const size_t area_size_info_pg = ALIGN(mksstat_area_size_info, pg_size); in vmw_svga_winsys_stats_len()
216 const size_t pg_size = getpagesize(); in vmw_svga_winsys_add_stats() local
234 pinfo = vmw_mksstat_get_pinfo(area, pg_size); in vmw_svga_winsys_add_stats()
235 pstat = vmw_mksstat_get_pstat(area, pg_size); in vmw_svga_winsys_add_stats()
236 pstrs = vmw_mksstat_get_pstrs(area, pg_size); in vmw_svga_winsys_add_stats()
237 pstatTime = vmw_mksstat_get_pstat_time(area, pg_size); in vmw_svga_winsys_add_stats()
280 .info = (uintptr_t)vmw_mksstat_get_pinfo(area, pg_size), in vmw_svga_winsys_add_stats()
281 .strs = (uintptr_t)vmw_mksstat_get_pstrs(area, pg_size), in vmw_svga_winsys_add_stats()