Home
last modified time | relevance | path

Searched refs:region (Results 1 – 25 of 288) sorted by relevance

12345678910>>...12

/NextBSD/sys/contrib/octeon-sdk/
HDcvmx-flash.c84 cvmx_flash_region_t region[MAX_NUM_REGIONS]; member
177 int region; in __cvmx_flash_queury_cfi() local
218 for (region=0; region<flash->num_regions; region++) in __cvmx_flash_queury_cfi()
220 cvmx_flash_region_t *rgn_ptr = flash->region + region; in __cvmx_flash_queury_cfi()
225 uint16_t blocks = __cvmx_flash_read_cmd16(chip_id, 0x2d + region*4); in __cvmx_flash_queury_cfi()
231 uint16_t size = __cvmx_flash_read_cmd16(chip_id, 0x2d + region*4 + 2); in __cvmx_flash_queury_cfi()
270 for (region=0; region<flash->num_regions; region++) in __cvmx_flash_queury_cfi()
273 region, in __cvmx_flash_queury_cfi()
274 flash->region[region].start_offset, in __cvmx_flash_queury_cfi()
275 flash->region[region].num_blocks, in __cvmx_flash_queury_cfi()
[all …]
HDcvmx-flash.h99 const cvmx_flash_region_t *cvmx_flash_get_region_info(int chip_id, int region);
109 int cvmx_flash_erase_block(int chip_id, int region, int block);
120 int cvmx_flash_write_block(int chip_id, int region, int block, const void *data);
/NextBSD/contrib/gcc/
HDexcept.c103 struct eh_region *region; member
526 struct eh_region *region = gen_eh_region (ERT_ALLOWED_EXCEPTIONS, outer); in gen_eh_region_allowed() local
527 region->u.allowed.type_list = allowed; in gen_eh_region_allowed()
532 return region; in gen_eh_region_allowed()
542 get_eh_region_number (struct eh_region *region) in get_eh_region_number() argument
544 return region->region_number; in get_eh_region_number()
548 get_eh_region_may_contain_throw (struct eh_region *region) in get_eh_region_may_contain_throw() argument
550 return region->may_contain_throw; in get_eh_region_may_contain_throw()
554 get_eh_region_tree_label (struct eh_region *region) in get_eh_region_tree_label() argument
556 return region->tree_label; in get_eh_region_tree_label()
[all …]
HDomp-low.c142 is_combined_parallel (struct omp_region *region) in is_combined_parallel() argument
144 return region->is_combined_parallel; in is_combined_parallel()
363 determine_parallel_type (struct omp_region *region) in determine_parallel_type() argument
368 if (region == NULL || region->inner == NULL in determine_parallel_type()
369 || region->exit == NULL || region->inner->exit == NULL) in determine_parallel_type()
373 if (region->type != OMP_PARALLEL in determine_parallel_type()
374 || (region->inner->type != OMP_FOR in determine_parallel_type()
375 && region->inner->type != OMP_SECTIONS)) in determine_parallel_type()
380 par_entry_bb = region->entry; in determine_parallel_type()
381 par_exit_bb = region->exit; in determine_parallel_type()
[all …]
/NextBSD/contrib/unbound/services/cache/
HDdns.c72 struct regional* region) in store_rrsets() argument
86 if(region) { in store_rrsets()
93 rep->ref[i].key, region, now); in store_rrsets()
110 struct reply_info* qrep, struct regional* region) in dns_cache_store_msg() argument
125 store_rrsets(env, rep, *env->now, leeway, pside, qrep, region); in dns_cache_store_msg()
174 addr_to_additional(struct ub_packed_rrset_key* rrset, struct regional* region, in addr_to_additional() argument
178 packed_rrset_copy_region(rrset, region, now))) { in addr_to_additional()
211 struct regional* region, struct delegpt* dp, time_t now, in find_add_addrs() argument
221 if(!delegpt_add_rrset_A(dp, region, akey, 0)) { in find_add_addrs()
226 addr_to_additional(akey, region, *msg, now); in find_add_addrs()
[all …]
HDdns.h87 struct regional* region, uint16_t flags);
110 struct reply_info* qrep, struct regional* region);
127 struct regional* region, struct dns_msg** msg, time_t timenow);
145 uint16_t flags, struct regional* region, struct regional* scratch);
156 struct regional* region, struct delegpt* dp);
170 uint16_t qclass, struct regional* region, size_t capacity);
181 int dns_msg_authadd(struct dns_msg* msg, struct regional* region,
/NextBSD/sys/dev/pms/RefTisa/sallsdk/spc/
HDmpi.c78 memoryMap->region[memoryMap->count].numElements = 1; in mpiRequirementsGet()
79 memoryMap->region[memoryMap->count].elementSize = sizeof(bit8) * config->mainConfig.eventLogSize; in mpiRequirementsGet()
80 memoryMap->region[memoryMap->count].totalLength = sizeof(bit8) * config->mainConfig.eventLogSize; in mpiRequirementsGet()
81 memoryMap->region[memoryMap->count].alignment = 32; in mpiRequirementsGet()
82 memoryMap->region[memoryMap->count].type = AGSA_DMA_MEM; in mpiRequirementsGet()
83 …SA_DBG2(("mpiRequirementsGet:eventLogSize region[%d] 0x%X\n",memoryMap->count,memoryMap->region[me… in mpiRequirementsGet()
86 …SA_DBG2(("mpiRequirementsGet:eventLogSize region[%d] 0x%X\n",memoryMap->count,memoryMap->region[me… in mpiRequirementsGet()
88 memoryMap->region[memoryMap->count].numElements = 1; in mpiRequirementsGet()
89 …memoryMap->region[memoryMap->count].elementSize = sizeof(bit8) * config->mainConfig.IOPeventLogSiz… in mpiRequirementsGet()
90 …memoryMap->region[memoryMap->count].totalLength = sizeof(bit8) * config->mainConfig.IOPeventLogSiz… in mpiRequirementsGet()
[all …]
/NextBSD/contrib/unbound/util/data/
HDmsgreply.c66 struct query_info* qinf, struct regional* region) in parse_create_qinfo() argument
69 if(region) in parse_create_qinfo()
70 qinf->qname = (uint8_t*)regional_alloc(region, in parse_create_qinfo()
84 construct_reply_info_base(struct regional* region, uint16_t flags, size_t qd, in construct_reply_info_base() argument
93 if(region) in construct_reply_info_base()
94 rep = (struct reply_info*)regional_alloc(region, s); in construct_reply_info_base()
110 if(region) in construct_reply_info_base()
115 if(!region) in construct_reply_info_base()
123 struct regional* region) in parse_create_repinfo() argument
125 *rep = construct_reply_info_base(region, msg->flags, msg->qdcount, 0, in parse_create_repinfo()
[all …]
HDmsgencode.c173 struct regional* region) in compress_tree_newnode() argument
176 regional_alloc(region, sizeof(struct compress_tree_node)); in compress_tree_newnode()
201 struct regional* region, struct compress_tree_node* closest, in compress_tree_store() argument
217 region))) { in compress_tree_store()
282 struct regional* region, struct compress_tree_node** tree, in compress_owner() argument
311 owner_pos, region, p, insertpt)) in compress_owner()
331 struct regional* region, struct compress_tree_node** tree) in compress_any_dname() argument
343 if(!compress_tree_store(dname, labs, pos, region, p, insertpt)) in compress_any_dname()
362 struct regional* region, struct compress_tree_node** tree, in compress_rdata() argument
377 if((r=compress_any_dname(rdata, pkt, labs, region, in compress_rdata()
[all …]
HDmsgreply.h211 construct_reply_info_base(struct regional* region, uint16_t flags, size_t qd,
244 struct regional* region, struct edns_data* edns);
263 struct reply_info** rep, struct regional* region);
334 struct alloc_cache* alloc, struct regional* region);
348 struct rrset_parse *pset, struct regional* region,
HDmsgparse.c75 struct regional* region) in new_rrset() argument
77 struct rrset_parse* p = regional_alloc(region, sizeof(*p)); in new_rrset()
336 moveover_rrsigs(sldns_buffer* pkt, struct regional* region, in moveover_rrsigs() argument
350 region, sizeof(struct rr_parse)); in moveover_rrsigs()
387 int hasother, sldns_pkt_section section, struct regional* region) in change_rrsig_rrset() argument
398 section, region); in change_rrsig_rrset()
407 if(!moveover_rrsigs(pkt, region, sigset, dataset, in change_rrsig_rrset()
462 sldns_pkt_section section, struct regional* region) in find_rrset() argument
547 region); in find_rrset()
745 struct msg_parse* msg, struct regional* region, in add_rr_to_rrset() argument
[all …]
/NextBSD/contrib/unbound/validator/
HDval_kentry.c111 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()
256 key_entry_setup(struct regional* region, in key_entry_setup() argument
260 *k = regional_alloc(region, sizeof(**k)); in key_entry_setup()
265 (*k)->name = regional_alloc_init(region, name, namelen); in key_entry_setup()
[all …]
HDval_kentry.h115 struct regional* region);
171 struct key_entry_key* key_entry_create_null(struct regional* region,
186 struct key_entry_key* key_entry_create_rrset(struct regional* region,
200 struct key_entry_key* key_entry_create_bad(struct regional* region,
211 struct regional* region);
/NextBSD/contrib/unbound/iterator/
HDiter_delegpt.c54 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()
76 if(!delegpt_add_ns(copy, region, ns->name, ns->lame)) in delegpt_copy()
85 if(!delegpt_add_addr(copy, region, &a->addr, a->addrlen, in delegpt_copy()
93 delegpt_set_name(struct delegpt* dp, struct regional* region, uint8_t* name) in delegpt_set_name() argument
97 dp->name = regional_alloc_init(region, name, dp->namelen); in delegpt_set_name()
102 delegpt_add_ns(struct delegpt* dp, struct regional* region, uint8_t* name, in delegpt_add_ns() argument
[all …]
HDiter_donotq.c58 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()
HDiter_priv.c60 priv->region = regional_create(); in priv_create()
61 if(!priv->region) { in priv_create()
73 regional_destroy(priv->region); in priv_delete()
94 n = (struct addr_tree_node*)regional_alloc(priv->region, in read_addrs()
126 nmr = (uint8_t*)regional_alloc_init(priv->region, nm, nm_len); in read_names()
132 n = (struct name_tree_node*)regional_alloc(priv->region, in read_names()
150 regional_free_all(priv->region); in priv_apply_cfg()
207 return sizeof(*priv) + regional_get_mem(priv->region); in priv_get_mem()
/NextBSD/contrib/compiler-rt/lib/sanitizer_common/
HDsanitizer_allocator.h348 RegionInfo *region = GetRegionInfo(class_id); in AllocateBatch() local
349 Batch *b = region->free_list.Pop(); in AllocateBatch()
351 b = PopulateFreeList(stat, c, class_id, region); in AllocateBatch()
352 region->n_allocated += b->count; in AllocateBatch()
357 RegionInfo *region = GetRegionInfo(class_id); in DeallocateBatch() local
359 region->free_list.Push(b); in DeallocateBatch()
360 region->n_freed += b->count; in DeallocateBatch()
380 RegionInfo *region = GetRegionInfo(class_id); in GetBlockBegin() local
381 if (region->mapped_user >= next_beg) in GetBlockBegin()
418 RegionInfo *region = GetRegionInfo(class_id); in PrintStats() local
[all …]
/NextBSD/contrib/gdb/gdb/
HDdcache.c250 struct mem_region *region; in dcache_write_line() local
265 region = lookup_mem_region(memaddr); in dcache_write_line()
266 if (memaddr + len < region->hi) in dcache_write_line()
269 reg_len = region->hi - memaddr; in dcache_write_line()
271 if (!region->attrib.cache || region->attrib.mode == MEM_RO) in dcache_write_line()
305 &region->attrib); in dcache_write_line()
331 struct mem_region *region; in dcache_read_line() local
347 region = lookup_mem_region(memaddr); in dcache_read_line()
348 if (memaddr + len < region->hi) in dcache_read_line()
351 reg_len = region->hi - memaddr; in dcache_read_line()
[all …]
/NextBSD/contrib/unbound/daemon/
HDcachedump.c222 copy_msg(struct regional* region, struct lruhash_entry* e, in copy_msg() argument
228 *d = (struct reply_info*)regional_alloc_init(region, e->data, in copy_msg()
237 *k = (struct query_info*)regional_alloc_init(region, in copy_msg()
241 (*k)->qname = regional_alloc_init(region, in copy_msg()
320 load_rr(SSL* ssl, sldns_buffer* buf, struct regional* region, in load_rr() argument
354 d->rr_data[i] = (uint8_t*)regional_alloc_init(region, in load_rr()
366 rk->rk.dname = regional_alloc_init(region, rr, dname_len); in load_rr()
440 struct regional* region = worker->scratchpad; in load_rrset() local
447 regional_free_all(region); in load_rrset()
449 rk = (struct ub_packed_rrset_key*)regional_alloc_zero(region, in load_rrset()
[all …]
HDacl_list.c56 acl->region = regional_create(); in acl_list_create()
57 if(!acl->region) { in acl_list_create()
69 regional_destroy(acl->region); in acl_list_delete()
79 struct acl_addr* node = regional_alloc(acl->region, in acl_list_insert()
144 regional_free_all(acl->region); in acl_list_apply_cfg()
179 return sizeof(*acl) + regional_get_mem(acl->region); in acl_list_get_mem()
/NextBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
HDArrayBoundCheckerV2.cpp69 const MemRegion *region) { in computeExtentBegin() argument
71 switch (region->getKind()) { in computeExtentBegin()
79 region = cast<SubRegion>(region)->getSuperRegion(); in computeExtentBegin()
260 const MemRegion *region = location.getAsRegion(); in computeOffset() local
263 while (region) { in computeOffset()
264 switch (region->getKind()) { in computeOffset()
266 if (const SubRegion *subReg = dyn_cast<SubRegion>(region)) { in computeOffset()
274 const ElementRegion *elemReg = cast<ElementRegion>(region); in computeOffset()
296 region = elemReg->getSuperRegion(); in computeOffset()
/NextBSD/contrib/unbound/dns64/
HDdns64.c395 if (!(qinfo.qname = regional_alloc(qstate->region, MAX_PTR_QNAME_IPV4))) in handle_ipv6_ptr()
417 struct regional* region) in repinfo_alloc_rrset_keys() argument
421 if(region) { in repinfo_alloc_rrset_keys()
423 regional_alloc(region, in repinfo_alloc_rrset_keys()
583 struct packed_rrset_data **dd_out, struct regional *region, in dns64_synth_aaaa_data() argument
597 if (!(dd = *dd_out = regional_alloc(region, in dns64_synth_aaaa_data()
647 dk->rk.dname = (uint8_t*)regional_alloc_init(region, in dns64_synth_aaaa_data()
683 log_assert(super->region); in dns64_adjust_a()
690 super->region, sizeof(struct dns_msg)); in dns64_adjust_a()
702 cp = construct_reply_info_base(super->region, rep->flags, rep->qdcount, in dns64_adjust_a()
[all …]
/NextBSD/release/picobsd/tinyware/msh/
HDsh1.c790 #define REGSIZE sizeof(struct region)
799 struct region { struct
800 struct region *next; argument
809 static struct region *areabot; /* bottom of area */ argument
810 static struct region *areatop; /* top of area */
811 static struct region *areanxt; /* starting point of scan */
818 areabot = (struct region *)sbrk(REGSIZE); in initarea()
830 register struct region *p, *q;
857 p = (struct region *)sbrk(i * REGSIZE);
858 if (p == (struct region *)-1)
[all …]
/NextBSD/contrib/ntp/lib/isc/include/isc/
HDsocket.h166 isc_region_t region; /*%< for single-buffer i/o */ member
282 isc_result_t (*sendto)(isc_socket_t *sock, isc_region_t *region,
289 isc_result_t (*recv)(isc_socket_t *sock, isc_region_t *region,
759 isc_socket_recv(isc_socket_t *sock, isc_region_t *region,
768 isc_socket_recv2(isc_socket_t *sock, isc_region_t *region,
847 isc_socket_send(isc_socket_t *sock, isc_region_t *region,
850 isc_socket_sendto(isc_socket_t *sock, isc_region_t *region,
861 isc_socket_sendto2(isc_socket_t *sock, isc_region_t *region,
/NextBSD/sys/boot/common/
HDmisc.c178 hexdump(caddr_t region, size_t len) in hexdump() argument
186 for (line = region; line < (region + len); line += 16) { in hexdump()
190 if ((line + x) < (region + len)) { in hexdump()
200 if ((line + x) < (region + len)) { in hexdump()

12345678910>>...12