Searched refs:sgt_append (Results 1 – 1 of 1) sorted by relevance
442 int sg_alloc_append_table_from_pages(struct sg_append_table *sgt_append, in sg_alloc_append_table_from_pages() argument449 struct scatterlist *s = sgt_append->prv; in sg_alloc_append_table_from_pages()459 if (IS_ENABLED(CONFIG_ARCH_NO_SG_CHAIN) && sgt_append->prv) in sg_alloc_append_table_from_pages()462 if (sgt_append->prv) { in sg_alloc_append_table_from_pages()464 (page_to_pfn(sg_page(sgt_append->prv)) * PAGE_SIZE + in sg_alloc_append_table_from_pages()465 sgt_append->prv->offset + sgt_append->prv->length) / in sg_alloc_append_table_from_pages()472 prv_len = sgt_append->prv->length; in sg_alloc_append_table_from_pages()474 if (sgt_append->prv->length + PAGE_SIZE > max_segment) in sg_alloc_append_table_from_pages()476 sgt_append->prv->length += PAGE_SIZE; in sg_alloc_append_table_from_pages()513 s = get_next_sg(sgt_append, s, chunks - i + left_pages, in sg_alloc_append_table_from_pages()[all …]