Lines Matching refs:mnode

62 #define	MNODETYPE_2_PFN(mnode, mtype, pfnlo, pfnhi)			\  argument
63 pfnlo = mem_node_config[mnode].physbase; \
64 pfnhi = mem_node_config[mnode].physmax;
70 #define MNODE_RANGE_CNT(mnode) MAX_MNODE_MRANGES argument
71 #define MNODE_MAX_MRANGE(mnode) (MAX_MEM_TYPES - 1) argument
72 #define MTYPE_2_MRANGE(mnode, mtype) (mtype) argument
91 #define PAGE_FREELISTS(mnode, szc, color, mtype) \ argument
92 (*(page_freelists[szc][mtype][mnode] + (color)))
94 #define PAGE_CACHELISTS(mnode, color, mtype) \ argument
95 (*(page_cachelists[mtype][mnode] + (color)))
142 #define MEM_NODE_ITERATOR_INIT(pfn, mnode, szc, it) \ argument
143 (pfn) = plat_mem_node_iterator_init((pfn), (mnode), (szc), (it), 1)
154 #define MEM_NODE_ITERATOR_INIT(pfn, mnode, szc, it) argument
166 #define HPM_COUNTERS_LIMITS(mnode, physbase, physmax, first) \ argument
168 (physbase) = mem_node_config[(mnode)].physbase; \
169 (physmax) = mem_node_config[(mnode)].physmax; \
170 (first) = (mnode); \
173 (first) = (mnode); \
176 #define PAGE_CTRS_WRITE_LOCK(mnode) \ argument
178 rw_enter(&page_ctrs_rwlock[(mnode)], RW_WRITER); \
179 page_freelist_lock(mnode); \
189 #define PAGE_CTRS_WRITE_UNLOCK(mnode) \ argument
191 page_freelist_unlock(mnode); \
192 rw_exit(&page_ctrs_rwlock[(mnode)]); \
294 #define PC_BIN_MUTEX(mnode, bin, flags) ((flags & PG_FREE_LIST) ? \ argument
295 &fpc_mutex[(bin) & (NPC_MUTEX - 1)][mnode] : \
296 &cpc_mutex[(bin) & (NPC_MUTEX - 1)][mnode])
298 #define FPC_MUTEX(mnode, i) (&fpc_mutex[i][mnode]) argument
299 #define CPC_MUTEX(mnode, i) (&cpc_mutex[i][mnode]) argument
518 #define MTYPE_START(mnode, mtype, flags) { \ argument
519 if (plcnt[mnode][mtype].plc_mt_pgmax == 0) { \
521 MNODETYPE_PGCNT(mnode, mtype) == 0 || \
522 plcnt[mnode][mtype].plc_mt_pgmax != 0); \
523 MTYPE_NEXT(mnode, mtype, flags); \
531 #define MTYPE_NEXT(mnode, mtype, flags) { \ argument
534 if (plcnt[mnode][MTYPE_NORELOC].plc_mt_pgmax == 0) { \
535 ASSERT(MNODETYPE_PGCNT(mnode, MTYPE_NORELOC) == 0 || \
536 plcnt[mnode][MTYPE_NORELOC].plc_mt_pgmax != 0); \