Searched refs:pg_size (Results 1 – 3 of 3) sorted by relevance
/third_party/libunwind/src/mi/ |
D | mempool.c | 46 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/ |
D | ioctl_loop06.c | 93 unsigned int pg_size; in setup() local 102 pg_size = getpagesize(); in setup() 103 invalid_value = pg_size * 2 ; in setup() 104 unalign_value = pg_size - 1; in setup()
|
/third_party/mesa3d/src/gallium/winsys/svga/drm/ |
D | vmw_screen_svga.c | 137 const size_t pg_size = getpagesize(); in vmw_svga_winsys_stats_len() local 138 const size_t area_size_stat_pg = ALIGN(mksstat_area_size_stat, pg_size); in vmw_svga_winsys_stats_len() 139 const size_t area_size_info_pg = ALIGN(mksstat_area_size_info, pg_size); in vmw_svga_winsys_stats_len() 215 const size_t pg_size = getpagesize(); in vmw_svga_winsys_add_stats() local 233 pinfo = vmw_mksstat_get_pinfo(area, pg_size); in vmw_svga_winsys_add_stats() 234 pstat = vmw_mksstat_get_pstat(area, pg_size); in vmw_svga_winsys_add_stats() 235 pstrs = vmw_mksstat_get_pstrs(area, pg_size); in vmw_svga_winsys_add_stats() 236 pstatTime = vmw_mksstat_get_pstat_time(area, pg_size); in vmw_svga_winsys_add_stats() 279 .info = (uintptr_t)vmw_mksstat_get_pinfo(area, pg_size), in vmw_svga_winsys_add_stats() 280 .strs = (uintptr_t)vmw_mksstat_get_pstrs(area, pg_size), in vmw_svga_winsys_add_stats()
|