Searched refs:s_page (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/mm/
H A Dzsmalloc.c1506 struct page *s_page, *d_page; zs_object_copy() local
1515 obj_to_location(src, &s_page, &s_objidx); zs_object_copy()
1518 s_off = obj_idx_to_offset(s_page, s_objidx, class->size); zs_object_copy()
1527 s_addr = kmap_atomic(s_page); zs_object_copy()
1546 s_page = get_next_page(s_page); zs_object_copy()
1547 BUG_ON(!s_page); zs_object_copy()
1548 s_addr = kmap_atomic(s_page); zs_object_copy()
1603 struct page *s_page; member in struct:zs_compact_control
1607 /* Starting object index within @s_page which used for live object
1617 struct page *s_page = cc->s_page; migrate_zspage() local
1623 handle = find_alloced_obj(s_page, index, class); migrate_zspage()
1625 s_page = get_next_page(s_page); migrate_zspage()
1626 if (!s_page) migrate_zspage()
1656 cc->s_page = s_page; migrate_zspage()
1763 cc.s_page = src_page; __zs_compact()
/linux-4.4.14/kernel/power/
H A Dsnapshot.c1211 static void safe_copy_page(void *dst, struct page *s_page) safe_copy_page() argument
1213 if (kernel_page_present(s_page)) { safe_copy_page()
1214 do_copy_page(dst, page_address(s_page)); safe_copy_page()
1216 kernel_map_pages(s_page, 1, 1); safe_copy_page()
1217 do_copy_page(dst, page_address(s_page)); safe_copy_page()
1218 kernel_map_pages(s_page, 1, 0); safe_copy_page()
1233 struct page *s_page, *d_page; copy_data_page() local
1236 s_page = pfn_to_page(src_pfn); copy_data_page()
1238 if (PageHighMem(s_page)) { copy_data_page()
1239 src = kmap_atomic(s_page); copy_data_page()
1249 safe_copy_page(buffer, s_page); copy_data_page()
1254 safe_copy_page(page_address(d_page), s_page); copy_data_page() local

Completed in 161 milliseconds