Searched refs:region (Results 1 - 25 of 218) sorted by relevance

123456789

/freebsd-current/sys/contrib/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/
H A Dscrypt_platform.c41 alloc_region(escrypt_region_t *region, size_t size) argument
65 region->base = base;
66 region->aligned = aligned;
67 region->size = base ? size : 0;
73 init_region(escrypt_region_t *region) argument
75 region->base = region->aligned = NULL;
76 region->size = 0;
80 free_region(escrypt_region_t *region) argument
82 if (region
[all...]
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/Process/Utility/
H A DLinuxProcMaps.cpp29 MemoryRegionInfo region; local
54 region.GetRange().SetRangeBase(start_address);
55 region.GetRange().SetRangeEnd(end_address);
57 // Any memory region in /proc/{pid}/(maps|smaps) is by definition mapped
59 region.SetMapped(MemoryRegionInfo::OptionalBool::eYes);
71 region.SetReadable(MemoryRegionInfo::OptionalBool::eYes);
73 region.SetReadable(MemoryRegionInfo::OptionalBool::eNo);
81 region.SetWritable(MemoryRegionInfo::OptionalBool::eYes);
83 region.SetWritable(MemoryRegionInfo::OptionalBool::eNo);
91 region
150 std::optional<MemoryRegionInfo> region; local
[all...]
/freebsd-current/stand/libsa/
H A Dhexdump.c31 * Display a region in traditional hexdump format.
34 hexdump(caddr_t region, size_t len) argument
48 for (line = region; line < (region + len); line += 16) {
52 if ((line + x) < (region + len)) {
62 if ((line + x) < (region + len)) {
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_primary64.h100 // When we know the size class (the region base) we can represent a pointer
101 // as a 4-byte integer (offset from the region start shifted right by 4).
126 "SizeClassAllocator: region info"));
145 "SizeClassAllocator: region info");
177 RegionInfo *region = GetRegionInfo(class_id); local
181 Lock l(&region->mutex);
182 uptr old_num_chunks = region->num_freed_chunks;
186 if (UNLIKELY(!EnsureFreeArraySpace(region, region_beg,
195 region->num_freed_chunks = new_num_freed_chunks;
196 region
203 RegionInfo *region = GetRegionInfo(class_id); local
268 const RegionInfo *region = AddressSpaceView::Load(GetRegionInfo(class_id)); local
312 RegionInfo *region = GetRegionInfo(class_id); local
339 RegionInfo *region = GetRegionInfo(class_id); local
373 RegionInfo *region = GetRegionInfo(class_id); local
863 RegionInfo *region = GetRegionInfo(class_id); local
[all...]
/freebsd-current/contrib/unbound/services/cache/
H A Ddns.h73 * this is allocated in a region, and will be copied to malloc area
76 * this is allocated in a region, and will be copied to malloc area
86 * @param region: region to allocate better entries from cache into.
97 struct regional* region, uint32_t flags, time_t qstarttime);
119 * @param region: to allocate into for qmsg.
123 struct reply_info* qrep, uint32_t flags, struct regional* region,
133 * @param region: where to allocate result delegation.
147 struct regional* region, struct dns_msg** msg, time_t timenow,
156 * @param region
[all...]
H A Ddns.c70 * @param region: for qrep allocs.
80 struct regional* region, time_t qstarttime)
95 if(region) {
102 rep->ref[i].key, region, now);
148 struct reply_info* qrep, uint32_t flags, struct regional* region,
164 store_rrsets(env, rep, *env->now, leeway, pside, qrep, region,
260 addr_to_additional(struct ub_packed_rrset_key* rrset, struct regional* region, argument
264 packed_rrset_copy_region(rrset, region, now))) {
298 struct regional* region, struct delegpt* dp, time_t now,
308 if(!delegpt_add_rrset_A(dp, region, ake
78 store_rrsets(struct module_env* env, struct reply_info* rep, time_t now, time_t leeway, int pside, struct reply_info* qrep, struct regional* region, time_t qstarttime) argument
146 dns_cache_store_msg(struct module_env* env, struct query_info* qinfo, hashvalue_type hash, struct reply_info* rep, time_t leeway, int pside, struct reply_info* qrep, uint32_t flags, struct regional* region, time_t qstarttime) argument
297 find_add_addrs(struct module_env* env, uint16_t qclass, struct regional* region, struct delegpt* dp, time_t now, struct dns_msg** msg) argument
351 cache_fill_missing(struct module_env* env, uint16_t qclass, struct regional* region, struct delegpt* dp) argument
410 find_add_ds(struct module_env* env, struct regional* region, struct dns_msg* msg, struct delegpt* dp, time_t now) argument
443 dns_msg_create(uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass, struct regional* region, size_t capacity) argument
476 dns_msg_authadd(struct dns_msg* msg, struct regional* region, struct ub_packed_rrset_key* rrset, time_t now) argument
487 dns_msg_ansadd(struct dns_msg* msg, struct regional* region, struct ub_packed_rrset_key* rrset, time_t now) argument
498 dns_cache_find_delegation(struct module_env* env, uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass, struct regional* region, struct dns_msg** msg, time_t now, int noexpiredabove, uint8_t* expiretop, size_t expiretoplen) argument
549 gen_dns_msg(struct regional* region, struct query_info* q, size_t num) argument
577 tomsg(struct module_env* env, struct query_info* q, struct reply_info* r, struct regional* region, time_t now, int allow_expired, struct regional* scratch) argument
664 dns_msg_deepcopy_region(struct dns_msg* origin, struct regional* region) argument
687 rrset_msg(struct ub_packed_rrset_key* rrset, struct regional* region, time_t now, struct query_info* q) argument
718 synth_dname_msg(struct ub_packed_rrset_key* rrset, struct regional* region, time_t now, struct query_info* q, enum sec_status* sec_status) argument
812 fill_any(struct module_env* env, uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass, struct regional* region) argument
877 dns_cache_lookup(struct module_env* env, uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass, uint16_t flags, struct regional* region, struct regional* scratch, int no_partial, uint8_t* dpname, size_t dpnamelen) argument
1045 dns_cache_store(struct module_env* env, struct query_info* msgqinf, struct reply_info* msgrep, int is_referral, time_t leeway, int pside, struct regional* region, uint32_t flags, time_t qstarttime) argument
[all...]
/freebsd-current/sys/amd64/pci/
H A Dpci_cfgreg.c55 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; local
109 region = pcie_lookup_region(domain, bus);
110 if (region != NULL)
111 return (pciereg_cfgread(region, bus, slot, func, reg,
160 struct pcie_mcfg_region *region; local
162 region = pcie_lookup_region(domain, bus);
163 if (region != NULL) {
164 pciereg_cfgwrite(region, bu
256 pcie_init_badslots(struct pcie_mcfg_region *region) argument
283 struct pcie_mcfg_region *region; local
329 pciereg_cfgread(struct pcie_mcfg_region *region, int bus, unsigned slot, unsigned func, unsigned reg, unsigned bytes) argument
361 pciereg_cfgwrite(struct pcie_mcfg_region *region, int bus, unsigned slot, unsigned func, unsigned reg, int data, unsigned bytes) argument
[all...]
/freebsd-current/contrib/unbound/iterator/
H A Diter_donotq.c58 dq->region = regional_create();
59 if(!dq->region) {
71 regional_destroy(dq->region);
81 dq->region, sizeof(*node));
125 regional_free_all(dq->region);
152 return sizeof(*donotq) + regional_get_mem(donotq->region);
H A Diter_donotq.h55 struct regional* region; member in struct:iter_donotq
H A Diter_priv.h57 struct regional* region; member in struct:iter_priv
/freebsd-current/contrib/unbound/util/data/
H A Dmsgreply.h125 * from the region allocation to the malloc allocation.
241 * @param region: where to allocate the results, pass NULL to use malloc.
257 construct_reply_info_base(struct regional* region, uint16_t flags, size_t qd,
283 * @param region: where to store temporary data (for parsing).
291 struct regional* region, struct edns_data* edns);
296 * @param msg: parsed message in scratch region.
298 * Not used if region!=NULL, it can be NULL in that case.
302 * @param region: if this parameter is NULL then malloc and the alloc is used.
303 * otherwise, everything is allocated in this region.
304 * In a region, n
[all...]
H A Dmsgreply.c78 struct query_info* qinf, struct regional* region)
81 if(region)
82 qinf->qname = (uint8_t*)regional_alloc(region,
97 construct_reply_info_base(struct regional* region, uint16_t flags, size_t qd, argument
106 if(region)
107 rep = (struct reply_info*)regional_alloc(region, s);
127 if(region)
132 if(!region)
140 struct regional* region)
142 *rep = construct_reply_info_base(region, ms
77 parse_create_qinfo(sldns_buffer* pkt, struct msg_parse* msg, struct query_info* qinf, struct regional* region) argument
139 parse_create_repinfo(struct msg_parse* msg, struct reply_info** rep, struct regional* region) argument
151 reply_info_alloc_rrset_keys(struct reply_info* rep, struct alloc_cache* alloc, struct regional* region) argument
175 make_new_reply_info(const struct reply_info* rep, struct regional* region, size_t an_numrrsets, size_t copy_rrsets) argument
355 parse_create_rrset(sldns_buffer* pkt, struct rrset_parse* pset, struct packed_rrset_data** data, struct regional* region) argument
422 parse_copy_decompress_rrset(sldns_buffer* pkt, struct msg_parse* msg, struct rrset_parse *pset, struct regional* region, struct ub_packed_rrset_key* pk) argument
465 parse_copy_decompress(sldns_buffer* pkt, struct msg_parse* msg, struct reply_info* rep, struct regional* region) argument
493 parse_create_msg(sldns_buffer* pkt, struct msg_parse* msg, struct alloc_cache* alloc, struct query_info* qinf, struct reply_info** rep, struct regional* region) argument
513 reply_info_parse(sldns_buffer* pkt, struct alloc_cache* alloc, struct query_info* qinf, struct reply_info** rep, struct regional* region, struct edns_data* edns) argument
725 repinfo_copy_rrsets(struct reply_info* dest, struct reply_info* from, struct regional* region) argument
760 reply_info_copy(struct reply_info* rep, struct alloc_cache* alloc, struct regional* region) argument
903 struct regional* region = regional_create(); local
1051 parse_reply_in_temp_region(sldns_buffer* pkt, struct regional* region, struct query_info* qi) argument
1070 edns_opt_list_append_ede(struct edns_option** list, struct regional* region, sldns_ede_code code, const char *txt) argument
1100 edns_opt_list_append_keepalive(struct edns_option** list, int msec, struct regional* region) argument
1110 edns_opt_list_append(struct edns_option** list, uint16_t code, size_t len, uint8_t* data, struct regional* region) argument
1170 inplace_cb_reply_call_generic( struct inplace_cb* callback_list, enum inplace_cb_list_type type, struct query_info* qinfo, struct module_qstate* qstate, struct reply_info* rep, int rcode, struct edns_data* edns, struct comm_reply* repinfo, struct regional* region, struct timeval* start_time) argument
1194 inplace_cb_reply_call(struct module_env* env, struct query_info* qinfo, struct module_qstate* qstate, struct reply_info* rep, int rcode, struct edns_data* edns, struct comm_reply* repinfo, struct regional* region, struct timeval* start_time) argument
1204 inplace_cb_reply_cache_call(struct module_env* env, struct query_info* qinfo, struct module_qstate* qstate, struct reply_info* rep, int rcode, struct edns_data* edns, struct comm_reply* repinfo, struct regional* region, struct timeval* start_time) argument
1215 inplace_cb_reply_local_call(struct module_env* env, struct query_info* qinfo, struct module_qstate* qstate, struct reply_info* rep, int rcode, struct edns_data* edns, struct comm_reply* repinfo, struct regional* region, struct timeval* start_time) argument
1226 inplace_cb_reply_servfail_call(struct module_env* env, struct query_info* qinfo, struct module_qstate* qstate, struct reply_info* rep, int rcode, struct edns_data* edns, struct comm_reply* repinfo, struct regional* region, struct timeval* start_time) argument
1241 inplace_cb_query_call(struct module_env* env, struct query_info* qinfo, uint16_t flags, struct sockaddr_storage* addr, socklen_t addrlen, uint8_t* zone, size_t zonelen, struct module_qstate* qstate, struct regional* region) argument
1284 edns_opt_copy_region(struct edns_option* list, struct regional* region) argument
1314 edns_opt_copy_filter_region(struct edns_option* list, uint16_t* filter_list, size_t filter_list_len, struct regional* region) argument
[all...]
/freebsd-current/contrib/unbound/validator/
H A Dval_kentry.h112 * Copy a key entry, to be region-allocated.
114 * @param region: where to allocate it
115 * @return newly region-allocated entry or NULL on a failure to allocate.
118 struct regional* region);
166 * Create a null entry, in the given region.
167 * @param region: where to allocate
177 struct key_entry_key* key_entry_create_null(struct regional* region,
183 * Create a key entry from an rrset, in the given region.
184 * @param region: where to allocate.
188 * @param rrset: data for key entry. This is copied to the region
[all...]
H A Dval_kentry.c111 key_entry_copy_toregion(struct key_entry_key* kkey, struct regional* region) argument
114 newk = regional_alloc_init(region, kkey, sizeof(*kkey));
117 newk->name = regional_alloc_init(region, kkey->name, kkey->namelen);
126 newd = regional_alloc_init(region, d, sizeof(*d));
131 newd->rrset_data = regional_alloc_init(region,
139 newd->reason = regional_strdup(region, d->reason);
144 newd->algo = (uint8_t*)regional_strdup(region,
257 /** setup key entry in region */
259 key_entry_setup(struct regional* region, argument
263 *k = regional_alloc(region, sizeo
281 key_entry_create_null(struct regional* region, uint8_t* name, size_t namelen, uint16_t dclass, time_t ttl, sldns_ede_code reason_bogus, const char* reason, time_t now) argument
303 key_entry_create_rrset(struct regional* region, uint8_t* name, size_t namelen, uint16_t dclass, struct ub_packed_rrset_key* rrset, uint8_t* sigalg, sldns_ede_code reason_bogus, const char* reason, time_t now) argument
336 key_entry_create_bad(struct regional* region, uint8_t* name, size_t namelen, uint16_t dclass, time_t ttl, sldns_ede_code reason_bogus, const char* reason, time_t now) argument
358 key_entry_get_rrset(struct key_entry_key* kkey, struct regional* region) argument
[all...]
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/Process/minidump/
H A DMinidumpParser.cpp267 [&regions, &log](llvm::Expected<MemoryRegionInfo> region) -> bool {
268 if (region)
269 regions.push_back(*region);
271 LLDB_LOG_ERROR(log, region.takeError(),
272 "Reading memory region from minidump failed: {0}");
295 /// is passed in as the path since it has a consecutive memory region for
323 /// True if a contiguous region of memory belonging to the module with a
334 MemoryRegionInfo region = MinidumpParser::GetMemoryRegionInfo(regions, addr); local
335 while (region.GetName() == path) {
336 if (region
528 MemoryRegionInfo region; local
566 MemoryRegionInfo region; local
596 MemoryRegionInfo region; local
689 MemoryRegionInfo region; local
[all...]
/freebsd-current/sys/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/
H A Dargon2-core.c70 static int allocate_memory(block_region **region, uint32_t m_cost);
73 allocate_memory(block_region **region, uint32_t m_cost) argument
79 if (region == NULL) {
88 *region = (block_region *) malloc(
89 sizeof(block_region)); /*2. Try to allocate region*/
90 if (!*region) {
93 (*region)->base = (*region)->memory = NULL;
121 (*region)->base = base;
122 (*region)
159 free_memory(block_region *region) argument
[all...]
/freebsd-current/sys/contrib/dev/athk/
H A Ddfs_pattern_detector.c26 * @region: regulatory DFS region
31 enum nl80211_dfs_regions region; member in struct:radar_types
66 .region = NL80211_DFS_ETSI,
98 .region = NL80211_DFS_FCC,
123 .region = NL80211_DFS_JP,
136 * @region: regulatory DFS region
141 get_dfs_domain_radar_types(enum nl80211_dfs_regions region) argument
145 if (dfs_domains[i]->region
320 dpd_set_domain(struct dfs_pattern_detector *dpd, enum nl80211_dfs_regions region) argument
354 dfs_pattern_detector_init(struct ath_common *common, enum nl80211_dfs_regions region) argument
[all...]
H A Ddfs_pattern_detector.h89 * @region: active DFS region, NL80211_DFS_UNSET until set
98 enum nl80211_dfs_regions region);
104 enum nl80211_dfs_regions region; member in struct:dfs_pattern_detector
116 * @param region: DFS domain to be used, can be NL80211_DFS_UNSET at creation
121 enum nl80211_dfs_regions region);
/freebsd-current/contrib/unbound/util/
H A Dtcp_conn_limit.c57 tcl->region = regional_create();
58 if(!tcl->region) {
81 regional_destroy(tcl->region);
91 struct tcl_addr* node = regional_alloc_zero(tcl->region,
146 regional_free_all(tcl->region);
193 return sizeof(*tcl) + regional_get_mem(tcl->region);
/freebsd-current/contrib/unbound/edns-subnet/
H A Dsubnet-whitelist.c64 whitelist->region = regional_create();
65 if(!whitelist->region) {
77 regional_destroy(whitelist->region);
87 whitelist->region, sizeof(*node));
148 nmr = (uint8_t*)regional_alloc_init(whitelist->region, nm,
155 n = (struct name_tree_node*)regional_alloc(whitelist->region,
174 regional_free_all(whitelist->region);
204 return sizeof(*whitelist) + regional_get_mem(whitelist->region);
H A Dsubnet-whitelist.h55 struct regional* region; member in struct:ecs_whitelist
/freebsd-current/usr.sbin/bhyve/
H A Dvmgenc.c56 char *region; local
59 error = bootrom_alloc(ctx, PAGE_SIZE, PROT_READ, 0, &region,
68 error = getentropy(region, sizeof(struct uuid));
/freebsd-current/contrib/unbound/respip/
H A Drespip.h24 struct regional* region; member in struct:respip_set
132 * A merged new reply will be built using 'region' and *new_repp will point
150 * @param region: allocator to build *new_repp.
157 struct reply_info** new_repp, struct regional* region,
178 * @param region: allocator to build *new_repp.
188 int search_only, struct regional* region, struct auth_zones* az,
264 * @param set: struct containing the tree and region to alloc new node on.
279 * @param region: region to alloc RR(set).
291 respip_enter_rr(struct regional* region, struc
[all...]
/freebsd-current/sys/i386/pci/
H A Dpci_cfgreg.c92 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; local
183 region = pcie_lookup_region(domain, bus);
184 if (region != NULL)
185 return (pciereg_cfgread(region, bus, slot, func, reg,
229 struct pcie_mcfg_region *region; local
231 region = pcie_lookup_region(domain, bus);
232 if (region != NULL) {
233 pciereg_cfgwrite(region, bu
518 pcie_init_badslots(struct pcie_mcfg_region *region) argument
545 struct pcie_mcfg_region *region; local
600 pciereg_findaddr(struct pcie_mcfg_region *region, int bus, unsigned slot, unsigned func, unsigned reg) argument
650 pciereg_cfgread(struct pcie_mcfg_region *region, int bus, unsigned slot, unsigned func, unsigned reg, unsigned bytes) argument
682 pciereg_cfgwrite(struct pcie_mcfg_region *region, int bus, unsigned slot, unsigned func, unsigned reg, int data, unsigned bytes) argument
[all...]
/freebsd-current/sys/dev/pms/RefTisa/sallsdk/spc/
H A Dmpi.c76 /* MPI Memory region 0 for MSGU(AAP1) Event Log for fw */
77 memoryMap->region[memoryMap->count].numElements = 1;
78 memoryMap->region[memoryMap->count].elementSize = sizeof(bit8) * config->mainConfig.eventLogSize;
79 memoryMap->region[memoryMap->count].totalLength = sizeof(bit8) * config->mainConfig.eventLogSize;
80 memoryMap->region[memoryMap->count].alignment = 32;
81 memoryMap->region[memoryMap->count].type = AGSA_DMA_MEM;
82 SA_DBG2(("mpiRequirementsGet:eventLogSize region[%d] 0x%X\n",memoryMap->count,memoryMap->region[memoryMap->count].totalLength ));
85 SA_DBG2(("mpiRequirementsGet:eventLogSize region[%d] 0x%X\n",memoryMap->count,memoryMap->region[memoryMa
[all...]

Completed in 219 milliseconds

123456789