Searched refs:ALLOC_ENTRIES (Results 1 – 2 of 2) sorted by relevance
21 #define ALLOC_ENTRIES(x) ((V_RAM / x) - 1) macro141 INTPriv(pInt)->alloc = (void *) xnfcalloc(1, ALLOC_ENTRIES(getpagesize())); in xf86ExtendedInitInt10()339 int num_pages = ALLOC_ENTRIES(pagesize); in xf86Int10AllocPages()
20 #define ALLOC_ENTRIES(x) ((V_RAM / x) - 1) macro172 (void *) xnfcalloc(1, ALLOC_ENTRIES(pagesize)); in xf86ExtendedInitInt10()429 int num_pages = ALLOC_ENTRIES(pagesize); in xf86Int10AllocPages()