Lines Matching refs:page_completion
1145 struct vdo_page_completion *page_completion = as_vdo_page_completion(completion); in vdo_release_page_completion() local
1149 if (!validate_completed_page_or_enter_read_only_mode(page_completion, false)) in vdo_release_page_completion()
1152 if (--page_completion->info->busy == 0) in vdo_release_page_completion()
1153 discard_info = page_completion->info; in vdo_release_page_completion()
1156 VDO_ASSERT_LOG_ONLY((page_completion->waiter.next_waiter == NULL), in vdo_release_page_completion()
1159 page_completion->info = NULL; in vdo_release_page_completion()
1160 cache = page_completion->cache; in vdo_release_page_completion()
1210 void vdo_get_page(struct vdo_page_completion *page_completion, in vdo_get_page() argument
1216 struct vdo_completion *completion = &page_completion->completion; in vdo_get_page()
1220 VDO_ASSERT_LOG_ONLY((page_completion->waiter.next_waiter == NULL), in vdo_get_page()
1223 *page_completion = (struct vdo_page_completion) { in vdo_get_page()
1234 if (page_completion->writable && vdo_is_read_only(cache->vdo)) { in vdo_get_page()
1239 if (page_completion->writable) in vdo_get_page()
1244 info = find_page(cache, page_completion->pbn); in vdo_get_page()
1249 (is_outgoing(info) && page_completion->writable)) { in vdo_get_page()
1252 vdo_waitq_enqueue_waiter(&info->waiting, &page_completion->waiter); in vdo_get_page()
1263 complete_with_page(info, page_completion); in vdo_get_page()
1275 load_page_for_completion(info, page_completion); in vdo_get_page()
1281 discard_page_for_completion(page_completion); in vdo_get_page()
3089 vdo_get_page(&data_vio->page_completion, zone, in fetch_mapping_page()