Searched refs:pg_size (Results 1 – 3 of 3) sorted by relevance
27 #define PG_MASK(pg_size) (~((pg_size)-1)) argument28 #define PG_ALIGN_LOW(addr, pg_size) ((addr) & PG_MASK(pg_size)) argument29 #define PG_ALIGN_HIGH(addr, pg_size) (((addr)+(pg_size)-1) & PG_MASK(pg_size)) argument
614 unsigned char pg_size = 0; in ibmtr_probe1() local622 pg_size = 32; /* 16KB page size */ in ibmtr_probe1()626 pg_size = 64; /* 32KB page size */ in ibmtr_probe1()632 pg_size = 32; in ibmtr_probe1()636 pg_size = 64; in ibmtr_probe1()
2552 unsigned int pg_size) in pm_num_pages() argument2554 unsigned int n = mem_size / pg_size; in pm_num_pages()