FreeBSD/sys/dev/drm2/ttm/ttm_tt.c
/**
 * Allocates storage for pointers to the pages that back the ttm.
 */
Allocates storage for pointers to the pages that back the ttm.
Allocates storage for pointers to the pages that back the ttm .
static void ttm_tt_alloc_page_directory(struct ttm_tt *ttm)
{
	ttm->pages = malloc(ttm->num_pages * sizeof(void *),
	    M_TTM_PD, M_WAITOK | M_ZERO);
}
static void ttm_tt_alloc_page_directory ( struct ttm_tt * ttm ) { ttm -> pages = malloc ( ttm -> num_pages * sizeof ( void * ) , M_TTM_PD , M_WAITOK | M_ZERO ) ; }
Allocates storage for pointers to the pages that back the ttm.
Allocates storage for pointers to the pages that back the ttm .