Home
last modified time | relevance | path

Searched refs:sparse (Results 1 - 25 of 108) sorted by relevance

12345

/kernel/linux/linux-5.10/arch/alpha/kernel/
H A Dpci-sysfs.c20 enum pci_mmap_state mmap_type, int sparse) in hose_mmap_page_range()
25 base = sparse ? hose->sparse_mem_base : hose->dense_mem_base; in hose_mmap_page_range()
27 base = sparse ? hose->sparse_io_base : hose->dense_io_base; in hose_mmap_page_range()
37 struct vm_area_struct *vma, int sparse) in __pci_mmap_fits()
40 int shift = sparse ? 5 : 0; in __pci_mmap_fits()
50 current->comm, sparse ? " sparse" : "", start, start + nr, in __pci_mmap_fits()
60 * @sparse: address space type
66 struct vm_area_struct *vma, int sparse) in pci_mmap_resource()
83 if (!__pci_mmap_fits(pdev, i, vma, sparse)) in pci_mmap_resource()
18 hose_mmap_page_range(struct pci_controller *hose, struct vm_area_struct *vma, enum pci_mmap_state mmap_type, int sparse) hose_mmap_page_range() argument
36 __pci_mmap_fits(struct pci_dev *pdev, int num, struct vm_area_struct *vma, int sparse) __pci_mmap_fits() argument
64 pci_mmap_resource(struct kobject *kobj, struct bin_attribute *attr, struct vm_area_struct *vma, int sparse) pci_mmap_resource() argument
154 pci_create_one_attr(struct pci_dev *pdev, int num, char *name, char *suffix, struct bin_attribute *res_attr, unsigned long sparse) pci_create_one_attr() argument
252 __legacy_mmap_fits(struct pci_controller *hose, struct vm_area_struct *vma, unsigned long res_size, int sparse) __legacy_mmap_fits() argument
286 int sparse = has_sparse(hose, mmap_type); pci_mmap_legacy_page_range() local
[all...]
/kernel/linux/linux-6.6/arch/alpha/kernel/
H A Dpci-sysfs.c20 enum pci_mmap_state mmap_type, int sparse) in hose_mmap_page_range()
25 base = sparse ? hose->sparse_mem_base : hose->dense_mem_base; in hose_mmap_page_range()
27 base = sparse ? hose->sparse_io_base : hose->dense_io_base; in hose_mmap_page_range()
37 struct vm_area_struct *vma, int sparse) in __pci_mmap_fits()
40 int shift = sparse ? 5 : 0; in __pci_mmap_fits()
50 current->comm, sparse ? " sparse" : "", start, start + nr, in __pci_mmap_fits()
60 * @sparse: address space type
68 struct vm_area_struct *vma, int sparse) in pci_mmap_resource()
85 if (!__pci_mmap_fits(pdev, i, vma, sparse)) in pci_mmap_resource()
18 hose_mmap_page_range(struct pci_controller *hose, struct vm_area_struct *vma, enum pci_mmap_state mmap_type, int sparse) hose_mmap_page_range() argument
36 __pci_mmap_fits(struct pci_dev *pdev, int num, struct vm_area_struct *vma, int sparse) __pci_mmap_fits() argument
66 pci_mmap_resource(struct kobject *kobj, struct bin_attribute *attr, struct vm_area_struct *vma, int sparse) pci_mmap_resource() argument
156 pci_create_one_attr(struct pci_dev *pdev, int num, char *name, char *suffix, struct bin_attribute *res_attr, unsigned long sparse) pci_create_one_attr() argument
256 __legacy_mmap_fits(struct pci_controller *hose, struct vm_area_struct *vma, unsigned long res_size, int sparse) __legacy_mmap_fits() argument
290 int sparse = has_sparse(hose, mmap_type); pci_mmap_legacy_page_range() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvif/
H A Dvmm.c77 nvif_vmm_get(struct nvif_vmm *vmm, enum nvif_vmm_get type, bool sparse, in nvif_vmm_get() argument
84 args.sparse = sparse; in nvif_vmm_get()
161 u8 shift, bool sparse) in nvif_vmm_raw_unmap()
169 .sparse = sparse, in nvif_vmm_raw_unmap()
252 vmm->page[i].sparse = args.sparse; in nvif_vmm_ctor()
160 nvif_vmm_raw_unmap(struct nvif_vmm *vmm, u64 addr, u64 size, u8 shift, bool sparse) nvif_vmm_raw_unmap() argument
/kernel/linux/linux-5.10/arch/ia64/pci/
H A Dpci.c124 static unsigned int new_space(u64 phys_base, int sparse) in new_space() argument
135 io_space[i].sparse == sparse) in new_space()
146 io_space[i].sparse = sparse; in new_space()
158 unsigned int sparse = 0, space_nr, len; in add_io_space() local
169 sparse = 1; in add_io_space()
170 space_nr = new_space(entry->offset, sparse); in add_io_space()
183 * The SDM guarantees the legacy 0-64K space is sparse, but if the in add_io_space()
185 * mark it as sparse in add_io_space()
[all...]
/kernel/linux/linux-6.6/arch/ia64/pci/
H A Dpci.c124 static unsigned int new_space(u64 phys_base, int sparse) in new_space() argument
135 io_space[i].sparse == sparse) in new_space()
146 io_space[i].sparse = sparse; in new_space()
158 unsigned int sparse = 0, space_nr, len; in add_io_space() local
169 sparse = 1; in add_io_space()
170 space_nr = new_space(entry->offset, sparse); in add_io_space()
183 * The SDM guarantees the legacy 0-64K space is sparse, but if the in add_io_space()
185 * mark it as sparse in add_io_space()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvif/
H A Dvmm.c77 nvif_vmm_get(struct nvif_vmm *vmm, enum nvif_vmm_get type, bool sparse, in nvif_vmm_get() argument
84 args.sparse = sparse; in nvif_vmm_get()
158 vmm->page[i].sparse = args.sparse; in nvif_vmm_ctor()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A Dvmm.c40 nvkm_vmm_pt_new(const struct nvkm_vmm_desc *desc, bool sparse, in nvkm_vmm_pt_new() argument
59 pgt->sparse = sparse; in nvkm_vmm_pt_new()
158 if (pgt->sparse) { in nvkm_vmm_unref_pdes()
159 func->sparse(vmm, pgd->pt[0], pdei, 1); in nvkm_vmm_unref_pdes()
244 pair->func->sparse(vmm, pgt->pt[0], pteb, ptes); in nvkm_vmm_unref_sptes()
344 /* The entire LPTE is marked as sparse, we need in nvkm_vmm_ref_sptes()
348 desc->func->sparse(vmm, pgt->pt[1], spti, sptc); in nvkm_vmm_ref_sptes()
418 const bool zero = !pgt->sparse && !desc->func->invalid; in nvkm_vmm_ref_hwpt()
444 * or sparse, whic in nvkm_vmm_ref_hwpt()
680 nvkm_vmm_ptes_unmap_put(struct nvkm_vmm *vmm, const struct nvkm_vmm_page *page, u64 addr, u64 size, bool sparse, bool pfn) nvkm_vmm_ptes_unmap_put() argument
706 nvkm_vmm_ptes_unmap(struct nvkm_vmm *vmm, const struct nvkm_vmm_page *page, u64 addr, u64 size, bool sparse, bool pfn) nvkm_vmm_ptes_unmap() argument
1635 nvkm_vmm_get_locked(struct nvkm_vmm *vmm, bool getref, bool mapref, bool sparse, u8 shift, u8 align, u64 size, struct nvkm_vma **pvma) nvkm_vmm_get_locked() argument
[all...]
H A Dvmmgm200.c31 /* VALID_FALSE + VOL tells the MMU to treat the PTE as sparse. */ in gm200_vmm_pgt_sparse()
38 .sparse = gm200_vmm_pgt_sparse,
48 .sparse = gm200_vmm_pgt_sparse,
56 /* VALID_FALSE + VOL_BIG tells the MMU to treat the PDE as sparse. */ in gm200_vmm_pgd_sparse()
63 .sparse = gm200_vmm_pgd_sparse,
H A Duvmm.c278 bool getref, mapref, sparse; in nvkm_uvmm_mthd_get() local
285 sparse = args->v0.sparse; in nvkm_uvmm_mthd_get()
293 ret = nvkm_vmm_get_locked(vmm, getref, mapref, sparse, in nvkm_uvmm_mthd_get()
322 args->v0.sparse = !!(type & NVKM_VMM_PAGE_SPARSE); in nvkm_uvmm_mthd_page()
H A Dvmmgp100.c162 /* VALID_FALSE + VOL tells the MMU to treat the PTE as sparse. */ in gp100_vmm_pgt_sparse()
169 .sparse = gp100_vmm_pgt_sparse,
190 .sparse = gp100_vmm_pgt_sparse,
253 /* VALID_FALSE + VOL_BIG tells the MMU to treat the PDE as sparse. */ in gp100_vmm_pd0_sparse()
348 .sparse = gp100_vmm_pd0_sparse,
374 .sparse = gp100_vmm_pgt_sparse,
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A Dvmm.c40 nvkm_vmm_pt_new(const struct nvkm_vmm_desc *desc, bool sparse, in nvkm_vmm_pt_new() argument
59 pgt->sparse = sparse; in nvkm_vmm_pt_new()
158 if (pgt->sparse) { in nvkm_vmm_unref_pdes()
159 func->sparse(vmm, pgd->pt[0], pdei, 1); in nvkm_vmm_unref_pdes()
244 pair->func->sparse(vmm, pgt->pt[0], pteb, ptes); in nvkm_vmm_unref_sptes()
344 /* The entire LPTE is marked as sparse, we need in nvkm_vmm_ref_sptes()
348 desc->func->sparse(vmm, pgt->pt[1], spti, sptc); in nvkm_vmm_ref_sptes()
418 const bool zero = !pgt->sparse && !desc->func->invalid; in nvkm_vmm_ref_hwpt()
444 * or sparse, whic in nvkm_vmm_ref_hwpt()
680 nvkm_vmm_ptes_unmap(struct nvkm_vmm *vmm, const struct nvkm_vmm_page *page, u64 addr, u64 size, bool sparse, bool pfn) nvkm_vmm_ptes_unmap() argument
741 __nvkm_vmm_ptes_unmap_put(struct nvkm_vmm *vmm, const struct nvkm_vmm_page *page, u64 addr, u64 size, bool sparse, bool pfn) __nvkm_vmm_ptes_unmap_put() argument
753 nvkm_vmm_ptes_unmap_put(struct nvkm_vmm *vmm, const struct nvkm_vmm_page *page, u64 addr, u64 size, bool sparse, bool pfn) nvkm_vmm_ptes_unmap_put() argument
1698 nvkm_vmm_get_locked(struct nvkm_vmm *vmm, bool getref, bool mapref, bool sparse, u8 shift, u8 align, u64 size, struct nvkm_vma **pvma) nvkm_vmm_get_locked() argument
1846 nvkm_vmm_raw_unmap(struct nvkm_vmm *vmm, u64 addr, u64 size, bool sparse, u8 refd) nvkm_vmm_raw_unmap() argument
[all...]
H A Dvmmgm200.c31 /* VALID_FALSE + VOL tells the MMU to treat the PTE as sparse. */ in gm200_vmm_pgt_sparse()
38 .sparse = gm200_vmm_pgt_sparse,
48 .sparse = gm200_vmm_pgt_sparse,
56 /* VALID_FALSE + VOL_BIG tells the MMU to treat the PDE as sparse. */ in gm200_vmm_pgd_sparse()
63 .sparse = gm200_vmm_pgd_sparse,
H A Duvmm.c276 bool getref, mapref, sparse; in nvkm_uvmm_mthd_get() local
283 sparse = args->v0.sparse; in nvkm_uvmm_mthd_get()
291 ret = nvkm_vmm_get_locked(vmm, getref, mapref, sparse, in nvkm_uvmm_mthd_get()
319 args->v0.sparse = !!(type & NVKM_VMM_PAGE_SPARSE); in nvkm_uvmm_mthd_page()
445 args->sparse, refd); in nvkm_uvmm_mthd_raw_unmap()
H A Dvmm.h24 /* Entire page table sparse.
28 bool sparse:1; member
33 * child page table, or indicate the PDE is marked as sparse.
63 nvkm_vmm_pxe_func sparse; member
171 bool sparse, u8 page, u8 align, u64 size,
180 bool sparse, u8 refd);
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/include/nvif/
H A Dvmm.h31 bool sparse:1; member
43 int nvif_vmm_get(struct nvif_vmm *, enum nvif_vmm_get, bool sparse,
55 u8 shift, bool sparse);
H A Dif000c.h30 __u8 sparse; member
43 __u8 sparse; member
81 __u8 sparse; member
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/include/nvif/
H A Dvmm.h25 bool sparse:1; member
36 int nvif_vmm_get(struct nvif_vmm *, enum nvif_vmm_get, bool sparse,
H A Dif000c.h26 __u8 sparse; member
39 __u8 sparse; member
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/
H A Dkvmgt.c1379 struct vfio_region_info_cap_sparse_mmap *sparse = NULL; in intel_vgpu_ioctl() local
1422 sparse = kzalloc(struct_size(sparse, areas, nr_areas), in intel_vgpu_ioctl()
1424 if (!sparse) in intel_vgpu_ioctl()
1427 sparse->header.id = VFIO_REGION_INFO_CAP_SPARSE_MMAP; in intel_vgpu_ioctl()
1428 sparse->header.version = 1; in intel_vgpu_ioctl()
1429 sparse->nr_areas = nr_areas; in intel_vgpu_ioctl()
1431 sparse->areas[0].offset = in intel_vgpu_ioctl()
1433 sparse->areas[0].size = vgpu_aperture_sz(vgpu); in intel_vgpu_ioctl()
1484 if ((info.flags & VFIO_REGION_INFO_FLAG_CAPS) && sparse) { in intel_vgpu_ioctl()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gvt/
H A Dkvmgt.c1168 struct vfio_region_info_cap_sparse_mmap *sparse = NULL; in intel_vgpu_ioctl() local
1211 sparse = kzalloc(struct_size(sparse, areas, nr_areas), in intel_vgpu_ioctl()
1213 if (!sparse) in intel_vgpu_ioctl()
1216 sparse->header.id = VFIO_REGION_INFO_CAP_SPARSE_MMAP; in intel_vgpu_ioctl()
1217 sparse->header.version = 1; in intel_vgpu_ioctl()
1218 sparse->nr_areas = nr_areas; in intel_vgpu_ioctl()
1220 sparse->areas[0].offset = in intel_vgpu_ioctl()
1222 sparse->areas[0].size = vgpu_aperture_sz(vgpu); in intel_vgpu_ioctl()
1273 if ((info.flags & VFIO_REGION_INFO_FLAG_CAPS) && sparse) { in intel_vgpu_ioctl()
[all...]
/kernel/linux/linux-5.10/arch/ia64/include/asm/
H A Dio.h52 int sparse; member
123 if (space->sparse) in __ia64_mk_io_addr()
/kernel/linux/linux-6.6/arch/ia64/include/asm/
H A Dio.h48 int sparse; member
111 if (space->sparse) in __ia64_mk_io_addr()
/kernel/linux/linux-5.10/drivers/input/
H A DMakefile13 obj-$(CONFIG_INPUT_SPARSEKMAP) += sparse-keymap.o
/kernel/linux/linux-6.6/drivers/input/
H A DMakefile13 obj-$(CONFIG_INPUT_SPARSEKMAP) += sparse-keymap.o
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/
H A Dnouveau_uvmm.c126 u64 addr, u64 range, bool sparse) in nouveau_uvmm_vmm_unmap()
130 return nvif_vmm_raw_unmap(vmm, addr, range, PAGE_SHIFT, sparse); in nouveau_uvmm_vmm_unmap()
204 bool sparse = !!uvma->region; in nouveau_uvma_unmap() local
209 return nouveau_uvmm_vmm_unmap(to_uvmm(uvma), addr, range, sparse); in nouveau_uvma_unmap()
794 bool sparse = !!uvma->region; in op_unmap_range() local
797 nouveau_uvmm_vmm_unmap(to_uvmm(uvma), addr, range, sparse); in op_unmap_range() local
1042 bool sparse) in bind_validate_map_common()
1069 if (sparse) in bind_validate_map_common()
1094 bool sparse = false; in bind_validate_region() local
1098 sparse in bind_validate_region()
125 nouveau_uvmm_vmm_unmap(struct nouveau_uvmm *uvmm, u64 addr, u64 range, bool sparse) nouveau_uvmm_vmm_unmap() argument
1041 bind_validate_map_common(struct nouveau_job *job, u64 addr, u64 range, bool sparse) bind_validate_map_common() argument
[all...]

Completed in 23 milliseconds

12345