Lines Matching refs:mnode
67 #define PLCNT_INCR(pp, mnode, mtype, szc, flags) \ argument
69 #define PLCNT_DECR(pp, mnode, mtype, szc, flags) \ argument
97 #define MNODE_RANGE_CNT(mnode) mnode_range_cnt(mnode) argument
98 #define MNODE_MAX_MRANGE(mnode) memrange_num(mem_node_config[mnode].physbase) argument
105 #define MTYPE_2_MRANGE(mnode, mtype) \ argument
106 (mnode_maxmrange[mnode] - mtype_2_mrange(mtype))
117 #define PAGE_FREELISTS(mnode, szc, color, mtype) \ argument
128 #define PAGE_CACHELISTS(mnode, color, mtype) \ argument
148 #define MEM_NODE_ITERATOR_INIT(pfn, mnode, szc, it) argument
155 #define HPM_COUNTERS_LIMITS(mnode, physbase, physmax, first) \ argument
157 (physbase) = mem_node_config[(mnode)].physbase; \
158 (physmax) = mem_node_config[(mnode)].physmax; \
159 (first) = (mnode); \
162 #define PAGE_CTRS_WRITE_LOCK(mnode) \ argument
164 rw_enter(&page_ctrs_rwlock[(mnode)], RW_WRITER);\
165 page_freelist_lock(mnode); \
168 #define PAGE_CTRS_WRITE_UNLOCK(mnode) \ argument
170 page_freelist_unlock(mnode); \
171 rw_exit(&page_ctrs_rwlock[(mnode)]); \
296 #define MTYPE_START(mnode, mtype, flags) \ argument
297 (mtype = mtype_func(mnode, mtype, flags))
299 #define MTYPE_NEXT(mnode, mtype, flags) { \ argument
301 mtype = mtype_func(mnode, mtype, flags | PGI_MT_NEXT); \
308 #define MTYPE_PGR_INIT(mtype, flags, pp, mnode, pgcnt) \ argument
309 (mtype = mtype_pgr_init(&flags, pp, mnode, pgcnt))
311 #define MNODE_PGCNT(mnode) mnode_pgcnt(mnode) argument
314 #define MNODETYPE_2_PFN(mnode, mtype, pfnlo, pfnhi) \ argument
315 mnodetype_2_pfn(mnode, mtype, &pfnlo, &pfnhi)
317 #define PC_BIN_MUTEX(mnode, bin, flags) ((flags & PG_FREE_LIST) ? \ argument
318 &fpc_mutex[(bin) & (NPC_MUTEX - 1)][mnode] : \
319 &cpc_mutex[(bin) & (NPC_MUTEX - 1)][mnode])
321 #define FPC_MUTEX(mnode, i) (&fpc_mutex[i][mnode]) argument
322 #define CPC_MUTEX(mnode, i) (&cpc_mutex[i][mnode]) argument