Searched refs:region_nr (Results 1 – 1 of 1) sorted by relevance
62 lmb_size_bytes(struct lmb_region *type, unsigned long region_nr) in lmb_size_bytes() argument64 return type->region[region_nr].size; in lmb_size_bytes()67 lmb_size_pages(struct lmb_region *type, unsigned long region_nr) in lmb_size_pages() argument69 return lmb_size_bytes(type, region_nr) >> PAGE_SHIFT; in lmb_size_pages()72 lmb_start_pfn(struct lmb_region *type, unsigned long region_nr) in lmb_start_pfn() argument74 return type->region[region_nr].base >> PAGE_SHIFT; in lmb_start_pfn()77 lmb_end_pfn(struct lmb_region *type, unsigned long region_nr) in lmb_end_pfn() argument79 return lmb_start_pfn(type, region_nr) + in lmb_end_pfn()80 lmb_size_pages(type, region_nr); in lmb_end_pfn()