Lines Matching refs:pcol_copy
264 struct page_collect *pcol_copy = NULL;
283 pcol_copy = kmalloc(sizeof(*pcol_copy), GFP_KERNEL);
284 if (!pcol_copy) {
289 *pcol_copy = *pcol;
291 ios->private = pcol_copy;
301 /* pages ownership was passed to pcol_copy */
311 kfree(pcol_copy);
505 struct page_collect *pcol_copy = NULL;
511 pcol_copy = kmalloc(sizeof(*pcol_copy), GFP_KERNEL);
512 if (!pcol_copy) {
518 *pcol_copy = *pcol;
520 ios->pages = pcol_copy->pages;
521 ios->nr_pages = pcol_copy->nr_pages;
522 ios->offset = pcol_copy->pg_first << PAGE_CACHE_SHIFT;
523 ios->length = pcol_copy->length;
525 ios->private = pcol_copy;
537 /* pages ownership was passed to pcol_copy */
544 kfree(pcol_copy);