Home
last modified time | relevance | path

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

12345678910>>...71

/OK3568_Linux_fs/kernel/mm/damon/
H A Dvaddr-test.h51 * discontiguous regions which cover every mapped areas. However, the three
52 * regions should not include the two biggest unmapped areas in the original
54 * heap and the mmap()-ed regions, and 2) the mmap()-ed regions and stack.
61 * three regions and returns. For more detail, refer to the comment of
67 * mapped. To cover every mappings, the three regions should start with 10,
70 * unmapped areas, and thus it should be converted to three regions of 10-25,
75 struct damon_addr_range regions[3] = {0,}; in damon_test_three_regions_in_vmas() local
88 __damon_va_three_regions(&vmas[0], regions); in damon_test_three_regions_in_vmas()
90 KUNIT_EXPECT_EQ(test, 10ul, regions[0].start); in damon_test_three_regions_in_vmas()
91 KUNIT_EXPECT_EQ(test, 25ul, regions[0].end); in damon_test_three_regions_in_vmas()
[all …]
H A Dvaddr.c56 * Functions for the initial monitoring target regions construction
60 * Size-evenly split a region into 'nr_pieces' small regions
104 * Find three regions separated by two biggest unmapped regions
107 * regions an array of three address ranges that results will be saved
109 * This function receives an address space and finds three regions in it which
110 * separated by the two biggest unmapped regions in the space. Please refer to
117 struct damon_addr_range regions[3]) in __damon_va_three_regions()
157 regions[0].start = ALIGN(start, DAMON_MIN_REGION); in __damon_va_three_regions()
158 regions[0].end = ALIGN(first_gap.start, DAMON_MIN_REGION); in __damon_va_three_regions()
159 regions[1].start = ALIGN(first_gap.end, DAMON_MIN_REGION); in __damon_va_three_regions()
[all …]
H A Dreclaim.c33 * Time threshold for cold memory regions identification in microseconds.
139 * Minimum number of monitoring regions.
141 * The minimal number of monitoring regions of DAMON for the cold memory
150 * Maximum number of monitoring regions.
152 * The maximum number of monitoring regions of DAMON for the cold memory
188 * Number of memory regions that tried to be reclaimed.
194 * Total bytes of memory regions that tried to be reclaimed.
200 * Number of memory regions that successfully be reclaimed.
206 * Total bytes of memory regions that successfully be reclaimed.
270 /* Within the quota, page out older regions first. */ in damon_reclaim_new_scheme()
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/mm/nohash/
H A Dkaslr_booke.c23 struct regions { struct
38 struct regions __initdata regions; variable
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 …]
/OK3568_Linux_fs/kernel/drivers/mtd/chips/
H A 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 …]
/OK3568_Linux_fs/kernel/Documentation/admin-guide/device-mapper/
H A 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 …]
/OK3568_Linux_fs/kernel/mm/
H A 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
132 .memory.regions = memblock_memory_init_regions,
137 .reserved.regions = memblock_reserved_init_regions,
148 .regions = memblock_physmem_init_regions,
164 for (i = 0, rgn = &memblock_type->regions[0]; \
166 i++, rgn = &memblock_type->regions[i])
[all …]
/OK3568_Linux_fs/kernel/include/linux/
H A Ddamon.h47 * regions are merged into a new region, both @nr_accesses and @age of the new
48 * region are set as region size-weighted average of those of the two regions.
64 * @nr_regions: Number of monitoring target regions of this target.
65 * @regions_list: Head of the monitoring target regions of this target.
123 * For selecting regions within the quota, DAMON prioritizes current scheme's
124 * target memory regions using the &struct damon_primitive->get_scheme_score.
177 * appropriate memory regions. Else, DAMON checks &metric of the system for at
197 * @nr_tried: Total number of regions that the scheme is tried to be applied.
198 * @sz_tried: Total size of regions that the scheme is tried to be applied.
199 * @nr_applied: Total number of regions that the scheme is applied.
[all …]
H A 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
/OK3568_Linux_fs/kernel/drivers/vfio/platform/
H A Dvfio_platform_common.c145 vdev->regions = kcalloc(cnt, sizeof(struct vfio_platform_region), in vfio_platform_regions_init()
147 if (!vdev->regions) in vfio_platform_regions_init()
157 vdev->regions[i].addr = res->start; in vfio_platform_regions_init()
158 vdev->regions[i].size = resource_size(res); in vfio_platform_regions_init()
159 vdev->regions[i].flags = 0; in vfio_platform_regions_init()
163 vdev->regions[i].type = VFIO_PLATFORM_REGION_TYPE_MMIO; in vfio_platform_regions_init()
164 vdev->regions[i].flags |= VFIO_REGION_INFO_FLAG_READ; in vfio_platform_regions_init()
166 vdev->regions[i].flags |= in vfio_platform_regions_init()
170 * Only regions addressed with PAGE granularity may be in vfio_platform_regions_init()
173 if (!(vdev->regions[i].addr & ~PAGE_MASK) && in vfio_platform_regions_init()
[all …]
/OK3568_Linux_fs/kernel/Documentation/networking/devlink/
H A 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.
/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/nvfw/
H A 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 …]
/OK3568_Linux_fs/u-boot/include/linux/
H A Dlibfdt.h80 struct fdt_region *region; /* Contains list of regions found */
81 int count; /* Numnber of regions found */
83 int max_regions; /* Maximum regions to find */
90 * fdt_find_regions() - find regions in device tree
93 * the regions of the device tree which describe those included parts.
95 * The intent is to get a list of regions which will be invariant provided
96 * those parts are invariant. For example, if you request a list of regions
132 * @region: Returns list of regions
139 * @return number of regions in list. If this is >max_regions then the
149 * fdt_first_region() - find regions in device tree
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/mach-mvebu/armada8k/
H A Dcpu.c25 * The following table includes all memory regions for Armada 7k and
26 * 8k SoCs. The Armada 7k is missing the CP110 slave regions here. Lets
27 * define these regions at the beginning of the struct so that they
33 /* Armada 80x0 memory regions include the CP1 (slave) units */
35 /* SRAM, MMIO regions - CP110 slave region */
43 /* PCI CP1 regions */
50 /* Armada 80x0 and 70x0 common memory regions start here */
60 /* SRAM, MMIO regions - AP806 region */
68 /* SRAM, MMIO regions - CP110 master region */
76 /* PCI CP0 regions */
[all …]
/OK3568_Linux_fs/u-boot/cmd/
H A Darmflash.c30 struct afs_region regions[MAX_REGIONS]; member
105 afi->regions[0].offset = readl((void *)imginfo + 0x04); in parse_bank()
106 afi->regions[0].load_address = in parse_bank()
108 afi->regions[0].size = readl((void *)imginfo + 0x0C); in parse_bank()
147 /* Parse regions */ in parse_bank()
149 afi->regions[j].load_address = in parse_bank()
151 afi->regions[j].size = in parse_bank()
153 afi->regions[j].offset = in parse_bank()
201 from = afi->flash_mem_start + afi->regions[i].offset; in load_image()
204 } else if (afi->regions[i].load_address) { in load_image()
[all …]
/OK3568_Linux_fs/u-boot/drivers/mtd/
H A Dcfi_mtd.c137 int regions = 0; in cfi_mtd_set_erasesize() local
148 regions++; in cfi_mtd_set_erasesize()
152 switch (regions) { in cfi_mtd_set_erasesize()
161 mtd->numeraseregions = regions; in cfi_mtd_set_erasesize()
162 mtd->eraseregions = malloc(sizeof(struct mtd_erase_region_info) * regions); in cfi_mtd_set_erasesize()
167 regions = 0; in cfi_mtd_set_erasesize()
172 mtd->eraseregions[regions].offset = offset - base_addr; in cfi_mtd_set_erasesize()
173 mtd->eraseregions[regions].erasesize = sect_size_old; in cfi_mtd_set_erasesize()
174 mtd->eraseregions[regions].numblocks = numblocks; in cfi_mtd_set_erasesize()
177 regions++; in cfi_mtd_set_erasesize()
[all …]
H A Djedec_flash.c152 const ulong regions[6]; member
178 .regions = {
194 .regions = {
208 .regions = {
222 .regions = {
236 .regions = {
250 .regions = {
264 .regions = {
278 .regions = {
294 .regions = {
[all …]
/OK3568_Linux_fs/kernel/drivers/vfio/fsl-mc/
H A 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 …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/share/doc/gdb/
H A DMemory-Region-Attributes.html75 required by regions of your target&rsquo;s memory. <small>GDB</small> uses
78 target memory. By default the description of memory regions is
80 user can override the fetched regions.
82 <p>Defined memory regions can be individually enabled and disabled. When a
84 accessing memory in that region. Similarly, if no memory regions have
96 attributes <var>attributes</var>&hellip;, and add it to the list of regions
103 <dd><p>Discard any user changes to the memory regions and use target-supplied
104 regions, if available, or no regions if the target does not support.
109 <dd><p>Remove memory regions <var>nums</var>&hellip; from the list of regions
115 <dd><p>Disable monitoring of memory regions <var>nums</var>&hellip;.
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/share/doc/gdb/
H A DMemory-Region-Attributes.html75 required by regions of your target&rsquo;s memory. <small>GDB</small> uses
78 target memory. By default the description of memory regions is
80 user can override the fetched regions.
82 <p>Defined memory regions can be individually enabled and disabled. When a
84 accessing memory in that region. Similarly, if no memory regions have
96 attributes <var>attributes</var>&hellip;, and add it to the list of regions
103 <dd><p>Discard any user changes to the memory regions and use target-supplied
104 regions, if available, or no regions if the target does not support.
109 <dd><p>Remove memory regions <var>nums</var>&hellip; from the list of regions
115 <dd><p>Disable monitoring of memory regions <var>nums</var>&hellip;.
[all …]
/OK3568_Linux_fs/u-boot/drivers/pci/
H A Dpci_auto_common.c85 switch (hose->regions[i].flags) { in pciauto_config_init()
88 hose->pci_io->size < hose->regions[i].size) in pciauto_config_init()
89 hose->pci_io = hose->regions + i; in pciauto_config_init()
93 hose->pci_mem->size < hose->regions[i].size) in pciauto_config_init()
94 hose->pci_mem = hose->regions + i; in pciauto_config_init()
98 hose->pci_prefetch->size < hose->regions[i].size) in pciauto_config_init()
99 hose->pci_prefetch = hose->regions + i; in pciauto_config_init()
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/fpga/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/net/dsa/sja1105/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ipa/
H A 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 …]
/OK3568_Linux_fs/buildroot/boot/grub2/
H A D0040-mmap-Don-t-register-cutmem-and-badram-commands-when-.patch7 The cutmem and badram commands can be used to remove EFI memory regions
31 + This prevents removing EFI memory regions to potentially subvert the
55 - N_("Declare memory regions as faulty (badram)."));
58 - N_("Remove any memory regions in specified range."));
61 + N_("Declare memory regions as faulty (badram)."));
64 + N_("Remove any memory regions in specified range."));

12345678910>>...71