Home
last modified time | relevance | path

Searched refs:regions (Results 1 – 200 of 203) sorted by relevance

12

/linux-4.4.14/drivers/mtd/chips/
Djedec_probe.c272 const uint32_t regions[6]; member
304 .regions = {
316 .regions = {
331 .regions = {
346 .regions = {
361 .regions = {
376 .regions = {
392 .regions = {
409 .regions = {
426 .regions = {
[all …]
Dcfi_util.c360 struct mtd_erase_region_info *regions = mtd->eraseregions; in cfi_varsize_frob() local
374 while (i < mtd->numeraseregions && ofs >= regions[i].offset) in cfi_varsize_frob()
384 if (ofs & (regions[i].erasesize-1)) in cfi_varsize_frob()
394 while (i<mtd->numeraseregions && (ofs + len) >= regions[i].offset) in cfi_varsize_frob()
402 if ((ofs + len) & (regions[i].erasesize-1)) in cfi_varsize_frob()
411 int size = regions[i].erasesize; in cfi_varsize_frob()
422 if (ofs == regions[i].offset + size * regions[i].numblocks) in cfi_varsize_frob()
Dcfi_cmdset_0020.c896 struct mtd_erase_region_info *regions = mtd->eraseregions; in cfi_staa_erase_varsize() local
910 while (i < mtd->numeraseregions && instr->addr >= regions[i].offset) in cfi_staa_erase_varsize()
920 if (instr->addr & (regions[i].erasesize-1)) in cfi_staa_erase_varsize()
930 while (i<mtd->numeraseregions && (instr->addr + instr->len) >= regions[i].offset) in cfi_staa_erase_varsize()
938 if ((instr->addr + instr->len) & (regions[i].erasesize-1)) in cfi_staa_erase_varsize()
953 adr += regions[i].erasesize; in cfi_staa_erase_varsize()
954 len -= regions[i].erasesize; in cfi_staa_erase_varsize()
956 …if (adr % (1<< cfi->chipshift) == (((unsigned long)regions[i].offset + (regions[i].erasesize * reg… in cfi_staa_erase_varsize()
Dcfi_cmdset_0002.c2625 struct mtd_erase_region_info *regions = mtd->eraseregions; in cfi_ppb_unlock() local
2659 int size = regions[i].erasesize; in cfi_ppb_unlock()
2678 if (offset == regions[i].offset + size * regions[i].numblocks) in cfi_ppb_unlock()
/linux-4.4.14/drivers/vfio/platform/
Dvfio_platform_common.c76 vdev->regions = kcalloc(cnt, sizeof(struct vfio_platform_region), in vfio_platform_regions_init()
78 if (!vdev->regions) in vfio_platform_regions_init()
88 vdev->regions[i].addr = res->start; in vfio_platform_regions_init()
89 vdev->regions[i].size = resource_size(res); in vfio_platform_regions_init()
90 vdev->regions[i].flags = 0; in vfio_platform_regions_init()
94 vdev->regions[i].type = VFIO_PLATFORM_REGION_TYPE_MMIO; in vfio_platform_regions_init()
95 vdev->regions[i].flags |= VFIO_REGION_INFO_FLAG_READ; in vfio_platform_regions_init()
97 vdev->regions[i].flags |= in vfio_platform_regions_init()
104 if (!(vdev->regions[i].addr & ~PAGE_MASK) && in vfio_platform_regions_init()
105 !(vdev->regions[i].size & ~PAGE_MASK)) in vfio_platform_regions_init()
[all …]
Dvfio_platform_private.h53 struct vfio_platform_region *regions; member
/linux-4.4.14/mm/
Dmemblock.c35 .memory.regions = memblock_memory_init_regions,
39 .reserved.regions = memblock_reserved_init_regions,
44 .physmem.regions = memblock_physmem_init_regions,
100 phys_addr_t rgnbase = type->regions[i].base; in memblock_overlaps_region()
101 phys_addr_t rgnsize = type->regions[i].size; in memblock_overlaps_region()
287 type->total_size -= type->regions[r].size; in memblock_remove_region()
288 memmove(&type->regions[r], &type->regions[r + 1], in memblock_remove_region()
289 (type->cnt - (r + 1)) * sizeof(type->regions[r])); in memblock_remove_region()
296 type->regions[0].base = 0; in memblock_remove_region()
297 type->regions[0].size = 0; in memblock_remove_region()
[all …]
Dhugetlb.c257 struct list_head *head = &resv->regions; in region_add()
353 struct list_head *head = &resv->regions; in region_chg()
480 struct list_head *head = &resv->regions; in region_del()
587 struct list_head *head = &resv->regions; in region_count()
711 INIT_LIST_HEAD(&resv_map->regions); in resv_map_alloc()
DKconfig662 or other device driver discovered memory regions, in the
/linux-4.4.14/drivers/soc/qcom/
Dsmem.c244 struct smem_region regions[0]; member
355 header = smem->regions[0].virt_base; in qcom_smem_alloc_global()
434 header = smem->regions[0].virt_base; in qcom_smem_get_global()
442 area = &smem->regions[i]; in qcom_smem_get_global()
545 header = __smem->regions[0].virt_base; in qcom_smem_get_free_space()
582 ptable = smem->regions[0].virt_base + smem->regions[0].size - SZ_4K; in qcom_smem_enumerate_partitions()
626 header = smem->regions[0].virt_base + le32_to_cpu(entry->offset); in qcom_smem_enumerate_partitions()
685 smem->regions[i].aux_base = (u32)r.start; in qcom_smem_map_memory()
686 smem->regions[i].size = resource_size(&r); in qcom_smem_map_memory()
687 smem->regions[i].virt_base = devm_ioremap_nocache(dev, r.start, in qcom_smem_map_memory()
[all …]
/linux-4.4.14/drivers/staging/fsl-mc/bus/
Dmc-bus.c323 struct resource *regions; in fsl_mc_device_get_mmio_regions() local
343 regions = kmalloc_array(obj_desc->region_count, in fsl_mc_device_get_mmio_regions()
344 sizeof(regions[0]), GFP_KERNEL); in fsl_mc_device_get_mmio_regions()
345 if (!regions) in fsl_mc_device_get_mmio_regions()
365 &regions[i].start); in fsl_mc_device_get_mmio_regions()
374 regions[i].end = regions[i].start + region_desc.size - 1; in fsl_mc_device_get_mmio_regions()
375 regions[i].name = "fsl-mc object MMIO region"; in fsl_mc_device_get_mmio_regions()
376 regions[i].flags = IORESOURCE_IO; in fsl_mc_device_get_mmio_regions()
379 mc_dev->regions = regions; in fsl_mc_device_get_mmio_regions()
383 kfree(regions); in fsl_mc_device_get_mmio_regions()
[all …]
Ddprc-driver.c393 region_size = mc_dev->regions[0].end - in dprc_probe()
394 mc_dev->regions[0].start + 1; in dprc_probe()
397 mc_dev->regions[0].start, in dprc_probe()
Dmc-allocator.c314 mc_portal_phys_addr = dpmcp_dev->regions[0].start; in fsl_mc_portal_allocate()
315 mc_portal_size = dpmcp_dev->regions[0].end - in fsl_mc_portal_allocate()
316 dpmcp_dev->regions[0].start + 1; in fsl_mc_portal_allocate()
/linux-4.4.14/tools/virtio/
Dvirtio_test.c125 dev->mem = malloc(offsetof(struct vhost_memory, regions) + in vdev_info_init()
126 sizeof dev->mem->regions[0]); in vdev_info_init()
128 memset(dev->mem, 0, offsetof(struct vhost_memory, regions) + in vdev_info_init()
129 sizeof dev->mem->regions[0]); in vdev_info_init()
131 dev->mem->regions[0].guest_phys_addr = (long)dev->buf; in vdev_info_init()
132 dev->mem->regions[0].userspace_addr = (long)dev->buf; in vdev_info_init()
133 dev->mem->regions[0].memory_size = dev->buf_size; in vdev_info_init()
/linux-4.4.14/sound/drivers/opl4/
Dopl4_synth.c485 const struct opl4_region_ptr *regions; in snd_opl4_note_on() local
493 regions = &snd_yrw801_regions[i]; in snd_opl4_note_on()
494 for (i = 0; i < regions->count; i++) { in snd_opl4_note_on()
495 if (note >= regions->regions[i].key_min && in snd_opl4_note_on()
496 note <= regions->regions[i].key_max) { in snd_opl4_note_on()
497 sound[voices] = &regions->regions[i].sound; in snd_opl4_note_on()
Dyrw801.c926 #define REGION(num) { ARRAY_SIZE(regions ## num), regions ## num }
Dopl4_local.h156 const struct opl4_region *regions; member
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dbase.c123 for (i = 0; i < fb->tile.regions; i++) in nvkm_fb_init()
137 for (i = 0; i < fb->tile.regions; i++) in nvkm_fb_dtor()
161 fb->tile.regions = fb->func->tile.regions; in nvkm_fb_ctor()
Dnv1a.c31 .tile.regions = 8,
Dnv4e.c32 .tile.regions = 12,
Dnv47.c32 .tile.regions = 15,
Dnv49.c32 .tile.regions = 15,
Dnv46.c46 .tile.regions = 15,
Dnv25.c47 .tile.regions = 8,
Dnv41.c49 .tile.regions = 12,
Dnv35.c49 .tile.regions = 8,
Dnv36.c49 .tile.regions = 8,
Dnv40.c55 .tile.regions = 8,
Dnv44.c60 .tile.regions = 12,
Dnv10.c59 .tile.regions = 8,
Dramnv50.c501 while (!list_empty(&mem->regions)) { in __nv50_ram_put()
502 this = list_first_entry(&mem->regions, typeof(*this), rl_entry); in __nv50_ram_put()
562 INIT_LIST_HEAD(&mem->regions); in nv50_ram_get()
578 list_add_tail(&r->rl_entry, &mem->regions); in nv50_ram_get()
583 r = list_first_entry(&mem->regions, struct nvkm_mm_node, rl_entry); in nv50_ram_get()
Dpriv.h13 int regions; member
Dnv20.c82 .tile.regions = 8,
Dnv30.c120 .tile.regions = 8,
Dramgf100.c467 INIT_LIST_HEAD(&mem->regions); in gf100_ram_get()
494 list_add_tail(&r->rl_entry, &mem->regions); in gf100_ram_get()
499 r = list_first_entry(&mem->regions, struct nvkm_mm_node, rl_entry); in gf100_ram_get()
/linux-4.4.14/Documentation/
DIntel-IOMMU.txt29 PS2 emulation. The regions of memory used for these devices are marked
31 regions will fail. Hence BIOS uses RMRR to specify these regions along with
32 devices that need to access these regions. OS is expected to setup
33 unity mappings for these regions for these devices to access these regions.
Dzorro.txt71 The address regions in the Zorro device resources are Zorro bus address
72 regions. Due to the identity bus-physical address mapping on the Zorro bus,
75 The treatment of these regions depends on the type of Zorro space:
Dnommu-mmap.txt21 In the MMU case: VM regions backed by arbitrary pages; copy-on-write
24 In the no-MMU case: VM regions backed by arbitrary contiguous runs of
36 In the MMU case: VM regions backed by pages read from file; changes to
71 In the MMU case: VM regions backed by pages read from file; changes to
127 regions are backed by virtual pages, with the contents only being mapped
Dio-mapping.txt2 efficiently mapping small regions of an I/O device to the CPU. The initial
DDMA-API.txt83 Many drivers need lots of small DMA-coherent memory regions for DMA
201 Notes: Not all memory regions in a machine can be mapped by this API.
230 regions from sharing a single cache line). Since the cache line size
234 only map virtual regions that begin and end on page boundaries (which
524 DMA_MEMORY_EXCLUSIVE - only allocate memory from the declared regions.
559 This is used to occupy specific regions of the declared space
Dramoops.txt41 Ramoops also supports software ECC protection of persistent memory regions.
Dcachetlb.txt76 Linux to keep track of mmap'd regions for a process, the
180 sized regions from the cache, instead of having the kernel
188 Linux to keep track of mmap'd regions for a process, the
Dpreempt-locking.txt47 preemption must be disabled around such regions.
Deisa.txt135 res : set of four 256 bytes I/O regions allocated to this device
DDMA-API-HOWTO.txt382 To allocate and map large (PAGE_SIZE or so) consistent DMA regions,
396 driver needs regions sized smaller than a page, you may prefer using
426 If your driver needs lots of smaller memory regions, you can write
617 With scatterlists, you map a region gathered from several regions by:
Dintel_txt.txt126 TXT-related regions.
Dsvga.txt106 The ID numbers can be divided to three regions:
D00-INDEX89 - how to use kernel parameters to exclude bad RAM regions.
Dbcache.txt189 nodes are huge and index large regions of the device). But when you're
Dvfio.txt112 regions and their read/write/mmap offsets on the device descriptor, as
Dkernel-parameters.txt1596 strict regions from userspace.
2106 regions that are detected.
2971 [ISAPNP] Exclude memory regions for the
/linux-4.4.14/Documentation/devicetree/bindings/mfd/
Dqcom,spmi-pmic.txt7 locations/definitions within these regions, with some of these regions
13 16-bit SPMI slave address space into 256 smaller fixed-size regions, 256 bytes
14 each. A function can consume one or more of these fixed-size register regions.
/linux-4.4.14/arch/microblaze/mm/
Dinit.c292 memblock.memory.regions[0].size = memory_size; in mm_cmdline_setup()
335 if ((u32) memblock.memory.regions[0].size < 0x400000) { in mmu_init()
340 if ((u32) memblock.memory.regions[0].size < kernel_tlb) { in mmu_init()
346 memory_start = (u32) memblock.memory.regions[0].base; in mmu_init()
347 lowmem_size = memory_size = (u32) memblock.memory.regions[0].size; in mmu_init()
/linux-4.4.14/Documentation/devicetree/bindings/reserved-memory/
Dreserved-memory.txt1 *** Reserved memory regions ***
6 normal use) memory regions. Such memory regions are usually designed for
21 Each child of the reserved-memory node specifies one or more regions of
41 - Specifies regions of memory that are
80 This example defines 3 contiguous regions are defined for Linux kernel:
/linux-4.4.14/drivers/staging/android/
DTODO23 - Add dt-binding to expose cma regions as ion heaps, with the rule that any
24 such cma regions must already be used by some device for dma. I.e. ion only
25 exposes existing cma regions and doesn't reserve unecessarily memory when
/linux-4.4.14/drivers/video/console/
Dsticore.c460 REGION_OFFSET_TO_PHYS(sti->regions[i], newhpa); in sti_init_glob_cfg()
462 len = sti->regions[i].region_desc.length * 4096; in sti_init_glob_cfg()
470 sti->regions[i].region_desc.btlb, in sti_init_glob_cfg()
471 sti->regions[i].region_desc.sys_only, in sti_init_glob_cfg()
472 sti->regions[i].region_desc.cache, in sti_init_glob_cfg()
473 sti->regions[i].region_desc.last)); in sti_init_glob_cfg()
476 if (sti->regions[i].region_desc.last) in sti_init_glob_cfg()
480 if (++i<8 && sti->regions[i].region) in sti_init_glob_cfg()
482 __FILE__, sti->regions[i].region); in sti_init_glob_cfg()
754 memcpy(sti->regions, ((void *)raw)+raw->region_list, sizeof(sti->regions)); in sti_read_rom()
/linux-4.4.14/drivers/vfio/platform/reset/
Dvfio_platform_amdxgbe.c61 struct vfio_platform_region *xgmac_regs = &vdev->regions[0]; in vfio_platform_amdxgbe_reset()
62 struct vfio_platform_region *xpcs_regs = &vdev->regions[1]; in vfio_platform_amdxgbe_reset()
Dvfio_platform_calxedaxgmac.c62 struct vfio_platform_region *reg = &vdev->regions[0]; in vfio_platform_calxedaxgmac_reset()
/linux-4.4.14/Documentation/devicetree/bindings/display/msm/
Ddsi.txt8 - reg-names: The names of register regions. The following regions are required:
56 - reg-names: The names of register regions. The following regions are required:
Dedp.txt7 - reg-names: The names of register regions. The following regions are required:
/linux-4.4.14/drivers/char/
Dps3flash.c102 dev->regions[dev->region_idx].size*dev->blk_size); in ps3flash_llseek()
119 size = dev->regions[dev->region_idx].size*dev->blk_size; in ps3flash_read()
188 size = dev->regions[dev->region_idx].size*dev->blk_size; in ps3flash_write()
349 tmp = dev->regions[dev->region_idx].start*dev->blk_size; in ps3flash_probe()
356 tmp = dev->regions[dev->region_idx].size*dev->blk_size; in ps3flash_probe()
/linux-4.4.14/Documentation/devicetree/bindings/soc/ti/
Dkeystone-navigator-qmss.txt14 The QMSS driver manages the PDSP setups, linking RAM regions,
34 Register regions should be specified in the following
84 - descriptor-regions : child node describing the memory regions for keystone
100 Register regions should be specified in the following
209 descriptor-regions {
Dkeystone-navigator-dma.txt43 register regions. Register regions should be specified in the following
52 - reg-names: Names for the register regions.
/linux-4.4.14/Documentation/devicetree/bindings/pci/
Drcar-pci.txt11 - ranges: ranges for the PCI memory and I/O regions.
12 - dma-ranges: ranges for the inbound memory regions.
Dxgene-pci.txt14 - ranges: ranges for the outbound memory, I/O regions.
15 - dma-ranges: ranges for the inbound memory regions.
Dversatile.txt17 - ranges: ranges for the PCI memory and I/O regions
Ddesignware-pcie.txt12 - ranges: ranges for the PCI memory and I/O regions
Daltera-pcie.txt18 PCI regions.
Dpci-rcar-gen2.txt12 - reg: A list of physical regions to access the device: the first is
Dxilinx-pcie.txt15 - ranges: ranges for the PCI memory regions (I/O space region is not
Dbrcm,iproc-pcie.txt14 - ranges: ranges for the PCI memory and I/O regions
Dnvidia,tegra20-pcie.txt30 PCI regions. The entries must be 6 cells each, where the first three cells
38 prefetchable PCI regions. The first cell determines the type of region
Dralink,rt3883-pci.txt68 - ranges: specifies the ranges for the PCI memory and I/O regions
Dmvebu-pci.txt17 the memory and I/O regions of each PCIe interface.
/linux-4.4.14/drivers/soc/ti/
Dknav_qmss.h303 struct list_head regions; member
349 list_for_each_entry(region, &kdev->regions, list)
352 list_first_entry_or_null(&kdev->regions, \
Dknav_qmss_queue.c1065 struct device_node *regions) in knav_queue_setup_regions() argument
1073 for_each_child_of_node(regions, child) { in knav_queue_setup_regions()
1107 list_add_tail(&region->list, &kdev->regions); in knav_queue_setup_regions()
1109 if (list_empty(&kdev->regions)) { in knav_queue_setup_regions()
1693 struct device_node *qmgrs, *queue_pools, *regions, *pdsps; in knav_queue_probe() local
1714 INIT_LIST_HEAD(&kdev->regions); in knav_queue_probe()
1787 regions = of_get_child_by_name(node, "descriptor-regions"); in knav_queue_probe()
1788 if (!regions) { in knav_queue_probe()
1792 ret = knav_queue_setup_regions(kdev, regions); in knav_queue_probe()
1793 of_node_put(regions); in knav_queue_probe()
/linux-4.4.14/drivers/staging/fsl-mc/
DREADME.txt75 the MC and are done directly using memory mapped regions in
107 objects present (including mappable regions and interrupts).
171 supports and a summary of key resources of the object (mmio regions
177 -mmio regions: none
185 -mmio regions: none
194 -mmio regions: queue operations, buffer mgmt
201 -mmio regions: none
208 -mmio regions: MC command portal
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
Dgk20a.c336 if (unlikely(list_empty(&node->base.mem.regions))) in gk20a_instobj_dtor_iommu()
339 r = list_first_entry(&node->base.mem.regions, struct nvkm_mm_node, in gk20a_instobj_dtor_iommu()
424 INIT_LIST_HEAD(&node->base.mem.regions); in gk20a_instobj_ctor_dma()
425 list_add_tail(&node->r.rl_entry, &node->base.mem.regions); in gk20a_instobj_ctor_dma()
504 INIT_LIST_HEAD(&node->base.mem.regions); in gk20a_instobj_ctor_iommu()
505 list_add_tail(&r->rl_entry, &node->base.mem.regions); in gk20a_instobj_ctor_iommu()
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dfb.h32 struct list_head regions; member
56 int regions; member
/linux-4.4.14/Documentation/devicetree/bindings/remoteproc/
Dwkup_m3_rproc.txt22 memory regions, UMEM and DMEM. The parent node should
26 regions. These should be named "umem" & "dmem".
/linux-4.4.14/Documentation/devicetree/bindings/interrupt-controller/
Darm,gic-v3.txt48 - #redistributor-regions: The number of independent contiguous regions
101 #redistributor-regions = <2>;
Darm,gic.txt59 regions, used when the GIC doesn't have banked registers. The offset is
97 - reg : Additional regions specifying the base physical address and
/linux-4.4.14/drivers/ps3/
Dps3stor_lib.c134 dev->region_idx, dev->regions[dev->region_idx].start, in ps3stor_probe_access()
135 dev->regions[dev->region_idx].size); in ps3stor_probe_access()
279 unsigned int region_id = dev->regions[dev->region_idx].id; in ps3stor_read_write_sectors()
/linux-4.4.14/include/linux/
Dmemblock.h43 struct memblock_region *regions; member
390 for (region = memblock.memblock_type.regions; \
391 region < (memblock.memblock_type.regions + memblock.memblock_type.cnt); \
Dhugetlb.h37 struct list_head regions; member
/linux-4.4.14/Documentation/device-mapper/
Dswitch.txt5 arbitrary mapping of fixed-size regions of I/O across a fixed set of
10 number of fixed-sized address regions but there is no simple pattern
41 A device-mapper table already lets you map different regions of a
97 Modify the region table by specifying which regions are redirected to
Dstatistics.txt5 regions of a DM device. If no regions are defined no statistics are
114 List all regions registered with @stats_create.
118 If this parameter is specified, only matching regions
120 If it is not specified, all regions are returned.
Ddm-io.txt19 to multiple regions are specified by an array of io_region structures.
64 In the case of an write-I/O to multiple regions, this bitset allows dm-io to
Ddm-log.txt4 RAID targets to track regions of the disk that are not consistent.
Ddm-raid.txt66 The region_size multiplied by the number of regions is the
/linux-4.4.14/Documentation/ia64/
Daliasing.txt28 on which regions of the address space. For example, some chipsets
44 regions from the map.
68 Therefore, kern_memmap contains only full granule-sized regions that
75 and WB regions.
160 mmap of various MMIO regions from /dev/mem by "X" on Intel platforms
162 The EFI memory map may not report these MMIO regions.
/linux-4.4.14/Documentation/vm/
Dsoft-dirty.txt36 memory region renewal the kernel always marks new memory regions (and
37 expanded regions) as soft dirty.
Dtranshuge.txt61 regions but it'd be ideal to move it to tmpfs and the pagecache
85 MADV_HUGEPAGE madvise regions.
87 Embedded systems should enable hugepages only inside madvise regions
93 madvise(MADV_HUGEPAGE) on their critical mmapped regions.
98 debugging purposes) or only enabled inside MADV_HUGEPAGE regions (to
107 hugepages in case they're not immediately free to madvise regions or
195 the regions registered in khugepaged.
Duserfaultfd.txt22 2) various UFFDIO_* ioctls that can manage the virtual memory regions
102 generating userfaults for readonly guest regions.
Dnuma_memory_policy.txt68 the address space. Any regions of the task's address space that don't
76 any regions of the address space mmap()ed with the MAP_ANONYMOUS flag.
357 true for shared policies on shared memory regions shared by tasks running
359 falling back to task or system default policy for shared memory regions,
Dunevictable-lru.txt71 (*) Those mapped into SHM_LOCK'd shared memory regions.
187 For address spaces that are so marked after being populated (as SHM regions
457 The unevictable LRU can be scanned for compactable regions and the default
509 Because of the VMA filtering when mlocking() regions, only "normal" VMAs that
Dpagemap.txt38 skip over unmapped regions.
Dhugetlbpage.txt26 regions.
/linux-4.4.14/arch/powerpc/include/asm/
Dps3stor.h54 struct ps3_storage_region regions[0]; /* Must be last */ member
/linux-4.4.14/Documentation/devicetree/bindings/net/
Dopencores-ethoc.txt5 - reg: two memory regions (address and length),
Dkeystone-netcp.txt56 regions in the specified order.
76 regions in the specified order.
/linux-4.4.14/drivers/vhost/
Dvhost.c491 return kmalloc(offsetof(struct vhost_memory, regions), GFP_KERNEL); in vhost_dev_reset_owner_prepare()
588 struct vhost_memory_region *m = mem->regions + i; in vq_memory_access_ok()
694 unsigned long size = offsetof(struct vhost_memory, regions); in vhost_set_memory()
703 newmem = vhost_kvzalloc(size + mem.nregions * sizeof(*m->regions)); in vhost_set_memory()
708 if (copy_from_user(newmem->regions, m->regions, in vhost_set_memory()
709 mem.nregions * sizeof *m->regions)) { in vhost_set_memory()
713 sort(newmem->regions, newmem->nregions, sizeof(*newmem->regions), in vhost_set_memory()
1028 reg = mem->regions + slot; in find_region()
1035 reg = mem->regions + start; in find_region()
/linux-4.4.14/drivers/scsi/
Dscsi_trace.c184 unsigned int regions = cdb[7] << 8 | cdb[8]; in scsi_trace_unmap() local
186 trace_seq_printf(p, "regions=%u", (regions - 8) / 16); in scsi_trace_unmap()
Dps3rom.c181 dev->regions[dev->region_idx].id, start_sector, in ps3rom_read_request()
204 dev->regions[dev->region_idx].id, start_sector, in ps3rom_write_request()
/linux-4.4.14/arch/parisc/include/asm/
Dgrfioctl.h90 gaddr_t regions[6]; /* region bases */ member
/linux-4.4.14/Documentation/devicetree/bindings/display/
Dst,stih4xx.txt49 - reg-names: names of the mapped memory regions listed in regs property in
61 - reg-names: names of the mapped memory regions listed in regs property in
77 - reg-names: names of the mapped memory regions listed in regs property in
90 - reg-names: names of the mapped memory regions listed in regs property in
/linux-4.4.14/Documentation/arm/
Dmemory.txt7 kernel uses for ARM processors. It indicates which regions are
15 certain regions of VM space for use for new facilities; therefore
Dswp_emulation22 NOTE: when accessing uncached shared regions, LDREX/STREX rely on an external
/linux-4.4.14/Documentation/infiniband/
Duser_verbs.txt45 Direct userspace I/O requires that memory regions that are potential
47 ib_uverbs module manages pinning and unpinning memory regions via
/linux-4.4.14/include/uapi/linux/
Dvhost.h63 struct vhost_memory_region regions[0]; member
/linux-4.4.14/arch/powerpc/mm/
Dinit_32.c142 memblock_enforce_memory_limit(memblock.memory.regions[0].size); in MMU_init()
/linux-4.4.14/drivers/staging/fsl-mc/include/
Dmc.h157 struct resource *regions; member
/linux-4.4.14/drivers/uio/
DKconfig47 Memory regions can be specified with the same platform device
48 resources as the UIO_PDRV drivers, but dynamic regions can also
50 The number and size of these regions is static,
/linux-4.4.14/Documentation/devicetree/bindings/powerpc/fsl/
Dmpic-timer.txt6 - reg : Contains two regions. The first is the main timer register bank
Ddcsr.txt129 The Nexus Port controller occupies two regions in the DCSR space
191 The CoreNet Debug controller occupies two regions in the DCSR space
Dmsi-pic.txt13 - reg : It may contain one or two regions. The first region should contain
/linux-4.4.14/drivers/mtd/
Dmtdpart.c498 struct mtd_erase_region_info *regions = master->eraseregions; in allocate_partition() local
502 for (i = 0; i < max && regions[i].offset <= slave->offset; i++) in allocate_partition()
509 for (; i < max && regions[i].offset < end; i++) { in allocate_partition()
510 if (slave->mtd.erasesize < regions[i].erasesize) { in allocate_partition()
511 slave->mtd.erasesize = regions[i].erasesize; in allocate_partition()
DKconfig63 bool "Include unallocated flash regions"
/linux-4.4.14/Documentation/devicetree/bindings/soc/fsl/
Dbman-portals.txt27 Definition: Two regions. The first is the cache-enabled region of
Dqman-portals.txt28 Definition: Two regions. The first is the cache-enabled region of
Dbman.txt91 For additional details about reserved memory regions see reserved-memory.txt
Dqman.txt108 For additional details about reserved memory regions see reserved-memory.txt
/linux-4.4.14/Documentation/devicetree/bindings/dma/
Dti-edma.txt133 - ti,edma-regions: Number of regions
Dfsl-edma.txt14 The 2nd and the 3rd regions are programmable channel multiplexing
/linux-4.4.14/tools/lib/traceevent/
Dplugin_scsi.c305 unsigned int regions = cdb[7] << 8 | cdb[8]; in scsi_trace_unmap() local
307 trace_seq_printf(p, "regions=%u", (regions - 8) / 16); in scsi_trace_unmap()
/linux-4.4.14/Documentation/pcmcia/
Ddriver-changes.txt23 ranges. After a call to pcmcia_request_window(), the regions found there
140 your IO regions in-use, and request_mem_region() to mark your
141 memory regions in-use. The name argument should be a pointer to
/linux-4.4.14/Documentation/DocBook/
Dkernel-api.xml.db238 API-free-bootmem-with-active-regions
239 API-sparse-memory-present-with-active-regions
243 API-find-min-pfn-with-active-regions
438 API-pci-release-selected-regions
439 API-pci-request-selected-regions
440 API-pci-release-regions
441 API-pci-request-regions
442 API-pci-request-regions-exclusive
/linux-4.4.14/Documentation/devicetree/bindings/misc/
Dfsl,qoriq-mc.txt23 Definition: A standard property. Specifies one or two regions
Dsram.txt3 Simple IO memory regions to be managed by the genalloc API.
/linux-4.4.14/arch/unicore32/mm/
Dmmu.c317 end = memblock.memory.regions[0].base + memblock.memory.regions[0].size; in prepare_page_table()
/linux-4.4.14/arch/powerpc/platforms/embedded6xx/
Dwii.c67 struct memblock_region *p = memblock.memory.regions; in wii_memory_fixups()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/core/
Dengine.c116 for (i = 0; fb && i < fb->tile.regions; i++) in nvkm_engine_init()
/linux-4.4.14/drivers/video/fbdev/omap2/omapfb/
Domapfb.h100 struct omapfb2_mem_region regions[10]; member
Domapfb-ioctl.c59 return &fbdev->regions[mem_idx]; in get_mem_region()
Domapfb-main.c1909 ofbi->region = &fbdev->regions[i]; in omapfb_create_framebuffers()
/linux-4.4.14/arch/ia64/
DKconfig.debug12 IA-64 identity-mapped regions use a large page size called "granules".
/linux-4.4.14/Documentation/devicetree/bindings/arm/uniphier/
Dcache-uniphier.txt10 contain 3 regions: control register, revision register, operation register,
/linux-4.4.14/arch/arm/
DKconfig-nommu60 Unit (MPU) that defines the type and permissions for regions of
/linux-4.4.14/drivers/infiniband/
DKconfig49 memory regions without pinning their pages, fetching the
/linux-4.4.14/arch/powerpc/platforms/ps3/
Ddevice-init.c401 p->regions[i].id = id; in ps3_setup_storage_dev()
402 p->regions[i].start = start; in ps3_setup_storage_dev()
403 p->regions[i].size = size; in ps3_setup_storage_dev()
/linux-4.4.14/drivers/of/
DKconfig100 Helpers to allow for reservation of memory regions
/linux-4.4.14/drivers/block/
Dps3disk.c128 unsigned int region_id = dev->regions[dev->region_idx].id; in ps3disk_submit_request_sg()
495 dev->regions[dev->region_idx].size*priv->blocking_factor); in ps3disk_probe()
/linux-4.4.14/Documentation/x86/
Dpat.txt107 Note that this set of APIs only works with IO (non RAM) regions. If driver
126 with size-constrained regions where otherwise MTRR write-combining would
/linux-4.4.14/sound/soc/codecs/
Dwm_adsp.c1066 int regions = 0; in wm_adsp_load() local
1216 file, regions, type, pos, pos); in wm_adsp_load()
1221 regions, le32_to_cpu(region->len), offset, in wm_adsp_load()
1245 file, regions, in wm_adsp_load()
1253 regions++; in wm_adsp_load()
1264 file, regions, pos - firmware->size); in wm_adsp_load()
/linux-4.4.14/arch/arm/boot/dts/
Dk2l-netcp.dtsi85 descriptor-regions {
Dk2e-netcp.dtsi86 descriptor-regions {
Dk2hk-netcp.dtsi103 descriptor-regions {
/linux-4.4.14/Documentation/fb/
Dudlfb.txt70 changed regions. Alternatively, udlfb can be recompiled with experimental
108 changed regions via ioctl, as this method is simpler,
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-class-mtd82 provides the total number of erase regions. Otherwise,
159 more regions comprising an ecc step". The precise definition of
Dsysfs-bus-coresight-devices-etm4x135 Description: (RW) Controls which regions in the memory map are enabled to
/linux-4.4.14/arch/x86/um/
Dchecksum_32.S143 # Handle 2-byte-aligned regions
/linux-4.4.14/Documentation/arm/keystone/
Dknav-qmss.txt18 The QMSS driver manages the PDSP setups, linking RAM regions,
/linux-4.4.14/arch/m68k/
DKconfig.machine188 Reserve certain memory regions on 68x328 based boards.
390 bool "Specify ROM linker regions"
395 regions being copied out to RAM at startup.
/linux-4.4.14/arch/arm64/boot/dts/hisilicon/
Dhip05.dtsi208 #redistributor-regions = <1>;
/linux-4.4.14/Documentation/devicetree/bindings/memory-controllers/
Darm,pl172.txt17 - ranges: Must contain one or more chip select memory regions.
Dti-aemif.txt32 - ranges: Contains memory regions. There are two types of
/linux-4.4.14/drivers/video/fbdev/
Dsticore.h359 region_t regions[STI_REGION_MAX]; member
Dstifb.c835 pBytePerLongDevDepData = fb->sti->regions[NGLEDEVDEPROM_CRT_REGION]; in ngleGetDeviceRomData()
1254 fix->smem_len = fb->sti->regions[1].region_desc.length * 4096; in stifb_init_fb()
/linux-4.4.14/Documentation/devicetree/bindings/sound/
Dst,sti-asoc-card.txt23 - reg-names: names of the mapped memory regions listed in regs property in
/linux-4.4.14/Documentation/trace/
Dstm.txt62 Some STM devices may allow direct mapping of the channel mmio regions
/linux-4.4.14/Documentation/nvdimm/
Dnvdimm.txt182 regions. For simplicity a DIMM is allowed a PMEM "region" per each
419 set. Per the example there are 6 regions: 2 PMEM and 4 BLK-aperture
420 sets on the "nfit_test.0" bus. The primary role of regions are to be a
426 regions, parsing the LABEL, if present, and then emitting NAMESPACE
523 regions the NFIT specification already anticipates vendor specific
/linux-4.4.14/Documentation/networking/
Ddm9000.txt30 two address regions is important (the driver expects these to be address
DREADME.ipw210034 governmental regulatory agency requirements for the regions that they
DREADME.ipw220047 governmental regulatory agency requirements for the regions that they
Dpacket_mmap.txt267 memory regions are allocated with calls to the __get_free_pages() function. As
/linux-4.4.14/Documentation/filesystems/
Dsysfs-pci.txt57 [1] rw for RESOURCE_IO (I/O port) regions only
Dntfs.txt93 writing into sparse regions is supported and the holes are filled in with
170 regions, i.e. holes, inside files is disabled for the
172 default, creation of sparse regions is enabled, which
Dxfs-delayed-logging-design.txt178 vector array that points to the changed regions in the item. The log write code
230 are in the item, so we'd need a new encapsulation method for regions in the log
481 number of split log vector regions are going to be used. We can track the
487 transaction and region headers, headers for split regions, buffer tail padding,
490 the size of the transaction and the number of regions being logged (the number
Dproc.txt336 The /proc/PID/maps file containing the currently mapped memory regions and
799 migrate types into the same contiguous regions of memory called page blocks.
/linux-4.4.14/arch/x86/
DKconfig.debug19 userspace access to PCI space and the BIOS code and data regions.
91 issues with the mapping of the EFI runtime regions into that
/linux-4.4.14/Documentation/devicetree/bindings/iommu/
Diommu.txt20 address regions.
/linux-4.4.14/arch/m68k/q40/
DREADME87 regions of the memory.
/linux-4.4.14/Documentation/cris/
DREADME119 Axis flash: Swapping erase regions for broken CFI table.
/linux-4.4.14/drivers/video/fbdev/nvidia/
Dnv_hw.c969 int regions = 12; in NVLoadStateExt() local
976 regions = 15; in NVLoadStateExt()
977 for(i = 0; i < regions; i++) { in NVLoadStateExt()
/linux-4.4.14/arch/arm/mm/
Dmmu.c1221 end = memblock.memory.regions[0].base + memblock.memory.regions[0].size; in prepare_page_table()
DKconfig706 NOTE: when accessing uncached shared regions, LDREX/STREX rely
/linux-4.4.14/arch/microblaze/
DKconfig155 This is needed to be able to allocate uncachable memory regions.
/linux-4.4.14/arch/s390/kernel/
Dsetup.c568 if (memblock.memory.regions[0].size < crash_size) { in reserve_crashkernel()
Dcrash_dump.c32 .regions = &oldmem_region,
/linux-4.4.14/arch/x86/lib/
Dchecksum_32.S160 # Handle 2-byte-aligned regions
/linux-4.4.14/Documentation/input/
Dmulti-touch-protocol.txt171 glass. You will see two regions, one inner region consisting of the part
205 regions can be described by adding the MINOR parameters, such that MAJOR
/linux-4.4.14/Documentation/thermal/
Dcpu-cooling-api.txt153 power managed regions that are implemented. Taking the example of an
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
Dbase.c44 list_for_each_entry(r, &node->regions, rl_entry) { in nvkm_vm_map_at()
/linux-4.4.14/drivers/gpu/drm/nouveau/
Dnouveau_bo.c107 for (i = 0; i < fb->tile.regions; i++) { in nv10_bo_set_tiling()
324 if (!list_is_singular(&mem->regions)) in nouveau_bo_pin()
/linux-4.4.14/Documentation/powerpc/
Dfirmware-assisted-dump.txt220 This file shows the reserved memory regions if fadump is
Dpci_iov_resource_on_powernv.txt171 This region is divided into eight contiguous 1MB regions, each of which
/linux-4.4.14/Documentation/arm64/
Dbooting.txt229 the kernel (i.e. outside of the regions of memory described to the
/linux-4.4.14/Documentation/dvb/
Davermedia.txt175 countries and regions, but if they do not suit, or if you have
/linux-4.4.14/Documentation/frv/
Dmmu-layout.txt188 For MMU capable Linux, the regions userspace code are allowed to access are kept entirely separate
/linux-4.4.14/Documentation/devicetree/bindings/crypto/
Dfsl-sec4.txt255 A child node that defines individual RTIC memory regions that are used to
/linux-4.4.14/drivers/md/
DKconfig466 mapping of fixed-size regions of I/O across a fixed set of paths.
/linux-4.4.14/Documentation/cgroups/
Dblkio-controller.txt415 regions of the same inode, which is an unlikely use case and decided
Dcpusets.txt202 the detailed placement done on individual tasks and memory regions
/linux-4.4.14/arch/arm64/
DKconfig620 NOTE: when accessing uncached shared regions, LDXR/STXR rely
/linux-4.4.14/Documentation/PCI/
Dpci.txt261 o allocate I/O and memory regions of the device (if BIOS did not),
/linux-4.4.14/Documentation/cdrom/
Dcdrom-standard.tex329 function $cdrom_ioctl()$ will verify the appropriate user-memory regions
/linux-4.4.14/lib/
DKconfig.debug597 regions to be regularly checked for invalid topology.
/linux-4.4.14/Documentation/scsi/
DChangeLog.1992-1997706 the forbidden regions. I am not sure - I think this is so that
/linux-4.4.14/init/
DKconfig901 # For architectures that (ab)use NUMA to represent different memory regions
/linux-4.4.14/drivers/staging/speakup/
Dspkguide.txt842 You can also cut and paste rectangular regions of the screen. Just

12