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

123456

/freebsd-10.0-release/sys/contrib/octeon-sdk/
H A Dcvmx-flash.h93 * Return information about a flash chips region
96 * @param region Region to get info for
99 const cvmx_flash_region_t *cvmx_flash_get_region_info(int chip_id, int region);
105 * @param region Region to erase a block in
109 int cvmx_flash_erase_block(int chip_id, int region, int block);
115 * @param region Region to write a block in
120 int cvmx_flash_write_block(int chip_id, int region, int block, const void *data);
H A Dcvmx-flash.c84 cvmx_flash_region_t region[MAX_NUM_REGIONS]; member in struct:__anon6874
177 int region; local
218 for (region=0; region<flash->num_regions; region++)
220 cvmx_flash_region_t *rgn_ptr = flash->region + region;
223 /* The number of blocks in each region is a 16 bit little endian
224 endian field. It is encoded at 0x2d + region*4 as (blocks-1) */
225 uint16_t blocks = __cvmx_flash_read_cmd16(chip_id, 0x2d + region*
350 cvmx_flash_get_region_info(int chip_id, int region) argument
364 cvmx_flash_erase_block(int chip_id, int region, int block) argument
487 cvmx_flash_write_block(int chip_id, int region, int block, const void *data) argument
634 int region = 0; local
[all...]
/freebsd-10.0-release/contrib/unbound/services/cache/
H A Ddns.h67 * this is allocated in a region, and will be copied to malloc area
70 * this is allocated in a region, and will be copied to malloc area
80 * @param region: region to allocate better entries from cache into.
86 struct regional* region);
105 * @param region: to allocate into for qmsg.
109 struct reply_info* qrep, struct regional* region);
118 * @param region: where to allocate result delegation.
126 struct regional* region, struct dns_msg** msg, uint32_t timenow);
135 * @param region
[all...]
H A Ddns.c66 * @param region: for qrep allocs.
71 struct regional* region)
85 if(region) {
92 rep->ref[i].key, region, now);
109 struct reply_info* qrep, struct regional* region)
124 store_rrsets(env, rep, *env->now, leeway, pside, qrep, region);
173 addr_to_additional(struct ub_packed_rrset_key* rrset, struct regional* region, argument
177 packed_rrset_copy_region(rrset, region, now))) {
210 struct regional* region, struct delegpt* dp, uint32_t now,
220 if(!delegpt_add_rrset_A(dp, region, ake
69 store_rrsets(struct module_env* env, struct reply_info* rep, uint32_t now, uint32_t leeway, int pside, struct reply_info* qrep, struct regional* region) argument
107 dns_cache_store_msg(struct module_env* env, struct query_info* qinfo, hashvalue_t hash, struct reply_info* rep, uint32_t leeway, int pside, struct reply_info* qrep, struct regional* region) argument
209 find_add_addrs(struct module_env* env, uint16_t qclass, struct regional* region, struct delegpt* dp, uint32_t now, struct dns_msg** msg) argument
259 cache_fill_missing(struct module_env* env, uint16_t qclass, struct regional* region, struct delegpt* dp) argument
309 find_add_ds(struct module_env* env, struct regional* region, struct dns_msg* msg, struct delegpt* dp, uint32_t now) argument
342 dns_msg_create(uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass, struct regional* region, size_t capacity) argument
371 dns_msg_authadd(struct dns_msg* msg, struct regional* region, struct ub_packed_rrset_key* rrset, uint32_t now) argument
382 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, uint32_t now) argument
432 gen_dns_msg(struct regional* region, struct query_info* q, size_t num) argument
457 tomsg(struct module_env* env, struct query_info* q, struct reply_info* r, struct regional* region, uint32_t now, struct regional* scratch) argument
508 rrset_msg(struct ub_packed_rrset_key* rrset, struct regional* region, uint32_t now, struct query_info* q) argument
537 synth_dname_msg(struct ub_packed_rrset_key* rrset, struct regional* region, uint32_t now, struct query_info* q) argument
626 dns_cache_lookup(struct module_env* env, uint8_t* qname, size_t qnamelen, uint16_t qtype, uint16_t qclass, struct regional* region, struct regional* scratch) argument
741 dns_cache_store(struct module_env* env, struct query_info* msgqinf, struct reply_info* msgrep, int is_referral, uint32_t leeway, int pside, struct regional* region) argument
[all...]
/freebsd-10.0-release/sys/amd64/vmm/io/
H A Dvdev.c175 struct vdev_region *region, *found; local
184 SLIST_FOREACH(region, &region_head, entry) {
185 region_base = region->io->base;
186 region_end = region_base + region->io->len;
189 (dev && dev == region->dev)) {
190 found = region;
200 struct vdev_region *region; local
202 region = vdev_find_region(io, dev);
203 if (region) {
207 region
222 struct vdev_region *region; local
236 struct vdev_region *region; local
[all...]
/freebsd-10.0-release/contrib/unbound/validator/
H A Dval_kentry.h109 * Copy a key entry, to be region-allocated.
111 * @param region: where to allocate it
112 * @return newly region-allocated entry or NULL on a failure to allocate.
115 struct regional* region);
162 * Create a null entry, in the given region.
163 * @param region: where to allocate
171 struct key_entry_key* key_entry_create_null(struct regional* region,
176 * Create a key entry from an rrset, in the given region.
177 * @param region: where to allocate.
181 * @param rrset: data for key entry. This is copied to the region
[all...]
H A Dval_kentry.c110 key_entry_copy_toregion(struct key_entry_key* kkey, struct regional* region) argument
113 newk = regional_alloc_init(region, kkey, sizeof(*kkey));
116 newk->name = regional_alloc_init(region, kkey->name, kkey->namelen);
125 newd = regional_alloc_init(region, d, sizeof(*d));
130 newd->rrset_data = regional_alloc_init(region,
138 newd->reason = regional_strdup(region, d->reason);
143 newd->algo = (uint8_t*)regional_strdup(region,
253 /** setup key entry in region */
255 key_entry_setup(struct regional* region, argument
259 *k = regional_alloc(region, sizeo
277 key_entry_create_null(struct regional* region, uint8_t* name, size_t namelen, uint16_t dclass, uint32_t ttl, uint32_t now) argument
295 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, uint32_t now) argument
323 key_entry_create_bad(struct regional* region, uint8_t* name, size_t namelen, uint16_t dclass, uint32_t ttl, uint32_t now) argument
341 key_entry_get_rrset(struct key_entry_key* kkey, struct regional* region) argument
[all...]
H A Dval_kcache.h77 * @param kkey: key entry key, assumed malloced in a region, is copied
101 * @param region: a copy of the key_entry is allocated in this region.
103 * @return pointer to a newly allocated key_entry copy in the region, if
109 struct regional* region, uint32_t now);
H A Dval_utils.h187 * @param region: where to allocate key entry result.
205 struct key_entry_key* val_verify_new_DNSKEYs(struct regional* region,
214 * @param region: where to allocate key entry result.
233 struct key_entry_key* val_verify_new_DNSKEYs_with_ta(struct regional* region,
358 * @param region: the region where blacklist is allocated.
363 * list is not allocated in the same region as the blacklist.
365 void val_blacklist(struct sock_list** blacklist, struct regional* region,
394 * @param region: where to allocate result.
401 uint16_t c, struct regional* region, uint8_
[all...]
/freebsd-10.0-release/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_delegpt.c52 delegpt_create(struct regional* region) argument
55 region, sizeof(*dp));
62 struct delegpt* delegpt_copy(struct delegpt* dp, struct regional* region) argument
64 struct delegpt* copy = delegpt_create(region);
69 if(!delegpt_set_name(copy, region, dp->name))
74 if(!delegpt_add_ns(copy, region, ns->name, (int)ns->lame))
83 if(!delegpt_add_addr(copy, region, &a->addr, a->addrlen,
91 delegpt_set_name(struct delegpt* dp, struct regional* region, uint8_t* name) argument
95 dp->name = regional_alloc_init(region, name, dp->namelen);
100 delegpt_add_ns(struct delegpt* dp, struct regional* region, uint8_ argument
157 delegpt_add_target(struct delegpt* dp, struct regional* region, uint8_t* name, size_t namelen, struct sockaddr_storage* addr, socklen_t addrlen, int bogus, int lame) argument
178 delegpt_add_addr(struct delegpt* dp, struct regional* region, struct sockaddr_storage* addr, socklen_t addrlen, int bogus, int lame) argument
328 delegpt_from_message(struct dns_msg* msg, struct regional* region) argument
378 delegpt_rrset_add_ns(struct delegpt* dp, struct regional* region, struct ub_packed_rrset_key* ns_rrset, int lame) argument
400 delegpt_add_rrset_A(struct delegpt* dp, struct regional* region, struct ub_packed_rrset_key* ak, int lame) argument
424 delegpt_add_rrset_AAAA(struct delegpt* dp, struct regional* region, struct ub_packed_rrset_key* ak, int lame) argument
448 delegpt_add_rrset(struct delegpt* dp, struct regional* region, struct ub_packed_rrset_key* rrset, int lame) argument
[all...]
H A Diter_priv.h57 struct regional* region; member in struct:iter_priv
H A Diter_priv.c59 priv->region = regional_create();
60 if(!priv->region) {
72 regional_destroy(priv->region);
93 n = (struct addr_tree_node*)regional_alloc(priv->region,
127 nm = (uint8_t*)regional_alloc_init(priv->region, nm, nm_len);
133 n = (struct name_tree_node*)regional_alloc(priv->region,
151 regional_free_all(priv->region);
208 return sizeof(*priv) + regional_get_mem(priv->region);
/freebsd-10.0-release/tools/test/posixshm/
H A Dshm_test.c37 void *region; local
97 region = mmap((void *)0, psize, PROT_READ | PROT_WRITE, MAP_SHARED,
99 if (region == MAP_FAILED)
101 memset(region, '\377', psize);
121 for (cp = region; cp < (char *)region + psize; cp++) {
136 memset(region, '\151', psize - 2);
137 error = pwrite(desc, region, 2, psize - 2);
/freebsd-10.0-release/contrib/unbound/daemon/
H A Dacl_list.c56 acl->region = regional_create();
57 if(!acl->region) {
69 regional_destroy(acl->region);
79 struct acl_addr* node = regional_alloc(acl->region,
140 regional_free_all(acl->region);
175 return sizeof(*acl) + regional_get_mem(acl->region);
H A Dacl_list.h69 struct regional* region; member in struct:acl_list
/freebsd-10.0-release/contrib/gcc/
H A Dexcept.c98 /* A hash table of label to region number. */
103 struct eh_region *region; local
119 /* Describes one exception region. */
122 /* The immediately surrounding region. */
129 /* An identifier for this region. */
132 /* When a region is deleted, its parents inherit the REG_EH_REGION
136 /* Each region does exactly one thing. */
185 /* Entry point for this region's handler before landing pads are built. */
189 /* Entry point for this region's handler from the runtime eh library. */
192 /* Entry point for this region'
526 struct eh_region *region = gen_eh_region (ERT_ALLOWED_EXCEPTIONS, outer); local
542 get_eh_region_number(struct eh_region *region) argument
548 get_eh_region_may_contain_throw(struct eh_region *region) argument
554 get_eh_region_tree_label(struct eh_region *region) argument
560 set_eh_region_tree_label(struct eh_region *region, tree lab) argument
581 note_eh_region_may_contain_throw(struct eh_region *region) argument
764 struct eh_region *region; local
775 add_ehl_entry(rtx label, struct eh_region *region) argument
818 struct eh_region *region; local
848 struct eh_region *region; local
1414 struct eh_region *region; local
1534 struct eh_region *region; local
1611 struct eh_region *region; local
1676 struct eh_region *region; local
1787 struct eh_region *region; local
2177 remove_eh_handler(struct eh_region *region) argument
2272 struct eh_region *region; local
2331 struct eh_region *region; local
2385 add_reachable_handler(struct reachable_info *info, struct eh_region *lp_region, struct eh_region *region) argument
2405 reachable_next_level(struct eh_region *region, tree type_thrown, struct reachable_info *info) argument
2576 struct eh_region *region; local
2619 arh_to_landing_pad(struct eh_region *region, void *data) argument
2627 arh_to_label(struct eh_region *region, void *data) argument
2669 struct eh_region *region; local
2729 struct eh_region *region; local
3106 collect_one_action_chain(htab_t ar_hash, struct eh_region *region) argument
3264 struct eh_region *region; local
[all...]
H A Domp-low.c139 /* Return true if REGION is a combined parallel+workshare region. */
142 is_combined_parallel (struct omp_region *region) argument
144 return region->is_combined_parallel;
244 directive at PAR_ENTRY_BB as a combined parallel+workshare region.
246 When expanding a combined parallel+workshare region, the call to
267 When we outline the parallel region, the call to the child function
360 /* Discover whether REGION is a combined parallel+workshare region. */
363 determine_parallel_type (struct omp_region *region) argument
368 if (region == NULL || region
722 dump_omp_region(FILE *file, struct omp_region *region, int indent) argument
747 debug_omp_region(struct omp_region *region) argument
764 struct omp_region *region = xcalloc (1, sizeof (*region)); local
791 free_omp_region_1(struct omp_region *region) argument
2158 expand_parallel_call(struct omp_region *region, basic_block bb, tree entry_stmt, tree ws_args) argument
2361 remove_exit_barrier(struct omp_region *region) argument
2399 remove_exit_barriers(struct omp_region *region) argument
2419 expand_omp_parallel(struct omp_region *region) argument
2589 expand_omp_for_generic(struct omp_region *region, struct omp_for_data *fd, enum built_in_function start_fn, enum built_in_function next_fn) argument
2783 expand_omp_for_static_nochunk(struct omp_region *region, struct omp_for_data *fd) argument
2955 expand_omp_for_static_chunk(struct omp_region *region, struct omp_for_data *fd) argument
3127 expand_omp_for(struct omp_region *region) argument
3186 expand_omp_sections(struct omp_region *region) argument
3351 expand_omp_single(struct omp_region *region) argument
3388 expand_omp_synch(struct omp_region *region) argument
3421 expand_omp(struct omp_region *region) argument
3479 struct omp_region *region; local
[all...]
/freebsd-10.0-release/contrib/unbound/util/data/
H A Dmsgencode.h60 * @param region: where to allocate temp variables (for compression).
70 int cached, struct regional* region, uint16_t udpsize,
84 * @param region: to store temporary data in.
92 struct regional* region, uint16_t udpsize, int dnssec);
H A Dmsgreply.c63 struct query_info* qinf, struct regional* region)
66 if(region)
67 qinf->qname = (uint8_t*)regional_alloc(region,
81 construct_reply_info_base(struct regional* region, uint16_t flags, size_t qd, argument
89 if(region)
90 rep = (struct reply_info*)regional_alloc(region, s);
106 if(region)
111 if(!region)
119 struct regional* region)
121 *rep = construct_reply_info_base(region, ms
62 parse_create_qinfo(ldns_buffer* pkt, struct msg_parse* msg, struct query_info* qinf, struct regional* region) argument
118 parse_create_repinfo(struct msg_parse* msg, struct reply_info** rep, struct regional* region) argument
131 repinfo_alloc_rrset_keys(struct reply_info* rep, struct alloc_cache* alloc, struct regional* region) argument
275 parse_create_rrset(ldns_buffer* pkt, struct rrset_parse* pset, struct packed_rrset_data** data, struct regional* region) argument
335 parse_copy_decompress_rrset(ldns_buffer* pkt, struct msg_parse* msg, struct rrset_parse *pset, struct regional* region, struct ub_packed_rrset_key* pk) argument
373 parse_copy_decompress(ldns_buffer* pkt, struct msg_parse* msg, struct reply_info* rep, struct regional* region) argument
400 parse_create_msg(ldns_buffer* pkt, struct msg_parse* msg, struct alloc_cache* alloc, struct query_info* qinf, struct reply_info** rep, struct regional* region) argument
416 reply_info_parse(ldns_buffer* pkt, struct alloc_cache* alloc, struct query_info* qinf, struct reply_info** rep, struct regional* region, struct edns_data* edns) argument
609 repinfo_copy_rrsets(struct reply_info* dest, struct reply_info* from, struct regional* region) argument
644 reply_info_copy(struct reply_info* rep, struct alloc_cache* alloc, struct regional* region) argument
768 struct regional* region = regional_create(); local
[all...]
H A Dmsgreply.h99 * from the region allocation to the malloc allocation.
215 * @param region: where to store temporary data (for parsing).
223 struct regional* region, struct edns_data* edns);
228 * @param msg: parsed message in scratch region.
230 * Not used if region!=NULL, it can be NULL in that case.
234 * @param region: if this parameter is NULL then malloc and the alloc is used.
235 * otherwise, everything is allocated in this region.
236 * In a region, no special rrset key structures are needed (not shared),
242 struct reply_info** rep, struct regional* region);
302 * @param rep: what to copy, probably inside region, n
[all...]
/freebsd-10.0-release/contrib/llvm/lib/Target/MBlaze/Disassembler/
H A DMBlazeDisassembler.h41 const MemoryObject &region,
/freebsd-10.0-release/contrib/gdb/gdb/
H A Ddcache.c33 memory region attribute in those cases.
81 /* NOTE: Interaction of dcache and memory region attributes
83 As there is no requirement that memory region attributes be aligned
85 dcache_write_line() must break up the page by memory region. If a
93 region defined for the .text segment and a rw/non-cacheable memory
94 region defined for the .data segment. */
143 the code that enables, disables, and deletes memory region all
250 struct mem_region *region; local
265 region = lookup_mem_region(memaddr);
266 if (memaddr + len < region
331 struct mem_region *region; local
[all...]
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DArrayBoundCheckerV2.cpp69 const MemRegion *region) {
71 switch (region->getKind()) {
79 region = cast<SubRegion>(region)->getSuperRegion();
89 // some new logic here that reasons directly about memory region extents.
94 // memory access is within the extent of the base region. Since we
95 // have some flexibility in defining the base region, we can achieve
109 // before the first valid offset in the memory region.
264 /// Compute a raw byte offset from a base region. Used for array bounds
270 const MemRegion *region local
68 computeExtentBegin(SValBuilder &svalBuilder, const MemRegion *region) argument
[all...]

Completed in 150 milliseconds

123456