Lines Matching refs:sparse
19 enum pci_mmap_state mmap_type, int sparse)
24 base = sparse ? hose->sparse_mem_base : hose->dense_mem_base;
26 base = sparse ? hose->sparse_io_base : hose->dense_io_base;
36 struct vm_area_struct *vma, int sparse)
39 int shift = sparse ? 5 : 0;
49 current->comm, sparse ? " sparse" : "", start, start + nr,
59 * @sparse: address space type
65 struct vm_area_struct *vma, int sparse)
80 if (!__pci_mmap_fits(pdev, i, vma, sparse))
87 vma->vm_pgoff += bar.start >> (PAGE_SHIFT - (sparse ? 5 : 0));
90 return hose_mmap_page_range(pdev->sysdata, vma, mmap_type, sparse);
144 /* All core logic chips have 4G sparse address space, except
156 unsigned long sparse)
161 res_attr->mmap = sparse ? pci_mmap_resource_sparse :
165 res_attr->size = sparse ? size << 5 : size;
208 /* Create bwx, sparse or single dense file */
254 unsigned long res_size, int sparse)
266 current->comm, sparse ? " sparse" : "", start, start + nr,
286 int sparse = has_sparse(hose, mmap_type);
291 if (!__legacy_mmap_fits(hose, vma, res_size, sparse))
294 return hose_mmap_page_range(hose, vma, mmap_type, sparse);
302 * Adjust file name and size for sparse mappings.