| /linux/Documentation/translations/zh_CN/dev-tools/ |
| H A D | sparse.rst | 7 :Original: Documentation/dev-tools/sparse.rst 23 于sparse的概述,请参见https://lwn.net/Articles/689907/;本文档包含 24 一些针对内核的sparse信息。 25 关于sparse的更多信息,主要是关于它的内部结构,可以在它的官方网页上找到: 26 https://sparse.docs.kernel.org。 28 使用 sparse 工具做类型检查 41 是因为 sparse 会抱怨改变位方式的类型转换,但是这里我们确实需要强制进行转 61 不用担心 sparse 会抱怨。这是因为"bitwise"(恰如其名)是用来确保不同位方 65 使用sparse进行锁检查 68 下面的宏对于 gcc 来说是未定义的,在 sparse 运行时定义,以使用sparse的“上下文” [all …]
|
| H A D | index.rst | 22 sparse
|
| /linux/Documentation/translations/zh_TW/dev-tools/ |
| H A D | sparse.rst | 1 Chinese translated version of Documentation/dev-tools/sparse.rst 11 Documentation/dev-tools/sparse.rst 的繁體中文翻譯 27 使用 sparse 工具做類型檢查 40 是因爲 sparse 會抱怨改變位方式的類型轉換,但是這裡我們確實需要強制進行轉 60 不用擔心 sparse 會抱怨。這是因爲"bitwise"(恰如其名)是用來確保不同位方 64 獲取 sparse 工具 69 https://www.kernel.org/pub/software/devel/sparse/dist/ 71 或者,你也可以使用 git 克隆最新的 sparse 開發版本: 73 git://git.kernel.org/pub/scm/devel/sparse/sparse.git 82 使用 sparse 工具 [all …]
|
| H A D | index.rst | 27 sparse
|
| /linux/Documentation/admin-guide/device-mapper/ |
| H 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/drivers/gpu/drm/nouveau/nvif/ |
| H 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() 161 u8 shift, bool sparse) in nvif_vmm_raw_unmap() argument 169 .sparse = sparse, in nvif_vmm_raw_unmap() 252 vmm->page[i].sparse = args.sparse; in nvif_vmm_ctor()
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/ |
| H A D | vmm.c | 40 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() 242 if (pgt->pte[pteb].s.sparse) { in nvkm_vmm_unref_sptes() 244 pair->func->sparse(vmm, pgt->pt[0], pteb, ptes); in nvkm_vmm_unref_sptes() 355 if (pgt->pte[pteb].s.sparse) { in nvkm_vmm_ref_sptes() 362 desc->func->sparse(vmm, pgt->pt[1], spti, sptc); in nvkm_vmm_ref_sptes() 412 union nvkm_pte_tracker sparse = { .s.sparse = 1 }; in nvkm_vmm_sparse_ptes() local 413 memset32(&pgt->pte[ptei].u, sparse.u, ptes); in nvkm_vmm_sparse_ptes() [all …]
|
| H A D | vmmgm200.c | 38 .sparse = gm200_vmm_pgt_sparse, 48 .sparse = gm200_vmm_pgt_sparse, 63 .sparse = gm200_vmm_pgd_sparse,
|
| H A D | uvmm.c | 276 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()
|
| /linux/Documentation/translations/zh_CN/process/ |
| H A D | 4.Coding.rst | 213 “sparse”静态分析工具可以发现其他类型的错误。sparse可以警告程序员用户空间 215 整数值等等。sparse必须单独安装(如果您的分发服务器没有将其打包, 216 可以在 https://sparse.wiki.kernel.org/index.php/Main_page 找到),
|
| /linux/Documentation/translations/zh_TW/process/ |
| H A D | 4.Coding.rst | 216 “sparse”靜態分析工具可以發現其他類型的錯誤。sparse可以警告程序員用戶空間 218 整數值等等。sparse必須單獨安裝(如果您的分發服務器沒有將其打包, 219 可以在 https://sparse.wiki.kernel.org/index.php/Main_page 找到),
|
| /linux/drivers/gpu/drm/nouveau/include/nvif/ |
| H A D | vmm.h | 31 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 D | if000c.h | 30 __u8 sparse; member 43 __u8 sparse; member 81 __u8 sparse; member
|
| /linux/Documentation/core-api/ |
| H A D | generic-radix-tree.rst | 2 Generic radix trees/sparse arrays 6 :doc: Generic radix trees/sparse arrays
|
| /linux/drivers/vfio/pci/nvgrace-gpu/ |
| H A D | main.c | 421 struct vfio_region_info_cap_sparse_mmap *sparse; in nvgrace_gpu_ioctl_get_region_info() local 434 size = struct_size(sparse, areas, 1); in nvgrace_gpu_ioctl_get_region_info() 441 sparse = kzalloc(size, GFP_KERNEL); in nvgrace_gpu_ioctl_get_region_info() 442 if (!sparse) in nvgrace_gpu_ioctl_get_region_info() 445 sparse->nr_areas = 1; in nvgrace_gpu_ioctl_get_region_info() 446 sparse->areas[0].offset = 0; in nvgrace_gpu_ioctl_get_region_info() 447 sparse->areas[0].size = memregion->memlength; in nvgrace_gpu_ioctl_get_region_info() 448 sparse->header.id = VFIO_REGION_INFO_CAP_SPARSE_MMAP; in nvgrace_gpu_ioctl_get_region_info() 449 sparse->header.version = 1; in nvgrace_gpu_ioctl_get_region_info() 451 ret = vfio_info_add_capability(caps, &sparse->header, size); in nvgrace_gpu_ioctl_get_region_info() [all …]
|
| /linux/Documentation/driver-api/ |
| H A D | input.rst | 37 .. kernel-doc:: include/linux/input/sparse-keymap.h 40 .. kernel-doc:: drivers/input/sparse-keymap.c
|
| /linux/Documentation/filesystems/ |
| H A D | ntfs3.rst | 13 - This driver implements NTFS read/write support for normal, sparse and 26 sparse(0x200), compressed(0x800) and normal. 95 * - sparse 96 - Create new files as sparse.
|
| /linux/drivers/md/dm-vdo/indexer/ |
| H A D | config.c | 228 static int compute_memory_sizes(uds_memory_config_size_t mem_gb, bool sparse, in compute_memory_sizes() argument 270 if (sparse) { in compute_memory_sizes() 322 result = compute_memory_sizes(params->memory_size, params->sparse, in uds_make_configuration() 345 config->sparse_sample_rate = (params->sparse ? DEFAULT_SPARSE_SAMPLE_RATE : 0); in uds_make_configuration()
|
| /linux/drivers/gpu/drm/i915/gvt/ |
| H A D | kvmgt.c | 1148 struct vfio_region_info_cap_sparse_mmap *sparse = NULL; in intel_vgpu_ioctl_get_region_info() local 1186 sparse = kzalloc_flex(*sparse, areas, nr_areas); in intel_vgpu_ioctl_get_region_info() 1187 if (!sparse) in intel_vgpu_ioctl_get_region_info() 1190 sparse->header.id = VFIO_REGION_INFO_CAP_SPARSE_MMAP; in intel_vgpu_ioctl_get_region_info() 1191 sparse->header.version = 1; in intel_vgpu_ioctl_get_region_info() 1192 sparse->nr_areas = nr_areas; in intel_vgpu_ioctl_get_region_info() 1194 sparse->areas[0].offset = in intel_vgpu_ioctl_get_region_info() 1196 sparse->areas[0].size = vgpu_aperture_sz(vgpu); in intel_vgpu_ioctl_get_region_info() 1242 if ((info->flags & VFIO_REGION_INFO_FLAG_CAPS) && sparse) { in intel_vgpu_ioctl_get_region_info() 1246 caps, &sparse->header, in intel_vgpu_ioctl_get_region_info() [all …]
|
| /linux/drivers/gpu/drm/nouveau/ |
| H A D | nouveau_uvmm.c | 128 u64 addr, u64 range, u8 page_shift, bool sparse) in nouveau_uvmm_vmm_unmap() argument 132 return nvif_vmm_raw_unmap(vmm, addr, range, page_shift, sparse); in nouveau_uvmm_vmm_unmap() 210 bool sparse = !!uvma->region; in nouveau_uvma_unmap() local 215 return nouveau_uvmm_vmm_unmap(to_uvmm(uvma), addr, range, page_shift, sparse); in nouveau_uvma_unmap() 869 bool sparse = !!uvma->region; in op_unmap_range() local 872 nouveau_uvmm_vmm_unmap(to_uvmm(uvma), addr, range, page_shift, sparse); in op_unmap_range() 1114 bool sparse) in bind_validate_map_common() argument 1141 if (sparse) in bind_validate_map_common() 1166 bool sparse = false; in bind_validate_region() local 1170 sparse = true; in bind_validate_region() [all …]
|
| /linux/Documentation/translations/zh_CN/core-api/ |
| H A D | generic-radix-tree.rst | 16 “DOC: Generic radix trees/sparse arrays”。
|
| /linux/drivers/input/ |
| H A D | Makefile | 13 obj-$(CONFIG_INPUT_SPARSEKMAP) += sparse-keymap.o
|
| /linux/kernel/irq/ |
| H A D | Kconfig | 5 # Make sparse irq Kconfig switch below available 110 bool "Support sparse irq numbering" if MAY_HAVE_SPARSE_IRQ
|
| /linux/Documentation/dev-tools/ |
| H A D | index.rst | 25 sparse
|
| /linux/mm/ |
| H A D | Makefile | 87 obj-$(CONFIG_SPARSEMEM) += sparse.o 88 obj-$(CONFIG_SPARSEMEM_VMEMMAP) += sparse-vmemmap.o
|