Lines Matching refs:sg_pages
130 * @sg_pages: array of scatter gather (block descriptor) pages
144 struct page **sg_pages, int reset)
172 sglist_phys = page_to_phys(sg_pages[0]);
222 struct page **sg_pages;
233 sg_pages = kcalloc(sg_count, sizeof(*sg_pages), GFP_KERNEL);
234 if (!sg_pages)
238 sg_pages[i] = alloc_page(GFP_KERNEL);
239 if (!sg_pages[i]) {
248 sglist = kmap_atomic(sg_pages[i]);
267 sglist[j].data = page_to_phys(sg_pages[i + 1]);
284 rv = efi_capsule_update_locked(capsule, sg_pages, reset_type);
289 if (sg_pages[i])
290 __free_page(sg_pages[i]);
293 kfree(sg_pages);