Lines Matching defs:mn
364 int mn, mt, szc, colors; \
367 for (mn = 0; mn < max_mem_nodes; mn++) { \
369 plcnt[mn][mt].plc_mts[szc]. \
371 plcnt[mn][mt].plc_mts[szc]. \
379 #define PLCNT_DO(pp, mn, mtype, szc, cnt, flags) { \
382 atomic_add_long(&plcnt[mn][mtype].plc_mt_clpgcnt, cnt); \
384 atomic_add_long(&plcnt[mn][mtype].plc_mt_lgpgcnt, cnt); \
386 atomic_add_long(&plcnt[mn][mtype].plc_mt_flpgcnt, cnt); \
387 atomic_add_long(&plcnt[mn][mtype].plc_mts[szc].plc_mts_pgcnt, \
389 atomic_add_long(&plcnt[mn][mtype].plc_mts[szc]. \
401 #define PLCNT_DO(pp, mn, mtype, szc, cnt, flags) { \
403 atomic_add_long(&plcnt[mn][mtype].plc_mt_clpgcnt, cnt); \
405 atomic_add_long(&plcnt[mn][mtype].plc_mt_lgpgcnt, cnt); \
407 atomic_add_long(&plcnt[mn][mtype].plc_mt_flpgcnt, cnt); \
412 #define PLCNT_INCR(pp, mn, mtype, szc, flags) { \
414 PLCNT_DO(pp, mn, mtype, szc, cnt, flags); \
417 #define PLCNT_DECR(pp, mn, mtype, szc, flags) { \
419 PLCNT_DO(pp, mn, mtype, szc, cnt, flags); \
429 int mn = PP_2_MEM_NODE(pp); \
430 atomic_add_long(&plcnt[mn][MTYPE_NORELOC].plc_mt_pgmax, cnt); \
431 atomic_add_long(&plcnt[mn][MTYPE_RELOC].plc_mt_pgmax, -cnt); \
499 #define MNODE_PGCNT(mn) \
500 (plcnt[mn][MTYPE_RELOC].plc_mt_clpgcnt + \
501 plcnt[mn][MTYPE_NORELOC].plc_mt_clpgcnt + \
502 plcnt[mn][MTYPE_RELOC].plc_mt_flpgcnt + \
503 plcnt[mn][MTYPE_NORELOC].plc_mt_flpgcnt + \
504 plcnt[mn][MTYPE_RELOC].plc_mt_lgpgcnt + \
505 plcnt[mn][MTYPE_NORELOC].plc_mt_lgpgcnt)
507 #define MNODETYPE_PGCNT(mn, mtype) \
508 (plcnt[mn][mtype].plc_mt_clpgcnt + \
509 plcnt[mn][mtype].plc_mt_flpgcnt + \
510 plcnt[mn][mtype].plc_mt_lgpgcnt)