Lines Matching refs:mnode
58 #define MTYPE_PGR_INIT(mtype, flags, pp, mnode, pgcnt) \ argument
61 #define MNODETYPE_2_PFN(mnode, mtype, pfnlo, pfnhi) \ argument
62 pfnlo = mem_node_config[mnode].physbase; \
63 pfnhi = mem_node_config[mnode].physmax;
69 #define MNODE_RANGE_CNT(mnode) MAX_MNODE_MRANGES argument
70 #define MNODE_MAX_MRANGE(mnode) (MAX_MEM_TYPES - 1) argument
71 #define MTYPE_2_MRANGE(mnode, mtype) (mtype) argument
90 #define PAGE_FREELISTS(mnode, szc, color, mtype) \ argument
91 (*(page_freelists[szc][mtype][mnode] + (color)))
93 #define PAGE_CACHELISTS(mnode, color, mtype) \ argument
94 (*(page_cachelists[mtype][mnode] + (color)))
141 #define MEM_NODE_ITERATOR_INIT(pfn, mnode, szc, it) \ argument
142 (pfn) = plat_mem_node_iterator_init((pfn), (mnode), (szc), (it), 1)
153 #define MEM_NODE_ITERATOR_INIT(pfn, mnode, szc, it) argument
165 #define HPM_COUNTERS_LIMITS(mnode, physbase, physmax, first) \ argument
167 (physbase) = mem_node_config[(mnode)].physbase; \
168 (physmax) = mem_node_config[(mnode)].physmax; \
169 (first) = (mnode); \
172 (first) = (mnode); \
175 #define PAGE_CTRS_WRITE_LOCK(mnode) \ argument
177 rw_enter(&page_ctrs_rwlock[(mnode)], RW_WRITER); \
178 page_freelist_lock(mnode); \
188 #define PAGE_CTRS_WRITE_UNLOCK(mnode) \ argument
190 page_freelist_unlock(mnode); \
191 rw_exit(&page_ctrs_rwlock[(mnode)]); \
293 #define PC_BIN_MUTEX(mnode, bin, flags) ((flags & PG_FREE_LIST) ? \ argument
294 &fpc_mutex[(bin) & (NPC_MUTEX - 1)][mnode] : \
295 &cpc_mutex[(bin) & (NPC_MUTEX - 1)][mnode])
297 #define FPC_MUTEX(mnode, i) (&fpc_mutex[i][mnode]) argument
298 #define CPC_MUTEX(mnode, i) (&cpc_mutex[i][mnode]) argument
516 #define MTYPE_START(mnode, mtype, flags) { \ argument
517 if (plcnt[mnode][mtype].plc_mt_pgmax == 0) { \
519 MNODETYPE_PGCNT(mnode, mtype) == 0 || \
520 plcnt[mnode][mtype].plc_mt_pgmax != 0); \
521 MTYPE_NEXT(mnode, mtype, flags); \
529 #define MTYPE_NEXT(mnode, mtype, flags) { \ argument
532 if (plcnt[mnode][MTYPE_NORELOC].plc_mt_pgmax == 0) { \
533 ASSERT(MNODETYPE_PGCNT(mnode, MTYPE_NORELOC) == 0 || \
534 plcnt[mnode][MTYPE_NORELOC].plc_mt_pgmax != 0); \