Lines Matching refs:slot
258 static unsigned long __init slot_getbasepfn(cnodeid_t cnode, int slot) in slot_getbasepfn() argument
262 return ((unsigned long)nasid << PFN_NASIDSHFT) | (slot << SLOT_PFNSHIFT); in slot_getbasepfn()
265 static unsigned long __init slot_psize_compute(cnodeid_t node, int slot) in slot_psize_compute() argument
284 size = (unsigned long)banks->membnk_bnksz[slot/4]; in slot_psize_compute()
288 if (slot % 4 == 0) { in slot_psize_compute()
357 int slot; in szmem() local
362 for (slot = 0; slot < MAX_MEM_SLOTS; slot++) { in szmem()
363 slot_psize = slot_psize_compute(node, slot); in szmem()
364 if (slot == 0) in szmem()
378 slot, node); in szmem()
379 slot = MAX_MEM_SLOTS; in szmem()
382 memblock_add_node(PFN_PHYS(slot_getbasepfn(node, slot)), in szmem()