/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/Utility/ |
H A D | LinuxProcMaps.cpp | 29 MemoryRegionInfo region; in ParseMemoryRegionInfoFromProcMapsLine() local 118 region.SetName(name); in ParseMemoryRegionInfoFromProcMapsLine() 120 return region; in ParseMemoryRegionInfoFromProcMapsLine() 150 std::optional<MemoryRegionInfo> region; in ParseLinuxSMapRegions() local 165 if (region) { in ParseLinuxSMapRegions() 183 if (region) { in ParseLinuxSMapRegions() 185 callback(*region); in ParseLinuxSMapRegions() 186 region.reset(); in ParseLinuxSMapRegions() 193 region = *new_region; in ParseLinuxSMapRegions() 203 if (region) in ParseLinuxSMapRegions() [all …]
|
H A D | MemoryTagManagerAArch64MTE.cpp | 103 MemoryRegionInfos::const_iterator region = std::find_if( in MakeTaggedRange() local 105 [&remaining_range](const MemoryRegionInfo ®ion) { in MakeTaggedRange() argument 106 return region.GetRange().Contains(remaining_range.GetRangeBase()); in MakeTaggedRange() 109 if (region == memory_regions.cend() || in MakeTaggedRange() 110 region->GetMemoryTagged() != MemoryRegionInfo::eYes) { in MakeTaggedRange() 124 remaining_range.SetRangeBase(region->GetRange().GetRangeEnd()); in MakeTaggedRange() 182 for (const MemoryRegionInfo ®ion : memory_regions) { in MakeTaggedRanges() local 188 if (!region.GetRange().DoesIntersect(range)) in MakeTaggedRanges() 193 if (region.GetMemoryTagged()) { in MakeTaggedRanges() 200 std::min(range.GetRangeEnd(), region.GetRange().GetRangeEnd()); in MakeTaggedRanges() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_allocator_primary64.h | 181 Lock l(®ion->mutex); in ReturnToAllocator() 207 Lock l(®ion->mutex); in GetFromAllocator() 314 uptr in_use = region->stats.n_allocated - region->stats.n_freed; in PrintStats() 321 region->mapped_user >> 10, region->stats.n_allocated, in PrintStats() 322 region->stats.n_freed, in_use, region->num_freed_chunks, avail_chunks, in PrintStats() 759 if (LIKELY(region->mapped_user + region->mapped_meta + in IsRegionExhausted() 762 if (!region->exhausted) { in IsRegionExhausted() 807 (region->mapped_user - region->allocated_user) / size; in PopulateFreeArray() 844 CHECK_LE(region->allocated_user, region->mapped_user); in PopulateFreeArray() 846 CHECK_LE(region->allocated_meta, region->mapped_meta); in PopulateFreeArray() [all …]
|
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/ |
H A D | scrypt_platform.c | 65 region->base = base; in alloc_region() 66 region->aligned = aligned; in alloc_region() 67 region->size = base ? size : 0; in alloc_region() 73 init_region(escrypt_region_t *region) in init_region() argument 75 region->base = region->aligned = NULL; in init_region() 76 region->size = 0; in init_region() 80 free_region(escrypt_region_t *region) in free_region() argument 82 if (region->base) { in free_region() 84 if (munmap(region->base, region->size)) { in free_region() 88 free(region->base); in free_region() [all …]
|
/freebsd/sys/amd64/pci/ |
H A D | pci_cfgreg.c | 107 struct pcie_mcfg_region *region; in pci_docfgregread() local 110 if (region != NULL) in pci_docfgregread() 163 if (region != NULL) { in pci_cfgregwrite() 300 region->domain = domain; in pcie_cfgregopen() 301 region->minbus = minbus; in pcie_cfgregopen() 302 region->maxbus = maxbus; in pcie_cfgregopen() 308 pcie_init_badslots(region); in pcie_cfgregopen() 335 MPASS(bus >= region->minbus && bus <= region->maxbus); in pciereg_cfgread() 340 va = PCIE_VADDR(region->base, reg, bus - region->minbus, slot, func); in pciereg_cfgread() 366 MPASS(bus >= region->minbus && bus <= region->maxbus); in pciereg_cfgwrite() [all …]
|
/freebsd/contrib/unbound/util/data/ |
H A D | msgreply.c | 81 if(region) in parse_create_qinfo() 106 if(region) in construct_reply_info_base() 127 if(region) in construct_reply_info_base() 132 if(!region) in construct_reply_info_base() 156 if(region) { in reply_info_alloc_rrset_keys() 367 if(region) in parse_create_rrset() 429 if(region) in parse_copy_decompress_rrset() 737 if(region) { in repinfo_copy_rrsets() 747 if(region) in repinfo_copy_rrsets() 791 if(!region) in reply_info_copy() [all …]
|
H A D | msgreply.h | 291 struct regional* region, struct edns_data* edns); 310 struct reply_info** rep, struct regional* region); 314 struct regional* region, struct query_info* qi); 385 struct alloc_cache* alloc, struct regional* region); 400 struct alloc_cache* alloc, struct regional* region); 429 struct rrset_parse *pset, struct regional* region, 551 uint8_t* data, struct regional* region); 592 struct regional* region); 648 struct comm_reply* repinfo, struct regional* region, 714 struct regional* region); [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/cache/ |
H A D | qcom,llcc.yaml | 76 - description: LLCC0 base register region 93 - description: LLCC0 base register region 94 - description: LLCC1 base register region 114 - description: LLCC0 base register region 115 - description: LLCC1 base register region 116 - description: LLCC2 base register region 117 - description: LLCC3 base register region 118 - description: LLCC4 base register region 119 - description: LLCC5 base register region 120 - description: LLCC6 base register region [all …]
|
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/ |
H A D | argon2-core.c | 79 if (region == NULL) { in allocate_memory() 90 if (!*region) { in allocate_memory() 93 (*region)->base = (*region)->memory = NULL; in allocate_memory() 121 (*region)->base = base; in allocate_memory() 122 (*region)->memory = memory; in allocate_memory() 159 free_memory(block_region *region) in free_memory() argument 161 if (region && region->base) { in free_memory() 163 if (munmap(region->base, region->size)) { in free_memory() 167 free(region->base); in free_memory() 170 free(region); in free_memory() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/minidump/ |
H A D | MinidumpParser.cpp | 268 if (region) in CreateRegionsCacheFromLinuxMaps() 528 MemoryRegionInfo region; in CreateRegionsCacheFromMemoryInfoList() local 534 region.SetWritable( in CreateRegionsCacheFromMemoryInfoList() 540 region.SetExecutable( in CreateRegionsCacheFromMemoryInfoList() 547 regions.push_back(region); in CreateRegionsCacheFromMemoryInfoList() 566 MemoryRegionInfo region; in CreateRegionsCacheFromMemoryList() local 571 regions.push_back(region); in CreateRegionsCacheFromMemoryList() 596 MemoryRegionInfo region; in CreateRegionsCacheFromMemory64List() local 601 regions.push_back(region); in CreateRegionsCacheFromMemory64List() 689 MemoryRegionInfo region; in GetMemoryRegionInfo() local [all …]
|
/freebsd/contrib/unbound/services/cache/ |
H A D | dns.c | 95 if(region) { in store_rrsets() 102 rep->ref[i].key, region, now); in store_rrsets() 468 regional_alloc(region, in dns_msg_create() 514 dp = delegpt_create(region); in dns_cache_find_delegation() 569 regional_alloc(region, in gen_dns_msg() 649 region, now); in tomsg() 677 origin->rep->rrsets[i], region, 0); in dns_msg_deepcopy_region() 814 struct regional* region) in fill_any() argument 827 region, 0); in fill_any() 859 region, (size_t)(num-i)); in fill_any() [all …]
|
H A D | dns.h | 97 struct regional* region, uint32_t flags, time_t qstarttime); 123 struct reply_info* qrep, uint32_t flags, struct regional* region, 147 struct regional* region, struct dns_msg** msg, time_t timenow, 164 struct reply_info* r, struct regional* region, time_t now, 174 struct regional* region); 196 uint16_t flags, struct regional* region, struct regional* scratch, 208 struct regional* region, struct delegpt* dp); 222 uint16_t qclass, struct regional* region, size_t capacity); 233 int dns_msg_authadd(struct dns_msg* msg, struct regional* region, 245 int dns_msg_ansadd(struct dns_msg* msg, struct regional* region,
|
/freebsd/sys/i386/pci/ |
H A D | pci_cfgreg.c | 181 struct pcie_mcfg_region *region; in pci_docfgregread() local 184 if (region != NULL) in pci_docfgregread() 229 struct pcie_mcfg_region *region; in pci_cfgregwrite() local 232 if (region != NULL) { in pci_cfgregwrite() 545 struct pcie_mcfg_region *region; in pcie_cfgregopen() local 578 region->domain = domain; in pcie_cfgregopen() 579 region->minbus = minbus; in pcie_cfgregopen() 580 region->maxbus = maxbus; in pcie_cfgregopen() 587 pcie_init_badslots(region); in pcie_cfgregopen() 607 MPASS(bus >= region->minbus && bus <= region->maxbus); in pciereg_findaddr() [all …]
|
/freebsd/sys/dev/pms/RefTisa/sallsdk/spc/ |
H A D | mpi.c | 77 memoryMap->region[memoryMap->count].numElements = 1; in mpiRequirementsGet() 80 memoryMap->region[memoryMap->count].alignment = 32; in mpiRequirementsGet() 81 memoryMap->region[memoryMap->count].type = AGSA_DMA_MEM; in mpiRequirementsGet() 87 memoryMap->region[memoryMap->count].numElements = 1; in mpiRequirementsGet() 90 memoryMap->region[memoryMap->count].alignment = 32; in mpiRequirementsGet() 91 memoryMap->region[memoryMap->count].type = AGSA_DMA_MEM; in mpiRequirementsGet() 96 memoryMap->region[memoryMap->count].numElements = 1; in mpiRequirementsGet() 99 memoryMap->region[memoryMap->count].alignment = 4; in mpiRequirementsGet() 100 memoryMap->region[memoryMap->count].type = AGSA_DMA_MEM; in mpiRequirementsGet() 105 memoryMap->region[memoryMap->count].numElements = 1; in mpiRequirementsGet() [all …]
|
/freebsd/contrib/unbound/validator/ |
H A D | val_kentry.c | 131 newd->rrset_data = regional_alloc_init(region, in key_entry_copy_toregion() 144 newd->algo = (uint8_t*)regional_strdup(region, in key_entry_copy_toregion() 259 key_entry_setup(struct regional* region, in key_entry_setup() argument 263 *k = regional_alloc(region, sizeof(**k)); in key_entry_setup() 273 *d = regional_alloc(region, sizeof(**d)); in key_entry_setup() 281 key_entry_create_null(struct regional* region, in key_entry_create_null() argument 293 ?NULL :(char*)regional_strdup(region, reason); in key_entry_create_null() 303 key_entry_create_rrset(struct regional* region, in key_entry_create_rrset() argument 318 ?NULL :(char*)regional_strdup(region, reason); in key_entry_create_rrset() 336 key_entry_create_bad(struct regional* region, in key_entry_create_bad() argument [all …]
|
/freebsd/sys/contrib/dev/athk/ |
H A D | dfs_pattern_detector.c | 31 enum nl80211_dfs_regions region; member 66 .region = NL80211_DFS_ETSI, 98 .region = NL80211_DFS_FCC, 123 .region = NL80211_DFS_JP, 145 if (dfs_domains[i]->region == region) in get_dfs_domain_radar_types() 283 if (dpd->region == NL80211_DFS_UNSET) in dpd_add_pulse() 326 if (dpd->region == region) in dpd_set_domain() 329 dpd->region = NL80211_DFS_UNSET; in dpd_set_domain() 341 dpd->region = region; in dpd_set_domain() 350 .region = NL80211_DFS_UNSET, [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/arm/mediatek/ |
H A D | mediatek,mt7622-wed.yaml | 34 memory-region: 36 - description: firmware EMI region 37 - description: firmware ILM region 38 - description: firmware DLM region 39 - description: firmware CPU DATA region 40 - description: firmware BOOT region 42 memory-region-names: 62 memory-region-names: false 63 memory-region: false 99 memory-region = <&wo_emi>, <&wo_ilm>, <&wo_dlm>, [all …]
|
/freebsd/contrib/unbound/iterator/ |
H A D | iter_delegpt.c | 54 delegpt_create(struct regional* region) in delegpt_create() argument 57 region, sizeof(*dp)); in delegpt_create() 66 struct delegpt* copy = delegpt_create(region); in delegpt_copy() 71 if(!delegpt_set_name(copy, region, dp->name)) in delegpt_copy() 78 if(!delegpt_add_ns(copy, region, ns->name, ns->lame, in delegpt_copy() 117 ns = (struct delegpt_ns*)regional_alloc(region, in delegpt_add_ns() 222 a = (struct delegpt_addr*)regional_alloc(region, in delegpt_add_addr() 433 dp = delegpt_create(region); in delegpt_from_message() 437 if(!delegpt_set_name(dp, region, ns_rrset->rk.dname)) in delegpt_from_message() 439 if(!delegpt_rrset_add_ns(dp, region, ns_rrset, 0)) in delegpt_from_message() [all …]
|
H A D | iter_donotq.c | 58 dq->region = regional_create(); in donotq_create() 59 if(!dq->region) { in donotq_create() 71 regional_destroy(dq->region); in donotq_delete() 81 dq->region, sizeof(*node)); in donotq_insert() 125 regional_free_all(dq->region); in donotq_apply_cfg() 152 return sizeof(*donotq) + regional_get_mem(donotq->region); in donotq_get_mem()
|
/freebsd/contrib/unbound/respip/ |
H A D | respip.c | 63 set->region = regional_create(); in respip_set_create() 64 if(!set->region) { in respip_set_create() 91 regional_destroy(set->region); in respip_set_delete() 228 region, sizeof(*rrset)); in new_rrset() 527 d = regional_alloc_zero(region, dsize); in respip_copy_rrset() 693 region)) { in respip_data_answer() 698 rp = respip_copy_rrset(&r, region); in respip_data_answer() 711 rp = respip_copy_rrset(rp, region); in respip_data_answer() 1001 region)) < 0) { in respip_rewrite_reply() 1009 rrset_id, new_repp, region)) { in respip_rewrite_reply() [all …]
|
/freebsd/contrib/unbound/edns-subnet/ |
H A D | subnet-whitelist.c | 64 whitelist->region = regional_create(); in ecs_whitelist_create() 65 if(!whitelist->region) { in ecs_whitelist_create() 77 regional_destroy(whitelist->region); in ecs_whitelist_delete() 87 whitelist->region, sizeof(*node)); in upstream_insert() 148 nmr = (uint8_t*)regional_alloc_init(whitelist->region, nm, in read_names() 155 n = (struct name_tree_node*)regional_alloc(whitelist->region, in read_names() 174 regional_free_all(whitelist->region); in ecs_whitelist_apply_cfg() 204 return sizeof(*whitelist) + regional_get_mem(whitelist->region); in ecs_whitelist_get_mem()
|
/freebsd/sys/contrib/device-tree/Bindings/reserved-memory/ |
H A D | memory-region.yaml | 4 $id: http://devicetree.org/schemas/reserved-memory/memory-region.yaml# 14 nodes by adding a memory-region property to the device node. 19 memory-region: 24 memory-region-names: 28 memory-region property 37 memory-region = <&display_reserved>;
|
/freebsd/stand/libsa/ |
H A D | hexdump.c | 34 hexdump(caddr_t region, size_t len) in hexdump() argument 48 for (line = region; line < (region + len); line += 16) { in hexdump() 52 if ((line + x) < (region + len)) { in hexdump() 62 if ((line + x) < (region + len)) { in hexdump()
|
/freebsd/contrib/unbound/daemon/ |
H A D | cachedump.c | 245 (*k)->qname = regional_alloc_init(region, in copy_msg() 452 regional_free_all(region); in load_rrset() 490 d->rr_len = regional_alloc_zero(region, in load_rrset() 492 d->rr_ttl = regional_alloc_zero(region, in load_rrset() 494 d->rr_data = regional_alloc_zero(region, in load_rrset() 503 if(!load_rr(ssl, buf, region, rk, d, i, 0, in load_rrset() 599 s = load_qinfo(s, &qinfo, region); in load_ref() 641 regional_free_all(region); in load_msg() 648 s = load_qinfo(s, &qinf, region); in load_msg() 843 regional_free_all(region); in print_deleg_lookup() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/power/ |
H A D | qcom,kpss-acc-v2.yaml | 14 There is one ACC register region per CPU within the KPSS remapped region as 15 well as an alias register region that remaps accesses to the ACC associated 16 with the CPU accessing the region. ACC v2 is currently used as a 25 - description: Base address and size of the register region 26 - description: Optional base address and size of the alias register region
|