| /OK3568_Linux_fs/kernel/Documentation/translations/zh_CN/ |
| H A D | sparse.txt | 1 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 83 使用 sparse 工具 [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/dev-tools/ |
| H A D | sparse.rst | 10 https://lwn.net/Articles/689907/ for an overview of sparse; this document 11 contains some kernel-specific sparse information. 12 More information on sparse, mainly about its internals, can be found in 13 its official pages at https://sparse.docs.kernel.org. 16 Using sparse for typechecking 29 there because sparse will complain about casting to/from a bitwise type, 50 constant zero as a bitwise integer type without sparse ever complaining. 56 Using sparse for lock checking 59 The following macros are undefined for gcc and defined during a sparse 60 run to use the "context" tracking feature of sparse, applied to [all …]
|
| /OK3568_Linux_fs/u-boot/common/ |
| H A D | fb_nand.c | 109 struct fb_nand_sparse *sparse = info->priv; in fb_nand_sparse_write() local 113 ret = _fb_nand_write(sparse->mtd, sparse->part, (void *)buffer, in fb_nand_sparse_write() 169 struct sparse_storage sparse; in fb_nand_flash_write() local 174 sparse.blksz = mtd->writesize; in fb_nand_flash_write() 175 sparse.start = part->offset / sparse.blksz; in fb_nand_flash_write() 176 sparse.size = part->size / sparse.blksz; in fb_nand_flash_write() 177 sparse.write = fb_nand_sparse_write; in fb_nand_flash_write() 178 sparse.reserve = fb_nand_sparse_reserve; in fb_nand_flash_write() 181 sparse.start); in fb_nand_flash_write() 183 sparse.priv = &sparse_priv; in fb_nand_flash_write() [all …]
|
| H A D | fb_mmc.c | 100 struct fb_mmc_sparse *sparse = info->priv; in fb_mmc_sparse_write() local 101 struct blk_desc *dev_desc = sparse->dev_desc; in fb_mmc_sparse_write() 399 struct sparse_storage sparse; in fb_mmc_flash_write() local 403 sparse.blksz = info.blksz; in fb_mmc_flash_write() 404 sparse.start = info.start; in fb_mmc_flash_write() 405 sparse.size = info.size; in fb_mmc_flash_write() 406 sparse.write = fb_mmc_sparse_write; in fb_mmc_flash_write() 407 sparse.reserve = fb_mmc_sparse_reserve; in fb_mmc_flash_write() 410 sparse.start); in fb_mmc_flash_write() 412 sparse.priv = &sparse_priv; in fb_mmc_flash_write() [all …]
|
| H A D | .image-sparse.o.cmd | |
| /OK3568_Linux_fs/kernel/arch/alpha/kernel/ |
| H A D | pci-sysfs.c | 20 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 …]
|
| /OK3568_Linux_fs/kernel/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
|
| /OK3568_Linux_fs/kernel/arch/ia64/pci/ |
| H 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()
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/classes/ |
| H A D | image_types_sparse.bbclass | 3 CONVERSIONTYPES += "sparse" 4 CONVERSION_CMD:sparse = " \ 6 "${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type}.sparse" \
|
| /OK3568_Linux_fs/kernel/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() 244 pair->func->sparse(vmm, pgt->pt[0], pteb, ptes); in nvkm_vmm_unref_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() 456 if (pgt->sparse) in nvkm_vmm_ref_hwpt() 457 desc->func->sparse(vmm, pt, pteb, ptes); in nvkm_vmm_ref_hwpt() 468 if (pgt->sparse) { in nvkm_vmm_ref_hwpt() [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 | 278 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()
|
| /OK3568_Linux_fs/kernel/Documentation/translations/zh_CN/process/ |
| H A D | 4.Coding.rst | 210 使用“sparse”静态分析工具可以发现其他类型的错误。对于sparse,可以警告程序员 212 要一组位标志的地方传递整数值等等。sparse必须单独安装(如果您的分发服务器没 213 有将其打包,可以在 https://sparse.wiki.kernel.org/index.php/Main_page)找到,
|
| /OK3568_Linux_fs/kernel/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() 158 vmm->page[i].sparse = args.sparse; in nvif_vmm_ctor()
|
| /OK3568_Linux_fs/yocto/poky/scripts/lib/wic/ |
| H A D | partition.py | 279 with open(rootfs, 'w') as sparse: 280 os.ftruncate(sparse.fileno(), rootfs_size * 1024) 341 with open(rootfs, 'w') as sparse: 342 os.ftruncate(sparse.fileno(), rootfs_size * 1024) 418 with open(rootfs, 'w') as sparse: 419 os.ftruncate(sparse.fileno(), size * 1024) 439 with open(rootfs, 'w') as sparse: 440 os.ftruncate(sparse.fileno(), size * 1024) 483 with open(path, 'w') as sparse: 484 os.ftruncate(sparse.fileno(), self.size * 1024)
|
| /OK3568_Linux_fs/tools/linux/Linux_Upgrade_Tool/Linux_Upgrade_Tool/ |
| H A D | revision.txt | 5 1.fix download sparse bug casue of use the default_rw_sectors 19 1.fix sparse size larger than 4g bug on computing total size 23 1.fix chunk data size bug on writing sparse 31 2.change sparse percent output
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/ |
| H A D | sparseset.h | 92 SPARSESET_ELT_TYPE *sparse; /* Sparse array. */ member 145 idx = s->sparse[e]; in sparseset_bit_p() 156 s->sparse[e] = idx; in sparseset_insert_bit()
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/ |
| H A D | sparseset.h | 92 SPARSESET_ELT_TYPE *sparse; /* Sparse array. */ member 145 idx = s->sparse[e]; in sparseset_bit_p() 156 s->sparse[e] = idx; in sparseset_insert_bit()
|
| /OK3568_Linux_fs/kernel/Documentation/core-api/ |
| H A D | generic-radix-tree.rst | 2 Generic radix trees/sparse arrays 6 :doc: Generic radix trees/sparse arrays
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/include/nvif/ |
| H A D | vmm.h | 25 bool sparse:1; member 36 int nvif_vmm_get(struct nvif_vmm *, enum nvif_vmm_get, bool sparse,
|
| H A D | if000c.h | 26 __u8 sparse; member 39 __u8 sparse; member
|
| /OK3568_Linux_fs/kernel/Documentation/driver-api/ |
| H A D | input.rst | 46 .. kernel-doc:: include/linux/input/sparse-keymap.h 49 .. kernel-doc:: drivers/input/sparse-keymap.c
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gvt/ |
| H A D | kvmgt.c | 1379 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() 1488 &sparse->header, in intel_vgpu_ioctl() [all …]
|
| /OK3568_Linux_fs/buildroot/docs/manual/ |
| H A D | common-usage.txt | 129 Most tools can handle sparse files efficiently, and will only store or write 130 those parts of a sparse file that are not empty. 135 of sparse files: 136 ** +tar cf archive.tar -S [files...]+ will efficiently store sparse files 138 ** +tar xf archive.tar -S+ will efficiently store sparse files extracted 141 * +cp+ accepts the +--sparse=WHEN+ option (+WHEN+ is one of +auto+, 143 ** +cp --sparse=always source.file dest.file+ will make +dest.file+ a 144 sparse file if +source.file+ has long runs of zeroes 149 You can use sparse files if you need to store the filesystem images (e.g. 154 sparse mode of +dd+ may result in a broken filesystem (e.g. the block bitmap [all …]
|
| /OK3568_Linux_fs/yocto/meta-clang/dynamic-layers/selinux/android-tools/android-tools/core-debian/ |
| H A D | hard-code-build-number.patch | 32 #include <sparse/sparse.h>
|