Searched refs:regions (Results 1 - 25 of 30) sorted by relevance

12

/freebsd-current/sys/dev/nvdimm/
H A Dnvdimm_ns.c40 ACPI_NFIT_MEMORY_MAP **regions; local
49 &regions, &num_regions);
50 if (num_regions == 0 || num_regions != regions[0]->InterleaveWays) {
51 free(regions, M_NVDIMM);
54 dimm_handle = regions[0]->DeviceHandle;
57 free(regions, M_NVDIMM);
67 regions[0]->RegionOffset +
69 (e->label.dimm_phys_addr - regions[0]->Address);
81 free(regions, M_NVDIMM);
H A Dnvdimm_nfit.c99 ACPI_NFIT_MEMORY_MAP ***regions; local
108 regions = mallocarray(num_spas, sizeof(uint16_t *), M_NVDIMM,
113 spas[i]->RangeIndex, &regions[i], &region_counts[i]);
123 (*listp)[k++] = regions[i][j]->DeviceHandle;
134 free(regions[i], M_NVDIMM);
135 free(regions, M_NVDIMM);
/freebsd-current/stand/uboot/
H A Duboot_fdt.c117 static struct fdt_mem_region regions[UB_MAX_MR]; local
198 /* Extract the DRAM regions into fdt_mem_region format. */
199 for (i = 0, n = 0; i < si->mr_no && n < nitems(regions); i++) {
201 regions[n].start = si->mr[i].start;
202 regions[n].size = si->mr[i].size;
207 /* Fixup memory regions */
208 fdt_fixup_memory(regions, n);
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/Process/minidump/
H A DMinidumpParser.cpp259 std::vector<MemoryRegionInfo> &regions) {
267 [&regions, &log](llvm::Expected<MemoryRegionInfo> region) -> bool {
269 regions.push_back(*region);
275 return !regions.empty();
278 /// Check for the memory regions starting at \a load_addr for a contiguous
284 /// regions for a section that has execute permissions. A sample maps files
311 /// The path to the module to check for in the memory regions. Only sequential
312 /// memory regions whose paths match this path will be considered when looking
315 /// \param[in] regions
316 /// A sorted list of memory regions obtaine
258 CreateRegionsCacheFromLinuxMaps(MinidumpParser &parser, std::vector<MemoryRegionInfo> &regions) argument
328 CheckForLinuxExecutable(ConstString path, const MemoryRegionInfos &regions, lldb::addr_t base_of_image) argument
516 CreateRegionsCacheFromMemoryInfoList(MinidumpParser &parser, std::vector<MemoryRegionInfo> &regions) argument
553 CreateRegionsCacheFromMemoryList(MinidumpParser &parser, std::vector<MemoryRegionInfo> &regions) argument
578 CreateRegionsCacheFromMemory64List(MinidumpParser &parser, std::vector<MemoryRegionInfo> &regions) argument
687 GetMemoryRegionInfo(const MemoryRegionInfos &regions, lldb::addr_t load_addr) argument
[all...]
H A DMinidumpParser.h91 /// Returns a list of memory regions and a flag indicating whether the list is
92 /// complete (includes all regions mapped into the process memory).
99 static MemoryRegionInfo GetMemoryRegionInfo(const MemoryRegionInfos &regions,
/freebsd-current/sys/kern/
H A Dsubr_physmem.c62 * These structures are used internally to keep track of regions of physical
63 * ram, and regions within the physical ram that need to be excluded. An
69 #define MAX_HWCNT 32 /* ACPI needs more regions */
136 prfunc("Excluded memory regions:\n");
171 * Walk the list of hardware regions, processing it against the list of
178 * Updates the value at *pavail with the sum of all pages in all hw regions.
306 merge_upper_regions(struct region *regions, size_t rcnt, size_t idx) argument
312 lower = &regions[idx];
321 upper = &regions[i];
355 memmove(&regions[id
367 insert_region(struct region *regions, size_t rcnt, vm_paddr_t addr, vm_size_t size, uint32_t flags) argument
[all...]
/freebsd-current/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dwrappers_c.inc75 // Space allocated in mmapped regions (bytes)
95 // Space allocated in mmapped regions (bytes)
/freebsd-current/usr.bin/systat/
H A Diostat.c182 int i, _col, regions, ndrives; local
190 regions = howmany(ndrives, DRIVESPERLINE);
192 * Deduct -regions for blank line after each scrolling region.
194 linesperregion = (getmaxy(wnd) - 1 - row - regions) / regions;
H A Diolat.c385 int regions __unused;
391 regions = howmany(ndrives, DRIVESPERLINE);
474 int regions __unused;
480 regions = howmany(ndrives, DRIVESPERLINE);
/freebsd-current/sys/contrib/dev/athk/ath10k/
H A Dcoredump.h106 /* magic number to fill the holes not copied due to sections in regions */
154 * hardware id, split into regions.
162 const struct ath10k_mem_region *regions; member in struct:ath10k_hw_mem_layout::__anon69
H A Dcoredump.c1297 .regions = qca6174_hw10_mem_regions,
1306 .regions = qca6174_hw10_mem_regions,
1315 .regions = qca6174_hw10_mem_regions,
1324 .regions = qca6174_hw21_mem_regions,
1333 .regions = qca6174_hw30_mem_regions,
1342 .regions = qca6174_hw30_mem_regions,
1351 .regions = qca6174_hw30_sdio_mem_regions,
1360 .regions = qca6174_hw30_mem_regions,
1369 .regions = qca988x_hw20_mem_regions,
1378 .regions
[all...]
H A Dsnoc.c1427 current_region = &mem_layout->region_table.regions[0];
/freebsd-current/sys/arm64/arm64/
H A Dgic_v3_var.h51 * on the #redistributor-regions property in FDT.
53 struct resource ** regions; member in struct:gic_redists
54 /* Number of Re-Distributor regions */
H A Dgic_v3.c342 sc->gic_redists.regions = malloc(
343 sizeof(*sc->gic_redists.regions) * sc->gic_redists.nregions,
348 sc->gic_redists.regions[i] = sc->gic_res[rid];
449 free(sc->gic_redists.regions, M_GIC_V3);
1397 /* Iterate through Re-Distributor regions */
1400 r_res = sc->gic_redists.regions[i];
/freebsd-current/sys/powerpc/ps3/
H A Dps3bus.c142 struct mem_region *regions; member in struct:ps3bus_softc
347 /* Get memory regions for DMA */
348 mem_regions(&sc->regions, &sc->rcount, NULL, NULL);
681 sc->regions[i].mr_size, pagesize, flags,
690 sc->regions[i].mr_start, dinfo->dma_base[i],
691 sc->regions[i].mr_size,
735 if (segs[i].ds_addr >= sc->regions[j].mr_start &&
736 segs[i].ds_addr < sc->regions[j].mr_start +
737 sc->regions[j].mr_size)
745 (segs[i].ds_addr - sc->regions[
[all...]
/freebsd-current/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_common.cpp42 // also to protect the global list of root regions.
534 static RootRegions *regions = nullptr; local
536 if (!regions)
537 regions = new (placeholder) RootRegions();
538 return *regions;
548 InternalMmapVector<Region> regions;
550 regions.push_back({kv.first.first, kv.first.second});
555 Intersect(mapped_regions, regions, intersection);
564 // Scans root regions for heap pointers.
/freebsd-current/contrib/tzcode/
H A Dtzselect.ksh517 regions=`
533 doselect $regions
635 regions=`
672 regions=`
702 case $regions in
705 doselect $regions
/freebsd-current/sys/powerpc/aim/
H A Dmmu_oea.c174 * Map of physical memory regions.
176 static struct mem_region *regions; variable in typeref:struct:mem_region
637 * Quick sort callout for comparing memory regions.
731 mem_regions(&pregions, &pregions_sz, &regions, &regions_sz);
768 CTR3(KTR_PMAP, "region: %#x - %#x (%#x)", regions[i].mr_start,
769 regions[i].mr_start + regions[i].mr_size,
770 regions[i].mr_size);
772 (physsz + regions[i].mr_size) >= hwphyssz) {
774 phys_avail[j] = regions[
[all...]
H A Dmmu_oea64.c200 * Map of physical memory regions.
202 static struct mem_region *regions; variable in typeref:struct:mem_region
660 * Quick sort callout for comparing memory regions.
951 /* Get physical memory regions from firmware */
952 mem_regions(&pregions, &pregions_sz, &regions, &regions_sz);
964 regions[i].mr_start, regions[i].mr_start +
965 regions[i].mr_size, regions[i].mr_size);
967 (physsz + regions[
[all...]
H A Dmmu_radix.c631 * Map of physical memory regions.
633 static struct mem_region *regions, *pregions; variable in typeref:struct:mem_region
1911 /* Get physical memory regions from firmware */
1912 mem_regions(&pregions, &pregions_sz, &regions, &regions_sz);
1920 printf("regions[%d].mr_start=%lx regions[%d].mr_size=%lx\n",
1921 i, regions[i].mr_start, i, regions[i].mr_size);
1926 if (regions[i].mr_start & PAGE_MASK) {
1927 regions[
[all...]
/freebsd-current/contrib/llvm-project/lldb/source/Target/
H A DProcess.cpp5768 // After an exec, the inferior is a new process and these memory regions are
6330 // Save all memory regions that are not empty or have at least some permissions
6333 const MemoryRegionInfos &regions,
6336 // Don't add only dirty pages, add full regions.
6338 for (const auto &region : regions)
6344 // pages are dirty within an memory region. If no memory regions have dirty
6348 const MemoryRegionInfos &regions,
6350 // Iterate over the regions and find all dirty pages.
6352 for (const auto &region : regions) {
6361 for (const auto &region : regions)
[all...]
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_primary64.h210 explicit and immediate, so unmapped regions must be explicitly mapped back
686 RegionInfo *regions = reinterpret_cast<RegionInfo *>(RegionInfoSpace);
687 return &regions[class_id];
/freebsd-current/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSymbolManager.h214 /// dead-symbol sweeping AND their associated regions are still alive.
342 // sub-regions to regions.
388 // sub-regions to regions.
528 /// VisitCount can be used to differentiate regions corresponding to
587 // The lazily copied regions are locations for which a program
589 // These regions are constructed as a set of regions referred to by
635 llvm::iterator_range<RegionSetTy::const_iterator> regions() cons function in class:clang::ento::SymbolReaper
[all...]
/freebsd-current/share/examples/drivers/
H A Dmake_device_driver.sh439 * Should probably do the same for memory regions too.
/freebsd-current/sys/contrib/openzfs/cmd/
H A Dztest.c1898 * interior regions of large dnodes.
5044 uint64_t regions = 997; local
5096 n = ztest_random(regions) * stride + ztest_random(width);
5104 n = ztest_random(regions) * stride + ztest_random(width);
5333 uint64_t regions = 997; local
5386 n = ztest_random(regions) * stride + ztest_random(width);
6439 * which will shift the regions to be damaged. This is fine as long

Completed in 222 milliseconds

12