/linux-6.3-rc2/Documentation/translations/zh_CN/dev-tools/ |
A D | sparse.rst | 24 一些针对内核的sparse信息。 26 https://sparse.docs.kernel.org。 28 使用 sparse 工具做类型检查 65 使用sparse进行锁检查 68 下面的宏对于 gcc 来说是未定义的,在 sparse 运行时定义,以使用sparse的“上下文” 80 上面的三个注释是针对sparse否则会报告上下文不平衡的情况。 82 获取 sparse 工具 91 git://git.kernel.org/pub/scm/devel/sparse/sparse.git 100 使用 sparse 工具 108 动向 sparse 工具传递 -Wbitwise 参数。 [all …]
|
A D | index.rst | 25 sparse
|
/linux-6.3-rc2/Documentation/translations/zh_TW/ |
A D | sparse.txt | 11 Documentation/dev-tools/sparse.rst 的繁體中文翻譯 27 使用 sparse 工具做類型檢查 40 是因爲 sparse 會抱怨改變位方式的類型轉換,但是這裡我們確實需要強制進行轉 60 不用擔心 sparse 會抱怨。這是因爲"bitwise"(恰如其名)是用來確保不同位方 64 獲取 sparse 工具 71 或者,你也可以使用 git 克隆最新的 sparse 開發版本: 82 使用 sparse 工具 85 用"make C=1"命令來編譯內核,會對所有重新編譯的 C 文件使用 sparse 工具。 86 或者使用"make C=2"命令,無論文件是否被重新編譯都會對其使用 sparse 工具。 89 make 的可選變量 CHECKFLAGS 可以用來向 sparse 工具傳遞參數。編譯系統會自 [all …]
|
/linux-6.3-rc2/Documentation/dev-tools/ |
A D | sparse.rst | 11 contains some kernel-specific sparse information. 13 its official pages at https://sparse.docs.kernel.org. 16 Using sparse for typechecking 56 Using sparse for lock checking 73 sparse would otherwise report a context imbalance. 75 Getting sparse 79 https://www.kernel.org/pub/software/devel/sparse/dist/ 82 of sparse using git to clone:: 84 git://git.kernel.org/pub/scm/devel/sparse/sparse.git 93 Using sparse [all …]
|
/linux-6.3-rc2/arch/alpha/kernel/ |
A D | pci-sysfs.c | 20 enum pci_mmap_state mmap_type, int sparse) in hose_mmap_page_range() argument 37 struct vm_area_struct *vma, int sparse) in __pci_mmap_fits() argument 40 int shift = sparse ? 5 : 0; in __pci_mmap_fits() 68 struct vm_area_struct *vma, int sparse) in pci_mmap_resource() argument 85 if (!__pci_mmap_fits(pdev, i, vma, sparse)) in pci_mmap_resource() 158 unsigned long sparse) in pci_create_one_attr() argument 163 res_attr->mmap = sparse ? pci_mmap_resource_sparse : in pci_create_one_attr() 167 res_attr->size = sparse ? size << 5 : size; in pci_create_one_attr() 258 unsigned long res_size, int sparse) in __legacy_mmap_fits() argument 290 int sparse = has_sparse(hose, mmap_type); in pci_mmap_legacy_page_range() local [all …]
|
/linux-6.3-rc2/Documentation/admin-guide/device-mapper/ |
A D | zero.rst | 11 One very interesting use of dm-zero is for creating "sparse" devices in 12 conjunction with dm-snapshot. A sparse device reports a device-size larger 14 write data anywhere within the sparse device and read it back like a normal 16 enough data has been written to fill up the actual storage space, the sparse 20 To create a sparse device, start by creating a dm-zero device that's the 21 desired size of the sparse device. For this example, we'll assume a 10TB 22 sparse device:: 29 space available to the sparse device. For this example, we'll assume /dev/sdb1 35 This will create a 10TB sparse device called /dev/mapper/sparse1 that has
|
/linux-6.3-rc2/arch/ia64/pci/ |
A D | pci.c | 124 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-6.3-rc2/Documentation/translations/zh_CN/process/ |
A D | 4.Coding.rst | 213 “sparse”静态分析工具可以发现其他类型的错误。sparse可以警告程序员用户空间 215 整数值等等。sparse必须单独安装(如果您的分发服务器没有将其打包, 216 可以在 https://sparse.wiki.kernel.org/index.php/Main_page 找到),
|
A D | submit-checklist.rst | 53 9) 通过 sparse 清查。 54 (参见 Documentation/translations/zh_CN/dev-tools/sparse.rst )
|
/linux-6.3-rc2/Documentation/translations/zh_TW/process/ |
A D | 4.Coding.rst | 216 「sparse」靜態分析工具可以發現其他類型的錯誤。sparse可以警告程式設計師用戶空間 218 整數值等等。sparse必須單獨安裝(如果您的分發伺服器沒有將其打包, 219 可以在 https://sparse.wiki.kernel.org/index.php/Main_page 找到),
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvif/ |
A D | vmm.c | 77 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()
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
A D | vmm.c | 59 pgt->sparse = sparse; in nvkm_vmm_pt_new() 158 if (pgt->sparse) { in nvkm_vmm_unref_pdes() 456 if (pgt->sparse) in nvkm_vmm_ref_hwpt() 468 if (pgt->sparse) { in nvkm_vmm_ref_hwpt() 686 sparse ? func->sparse : func->invalid ? func->invalid : in nvkm_vmm_ptes_unmap_put() 712 sparse ? func->sparse : func->invalid ? func->invalid : in nvkm_vmm_ptes_unmap() 772 new->sparse = vma->sparse; in nvkm_vma_tail() 1023 vma->sparse = false; in nvkm_vmm_ctor_managed() 1596 if (vma->sparse) { in nvkm_vmm_put_locked() 1747 else if (sparse) in nvkm_vmm_get_locked() [all …]
|
A D | vmmgm200.c | 38 .sparse = gm200_vmm_pgt_sparse, 48 .sparse = gm200_vmm_pgt_sparse, 63 .sparse = gm200_vmm_pgd_sparse,
|
A D | uvmm.c | 264 bool getref, mapref, sparse; in nvkm_uvmm_mthd_get() local 271 sparse = args->v0.sparse; in nvkm_uvmm_mthd_get() 279 ret = nvkm_vmm_get_locked(vmm, getref, mapref, sparse, in nvkm_uvmm_mthd_get() 307 args->v0.sparse = !!(type & NVKM_VMM_PAGE_SPARSE); in nvkm_uvmm_mthd_page()
|
/linux-6.3-rc2/Documentation/core-api/ |
A D | generic-radix-tree.rst | 2 Generic radix trees/sparse arrays 6 :doc: Generic radix trees/sparse arrays
|
/linux-6.3-rc2/Documentation/translations/zh_CN/mm/ |
A D | memory-model.rst | 88 通过SPARSEMEM,有两种可能的方式将PFN转换为相应的 `struct page` --"classic sparse"和 89 "sparse vmemmap"。选择是在构建时进行的,它由 `CONFIG_SPARSEMEM_VMEMMAP` 的 92 Classic sparse在page->flags中编码了一个页面的段号,并使用PFN的高位来访问映射该页
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/include/nvif/ |
A D | vmm.h | 25 bool sparse:1; member 36 int nvif_vmm_get(struct nvif_vmm *, enum nvif_vmm_get, bool sparse,
|
A D | if000c.h | 26 __u8 sparse; member 39 __u8 sparse; member
|
/linux-6.3-rc2/Documentation/driver-api/ |
A D | input.rst | 37 .. kernel-doc:: include/linux/input/sparse-keymap.h 40 .. kernel-doc:: drivers/input/sparse-keymap.c
|
/linux-6.3-rc2/drivers/gpu/drm/i915/gvt/ |
A D | kvmgt.c | 1214 sparse = kzalloc(struct_size(sparse, areas, nr_areas), in intel_vgpu_ioctl() 1216 if (!sparse) in intel_vgpu_ioctl() 1220 sparse->header.version = 1; in intel_vgpu_ioctl() 1221 sparse->nr_areas = nr_areas; in intel_vgpu_ioctl() 1223 sparse->areas[0].offset = in intel_vgpu_ioctl() 1280 &sparse->header, in intel_vgpu_ioctl() 1282 sparse->nr_areas)); in intel_vgpu_ioctl() 1284 kfree(sparse); in intel_vgpu_ioctl() 1289 kfree(sparse); in intel_vgpu_ioctl() 1305 kfree(sparse); in intel_vgpu_ioctl() [all …]
|
/linux-6.3-rc2/Documentation/filesystems/ |
A D | ntfs3.rst | 13 - This driver implements NTFS read/write support for normal, sparse and 26 sparse(0x200), compressed(0x800) and normal. 106 * - sparse 107 - Create new files as sparse.
|
/linux-6.3-rc2/arch/ia64/include/asm/ |
A D | io.h | 48 int sparse; member 111 if (space->sparse) in __ia64_mk_io_addr()
|
/linux-6.3-rc2/Documentation/translations/zh_CN/core-api/ |
A D | generic-radix-tree.rst | 16 “DOC: Generic radix trees/sparse arrays”。
|
/linux-6.3-rc2/drivers/staging/wlan-ng/ |
A D | README | 3 - sparse warnings
|
/linux-6.3-rc2/kernel/irq/ |
A D | Kconfig | 5 # Make sparse irq Kconfig switch below available 116 bool "Support sparse irq numbering" if MAY_HAVE_SPARSE_IRQ
|