Lines Matching refs:slot
59 pfn_t slot_getsize(cnodeid_t node, int slot) in slot_getsize() argument
61 return (pfn_t) slot_psize_cache[node][slot]; in slot_getsize()
78 int slot; in node_getmaxclick() local
84 for (slot = (node_getnumslots(node) - 1); slot >= 0; slot--) { in node_getmaxclick()
85 if ((slot_psize = slot_getsize(node, slot))) { in node_getmaxclick()
89 return slot_getbasepfn(node, slot) + slot_psize - 1; in node_getmaxclick()
100 static pfn_t slot_psize_compute(cnodeid_t node, int slot) in slot_psize_compute() argument
119 size = (unsigned long)banks->membnk_bnksz[slot/4]; in slot_psize_compute()
123 if (slot%4 == 0) { in slot_psize_compute()
139 int slot, numslots; in szmem() local
147 for (slot = 0; slot < numslots; slot++) { in szmem()
148 slot_psize = slot_psize_compute(node, slot); in szmem()
149 if (slot == 0) slot0sz = slot_psize; in szmem()
160 slot, node); in szmem()
161 slot_psize_cache[node][slot] = SLOT_IGNORED; in szmem()
162 slot = numslots; in szmem()
166 slot_psize_cache[node][slot] = in szmem()
169 slot_lastfilled_cache[node] = slot; in szmem()
278 int slot, numslots; in mem_init() local
304 for (slot = 1; slot <= numslots; slot++) { in mem_init()
306 slot_getbasepfn(nid, slot) - slot_getbasepfn(nid, 0); in mem_init()
319 pslot += slot_getsize(nid, slot); in mem_init()