Home
last modified time | relevance | path

Searched refs:sparse (Results 1 – 25 of 72) sorted by relevance

123

/Linux-v4.19/Documentation/translations/zh_CN/
Dsparse.txt1 Chinese translated version of Documentation/dev-tools/sparse.rst
11 Documentation/dev-tools/sparse.rst 的中文翻译
28 使用 sparse 工具做类型检查
41 是因为 sparse 会抱怨改变位方式的类型转换,但是这里我们确实需要强制进行转
61 不用担心 sparse 会抱怨。这是因为"bitwise"(恰如其名)是用来确保不同位方
65 获取 sparse 工具
70 http://www.kernel.org/pub/linux/kernel/people/josh/sparse/
72 或者,你也可以使用 git 克隆最新的 sparse 开发版本:
74 git://git.kernel.org/pub/scm/linux/kernel/git/josh/sparse.git
78 http://www.codemonkey.org.uk/projects/git-snapshots/sparse/
[all …]
/Linux-v4.19/Documentation/dev-tools/
Dsparse.rst10 https://lwn.net/Articles/689907/ for an overview of sparse; this document
11 contains some kernel-specific sparse information.
14 Using sparse for typechecking
27 there because sparse will complain about casting to/from a bitwise type,
48 constant zero as a bitwise integer type without sparse ever complaining.
54 Using sparse for lock checking
57 The following macros are undefined for gcc and defined during a sparse
58 run to use the "context" tracking feature of sparse, applied to
59 locking. These annotations tell sparse when a lock is held, with
71 sparse would otherwise report a context imbalance.
[all …]
Dindex.rst18 sparse
/Linux-v4.19/arch/alpha/kernel/
Dpci-sysfs.c20 enum pci_mmap_state mmap_type, int sparse) in hose_mmap_page_range() argument
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() argument
40 int shift = sparse ? 5 : 0; in __pci_mmap_fits()
50 current->comm, sparse ? " sparse" : "", start, start + nr, in __pci_mmap_fits()
66 struct vm_area_struct *vma, int sparse) in pci_mmap_resource() argument
83 if (!__pci_mmap_fits(pdev, i, vma, sparse)) in pci_mmap_resource()
87 vma->vm_pgoff += bar.start >> (PAGE_SHIFT - (sparse ? 5 : 0)); in pci_mmap_resource()
90 return hose_mmap_page_range(pdev->sysdata, vma, mmap_type, sparse); in pci_mmap_resource()
[all …]
/Linux-v4.19/Documentation/device-mapper/
Dzero.txt10 One very interesting use of dm-zero is for creating "sparse" devices in
11 conjunction with dm-snapshot. A sparse device reports a device-size larger
13 write data anywhere within the sparse device and read it back like a normal
15 enough data has been written to fill up the actual storage space, the sparse
19 To create a sparse device, start by creating a dm-zero device that's the
20 desired size of the sparse device. For this example, we'll assume a 10TB
21 sparse device.
28 space available to the sparse device. For this example, we'll assume /dev/sdb1
34 This will create a 10TB sparse device called /dev/mapper/sparse1 that has
/Linux-v4.19/arch/ia64/pci/
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()
188 sparse = 1; in add_io_space()
193 resource->start = base + (sparse ? IO_SPACE_SPARSE_ENCODING(min) : min); in add_io_space()
194 resource->end = base + (sparse ? IO_SPACE_SPARSE_ENCODING(max) : max); in add_io_space()
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
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()
336 desc->func->sparse(vmm, pgt->pt[1], spti, sptc); in nvkm_vmm_ref_sptes()
406 const bool zero = !pgt->sparse && !desc->func->invalid; in nvkm_vmm_ref_hwpt()
444 if (pgt->sparse) in nvkm_vmm_ref_hwpt()
445 desc->func->sparse(vmm, pt, pteb, ptes); in nvkm_vmm_ref_hwpt()
456 if (pgt->sparse) { in nvkm_vmm_ref_hwpt()
[all …]
Dvmmgm200.c38 .sparse = gm200_vmm_pgt_sparse,
48 .sparse = gm200_vmm_pgt_sparse,
63 .sparse = gm200_vmm_pgd_sparse,
Duvmm.c223 bool getref, mapref, sparse; in nvkm_uvmm_mthd_get() local
230 sparse = args->v0.sparse; in nvkm_uvmm_mthd_get()
238 ret = nvkm_vmm_get_locked(vmm, getref, mapref, sparse, in nvkm_uvmm_mthd_get()
267 args->v0.sparse = !!(type & NVKM_VMM_PAGE_SPARSE); in nvkm_uvmm_mthd_page()
Dvmmgp100.c88 .sparse = gp100_vmm_pgt_sparse,
106 .sparse = gp100_vmm_pgt_sparse,
183 .sparse = gp100_vmm_pd0_sparse,
206 .sparse = gp100_vmm_pgt_sparse,
Dvmm.h28 bool sparse:1; member
63 nvkm_vmm_pxe_func sparse; member
161 bool sparse, u8 page, u8 align, u64 size,
/Linux-v4.19/drivers/gpu/drm/nouveau/nvif/
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()
157 vmm->page[i].sparse = args.sparse; in nvif_vmm_init()
/Linux-v4.19/drivers/gpu/drm/nouveau/include/nvif/
Dvmm.h25 bool sparse:1; member
36 int nvif_vmm_get(struct nvif_vmm *, enum nvif_vmm_get, bool sparse,
Dif000c.h22 __u8 sparse; member
35 __u8 sparse; member
/Linux-v4.19/Documentation/driver-api/
Dinput.rst46 .. kernel-doc:: include/linux/input/sparse-keymap.h
49 .. kernel-doc:: drivers/input/sparse-keymap.c
/Linux-v4.19/drivers/gpu/drm/i915/gvt/
Dkvmgt.c1147 struct vfio_region_info_cap_sparse_mmap *sparse = NULL; in intel_vgpu_ioctl() local
1191 size = sizeof(*sparse) + in intel_vgpu_ioctl()
1192 (nr_areas * sizeof(*sparse->areas)); in intel_vgpu_ioctl()
1193 sparse = kzalloc(size, GFP_KERNEL); in intel_vgpu_ioctl()
1194 if (!sparse) in intel_vgpu_ioctl()
1197 sparse->header.id = VFIO_REGION_INFO_CAP_SPARSE_MMAP; in intel_vgpu_ioctl()
1198 sparse->header.version = 1; in intel_vgpu_ioctl()
1199 sparse->nr_areas = nr_areas; in intel_vgpu_ioctl()
1201 sparse->areas[0].offset = in intel_vgpu_ioctl()
1203 sparse->areas[0].size = vgpu_aperture_sz(vgpu); in intel_vgpu_ioctl()
[all …]
/Linux-v4.19/drivers/staging/wlan-ng/
DREADME3 - sparse warnings
/Linux-v4.19/kernel/irq/
DKconfig4 # Make sparse irq Kconfig switch below available
111 bool "Support sparse irq numbering" if MAY_HAVE_SPARSE_IRQ
/Linux-v4.19/drivers/staging/vt6656/
DTODO15 - sparse fixes
/Linux-v4.19/mm/
DMakefile63 obj-$(CONFIG_SPARSEMEM) += sparse.o
64 obj-$(CONFIG_SPARSEMEM_VMEMMAP) += sparse-vmemmap.o
/Linux-v4.19/drivers/staging/vt6655/
DTODO17 - sparse fixes
/Linux-v4.19/drivers/input/
DMakefile13 obj-$(CONFIG_INPUT_SPARSEKMAP) += sparse-keymap.o
/Linux-v4.19/arch/ia64/include/asm/
Dio.h52 int sparse; member
138 if (space->sparse) in __ia64_mk_io_addr()
/Linux-v4.19/drivers/staging/android/
DTODO2 - sparse fixes
/Linux-v4.19/Documentation/filesystems/
Dntfs.txt60 - The new driver has full support for sparse files on NTFS 3.x volumes which
88 limitation is that at present truncate(2) will never create sparse files,
89 since to mark a file sparse we need to modify the directory entry for the
93 writing into sparse regions is supported and the holes are filled in with
96 included. Another limitation is that write(2) will never create sparse
97 files, since to mark a file sparse we need to modify the directory entry for
169 disable_sparse=<BOOL> If disable_sparse is specified, creation of sparse
172 default, creation of sparse regions is enabled, which

123