Searched refs:sgt_append (Results 1 – 1 of 1) sorted by relevance
454 int sg_alloc_append_table_from_pages(struct sg_append_table *sgt_append, in sg_alloc_append_table_from_pages() argument461 struct scatterlist *s = sgt_append->prv; in sg_alloc_append_table_from_pages()472 if (IS_ENABLED(CONFIG_ARCH_NO_SG_CHAIN) && sgt_append->prv) in sg_alloc_append_table_from_pages()475 if (sgt_append->prv) { in sg_alloc_append_table_from_pages()476 unsigned long next_pfn = (page_to_phys(sg_page(sgt_append->prv)) + in sg_alloc_append_table_from_pages()477 sgt_append->prv->offset + sgt_append->prv->length) / PAGE_SIZE; in sg_alloc_append_table_from_pages()483 prv_len = sgt_append->prv->length; in sg_alloc_append_table_from_pages()487 if (sgt_append->prv->length + PAGE_SIZE > max_segment) in sg_alloc_append_table_from_pages()489 sgt_append->prv->length += PAGE_SIZE; in sg_alloc_append_table_from_pages()526 s = get_next_sg(sgt_append, s, chunks - i + left_pages, in sg_alloc_append_table_from_pages()[all …]