/freebsd-10.1-release/sys/contrib/octeon-sdk/ |
H A D | cvmx-zone.c | 67 cvmx_zone_t zone; local 79 zone = (cvmx_zone_t) ((char *)mem_ptr + elem_size * num_elem); 80 zone->elem_size = elem_size; 81 zone->num_elem = num_elem; 82 zone->name = name; 83 zone->align = 0; // not used 84 zone->baseptr = NULL; 85 zone->freelist = NULL; 86 zone->lock.value = CVMX_SPINLOCK_UNLOCKED_VAL; 88 zone 103 cvmx_zone_t zone; local 138 cvmx_zone_alloc(cvmx_zone_t zone, uint32_t flags) argument 160 cvmx_zone_free(cvmx_zone_t zone, void *ptr) argument [all...] |
H A D | cvmx-malloc.h | 50 * modified version of ptmalloc2 (used in glibc), and a zone allocator for allocating fixed 156 static inline uint32_t cvmx_zone_size(cvmx_zone_t zone) argument 158 return(zone->elem_size); 160 static inline char *cvmx_zone_name(cvmx_zone_t zone) argument 162 return(zone->name); 168 * Creates a memory zone for efficient allocation/deallocation of 171 * @param name name of zone. 172 * @param elem_size size of blocks that will be requested from zone 174 * @param mem_ptr pointer to memory to allocate zone from 177 * @param flags flags for zone [all...] |
/freebsd-10.1-release/cddl/compat/opensolaris/include/ |
H A D | zone.h | 6 #include <sys/zone.h>
|
/freebsd-10.1-release/sys/dev/drm2/ttm/ |
H A D | ttm_memory.c | 51 static void ttm_mem_zone_kobj_release(struct ttm_mem_zone *zone) argument 55 zone->name, (unsigned long long)zone->used_mem >> 10); 56 free(zone, M_TTM_ZONE); 61 static ssize_t ttm_mem_zone_show(struct ttm_mem_zone *zone; 67 mtx_lock(&zone->glob->lock); 69 val = zone->zone_mem; 71 val = zone->emer_mem; 73 val = zone->max_mem; 75 val = zone 134 struct ttm_mem_zone *zone; local 196 struct ttm_mem_zone *zone; local 216 struct ttm_mem_zone *zone; local 254 struct ttm_mem_zone *zone; local 288 struct ttm_mem_zone *zone; local 310 struct ttm_mem_zone *zone; local 333 struct ttm_mem_zone *zone; local 358 struct ttm_mem_zone *zone; local 431 struct ttm_mem_zone *zone = NULL; local 446 struct ttm_mem_zone *zone = NULL; local [all...] |
/freebsd-10.1-release/lib/libc/gen/ |
H A D | timezone.c | 53 static char czone[TZ_MAX_CHARS]; /* space for zone name */ 56 timezone(int zone, int dst) argument 73 return(_tztab(zone,dst)); /* default: table or created zone */ 76 static struct zone { struct 101 * check static tables or create a new zone name; broken out so that 102 * we can make a guess as to what the zone is if the standard tables 107 _tztab(int zone, int dst) argument 109 struct zone *zp; 113 if (zp->offset == zone) { [all...] |
/freebsd-10.1-release/sys/powerpc/powermac/ |
H A D | powermac_thermal.h | 38 int zone; member in struct:pmac_fan 48 int zone; member in struct:pmac_therm
|
/freebsd-10.1-release/usr.sbin/pc-sysinstall/backend-query/ |
H A D | list-tzones.sh | 29 egrep -v '^#' /usr/share/zoneinfo/zone.tab |\
|
/freebsd-10.1-release/contrib/ntp/lib/isc/ |
H A D | netscope.c | 39 isc_uint32_t zone; local 59 zone = (isc_uint32_t)ifid; 67 zone = (isc_uint32_t)(llz & 0xffffffffUL); 68 if (zone != llz) 74 *zoneid = zone;
|
/freebsd-10.1-release/contrib/gcc/ |
H A D | ggc-zone.c | 1 /* "Bag-of-pages" zone garbage collector for the GNU compiler. 93 If we track inter-zone pointers, we can mark single zones at a 96 If we have a zone where we guarantee no inter-zone pointers, we 97 could mark that zone separately. 99 The garbage zone should not be marked, and we should return 1 in 100 ggc_set_mark for any object in the garbage zone, which cuts off 111 allocated or free). Free chunks are on one of the zone's free 120 been recycled by then. The free page list is currently per-zone. */ 243 /* The zone tha 244 struct alloc_zone *zone; member in struct:page_entry 704 struct alloc_zone *zone; local 746 struct alloc_zone *zone; local 768 alloc_anon(char *pref ATTRIBUTE_UNUSED, size_t size, struct alloc_zone *zone) argument 801 alloc_small_page(struct alloc_zone *zone) argument 857 alloc_large_page(size_t size, struct alloc_zone *zone) argument 935 release_pages(struct alloc_zone *zone) argument 972 free_chunk(char *ptr, size_t size, struct alloc_zone *zone) argument 1597 sweep_pages(struct alloc_zone *zone) argument 1772 ggc_collect_1(struct alloc_zone *zone, bool need_marking) argument 1834 calculate_average_page_survival(struct alloc_zone *zone) argument 1859 struct alloc_zone *zone; local 1903 struct alloc_zone *zone; local 1964 struct alloc_zone *zone; local 2320 struct alloc_zone *zone; local [all...] |
/freebsd-10.1-release/sys/vm/ |
H A D | uma.h | 48 /* Opaque type used as a handle to the zone */ 103 * The initializer is called when the memory is cached in the uma zone. 114 * zone's cache. 121 * This routine is called when memory leaves a zone and is returned to the 127 * Import new memory into a cache zone. 132 * Free memory from a cache zone. 159 * Create a new uma zone 162 * name The text name of the zone for debugging and stats. This memory 163 * should not be freed until the zone has been deallocated. 172 * flags A set of parameters that control the behavior of the zone 334 uma_zalloc(uma_zone_t zone, int flags) argument 362 uma_zfree(uma_zone_t zone, void *item) argument [all...] |
H A D | uma_core.c | 39 * The basic ideas stem from similar slab/zone based allocators whose algorithms 101 * This is the zone and keg from which all zones are spawned. The idea is that 102 * even the zone & keg heads are allocated from the allocator, so we use the 111 /* This is the zone from which all of uma_slab_t's are allocated. */ 116 * The initial hash tables come out of this zone so they can be allocated 167 * This structure is passed as the zone ctor arg so that I don't have to create 186 uma_zone_t zone; member in struct:uma_kctor_args 237 static void bucket_cache_drain(uma_zone_t zone); 246 static void zone_timeout(uma_zone_t zone); 256 static uma_bucket_t bucket_alloc(uma_zone_t zone, voi 352 bucket_alloc(uma_zone_t zone, void *udata, int flags) argument 400 bucket_free(uma_zone_t zone, uma_bucket_t bucket, void *udata) argument 422 zone_log_warning(uma_zone_t zone) argument 434 zone_foreach_keg(uma_zone_t zone, void (*kegfn)(uma_keg_t)) argument 512 zone_timeout(uma_zone_t zone) argument 634 bucket_drain(uma_zone_t zone, uma_bucket_t bucket) argument 662 cache_drain(uma_zone_t zone) argument 695 cache_shrink(uma_zone_t zone) argument 707 cache_drain_safe_cpu(uma_zone_t zone) argument 751 cache_drain_safe(uma_zone_t zone) argument 782 bucket_cache_drain(uma_zone_t zone) argument 888 zone_drain_wait(uma_zone_t zone, int waitok) argument 922 zone_drain(uma_zone_t zone) argument 939 keg_alloc_slab(uma_keg_t keg, uma_zone_t zone, int wait) argument 1041 startup_alloc(uma_zone_t zone, int bytes, uint8_t *pflag, int wait) argument 1101 page_alloc(uma_zone_t zone, int bytes, uint8_t *pflag, int wait) argument 1123 noobj_alloc(uma_zone_t zone, int bytes, uint8_t *flags, int wait) argument 1409 uma_zone_t zone; local 1562 uma_zone_t zone = mem; local 1715 uma_zone_t zone; local 1770 uma_zone_t zone; local 1905 uma_kcreate(uma_zone_t zone, size_t size, uma_init uminit, uma_fini fini, int align, uint32_t flags) argument 2020 uma_zsecond_add(uma_zone_t zone, uma_zone_t master) argument 2087 uma_zdestroy(uma_zone_t zone) argument 2095 uma_zalloc_arg(uma_zone_t zone, void *udata, int flags) argument 2299 keg_fetch_slab(uma_keg_t keg, uma_zone_t zone, int flags) argument 2373 zone_fetch_slab(uma_zone_t zone, uma_keg_t keg, int flags) argument 2400 zone_fetch_slab_multi(uma_zone_t zone, uma_keg_t last, int rflags) argument 2498 zone_import(uma_zone_t zone, void **bucket, int max, int flags) argument 2527 zone_alloc_bucket(uma_zone_t zone, void *udata, int flags) argument 2589 zone_alloc_item(uma_zone_t zone, void *udata, int flags) argument 2635 uma_zfree_arg(uma_zone_t zone, void *item, void *udata) argument 2828 zone_release(uma_zone_t zone, void **bucket, int cnt) argument 2895 zone_free_item(uma_zone_t zone, void *item, void *udata, enum zfreeskip skip) argument 2918 uma_zone_set_max(uma_zone_t zone, int nitems) argument 2937 uma_zone_get_max(uma_zone_t zone) argument 2954 uma_zone_set_warning(uma_zone_t zone, const char *warning) argument 2964 uma_zone_get_cur(uma_zone_t zone) argument 2987 uma_zone_set_init(uma_zone_t zone, uma_init uminit) argument 3002 uma_zone_set_fini(uma_zone_t zone, uma_fini fini) argument 3017 uma_zone_set_zinit(uma_zone_t zone, uma_init zinit) argument 3029 uma_zone_set_zfini(uma_zone_t zone, uma_fini zfini) argument 3042 uma_zone_set_freef(uma_zone_t zone, uma_free freef) argument 3056 uma_zone_set_allocf(uma_zone_t zone, uma_alloc allocf) argument 3068 uma_zone_reserve(uma_zone_t zone, int items) argument 3084 uma_zone_reserve_kva(uma_zone_t zone, int count) argument 3125 uma_prealloc(uma_zone_t zone, int items) argument 3151 uma_find_refcnt(uma_zone_t zone, void *item) argument 3194 uma_zone_exhausted(uma_zone_t zone) argument 3205 uma_zone_exhausted_nolock(uma_zone_t zone) argument 3242 uma_zero_item(void *item, uma_zone_t zone) argument 3298 uma_print_zone(uma_zone_t zone) argument 3483 uma_zone_t zone = *(uma_zone_t *)arg1; local 3502 uma_zone_t zone = *(uma_zone_t *)arg1; local [all...] |
H A D | uma_dbg.c | 197 uma_dbg_getslab(uma_zone_t zone, void *item) argument 204 if (zone->uz_flags & UMA_ZONE_VTOSLAB) { 209 * zone is unlocked because the item's allocation state 212 ZONE_LOCK(zone); 213 keg = LIST_FIRST(&zone->uz_kegs)->kl_keg; 218 ZONE_UNLOCK(zone); 229 uma_dbg_alloc(uma_zone_t zone, uma_slab_t slab, void *item) argument 234 if (zone_first_keg(zone) == NULL) 237 slab = uma_dbg_getslab(zone, item); 239 panic("uma: item %p did not belong to zone 259 uma_dbg_free(uma_zone_t zone, uma_slab_t slab, void *item) argument [all...] |
H A D | uma_dbg.h | 52 void uma_dbg_free(uma_zone_t zone, uma_slab_t slab, void *item); 53 void uma_dbg_alloc(uma_zone_t zone, uma_slab_t slab, void *item);
|
/freebsd-10.1-release/contrib/unbound/validator/ |
H A D | val_neg.c | 191 * Delete a zone element from the negative cache. 192 * May delete other zone elements to keep tree coherent, or 195 * @param z: zone element to delete. 231 z = el->zone; 258 /* check if the zone is now unused */ 297 * @param zone: negative zone 303 static struct val_neg_data* neg_find_data(struct val_neg_zone* zone, argument 314 rbtree_search(&zone->tree, lookfor.node.key); 344 * Calculate space needed for zone an 409 neg_closest_data_parent( struct val_neg_zone* zone, uint8_t* nm, size_t nm_len, int labs) argument 451 struct val_neg_zone* zone = local 487 struct val_neg_zone* zone, *prev = NULL, *first = NULL; local 517 val_neg_zone_take_inuse(struct val_neg_zone* zone) argument 532 struct val_neg_zone* zone; local 672 wipeout(struct val_neg_cache* neg, struct val_neg_zone* zone, struct val_neg_data* el, struct ub_packed_rrset_key* nsec) argument 747 neg_insert_data(struct val_neg_cache* neg, struct val_neg_zone* zone, struct ub_packed_rrset_key* nsec) argument 845 struct val_neg_zone* zone; local 901 neg_closest_data(struct val_neg_zone* zone, uint8_t* qname, size_t len, int labs, struct val_neg_data** data) argument 925 struct val_neg_zone* zone; local 1056 struct val_neg_zone* zone; local 1178 neg_find_nsec3_ce(struct val_neg_zone* zone, uint8_t* qname, size_t qname_len, int qlabs, sldns_buffer* buf, uint8_t* hashnc, size_t* nclen) argument 1214 neg_params_ok(struct val_neg_zone* zone, struct ub_packed_rrset_key* rrset) argument 1228 neg_nsec3_getnc(struct val_neg_zone* zone, uint8_t* hashnc, size_t nclen, struct rrset_cache* rrset_cache, struct regional* region, time_t now, uint8_t* b32, size_t maxb32) argument 1261 neg_nsec3_proof_ds(struct val_neg_zone* zone, uint8_t* qname, size_t qname_len, int qlabs, sldns_buffer* buf, struct rrset_cache* rrset_cache, struct regional* region, time_t now, uint8_t* topname) argument 1361 add_soa(struct rrset_cache* rrset_cache, time_t now, struct regional* region, struct dns_msg* msg, struct val_neg_zone* zone) argument 1400 struct val_neg_zone* zone; local [all...] |
/freebsd-10.1-release/usr.sbin/pkg/ |
H A D | dns_utils.h | 44 dns_getsrvinfo(const char *zone);
|
/freebsd-10.1-release/contrib/ldns/ |
H A D | dnssec_zone.c | 2 * special zone file structures and functions for better dnssec handling 508 ldns_dnssec_zone_find_rrset(ldns_dnssec_zone *zone, argument 514 if (!zone || !dname) { 518 node = ldns_rbtree_search(zone->names, dname); 571 ldns_dnssec_zone *zone = LDNS_MALLOC(ldns_dnssec_zone); local 572 if(!zone) return NULL; 573 zone->soa = NULL; 574 zone->names = NULL; 575 zone->hashed_names = NULL; 576 zone 617 ldns_zone* zone = NULL; local 749 ldns_dnssec_zone_free(ldns_dnssec_zone *zone) argument 764 ldns_dnssec_zone_deep_free(ldns_dnssec_zone *zone) argument 795 ldns_dnssec_zone_hashed_names_from_nsec3( ldns_dnssec_zone* zone, ldns_rr* nsec3rr) argument 829 ldns_dnssec_name_make_hashed_name(ldns_dnssec_zone *zone, ldns_dnssec_name* name, ldns_rr* nsec3rr) argument 861 ldns_dnssec_zone_find_nsec3_original(ldns_dnssec_zone *zone, ldns_rr *rr) argument 880 ldns_dnssec_zone_add_rr(ldns_dnssec_zone *zone, ldns_rr *rr) argument 959 ldns_dnssec_zone_print_fmt(FILE *out, const ldns_output_format *fmt, ldns_dnssec_zone *zone) argument 987 ldns_dnssec_zone_print(FILE *out, ldns_dnssec_zone *zone) argument 993 ldns_dnssec_zone_add_empty_nonterminals(ldns_dnssec_zone *zone) argument 1095 ldns_dnssec_zone_is_nsec3_optout(ldns_dnssec_zone* zone) argument [all...] |
H A D | dnssec_sign.c | 565 * Marks the names in the zone that are occluded. Those names will be skipped 574 * \param[in] zone the zone in which to mark the names 579 ldns_dnssec_zone_mark_and_get_glue(ldns_dnssec_zone *zone, argument 585 ldns_rdf *cut = NULL; /* keeps track of zone cuts */ 592 if (!zone || !zone->names) { 595 for (node = ldns_rbtree_first(zone->names); 602 /* The previous node was a zone cut, or a subdomain 603 * below a zone cu 668 ldns_dnssec_zone_mark_glue(ldns_dnssec_zone *zone) argument 700 ldns_dnssec_zone_create_nsecs(ldns_dnssec_zone *zone, ldns_rr_list *new_rrs) argument 781 ldns_dnssec_zone_create_nsec3s_mkmap(ldns_dnssec_zone *zone, ldns_rr_list *new_rrs, uint8_t algorithm, uint8_t flags, uint16_t iterations, uint8_t salt_length, uint8_t *salt, ldns_rbtree_t **map) argument 904 ldns_dnssec_zone_create_nsec3s(ldns_dnssec_zone *zone, ldns_rr_list *new_rrs, uint8_t algorithm, uint8_t flags, uint16_t iterations, uint8_t salt_length, uint8_t *salt) argument 1010 ldns_dnssec_zone_create_rrsigs(ldns_dnssec_zone *zone, ldns_rr_list *new_rrs, ldns_key_list *key_list, int (*func)(ldns_rr *, void*), void *arg) argument 1201 ldns_dnssec_zone_sign(ldns_dnssec_zone *zone, ldns_rr_list *new_rrs, ldns_key_list *key_list, int (*func)(ldns_rr *, void *), void *arg) argument 1211 ldns_dnssec_zone_sign_flg(ldns_dnssec_zone *zone, ldns_rr_list *new_rrs, ldns_key_list *key_list, int (*func)(ldns_rr *, void *), void *arg, int flags) argument 1249 ldns_dnssec_zone_sign_nsec3(ldns_dnssec_zone *zone, ldns_rr_list *new_rrs, ldns_key_list *key_list, int (*func)(ldns_rr *, void *), void *arg, uint8_t algorithm, uint8_t flags, uint16_t iterations, uint8_t salt_length, uint8_t *salt) argument 1266 ldns_dnssec_zone_sign_nsec3_flg_mkmap(ldns_dnssec_zone *zone, ldns_rr_list *new_rrs, ldns_key_list *key_list, int (*func)(ldns_rr *, void *), void *arg, uint8_t algorithm, uint8_t flags, uint16_t iterations, uint8_t salt_length, uint8_t *salt, int signflags, ldns_rbtree_t **map) argument 1351 ldns_dnssec_zone_sign_nsec3_flg(ldns_dnssec_zone *zone, ldns_rr_list *new_rrs, ldns_key_list *key_list, int (*func)(ldns_rr *, void *), void *arg, uint8_t algorithm, uint8_t flags, uint16_t iterations, uint8_t salt_length, uint8_t *salt, int signflags) argument 1369 ldns_zone_sign(const ldns_zone *zone, ldns_key_list *key_list) argument 1410 ldns_zone_sign_nsec3(ldns_zone *zone, ldns_key_list *key_list, uint8_t algorithm, uint8_t flags, uint16_t iterations, uint8_t salt_length, uint8_t *salt) argument [all...] |
/freebsd-10.1-release/contrib/ldns/ldns/ |
H A D | dnssec_sign.h | 86 * Marks the names in the zone that are occluded. Those names will be skipped 95 * \param[in] zone the zone in which to mark the names 101 ldns_dnssec_zone *zone, ldns_rr_list *glue_list); 104 * Marks the names in the zone that are occluded. Those names will be skipped 110 * \param[in] zone the zone in which to mark the names 114 ldns_dnssec_zone_mark_glue(ldns_dnssec_zone *zone); 129 * \param[in] zone the zone t [all...] |
H A D | dnssec_zone.h | 2 * special zone file structures and functions for better dnssec handling 4 * A zone contains a SOA dnssec_zone_rrset, and an AVL tree of 'normal' 83 * pointer to store the hashed name (only used when in an NSEC3 zone 89 * Structure containing a dnssec zone 279 * The ldns_dnssec_zone_mark_glue() function has to be called on a zone before 332 * Find the RRset with the given name and type in the zone 334 * \param[in] zone the zone structure to find the RRset in 339 ldns_dnssec_rrsets *ldns_dnssec_zone_find_rrset(ldns_dnssec_zone *zone, 370 * Create a new dnssec zone fro [all...] |
/freebsd-10.1-release/gnu/usr.bin/rcs/lib/ |
H A D | rcstime.c | 36 static int use_zone_offset; /* if zero, use UTC without zone indication */ 104 /* Set the time zone for date2str output. */ 110 long zone; local 111 char const *zonetail = parzone(s, &zone); 113 error("%s: not a known time zone", s); 115 zone_offset = zone; 144 long zone; local 154 zone = zone_offset; 155 if (zone == TM_LOCAL_ZONE) { 159 zone [all...] |
H A D | partime.h | 61 long zone; member in struct:partime
|
/freebsd-10.1-release/lib/libz/test/ |
H A D | infcover.c | 75 struct mem_zone *zone = mem; local 79 if (zone == NULL || (zone->limit && zone->total + len > zone->limit)) 99 item->next = zone->first; 100 zone->first = item; 103 zone->total += item->size; 104 if (zone->total > zone 115 struct mem_zone *zone = mem; local 160 struct mem_zone *zone; local 178 struct mem_zone *zone = strm->opaque; local 186 struct mem_zone *zone = strm->opaque; local 194 struct mem_zone *zone = strm->opaque; local 204 struct mem_zone *zone = strm->opaque; local [all...] |
/freebsd-10.1-release/cddl/compat/opensolaris/misc/ |
H A D | zone.c | 33 #include <sys/zone.h>
|
/freebsd-10.1-release/sys/cddl/contrib/opensolaris/uts/common/sys/ |
H A D | cred.h | 133 * Private interface for setting zone association of credential. 135 struct zone; 136 extern void crsetzone(cred_t *, struct zone *); 137 extern struct zone *crgetzone(const cred_t *); 170 extern boolean_t valid_ephemeral_uid(struct zone *, uid_t); 171 extern boolean_t valid_ephemeral_gid(struct zone *, gid_t); 173 extern int eph_uid_alloc(struct zone *, int, uid_t *, int); 174 extern int eph_gid_alloc(struct zone *, int, gid_t *, int);
|
/freebsd-10.1-release/crypto/openssl/crypto/x509v3/ |
H A D | v3_sxnet.c | 93 ASN1_SIMPLE(SXNETID, zone, ASN1_INTEGER), 117 tmp = i2s_ASN1_INTEGER(NULL, id->zone); 151 /* Add an id given the zone as an ASCII number */ 153 int SXNET_add_id_asc(SXNET **psx, char *zone, char *user, int userlen) 156 if (!(izone = s2i_ASN1_INTEGER(NULL, zone))) { 163 /* Add an id given the zone as an unsigned long */ 179 * Add an id given the zone as an ASN1_INTEGER. Note this version uses the 183 int SXNET_add_id_INTEGER(SXNET **psx, ASN1_INTEGER *zone, char *user, 188 if (!psx || !zone || !user) { 207 if (SXNET_get_id_INTEGER(sx, zone)) { [all...] |