Lines Matching defs:slot
231 static unsigned long __init slot_getbasepfn(nasid_t nasid, int slot)
233 return ((unsigned long)nasid << PFN_NASIDSHFT) | (slot << SLOT_PFNSHIFT);
236 static unsigned long __init slot_psize_compute(nasid_t nasid, int slot)
253 size = (unsigned long)banks->membnk_bnksz[slot/4];
257 if (slot % 4 == 0) {
318 int slot;
323 for (slot = 0; slot < MAX_MEM_SLOTS; slot++) {
324 slot_psize = slot_psize_compute(node, slot);
325 if (slot == 0)
338 pr_info("Ignoring slot %d onwards on node %d\n",
339 slot, node);
340 slot = MAX_MEM_SLOTS;
343 memblock_add_node(PFN_PHYS(slot_getbasepfn(node, slot)),
386 * Currently, the intranode memory hole support assumes that each slot
388 * fits on the first slot.