Lines Matching refs:PAGE_SIZE
36 #define PAGE_SIZE (1UL << PAGE_SHIFT) macro
37 #define PAGE_MASK (~(PAGE_SIZE-1))
81 if ( refs_size <= PAGE_SIZE ) in osdep_gnttab_grant_map()
108 addr = mmap(NULL, PAGE_SIZE * count, prot, MAP_SHARED, fd, in osdep_gnttab_grant_map()
117 if ( notify_offset < PAGE_SIZE * count ) in osdep_gnttab_grant_map()
132 munmap(addr, count * PAGE_SIZE); in osdep_gnttab_grant_map()
151 if ( refs_size > PAGE_SIZE ) in osdep_gnttab_grant_map()
190 if ( (rc = munmap(start_address, count * PAGE_SIZE)) ) in osdep_gnttab_unmap()
257 area = mmap(NULL, count * PAGE_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED, in osdep_gntshr_share_pages()
269 if ( notify_offset < PAGE_SIZE * count ) in osdep_gntshr_share_pages()
284 munmap(area, count * PAGE_SIZE); in osdep_gntshr_share_pages()
307 return munmap(start_address, count * PAGE_SIZE); in osdep_gntshr_unshare()