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

123

/linux-master/arch/alpha/kernel/
H A Dpci-sysfs.c20 enum pci_mmap_state mmap_type, int sparse)
25 base = sparse ? hose->sparse_mem_base : hose->dense_mem_base;
27 base = sparse ? hose->sparse_io_base : hose->dense_io_base;
37 struct vm_area_struct *vma, int sparse)
40 int shift = sparse ? 5 : 0;
50 current->comm, sparse ? " sparse" : "", start, start + nr,
60 * @sparse: address space type
68 struct vm_area_struct *vma, int sparse)
85 if (!__pci_mmap_fits(pdev, i, vma, sparse))
18 hose_mmap_page_range(struct pci_controller *hose, struct vm_area_struct *vma, enum pci_mmap_state mmap_type, int sparse) argument
36 __pci_mmap_fits(struct pci_dev *pdev, int num, struct vm_area_struct *vma, int sparse) argument
66 pci_mmap_resource(struct kobject *kobj, struct bin_attribute *attr, struct vm_area_struct *vma, int sparse) argument
156 pci_create_one_attr(struct pci_dev *pdev, int num, char *name, char *suffix, struct bin_attribute *res_attr, unsigned long sparse) argument
256 __legacy_mmap_fits(struct pci_controller *hose, struct vm_area_struct *vma, unsigned long res_size, int sparse) argument
290 int sparse = has_sparse(hose, mmap_type); local
[all...]
/linux-master/drivers/gpu/drm/nouveau/include/nvif/
H A Dvmm.h31 bool sparse:1; member in struct:nvif_vmm::__anon751
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 in struct:nvif_vmm_page_v0
43 __u8 sparse; member in struct:nvif_vmm_get_v0
81 __u8 sparse; member in struct:nvif_vmm_raw_v0
/linux-master/drivers/gpu/drm/nouveau/nvif/
H A Dvmm.c77 nvif_vmm_get(struct nvif_vmm *vmm, enum nvif_vmm_get type, bool sparse, argument
84 args.sparse = sparse;
161 u8 shift, bool sparse)
169 .sparse = sparse,
252 vmm->page[i].sparse = args.sparse;
160 nvif_vmm_raw_unmap(struct nvif_vmm *vmm, u64 addr, u64 size, u8 shift, bool sparse) argument
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A Dvmmgm200.c31 /* VALID_FALSE + VOL tells the MMU to treat the PTE as 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. */
63 .sparse = gm200_vmm_pgd_sparse,
H A Dvmm.c40 nvkm_vmm_pt_new(const struct nvkm_vmm_desc *desc, bool sparse, argument
59 pgt->sparse = sparse;
158 if (pgt->sparse) {
159 func->sparse(vmm, pgd->pt[0], pdei, 1);
244 pair->func->sparse(vmm, pgt->pt[0], pteb, ptes);
344 /* The entire LPTE is marked as sparse, we need
348 desc->func->sparse(vmm, pgt->pt[1], spti, sptc);
418 const bool zero = !pgt->sparse && !desc->func->invalid;
444 * or sparse, whic
680 nvkm_vmm_ptes_unmap(struct nvkm_vmm *vmm, const struct nvkm_vmm_page *page, u64 addr, u64 size, bool sparse, bool pfn) 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) 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) argument
1705 nvkm_vmm_get_locked(struct nvkm_vmm *vmm, bool getref, bool mapref, bool sparse, u8 shift, u8 align, u64 size, struct nvkm_vma **pvma) argument
1853 nvkm_vmm_raw_unmap(struct nvkm_vmm *vmm, u64 addr, u64 size, bool sparse, u8 refd) argument
[all...]
H A Duvmm.c276 bool getref, mapref, sparse; local
283 sparse = args->v0.sparse;
291 ret = nvkm_vmm_get_locked(vmm, getref, mapref, sparse,
319 args->v0.sparse = !!(type & NVKM_VMM_PAGE_SPARSE);
445 args->sparse, refd);
H A Dvmm.h24 /* Entire page table sparse.
28 bool sparse:1; member in struct:nvkm_vmm_pt
33 * child page table, or indicate the PDE is marked as sparse.
63 nvkm_vmm_pxe_func sparse; member in struct:nvkm_vmm_desc_func
171 bool sparse, u8 page, u8 align, u64 size,
180 bool sparse, u8 refd);
H A Dvmmgp100.c165 /* VALID_FALSE + VOL tells the MMU to treat the PTE as sparse. */
172 .sparse = gp100_vmm_pgt_sparse,
193 .sparse = gp100_vmm_pgt_sparse,
256 /* VALID_FALSE + VOL_BIG tells the MMU to treat the PDE as sparse. */
354 .sparse = gp100_vmm_pd0_sparse,
380 .sparse = gp100_vmm_pgt_sparse,
/linux-master/drivers/vfio/pci/nvgrace-gpu/
H A Dmain.c205 struct vfio_region_info_cap_sparse_mmap *sparse; local
226 size = struct_size(sparse, areas, 1);
229 * Setup for sparse mapping for the device memory. Only the
233 sparse = kzalloc(size, GFP_KERNEL);
234 if (!sparse)
237 sparse->nr_areas = 1;
238 sparse->areas[0].offset = 0;
239 sparse->areas[0].size = memregion->memlength;
240 sparse->header.id = VFIO_REGION_INFO_CAP_SPARSE_MMAP;
241 sparse
[all...]
/linux-master/drivers/input/
H A DMakefile13 obj-$(CONFIG_INPUT_SPARSEKMAP) += sparse-keymap.o
H A Dsparse-keymap.c3 * Generic support for sparse keymaps
14 #include <linux/input/sparse-keymap.h>
19 MODULE_DESCRIPTION("Generic support for sparse keymaps");
54 * sparse_keymap_entry_from_scancode - perform sparse keymap lookup
55 * @dev: Input device using sparse keymap
59 * input device using sparse keymap.
75 * sparse_keymap_entry_from_keycode - perform sparse keymap lookup
76 * @dev: Input device using sparse keymap
80 * input device using sparse keymap.
154 * sparse_keymap_setup - set up sparse keyma
[all...]
/linux-master/drivers/platform/x86/
H A Dtoshiba-wmi.c16 #include <linux/input/sparse-keymap.h>
H A Deeepc-wmi.c20 #include <linux/input/sparse-keymap.h>
H A Dlenovo-ymc.c13 #include <linux/input/sparse-keymap.h>
H A Dmsi-wmi.c14 #include <linux/input/sparse-keymap.h>
/linux-master/drivers/md/dm-vdo/
H A DMakefile55 indexer/sparse-cache.o \
/linux-master/drivers/md/dm-vdo/indexer/
H A Dconfig.c228 static int compute_memory_sizes(uds_memory_config_size_t mem_gb, bool sparse, argument
270 if (sparse) {
271 /* Make 95% of chapters sparse, allowing 10x more records. */
322 result = compute_memory_sizes(params->memory_size, params->sparse,
345 config->sparse_sample_rate = (params->sparse ? DEFAULT_SPARSE_SAMPLE_RATE : 0);
H A Dindexer.h139 /* Whether the index should include sparse chapters */
140 bool sparse; member in struct:uds_parameters
178 * The number of post calls that found an existing entry in the sparse portion of the index
210 /* The record was found in the sparse part of the index */
218 /* Add a chapter to the sparse chapter index cache */
/linux-master/drivers/gpu/drm/i915/gvt/
H A Dkvmgt.c1168 struct vfio_region_info_cap_sparse_mmap *sparse = NULL; local
1211 sparse = kzalloc(struct_size(sparse, areas, nr_areas),
1213 if (!sparse)
1216 sparse->header.id = VFIO_REGION_INFO_CAP_SPARSE_MMAP;
1217 sparse->header.version = 1;
1218 sparse->nr_areas = nr_areas;
1220 sparse->areas[0].offset =
1222 sparse->areas[0].size = vgpu_aperture_sz(vgpu);
1273 if ((info.flags & VFIO_REGION_INFO_FLAG_CAPS) && sparse) {
[all...]
/linux-master/mm/
H A DMakefile77 obj-$(CONFIG_SPARSEMEM) += sparse.o
78 obj-$(CONFIG_SPARSEMEM_VMEMMAP) += sparse-vmemmap.o
/linux-master/drivers/platform/x86/dell/
H A Ddell-wmi-aio.c13 #include <linux/input/sparse-keymap.h>
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/subdev/
H A Dmmu.h13 bool sparse:1; /* Unmapped PDEs/PTEs will not trigger MMU faults. */ member in struct:nvkm_vma
/linux-master/drivers/gpu/drm/nouveau/
H A Dnouveau_uvmm.c128 u64 addr, u64 range, bool sparse)
132 return nvif_vmm_raw_unmap(vmm, addr, range, PAGE_SHIFT, sparse);
206 bool sparse = !!uvma->region; local
211 return nouveau_uvmm_vmm_unmap(to_uvmm(uvma), addr, range, sparse);
802 bool sparse = !!uvma->region; local
805 nouveau_uvmm_vmm_unmap(to_uvmm(uvma), addr, range, sparse); local
1046 bool sparse)
1073 if (sparse)
1098 bool sparse = false; local
1102 sparse
127 nouveau_uvmm_vmm_unmap(struct nouveau_uvmm *uvmm, u64 addr, u64 range, bool sparse) argument
1045 bind_validate_map_common(struct nouveau_job *job, u64 addr, u64 range, bool sparse) argument
[all...]
/linux-master/tools/testing/selftests/netfilter/
H A Dnft_queue.sh266 dd conv=sparse status=none if=/dev/zero bs=1M count=200 of=$tmpfile
284 dd conv=sparse status=none if=/dev/zero bs=1M count=200 of=$tmpfile
333 dd conv=sparse status=none if=/dev/zero bs=1M count=200 of=$tmpfile

Completed in 245 milliseconds

123