/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/Utility/ |
H A D | LinuxProcMaps.cpp | 29 MemoryRegionInfo region; in ParseMemoryRegionInfoFromProcMapsLine() local 54 region.GetRange().SetRangeBase(start_address); in ParseMemoryRegionInfoFromProcMapsLine() 55 region.GetRange().SetRangeEnd(end_address); in ParseMemoryRegionInfoFromProcMapsLine() 59 region.SetMapped(MemoryRegionInfo::OptionalBool::eYes); in ParseMemoryRegionInfoFromProcMapsLine() 71 region.SetReadable(MemoryRegionInfo::OptionalBool::eYes); in ParseMemoryRegionInfoFromProcMapsLine() 73 region.SetReadable(MemoryRegionInfo::OptionalBool::eNo); in ParseMemoryRegionInfoFromProcMapsLine() 81 region.SetWritable(MemoryRegionInfo::OptionalBool::eYes); in ParseMemoryRegionInfoFromProcMapsLine() 83 region.SetWritable(MemoryRegionInfo::OptionalBool::eNo); in ParseMemoryRegionInfoFromProcMapsLine() 91 region.SetExecutable(MemoryRegionInfo::OptionalBool::eYes); in ParseMemoryRegionInfoFromProcMapsLine() 93 region.SetExecutable(MemoryRegionInfo::OptionalBool::eNo); in ParseMemoryRegionInfoFromProcMapsLine() [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() 198 std::max(range.GetRangeBase(), region.GetRange().GetRangeBase()); in MakeTaggedRanges() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_allocator_primary64.h | 177 RegionInfo *region = GetRegionInfo(class_id); in ReturnToAllocator() local 181 Lock l(®ion->mutex); in ReturnToAllocator() 182 uptr old_num_chunks = region->num_freed_chunks; in ReturnToAllocator() 186 if (UNLIKELY(!EnsureFreeArraySpace(region, region_beg, in ReturnToAllocator() 195 region->num_freed_chunks = new_num_freed_chunks; in ReturnToAllocator() 196 region->stats.n_freed += n_chunks; in ReturnToAllocator() 203 RegionInfo *region = GetRegionInfo(class_id); in GetFromAllocator() local 207 Lock l(®ion->mutex); in GetFromAllocator() 212 if (region->rtoi.last_released_bytes > 0) { in GetFromAllocator() 213 MmapFixedOrDie(region_beg, region->mapped_user, in GetFromAllocator() [all …]
|
/freebsd/sys/amd64/pci/ |
H A D | pci_cfgreg.c | 55 static int pciereg_cfgread(struct pcie_mcfg_region *region, int bus, 57 static void pciereg_cfgwrite(struct pcie_mcfg_region *region, int bus, 107 struct pcie_mcfg_region *region; in pci_docfgregread() local 109 region = pcie_lookup_region(domain, bus); in pci_docfgregread() 110 if (region != NULL) in pci_docfgregread() 111 return (pciereg_cfgread(region, bus, slot, func, reg, in pci_docfgregread() 160 struct pcie_mcfg_region *region; in pci_cfgregwrite() local 162 region = pcie_lookup_region(domain, bus); in pci_cfgregwrite() 163 if (region != NULL) { in pci_cfgregwrite() 164 pciereg_cfgwrite(region, bus, slot, func, reg, data, in pci_cfgregwrite() [all …]
|
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/ |
H A D | scrypt_platform.c | 41 alloc_region(escrypt_region_t *region, size_t size) in alloc_region() argument 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() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/qcom/ |
H A D | qcs8550.dtsi | 25 * reserved memory region may have reserved region which was not yet 35 ( region) don't need to be described in DT. 59 aop_image_mem: aop-image-region@81c00000 { 64 aop_cmd_db_mem: aop-cmd-db-region@81c60000 { 70 aop_config_mem: aop-config-region@81c80000 { 75 smem_mem: smem-region@81d00000 { 82 adsp_mhi_mem: adsp-mhi-region@81f00000 { 87 mpss_mem: mpss-region@8a800000 { 92 q6_mpss_dtb_mem: q6-mpss-dtb-region@9b000000 { 97 ipa_fw_mem: ipa-fw-region@9b080000 { [all …]
|
/freebsd/contrib/unbound/util/data/ |
H A D | msgreply.c | 80 struct query_info* qinf, struct regional* region) in parse_create_qinfo() argument 83 if(region) in parse_create_qinfo() 84 qinf->qname = (uint8_t*)regional_alloc(region, in parse_create_qinfo() 99 construct_reply_info_base(struct regional* region, uint16_t flags, size_t qd, in construct_reply_info_base() argument 109 if(region) in construct_reply_info_base() 110 rep = (struct reply_info*)regional_alloc(region, s); in construct_reply_info_base() 131 if(region) in construct_reply_info_base() 136 if(!region) in construct_reply_info_base() 144 struct regional* region) in parse_create_repinfo() argument 146 *rep = construct_reply_info_base(region, msg->flags, msg->qdcount, 0, in parse_create_repinfo() [all …]
|
H A D | msgreply.h | 270 construct_reply_info_base(struct regional* region, uint16_t flags, size_t qd, 304 struct regional* region, struct edns_data* edns); 323 struct reply_info** rep, struct regional* region); 327 struct regional* region, struct query_info* qi); 398 struct alloc_cache* alloc, struct regional* region); 413 struct alloc_cache* alloc, struct regional* region); 445 make_new_reply_info(const struct reply_info* rep, struct regional* region, 460 struct rrset_parse *pset, struct regional* region, 582 uint8_t* data, struct regional* region); 612 int edns_opt_list_append_ede(struct edns_option** list, struct regional* region, [all …]
|
H A D | msgparse.c | 85 struct regional* region) in new_rrset() argument 87 struct rrset_parse* p = regional_alloc(region, sizeof(*p)); in new_rrset() 346 moveover_rrsigs(sldns_buffer* pkt, struct regional* region, in moveover_rrsigs() argument 360 region, sizeof(struct rr_parse)); in moveover_rrsigs() 397 int hasother, sldns_pkt_section section, struct regional* region) in change_rrsig_rrset() argument 408 section, region); in change_rrsig_rrset() 417 if(!moveover_rrsigs(pkt, region, sigset, dataset, in change_rrsig_rrset() 472 sldns_pkt_section section, struct regional* region) in find_rrset() argument 557 region); in find_rrset() 755 struct msg_parse* msg, struct regional* region, in add_rr_to_rrset() argument [all …]
|
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/ |
H A D | argon2-core.c | 70 static int allocate_memory(block_region **region, uint32_t m_cost); 73 allocate_memory(block_region **region, uint32_t m_cost) in allocate_memory() argument 79 if (region == NULL) { in allocate_memory() 88 *region = (block_region *) malloc( 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() 123 (*region)->size = memory_size; in allocate_memory() 141 if (instance->region != NULL) { in clear_memory() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/minidump/ |
H A D | MinidumpParser.cpp | 267 [®ions, &log](llvm::Expected<MemoryRegionInfo> region) -> bool { in CreateRegionsCacheFromLinuxMaps() argument 268 if (region) in CreateRegionsCacheFromLinuxMaps() 269 regions.push_back(*region); in CreateRegionsCacheFromLinuxMaps() 271 LLDB_LOG_ERROR(log, region.takeError(), in CreateRegionsCacheFromLinuxMaps() 334 MemoryRegionInfo region = MinidumpParser::GetMemoryRegionInfo(regions, addr); in CheckForLinuxExecutable() local 335 while (region.GetName() == path) { in CheckForLinuxExecutable() 336 if (region.GetExecutable() == MemoryRegionInfo::eYes) in CheckForLinuxExecutable() 338 addr += region.GetRange().GetByteSize(); in CheckForLinuxExecutable() 339 region = MinidumpParser::GetMemoryRegionInfo(regions, addr); in CheckForLinuxExecutable() 528 MemoryRegionInfo region; in CreateRegionsCacheFromMemoryInfoList() local [all …]
|
/freebsd/contrib/unbound/services/cache/ |
H A D | dns.c | 80 struct regional* region, time_t qstarttime) in store_rrsets() argument 95 if(region) { in store_rrsets() 103 rep->ref[i].key, region, now); in store_rrsets() 157 struct reply_info* qrep, uint32_t flags, struct regional* region, in dns_cache_store_msg() argument 173 store_rrsets(env, rep, *env->now, leeway, pside, qrep, region, in dns_cache_store_msg() 270 addr_to_additional(struct ub_packed_rrset_key* rrset, struct regional* region, in addr_to_additional() argument 274 packed_rrset_copy_region(rrset, region, now))) { in addr_to_additional() 308 struct regional* region, struct delegpt* dp, time_t now, in find_add_addrs() argument 318 if(!delegpt_add_rrset_A(dp, region, akey, 0, NULL)) { in find_add_addrs() 323 addr_to_additional(akey, region, *msg, now); in find_add_addrs() [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, 209 struct regional* region, struct delegpt* dp, uint32_t flags); 223 uint16_t qclass, struct regional* region, size_t capacity); 234 int dns_msg_authadd(struct dns_msg* msg, struct regional* region, 246 int dns_msg_ansadd(struct dns_msg* msg, struct regional* region,
|
/freebsd/sys/i386/pci/ |
H A D | pci_cfgreg.c | 92 static int pciereg_cfgread(struct pcie_mcfg_region *region, int bus, 94 static void pciereg_cfgwrite(struct pcie_mcfg_region *region, int bus, 181 struct pcie_mcfg_region *region; in pci_docfgregread() local 183 region = pcie_lookup_region(domain, bus); in pci_docfgregread() 184 if (region != NULL) in pci_docfgregread() 185 return (pciereg_cfgread(region, bus, slot, func, reg, in pci_docfgregread() 229 struct pcie_mcfg_region *region; in pci_cfgregwrite() local 231 region = pcie_lookup_region(domain, bus); in pci_cfgregwrite() 232 if (region != NULL) { in pci_cfgregwrite() 233 pciereg_cfgwrite(region, bus, slot, func, reg, data, in pci_cfgregwrite() [all …]
|
/freebsd/sys/dev/pms/RefTisa/sallsdk/spc/ |
H A D | mpi.c | 77 memoryMap->region[memoryMap->count].numElements = 1; in mpiRequirementsGet() 78 memoryMap->region[memoryMap->count].elementSize = sizeof(bit8) * config->mainConfig.eventLogSize; in mpiRequirementsGet() 79 memoryMap->region[memoryMap->count].totalLength = sizeof(bit8) * config->mainConfig.eventLogSize; in mpiRequirementsGet() 80 memoryMap->region[memoryMap->count].alignment = 32; in mpiRequirementsGet() 81 memoryMap->region[memoryMap->count].type = AGSA_DMA_MEM; in mpiRequirementsGet() 82 …SA_DBG2(("mpiRequirementsGet:eventLogSize region[%d] 0x%X\n",memoryMap->count,memoryMap->region[me… in mpiRequirementsGet() 85 …SA_DBG2(("mpiRequirementsGet:eventLogSize region[%d] 0x%X\n",memoryMap->count,memoryMap->region[me… in mpiRequirementsGet() 87 memoryMap->region[memoryMap->count].numElements = 1; in mpiRequirementsGet() 88 …memoryMap->region[memoryMap->count].elementSize = sizeof(bit8) * config->mainConfig.IOPeventLogSiz… in mpiRequirementsGet() 89 …memoryMap->region[memoryMap->count].totalLength = sizeof(bit8) * config->mainConfig.IOPeventLogSiz… in mpiRequirementsGet() [all …]
|
/freebsd/contrib/unbound/validator/ |
H A D | val_kentry.c | 111 key_entry_copy_toregion(struct key_entry_key* kkey, struct regional* region) in key_entry_copy_toregion() argument 114 newk = regional_alloc_init(region, kkey, sizeof(*kkey)); in key_entry_copy_toregion() 117 newk->name = regional_alloc_init(region, kkey->name, kkey->namelen); in key_entry_copy_toregion() 126 newd = regional_alloc_init(region, d, sizeof(*d)); in key_entry_copy_toregion() 131 newd->rrset_data = regional_alloc_init(region, in key_entry_copy_toregion() 139 newd->reason = regional_strdup(region, d->reason); 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() 268 (*k)->name = regional_alloc_init(region, name, namelen); in key_entry_setup() [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, 141 get_dfs_domain_radar_types(enum nl80211_dfs_regions region) in get_dfs_domain_radar_types() argument 145 if (dfs_domains[i]->region == region) in get_dfs_domain_radar_types() 283 if (dpd->region == NL80211_DFS_UNSET) in dpd_add_pulse() 321 enum nl80211_dfs_regions region) in dpd_set_domain() argument 326 if (dpd->region == region) in dpd_set_domain() 329 dpd->region = NL80211_DFS_UNSET; in dpd_set_domain() [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() 64 struct delegpt* delegpt_copy(struct delegpt* dp, struct regional* region) in delegpt_copy() argument 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() 89 if(!delegpt_add_addr(copy, region, &a->addr, a->addrlen, in delegpt_copy() 97 delegpt_set_name(struct delegpt* dp, struct regional* region, uint8_t* name) in delegpt_set_name() argument 101 dp->name = regional_alloc_init(region, name, dp->namelen); in delegpt_set_name() 106 delegpt_add_ns(struct delegpt* dp, struct regional* region, uint8_t* name, in delegpt_add_ns() argument [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() 110 node = regional_alloc_zero(set->region, sizeof(*node)); in respip_sockaddr_find_or_create() 170 node->taglist = regional_alloc_init(set->region, taglist, taglen); in respip_tag_cfg() 224 new_rrset(struct regional* region, uint16_t rrtype, uint16_t rrclass) in new_rrset() argument 228 region, sizeof(*rrset)); in new_rrset() 234 pd = regional_alloc_zero(region, sizeof(*pd)); in new_rrset() 242 rrset->rk.dname = regional_alloc_zero(region, 1); in new_rrset() 256 respip_enter_rr(struct regional* region, struct resp_addr* raddr, in respip_enter_rr() argument [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/contrib/unbound/daemon/ |
H A D | cachedump.c | 226 copy_msg(struct regional* region, struct lruhash_entry* e, in copy_msg() argument 232 *d = (struct reply_info*)regional_alloc_init(region, e->data, in copy_msg() 241 *k = (struct query_info*)regional_alloc_init(region, in copy_msg() 245 (*k)->qname = regional_alloc_init(region, in copy_msg() 324 load_rr(RES* ssl, sldns_buffer* buf, struct regional* region, in load_rr() argument 358 d->rr_data[i] = (uint8_t*)regional_alloc_init(region, in load_rr() 370 rk->rk.dname = regional_alloc_init(region, rr, dname_len); in load_rr() 445 struct regional* region = worker->scratchpad; in load_rrset() local 452 regional_free_all(region); in load_rrset() 454 rk = (struct ub_packed_rrset_key*)regional_alloc_zero(region, in load_rrset() [all …]
|
/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/sys/contrib/device-tree/Bindings/soc/ti/ |
H A D | keystone-navigator-qmss.txt | 37 - Queue Peek region. 39 - Queue configuration region. 40 - Descriptor memory setup region. 41 - Queue Management/Queue Proxy region for queue Push. 42 - Queue Management/Queue Proxy region for queue Pop. 45 - Queue Peek region. 46 - Queue configuration region. 47 - Queue Management/Queue Proxy region for queue Push/Pop. 94 -- id : region number in QMSS. 95 -- region-spec : specifies the number of descriptors in the [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/arm/msm/ |
H A D | qcom,kpss-acc.txt | 4 There is one ACC register region per CPU within the KPSS remapped region as 5 well as an alias register region that remaps accesses to the ACC associated 6 with the CPU accessing the region. 21 the register region. An optional second element specifies 22 the base address and size of the alias register region.
|