Lines Matching refs:rsv_schp
1223 Sg_scatter_hold *rsv_schp; in sg_vma_fault() local
1228 rsv_schp = &sfp->reserve; in sg_vma_fault()
1230 if (offset >= rsv_schp->bufflen) in sg_vma_fault()
1234 offset, rsv_schp->k_use_sg)); in sg_vma_fault()
1236 length = 1 << (PAGE_SHIFT + rsv_schp->page_order); in sg_vma_fault()
1237 for (k = 0; k < rsv_schp->k_use_sg && sa < vma->vm_end; k++) { in sg_vma_fault()
1241 struct page *page = nth_page(rsv_schp->pages[k], in sg_vma_fault()
1263 Sg_scatter_hold *rsv_schp; in sg_mmap() local
1275 rsv_schp = &sfp->reserve; in sg_mmap()
1277 if (req_sz > rsv_schp->bufflen) { in sg_mmap()
1283 length = 1 << (PAGE_SHIFT + rsv_schp->page_order); in sg_mmap()
1284 for (k = 0; k < rsv_schp->k_use_sg && sa < vma->vm_end; k++) { in sg_mmap()
1726 Sg_scatter_hold *rsv_schp = &sfp->reserve; in sg_start_req() local
1777 if (dxfer_len <= rsv_schp->bufflen && in sg_start_req()
1783 if (dxfer_len > rsv_schp->bufflen) in sg_start_req()
2014 Sg_scatter_hold *rsv_schp = &sfp->reserve; in sg_link_reserve() local
2022 num = 1 << (PAGE_SHIFT + rsv_schp->page_order); in sg_link_reserve()
2023 for (k = 0; k < rsv_schp->k_use_sg; k++) { in sg_link_reserve()
2026 req_schp->sglist_len = rsv_schp->sglist_len; in sg_link_reserve()
2027 req_schp->pages = rsv_schp->pages; in sg_link_reserve()
2030 req_schp->page_order = rsv_schp->page_order; in sg_link_reserve()
2036 if (k >= rsv_schp->k_use_sg) in sg_link_reserve()