Home
last modified time | relevance | path

Searched full:regions (Results 1 – 25 of 1142) sorted by relevance

12345678910>>...46

/kernel/linux/linux-5.10/arch/arm/boot/compressed/
Dkaslr.c19 struct regions { struct
93 u32 end, struct regions *regions) in intersects_reserved_region() argument
106 if (regions->reserved_mem < 0) in intersects_reserved_region()
110 for (subnode = fdt_first_subnode(fdt, regions->reserved_mem); in intersects_reserved_region()
117 while (len >= (regions->reserved_mem_addr_cells + in intersects_reserved_region()
118 regions->reserved_mem_size_cells)) { in intersects_reserved_region()
121 if (regions->reserved_mem_addr_cells == 2) in intersects_reserved_region()
124 reg += regions->reserved_mem_addr_cells; in intersects_reserved_region()
125 len -= 4 * regions->reserved_mem_addr_cells; in intersects_reserved_region()
128 if (regions->reserved_mem_size_cells == 2) in intersects_reserved_region()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/mm/nohash/
Dkaslr_booke.c23 struct regions { struct
38 struct regions __initdata regions; argument
115 if (regions.reserved_mem < 0) in overlaps_reserved_region()
119 for (subnode = fdt_first_subnode(fdt, regions.reserved_mem); in overlaps_reserved_region()
127 while (len >= (regions.reserved_mem_addr_cells + in overlaps_reserved_region()
128 regions.reserved_mem_size_cells)) { in overlaps_reserved_region()
130 if (regions.reserved_mem_addr_cells == 2) in overlaps_reserved_region()
133 reg += regions.reserved_mem_addr_cells; in overlaps_reserved_region()
134 len -= 4 * regions.reserved_mem_addr_cells; in overlaps_reserved_region()
137 if (regions.reserved_mem_size_cells == 2) in overlaps_reserved_region()
[all …]
/kernel/linux/linux-5.10/drivers/mtd/chips/
Djedec_probe.c274 const uint32_t regions[6]; member
306 .regions = {
318 .regions = {
333 .regions = {
348 .regions = {
363 .regions = {
378 .regions = {
394 .regions = {
411 .regions = {
428 .regions = {
[all …]
/kernel/linux/linux-5.10/Documentation/admin-guide/device-mapper/
Ddm-clone.rst58 3. A small metadata device - it records which regions are already valid in the
59 destination device, i.e., which regions have already been hydrated, or have
65 Regions section in Design
68 dm-clone divides the source and destination devices in fixed sized regions.
69 Regions are the unit of hydration, i.e., the minimum amount of data copied from
77 Reads and writes from/to hydrated regions are serviced from the destination
93 as a hint to skip hydration of the regions covered by the request, i.e., it
111 A message `hydration_threshold <#regions>` can be used to set the maximum number
112 of regions being copied, the default being 1 region.
116 region size. A message `hydration_batch_size <#regions>` can be used to tune the
[all …]
/kernel/linux/linux-5.10/Documentation/networking/devlink/
Ddevlink-region.rst7 ``devlink`` regions enable access to driver defined address regions using
10 Each device can create and register its own supported address regions. The
15 Regions may optionally support triggering snapshots on demand.
22 address regions that are otherwise inaccessible to the user.
24 Regions may also be used to provide an additional way to debug complex error
27 Regions may optionally support capturing a snapshot on demand via the
45 # Show all of the exposed regions with region sizes:
68 As regions are likely very device or driver specific, no generic regions are
70 specific regions a driver supports.
/kernel/linux/linux-5.10/mm/
Dmemblock.c35 * Memblock is a method of managing memory regions during the early
40 * regions. There are several types of these collections:
46 * * ``reserved`` - describes the regions that were allocated
54 * which contains an array of memory regions along with
62 * arrays during addition of new regions. This feature should be used
112 .memory.regions = memblock_memory_init_regions,
117 .reserved.regions = memblock_reserved_init_regions,
128 .regions = memblock_physmem_init_regions,
144 for (i = 0, rgn = &memblock_type->regions[0]; \
146 i++, rgn = &memblock_type->regions[i])
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/nvfw/
Dacr.c89 hdr->regions.no_regions); in flcn_acr_desc_dump()
91 for (i = 0; i < ARRAY_SIZE(hdr->regions.region_props); i++) { in flcn_acr_desc_dump()
94 hdr->regions.region_props[i].start_addr); in flcn_acr_desc_dump()
96 hdr->regions.region_props[i].end_addr); in flcn_acr_desc_dump()
98 hdr->regions.region_props[i].region_id); in flcn_acr_desc_dump()
100 hdr->regions.region_props[i].read_mask); in flcn_acr_desc_dump()
102 hdr->regions.region_props[i].write_mask); in flcn_acr_desc_dump()
104 hdr->regions.region_props[i].client_mask); in flcn_acr_desc_dump()
132 hdr->regions.no_regions); in flcn_acr_desc_v1_dump()
134 for (i = 0; i < ARRAY_SIZE(hdr->regions.region_props); i++) { in flcn_acr_desc_v1_dump()
[all …]
/kernel/linux/linux-5.10/drivers/vfio/platform/
Dvfio_platform_common.c144 vdev->regions = kcalloc(cnt, sizeof(struct vfio_platform_region), in vfio_platform_regions_init()
146 if (!vdev->regions) in vfio_platform_regions_init()
156 vdev->regions[i].addr = res->start; in vfio_platform_regions_init()
157 vdev->regions[i].size = resource_size(res); in vfio_platform_regions_init()
158 vdev->regions[i].flags = 0; in vfio_platform_regions_init()
162 vdev->regions[i].type = VFIO_PLATFORM_REGION_TYPE_MMIO; in vfio_platform_regions_init()
163 vdev->regions[i].flags |= VFIO_REGION_INFO_FLAG_READ; in vfio_platform_regions_init()
165 vdev->regions[i].flags |= in vfio_platform_regions_init()
169 * Only regions addressed with PAGE granularity may be in vfio_platform_regions_init()
172 if (!(vdev->regions[i].addr & ~PAGE_MASK) && in vfio_platform_regions_init()
[all …]
/kernel/linux/linux-5.10/drivers/vfio/fsl-mc/
Dvfio_fsl_mc.c100 vdev->regions = kcalloc(count, sizeof(struct vfio_fsl_mc_region), in vfio_fsl_mc_regions_init()
102 if (!vdev->regions) in vfio_fsl_mc_regions_init()
106 struct resource *res = &mc_dev->regions[i]; in vfio_fsl_mc_regions_init()
109 vdev->regions[i].addr = res->start; in vfio_fsl_mc_regions_init()
110 vdev->regions[i].size = resource_size(res); in vfio_fsl_mc_regions_init()
111 vdev->regions[i].type = mc_dev->regions[i].flags & IORESOURCE_BITS; in vfio_fsl_mc_regions_init()
113 * Only regions addressed with PAGE granularity may be in vfio_fsl_mc_regions_init()
116 if (!no_mmap && !(vdev->regions[i].addr & ~PAGE_MASK) && in vfio_fsl_mc_regions_init()
117 !(vdev->regions[i].size & ~PAGE_MASK)) in vfio_fsl_mc_regions_init()
118 vdev->regions[i].flags |= in vfio_fsl_mc_regions_init()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dkcsan.h20 * We distinguish between: (a) nestable atomic regions that may contain
21 * other nestable regions; and (b) flat atomic regions that do not keep
28 * atomic regions, but reader critical sections as (b) flat atomic
29 * regions, but have encountered cases where seqlock reader critical
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/
Dsja1105_devlink.c7 /* Since devlink regions have a fixed size and the static config has a variable
85 priv->regions = kcalloc(num_regions, sizeof(struct devlink_region *), in sja1105_setup_devlink_regions()
87 if (!priv->regions) in sja1105_setup_devlink_regions()
97 dsa_devlink_region_destroy(priv->regions[i]); in sja1105_setup_devlink_regions()
99 kfree(priv->regions); in sja1105_setup_devlink_regions()
103 priv->regions[i] = region; in sja1105_setup_devlink_regions()
115 dsa_devlink_region_destroy(priv->regions[i]); in sja1105_teardown_devlink_regions()
117 kfree(priv->regions); in sja1105_teardown_devlink_regions()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/fpga/
Dfpga-region.txt18 FPGA Regions represent FPGA's and partial reconfiguration regions of FPGA's in
19 the Device Tree. FPGA Regions provide a way to program FPGAs under device tree
55 * A persona may create more regions.
65 will be used to gate the busses. Traffic to other regions is not affected.
69 * An FPGA image may create a set of reprogrammable regions, each having its
79 * A base image may set up a set of partial reconfiguration regions that may
99 Figure 1: An FPGA set up with a base image that created three regions. Each
124 FPGA Regions represent FPGA's and FPGA PR regions in the device tree. An FPGA
151 These FPGA regions are children of FPGA bridges which are then children of the
160 FPGA Regions do not inherit their ancestor FPGA regions' bridges. This prevents
[all …]
/kernel/linux/linux-5.10/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
79 Regions in the /reserved-memory node may be referenced by other device
88 This example defines 3 contiguous regions are defined for Linux kernel:
/kernel/linux/linux-5.10/drivers/net/ipa/
Dipa_mem.c23 /* "Canary" value placed between memory regions to detect overflow */
46 * Set up the shared memory regions in IPA local memory. This involves
47 * zero-filling memory regions, and in the case of header memory, telling
51 * crashes, its regions are re-zeroed in ipa_mem_zero_modem().
66 * the processing context and modem memory regions. in ipa_mem_setup()
75 * regions are contiguous, and initialized together. in ipa_mem_setup()
172 /* Prealloc DMA memory for zeroing regions */ in ipa_mem_config()
189 /* Validate all regions (even undefined ones) */ in ipa_mem_config()
193 /* Skip over undefined regions */ in ipa_mem_config()
208 /* Make sure filter and route table memory regions are valid */ in ipa_mem_config()
[all …]
Dipa_mem.h15 * The IPA has a block of shared memory, divided into regions used for
18 * The regions within the shared block are bounded by an offset (relative to
26 * defined in the config data, allowing for generic handling of regions.
28 * The set of memory regions is defined in configuration data. They are
65 IPA_MEM_COUNT, /* Number of regions (not an index) */
/kernel/linux/linux-5.10/Documentation/x86/
Dintel-iommu.rst30 PS2 emulation. The regions of memory used for these devices are marked
32 regions will fail. Hence BIOS uses RMRR to specify these regions along with
33 devices that need to access these regions. OS is expected to setup
34 unity mappings for these regions for these devices to access these regions.
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dyamon-dt.h38 * @regions: zero size terminated array of physical memory regions
41 * by YAMON in its environment and the @regions array.
46 const struct yamon_mem_region *regions);
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
Dopal-fadump.c57 * Preserve memory only if kernel memory regions are registered in opal_fadump_dt_scan()
98 pr_debug("Boot memory regions count: %d\n", be16_to_cpu(fdm->region_cnt)); in opal_fadump_update_config()
102 * destination address of boot memory regions. in opal_fadump_update_config()
105 pr_debug("Destination address of boot memory regions: %#016llx\n", in opal_fadump_update_config()
128 pr_debug("Boot memory regions:\n"); in opal_fadump_get_config()
150 * boot memory regions are registered for MPIPL. In such in opal_fadump_get_config()
159 pr_warn("Not all memory regions were saved!!!\n"); in opal_fadump_get_config()
160 pr_warn(" Unsaved memory regions:\n"); in opal_fadump_get_config()
169 …pr_warn("If the unsaved regions only contain pages that are filtered out (eg. free/user pages), th… in opal_fadump_get_config()
170 pr_warn("WARNING: If the unsaved regions contain kernel pages, the vmcore will be corrupted.\n"); in opal_fadump_get_config()
[all …]
/kernel/linux/linux-5.10/arch/arm64/kernel/
Defi.c24 * Only regions of type EFI_RUNTIME_SERVICES_CODE need to be
40 * Regions that are not aligned to the OS page size cannot be in create_mapping_protection()
44 * misaligned runtime code regions so far, we can safely use in create_mapping_protection()
45 * non-executable permissions for non-code regions. in create_mapping_protection()
121 * Calling apply_to_page_range() is only safe on regions that are in efi_set_mapping_permissions()
123 * for regions that have been mapped using efi_create_mapping() above in efi_set_mapping_permissions()
/kernel/linux/linux-5.10/drivers/virt/nitro_enclaves/
Dne_misc_dev.h20 * struct ne_mem_region - Entry in the enclave user space memory regions list.
21 * @mem_region_list_entry: Entry in the list of enclave memory regions.
44 * @max_mem_regions: The maximum number of memory regions that can be
46 * @mem_regions_list: Enclave user space memory regions list.
49 * @nr_mem_regions: Number of memory regions associated with the enclave.
/kernel/linux/linux-5.10/drivers/soc/qcom/
Dsmem.c41 * the partition and holds properties for the two internal memory regions. The
42 * two regions are cached and non-cached memory respectively. Each region
258 * @num_regions: number of @regions
259 * @regions: list of the memory regions defining the shared memory
274 struct smem_region regions[]; member
406 header = smem->regions[0].virt_base; in qcom_smem_alloc_global()
491 header = smem->regions[0].virt_base; in qcom_smem_get_global()
499 region = &smem->regions[i]; in qcom_smem_get_global()
639 header = __smem->regions[0].virt_base; in qcom_smem_get_free_space()
659 struct smem_region *region = &__smem->regions[i]; in qcom_smem_virt_to_phys()
[all …]
/kernel/linux/linux-5.10/drivers/bus/fsl-mc/
Dfsl-mc-bus.c560 struct resource *regions; in fsl_mc_device_get_mmio_regions() local
574 * regions in fsl_mc_device_get_mmio_regions()
579 regions = kmalloc_array(obj_desc->region_count, in fsl_mc_device_get_mmio_regions()
580 sizeof(regions[0]), GFP_KERNEL); in fsl_mc_device_get_mmio_regions()
581 if (!regions) in fsl_mc_device_get_mmio_regions()
603 regions[i].start = region_desc.base_address + in fsl_mc_device_get_mmio_regions()
608 &regions[i].start); in fsl_mc_device_get_mmio_regions()
622 regions[i].start == region_desc.base_offset) in fsl_mc_device_get_mmio_regions()
623 regions[i].start += mc_portal_base_phys_addr; in fsl_mc_device_get_mmio_regions()
634 regions[i].end = regions[i].start + region_desc.size - 1; in fsl_mc_device_get_mmio_regions()
[all …]
/kernel/linux/linux-5.10/drivers/staging/comedi/
Dcomedi_pci.c32 * comedi_pci_enable() - Enable the PCI device and request the regions
37 * and request its regions. Set @dev->ioenabled to %true if successful,
45 * -%EBUSY if regions busy,
72 * comedi_pci_disable() - Release the regions and disable the PCI device
77 * to comedi_pci_enable() was successful, release the PCI device's regions
97 * and have no ioremapped regions other than that pointed to by @dev->mmio may
103 * non-%NULL, and call comedi_pci_disable() to release the PCI device's regions
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pmem/
Dpmem-region.txt1 Device-tree bindings for persistent memory regions
11 persistent regions separately to the normal memory pool. To aid with that this
13 memory regions exist inside the physical address space.
56 * This node specifies two 4KB regions that are backed by
/kernel/linux/linux-5.10/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.

12345678910>>...46