Searched refs:spa_size (Results 1 – 2 of 2) sorted by relevance
205 static int spa_max_procs(int spa_size) in spa_max_procs() argument220 return ((spa_size / 8) - 96) / 17; in spa_max_procs()225 unsigned spa_size; in cxl_alloc_spa() local231 spa_size = (1 << afu->native->spa_order) * PAGE_SIZE; in cxl_alloc_spa()233 if (spa_size > 0x100000) { in cxl_alloc_spa()235 afu->native->spa_max_procs, afu->native->spa_size); in cxl_alloc_spa()241 afu->native->spa_size = spa_size; in cxl_alloc_spa()242 afu->native->spa_max_procs = spa_max_procs(afu->native->spa_size); in cxl_alloc_spa()264 spap |= ((afu->native->spa_size >> (12 - CXL_PSL_SPAP_Size_Shift)) - 1) & CXL_PSL_SPAP_Size; in attach_spa()
460 unsigned int spa_size; member