Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/md/dm-vdo/indexer/
Dvolume.c86 static inline u32 map_to_page_number(struct index_geometry *geometry, u32 physical_page) in map_to_page_number() argument
88 return (physical_page - HEADER_PAGES_PER_VOLUME) % geometry->pages_per_chapter; in map_to_page_number()
91 static inline u32 map_to_chapter_number(struct index_geometry *geometry, u32 physical_page) in map_to_chapter_number() argument
93 return (physical_page - HEADER_PAGES_PER_VOLUME) / geometry->pages_per_chapter; in map_to_chapter_number()
96 static inline bool is_record_page(struct index_geometry *geometry, u32 physical_page) in is_record_page() argument
98 return map_to_page_number(geometry, physical_page) >= geometry->index_pages_per_chapter; in is_record_page()
129 static void begin_pending_search(struct page_cache *cache, u32 physical_page, in begin_pending_search() argument
135 invalidate_counter.page = physical_page; in begin_pending_search()
167 static void wait_for_pending_searches(struct page_cache *cache, u32 physical_page) in wait_for_pending_searches() argument
184 (initial_counters[i].page == physical_page)) { in wait_for_pending_searches()
[all …]
Dvolume.h43 u32 physical_page; member
56 u32 physical_page; member