Home
last modified time | relevance | path

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

/linux-4.1.27/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.c172 struct mtd_erase_region_info *regions = mtd->eraseregions; in cfi_varsize_frob() local
186 while (i < mtd->numeraseregions && ofs >= regions[i].offset) in cfi_varsize_frob()
196 if (ofs & (regions[i].erasesize-1)) in cfi_varsize_frob()
206 while (i<mtd->numeraseregions && (ofs + len) >= regions[i].offset) in cfi_varsize_frob()
214 if ((ofs + len) & (regions[i].erasesize-1)) in cfi_varsize_frob()
223 int size = regions[i].erasesize; in cfi_varsize_frob()
234 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.1.27/drivers/vfio/platform/
Dvfio_platform_common.c35 vdev->regions = kcalloc(cnt, sizeof(struct vfio_platform_region), in vfio_platform_regions_init()
37 if (!vdev->regions) in vfio_platform_regions_init()
47 vdev->regions[i].addr = res->start; in vfio_platform_regions_init()
48 vdev->regions[i].size = resource_size(res); in vfio_platform_regions_init()
49 vdev->regions[i].flags = 0; in vfio_platform_regions_init()
53 vdev->regions[i].type = VFIO_PLATFORM_REGION_TYPE_MMIO; in vfio_platform_regions_init()
54 vdev->regions[i].flags |= VFIO_REGION_INFO_FLAG_READ; in vfio_platform_regions_init()
56 vdev->regions[i].flags |= in vfio_platform_regions_init()
63 if (!(vdev->regions[i].addr & ~PAGE_MASK) && in vfio_platform_regions_init()
64 !(vdev->regions[i].size & ~PAGE_MASK)) in vfio_platform_regions_init()
[all …]
Dvfio_platform_private.h53 struct vfio_platform_region *regions; member
/linux-4.1.27/mm/
Dmemblock.c35 .memory.regions = memblock_memory_init_regions,
39 .reserved.regions = memblock_reserved_init_regions,
44 .physmem.regions = memblock_physmem_init_regions,
94 phys_addr_t rgnbase = type->regions[i].base; in memblock_overlaps_region()
95 phys_addr_t rgnsize = type->regions[i].size; in memblock_overlaps_region()
261 type->total_size -= type->regions[r].size; in memblock_remove_region()
262 memmove(&type->regions[r], &type->regions[r + 1], in memblock_remove_region()
263 (type->cnt - (r + 1)) * sizeof(type->regions[r])); in memblock_remove_region()
270 type->regions[0].base = 0; in memblock_remove_region()
271 type->regions[0].size = 0; in memblock_remove_region()
[all …]
Dhugetlb.c231 struct list_head *head = &resv->regions; in region_add()
270 struct list_head *head = &resv->regions; in region_chg()
336 struct list_head *head = &resv->regions; in region_truncate()
371 struct list_head *head = &resv->regions; in region_count()
490 INIT_LIST_HEAD(&resv_map->regions); in resv_map_alloc()
/linux-4.1.27/drivers/staging/fsl-mc/bus/
Dmc-bus.c270 struct resource *regions; in fsl_mc_device_get_mmio_regions() local
274 regions = kmalloc_array(obj_desc->region_count, in fsl_mc_device_get_mmio_regions()
275 sizeof(regions[0]), GFP_KERNEL); in fsl_mc_device_get_mmio_regions()
276 if (!regions) in fsl_mc_device_get_mmio_regions()
295 &regions[i].start); in fsl_mc_device_get_mmio_regions()
303 regions[i].end = regions[i].start + region_desc.size - 1; in fsl_mc_device_get_mmio_regions()
304 regions[i].name = "fsl-mc object MMIO region"; in fsl_mc_device_get_mmio_regions()
305 regions[i].flags = IORESOURCE_IO; in fsl_mc_device_get_mmio_regions()
308 mc_dev->regions = regions; in fsl_mc_device_get_mmio_regions()
312 kfree(regions); in fsl_mc_device_get_mmio_regions()
[all …]
Ddprc-driver.c391 region_size = mc_dev->regions[0].end - in dprc_probe()
392 mc_dev->regions[0].start + 1; in dprc_probe()
395 mc_dev->regions[0].start, in dprc_probe()
Dmc-allocator.c314 mc_portal_phys_addr = mc_adev->regions[0].start; in fsl_mc_portal_allocate()
315 mc_portal_size = mc_adev->regions[0].end - in fsl_mc_portal_allocate()
316 mc_adev->regions[0].start + 1; in fsl_mc_portal_allocate()
/linux-4.1.27/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.1.27/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.1.27/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
207 Notes: Not all memory regions in a machine can be mapped by this API.
236 regions from sharing a single cache line). Since the cache line size
240 only map virtual regions that begin and end on page boundaries (which
530 DMA_MEMORY_EXCLUSIVE - only allocate memory from the declared regions.
565 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.txt1531 strict regions from userspace.
2039 regions that are detected.
2894 [ISAPNP] Exclude memory regions for the
Dmemory-barriers.txt1747 ordered I/O regions to be partially ordered. Its effects may go beyond the
/linux-4.1.27/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.1.27/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.1.27/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.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
Dgk20a.c166 if (unlikely(list_empty(&_node->mem->regions))) in gk20a_instobj_dtor_iommu()
169 r = list_first_entry(&_node->mem->regions, struct nvkm_mm_node, in gk20a_instobj_dtor_iommu()
238 INIT_LIST_HEAD(&node->base._mem.regions); in gk20a_instobj_ctor_dma()
239 list_add_tail(&node->r.rl_entry, &node->base._mem.regions); in gk20a_instobj_ctor_dma()
306 INIT_LIST_HEAD(&node->base._mem.regions); in gk20a_instobj_ctor_iommu()
307 list_add_tail(&r->rl_entry, &node->base._mem.regions); in gk20a_instobj_ctor_iommu()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dnv04.c68 priv->base.tile.regions = impl->tile.regions; in nv04_fb_ctor()
Dramnv50.c226 while (!list_empty(&mem->regions)) { in __nv50_ram_put()
227 this = list_first_entry(&mem->regions, typeof(*this), rl_entry); in __nv50_ram_put()
287 INIT_LIST_HEAD(&mem->regions); in nv50_ram_get()
303 list_add_tail(&r->rl_entry, &mem->regions); in nv50_ram_get()
308 r = list_first_entry(&mem->regions, struct nvkm_mm_node, rl_entry); in nv50_ram_get()
Dbase.c83 for (i = 0; i < pfb->tile.regions; i++) in _nvkm_fb_init()
95 for (i = 0; i < pfb->tile.regions; i++) in _nvkm_fb_dtor()
Dnv4e.c39 .tile.regions = 12,
Dnv1a.c39 .tile.regions = 8,
Dnv47.c39 .tile.regions = 15,
Dnv49.c39 .tile.regions = 15,
Dnv46.c53 .tile.regions = 15,
Dnv25.c55 .tile.regions = 8,
Dnv41.c63 .tile.regions = 12,
Dnv36.c56 .tile.regions = 8,
Dnv35.c56 .tile.regions = 8,
Dnv10.c66 .tile.regions = 8,
Dnv40.c70 .tile.regions = 8,
Dnv44.c73 .tile.regions = 12,
Dnv04.h16 int regions; member
Dnv20.c89 .tile.regions = 8,
Dnv30.c135 .tile.regions = 8,
Dramgf100.c465 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.1.27/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.1.27/Documentation/devicetree/bindings/dma/
Dti-edma.txt20 - ti,edma-regions: Number of regions
Dfsl-edma.txt14 The 2nd and the 3rd regions are programmable channel multiplexing
/linux-4.1.27/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.1.27/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.1.27/Documentation/device-mapper/
Dstatistics.txt5 regions of a DM device. If no regions are defined no statistics are
81 List all regions registered with @stats_create.
85 If this parameter is specified, only matching regions
87 If it is not specified, all regions are returned.
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
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.1.27/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.
Ddesignware-pcie.txt12 - ranges: ranges for the PCI memory and I/O regions
Dversatile.txt17 - ranges: ranges for the PCI memory and I/O regions
Dbrcm,iproc-pcie.txt14 - ranges: ranges for the PCI memory and I/O regions
Dpci-rcar-gen2.txt11 - 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
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.1.27/drivers/soc/ti/
Dknav_qmss.h302 struct list_head regions; member
348 list_for_each_entry(region, &kdev->regions, list)
351 list_first_entry_or_null(&kdev->regions, \
Dknav_qmss_queue.c1059 struct device_node *regions) in knav_queue_setup_regions() argument
1067 for_each_child_of_node(regions, child) { in knav_queue_setup_regions()
1101 list_add_tail(&region->list, &kdev->regions); in knav_queue_setup_regions()
1103 if (list_empty(&kdev->regions)) { in knav_queue_setup_regions()
1674 struct device_node *qmgrs, *queue_pools, *regions, *pdsps; in knav_queue_probe() local
1695 INIT_LIST_HEAD(&kdev->regions); in knav_queue_probe()
1768 regions = of_get_child_by_name(node, "descriptor-regions"); in knav_queue_probe()
1769 if (!regions) { in knav_queue_probe()
1773 ret = knav_queue_setup_regions(kdev, regions); in knav_queue_probe()
1774 of_node_put(regions); in knav_queue_probe()
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dfb.h32 struct list_head regions; member
60 int regions; member
/linux-4.1.27/Documentation/devicetree/bindings/arm/
Dgic-v3.txt48 - #redistributor-regions: The number of independent contiguous regions
98 #redistributor-regions = <2>;
Dgic.txt58 regions, used when the GIC doesn't have banked registers. The offset is
81 - reg : Additional regions specifying the base physical address and
/linux-4.1.27/include/linux/
Dmemblock.h39 struct memblock_region *regions; member
355 for (region = memblock.memblock_type.regions; \
356 region < (memblock.memblock_type.regions + memblock.memblock_type.cnt); \
Dhugetlb.h37 struct list_head regions; member
/linux-4.1.27/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.1.27/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.1.27/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
185 the regions registered in khugepaged.
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,
Dpagemap.txt32 skip over unmapped 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
503 Because of the VMA filtering when mlocking() regions, only "normal" VMAs that
Dhugetlbpage.txt26 regions.
/linux-4.1.27/arch/powerpc/include/asm/
Dps3stor.h54 struct ps3_storage_region regions[0]; /* Must be last */ member
/linux-4.1.27/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.1.27/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.1.27/arch/parisc/include/asm/
Dgrfioctl.h90 gaddr_t regions[6]; /* region bases */ member
/linux-4.1.27/Documentation/devicetree/bindings/gpu/
Dst,stih4xx.txt49 - reg-names: names of the mapped memory regions listed in regs property in
62 - reg-names: names of the mapped memory regions listed in regs property in
78 - reg-names: names of the mapped memory regions listed in regs property in
91 - reg-names: names of the mapped memory regions listed in regs property in
/linux-4.1.27/include/uapi/linux/
Dvhost.h63 struct vhost_memory_region regions[0]; member
/linux-4.1.27/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.1.27/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.1.27/arch/powerpc/mm/
Dinit_32.c142 memblock_enforce_memory_limit(memblock.memory.regions[0].size); in MMU_init()
/linux-4.1.27/drivers/staging/fsl-mc/include/
Dmc.h157 struct resource *regions; member
/linux-4.1.27/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.1.27/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.1.27/drivers/vhost/
Dvhost.c412 return kmalloc(offsetof(struct vhost_memory, regions), GFP_KERNEL); in vhost_dev_reset_owner_prepare()
509 struct vhost_memory_region *m = mem->regions + i; in vq_memory_access_ok()
596 unsigned long size = offsetof(struct vhost_memory, regions); in vhost_set_memory()
605 newmem = kmalloc(size + mem.nregions * sizeof *m->regions, GFP_KERNEL); in vhost_set_memory()
610 if (copy_from_user(newmem->regions, m->regions, in vhost_set_memory()
611 mem.nregions * sizeof *m->regions)) { in vhost_set_memory()
923 reg = mem->regions + i; in find_region()
/linux-4.1.27/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.1.27/Documentation/devicetree/bindings/misc/
Dsram.txt3 Simple IO memory regions to be managed by the genalloc API.
Dfsl,qoriq-mc.txt23 Definition: A standard property. Specifies one or two regions
/linux-4.1.27/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.1.27/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.1.27/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.1.27/arch/unicore32/mm/
Dmmu.c317 end = memblock.memory.regions[0].base + memblock.memory.regions[0].size; in prepare_page_table()
/linux-4.1.27/arch/powerpc/platforms/embedded6xx/
Dwii.c67 struct memblock_region *p = memblock.memory.regions; in wii_memory_fixups()
/linux-4.1.27/arch/ia64/
DKconfig.debug12 IA-64 identity-mapped regions use a large page size called "granules".
/linux-4.1.27/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.1.27/arch/arm/
DKconfig-nommu60 Unit (MPU) that defines the type and permissions for regions of
/linux-4.1.27/drivers/of/
DKconfig85 Helpers to allow for reservation of memory regions
/linux-4.1.27/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.1.27/sound/soc/codecs/
Dwm_adsp.c539 int regions = 0; in wm_adsp_load() local
673 file, regions, type, pos, pos); in wm_adsp_load()
678 regions, le32_to_cpu(region->len), offset, in wm_adsp_load()
702 file, regions, in wm_adsp_load()
710 regions++; in wm_adsp_load()
721 file, regions, pos - firmware->size); in wm_adsp_load()
/linux-4.1.27/drivers/infiniband/
DKconfig49 memory regions without pinning their pages, fetching the
/linux-4.1.27/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.1.27/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dnv30.c202 for (i = 0; i < pfb->tile.regions; i++) in nv30_gr_init()
Dnv20.c328 for (i = 0; i < pfb->tile.regions; i++) in nv20_gr_init()
Dnv40.c473 for (i = 0; i < pfb->tile.regions; i++) in nv40_gr_init()
Dnv10.c1283 for (i = 0; i < pfb->tile.regions; i++) in nv10_gr_init()
/linux-4.1.27/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.1.27/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
/linux-4.1.27/arch/x86/um/
Dchecksum_32.S143 # Handle 2-byte-aligned regions
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/mpeg/
Dnv31.c274 for (i = 0; i < pfb->tile.regions; i++) in nv31_mpeg_init()
/linux-4.1.27/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.1.27/drivers/video/fbdev/
Dsticore.h359 region_t regions[STI_REGION_MAX]; member
Dstifb.c828 pBytePerLongDevDepData = fb->sti->regions[NGLEDEVDEPROM_CRT_REGION]; in ngleGetDeviceRomData()
1217 fix->smem_len = fb->sti->regions[1].region_desc.length * 4096; in stifb_init_fb()
/linux-4.1.27/arch/x86/
DKconfig.debug19 userspace access to PCI space and the BIOS code and data regions.
86 issues with the mapping of the EFI runtime regions into that
DKconfig1430 The kernel will offer these regions to the 'pmem' driver so
/linux-4.1.27/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
Darcnet-hardware.txt1221 from the upper memory regions, and then attempting to load ARCETHER
/linux-4.1.27/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.txt333 The /proc/PID/maps file containing the currently mapped memory regions and
781 migrate types into the same contiguous regions of memory called page blocks.
/linux-4.1.27/Documentation/x86/
Dpat.txt100 Note that this set of APIs only works with IO (non RAM) regions. If driver
/linux-4.1.27/Documentation/cris/
DREADME119 Axis flash: Swapping erase regions for broken CFI table.
/linux-4.1.27/arch/m68k/q40/
DREADME87 regions of the memory.
/linux-4.1.27/Documentation/devicetree/bindings/iommu/
Diommu.txt20 address regions.
/linux-4.1.27/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.1.27/arch/s390/kernel/
Dsetup.c566 if (memblock.memory.regions[0].size < crash_size) { in reserve_crashkernel()
Dcrash_dump.c32 .regions = &oldmem_region,
/linux-4.1.27/arch/arm/mm/
Dmmu.c1173 end = memblock.memory.regions[0].base + memblock.memory.regions[0].size; in prepare_page_table()
DKconfig690 NOTE: when accessing uncached shared regions, LDREX/STREX rely
/linux-4.1.27/Documentation/devicetree/bindings/memory-controllers/
Dti-aemif.txt32 - ranges: Contains memory regions. There are two types of
/linux-4.1.27/arch/microblaze/
DKconfig155 This is needed to be able to allocate uncachable memory regions.
/linux-4.1.27/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.1.27/arch/x86/lib/
Dchecksum_32.S164 # Handle 2-byte-aligned regions
/linux-4.1.27/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.1.27/Documentation/arm64/
Dbooting.txt210 the kernel (i.e. outside of the regions of memory described to the
/linux-4.1.27/drivers/gpu/drm/nouveau/
Dnouveau_bo.c112 for (i = 0; i < pfb->tile.regions; i++) { in nv10_bo_set_tiling()
329 if (!list_is_singular(&mem->regions)) in nouveau_bo_pin()
/linux-4.1.27/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.1.27/Documentation/dvb/
Davermedia.txt175 countries and regions, but if they do not suit, or if you have
/linux-4.1.27/Documentation/devicetree/bindings/crypto/
Dfsl-sec4.txt238 A child node that defines individual RTIC memory regions that are used to
/linux-4.1.27/Documentation/frv/
Dmmu-layout.txt188 For MMU capable Linux, the regions userspace code are allowed to access are kept entirely separate
/linux-4.1.27/drivers/md/
DKconfig453 mapping of fixed-size regions of I/O across a fixed set of paths.
/linux-4.1.27/arch/arm64/
DKconfig639 NOTE: when accessing uncached shared regions, LDXR/STXR rely
/linux-4.1.27/Documentation/PCI/
Dpci.txt261 o allocate I/O and memory regions of the device (if BIOS did not),
/linux-4.1.27/Documentation/cgroups/
Dcpusets.txt202 the detailed placement done on individual tasks and memory regions
/linux-4.1.27/Documentation/cdrom/
Dcdrom-standard.tex329 function $cdrom_ioctl()$ will verify the appropriate user-memory regions
/linux-4.1.27/lib/
DKconfig.debug587 regions to be regularly checked for invalid topology.
/linux-4.1.27/Documentation/scsi/
DChangeLog.1992-1997706 the forbidden regions. I am not sure - I think this is so that
/linux-4.1.27/init/
DKconfig912 # For architectures that (ab)use NUMA to represent different memory regions
/linux-4.1.27/drivers/staging/speakup/
Dspkguide.txt842 You can also cut and paste rectangular regions of the screen. Just