Home
last modified time | relevance | path

Searched refs:region_nr (Results 1 – 1 of 1) sorted by relevance

/include/linux/
Dlmb.h62 lmb_size_bytes(struct lmb_region *type, unsigned long region_nr) in lmb_size_bytes() argument
64 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() argument
69 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() argument
74 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() argument
79 return lmb_start_pfn(type, region_nr) + in lmb_end_pfn()
80 lmb_size_pages(type, region_nr); in lmb_end_pfn()