/freebsd-10.0-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.0-release/cddl/compat/opensolaris/include/ |
H A D | zone.h | 6 #include <sys/zone.h>
|
/freebsd-10.0-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.0-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.0-release/sys/vm/ |
H A D | uma_core.c | 39 * The basic ideas stem from similar slab/zone based allocators whose algorithms 100 * This is the zone and keg from which all zones are spawned. The idea is that 101 * even the zone & keg heads are allocated from the allocator, so we use the 110 /* This is the zone from which all of uma_slab_t's are allocated. */ 115 * The initial hash tables come out of this zone so they can be allocated 165 * This structure is passed as the zone ctor arg so that I don't have to create 184 uma_zone_t zone; member in struct:uma_kctor_args 232 static void bucket_cache_drain(uma_zone_t zone); 241 static void zone_timeout(uma_zone_t zone); 251 static uma_bucket_t bucket_alloc(uma_zone_t zone, voi 346 bucket_alloc(uma_zone_t zone, void *udata, int flags) argument 391 bucket_free(uma_zone_t zone, uma_bucket_t bucket, void *udata) argument 413 zone_log_warning(uma_zone_t zone) argument 425 zone_foreach_keg(uma_zone_t zone, void (*kegfn)(uma_keg_t)) argument 503 zone_timeout(uma_zone_t zone) argument 625 bucket_drain(uma_zone_t zone, uma_bucket_t bucket) argument 653 cache_drain(uma_zone_t zone) argument 689 bucket_cache_drain(uma_zone_t zone) argument 788 zone_drain_wait(uma_zone_t zone, int waitok) argument 822 zone_drain(uma_zone_t zone) argument 839 keg_alloc_slab(uma_keg_t keg, uma_zone_t zone, int wait) argument 941 startup_alloc(uma_zone_t zone, int bytes, uint8_t *pflag, int wait) argument 1001 page_alloc(uma_zone_t zone, int bytes, uint8_t *pflag, int wait) argument 1023 noobj_alloc(uma_zone_t zone, int bytes, uint8_t *flags, int wait) argument 1295 uma_zone_t zone; local 1448 uma_zone_t zone = mem; local 1596 uma_zone_t zone; local 1651 uma_zone_t zone; local 1786 uma_kcreate(uma_zone_t zone, size_t size, uma_init uminit, uma_fini fini, int align, uint32_t flags) argument 1901 uma_zsecond_add(uma_zone_t zone, uma_zone_t master) argument 1968 uma_zdestroy(uma_zone_t zone) argument 1976 uma_zalloc_arg(uma_zone_t zone, void *udata, int flags) argument 2180 keg_fetch_slab(uma_keg_t keg, uma_zone_t zone, int flags) argument 2254 zone_fetch_slab(uma_zone_t zone, uma_keg_t keg, int flags) argument 2281 zone_fetch_slab_multi(uma_zone_t zone, uma_keg_t last, int rflags) argument 2379 zone_import(uma_zone_t zone, void **bucket, int max, int flags) argument 2408 zone_alloc_bucket(uma_zone_t zone, void *udata, int flags) argument 2472 zone_alloc_item(uma_zone_t zone, void *udata, int flags) argument 2518 uma_zfree_arg(uma_zone_t zone, void *item, void *udata) argument 2700 zone_release(uma_zone_t zone, void **bucket, int cnt) argument 2767 zone_free_item(uma_zone_t zone, void *item, void *udata, enum zfreeskip skip) argument 2790 uma_zone_set_max(uma_zone_t zone, int nitems) argument 2809 uma_zone_get_max(uma_zone_t zone) argument 2826 uma_zone_set_warning(uma_zone_t zone, const char *warning) argument 2836 uma_zone_get_cur(uma_zone_t zone) argument 2859 uma_zone_set_init(uma_zone_t zone, uma_init uminit) argument 2874 uma_zone_set_fini(uma_zone_t zone, uma_fini fini) argument 2889 uma_zone_set_zinit(uma_zone_t zone, uma_init zinit) argument 2901 uma_zone_set_zfini(uma_zone_t zone, uma_fini zfini) argument 2914 uma_zone_set_freef(uma_zone_t zone, uma_free freef) argument 2928 uma_zone_set_allocf(uma_zone_t zone, uma_alloc allocf) argument 2940 uma_zone_reserve(uma_zone_t zone, int items) argument 2956 uma_zone_reserve_kva(uma_zone_t zone, int count) argument 2997 uma_prealloc(uma_zone_t zone, int items) argument 3023 uma_find_refcnt(uma_zone_t zone, void *item) argument 3062 uma_zone_exhausted(uma_zone_t zone) argument 3073 uma_zone_exhausted_nolock(uma_zone_t zone) argument 3155 uma_print_zone(uma_zone_t zone) argument [all...] |
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_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.0-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.0-release/usr.sbin/pc-sysinstall/backend-query/ |
H A D | list-tzones.sh | 29 egrep -v '^#' /usr/share/zoneinfo/zone.tab |\
|
/freebsd-10.0-release/contrib/ntp/libisc/ |
H A D | netscope.c | 37 isc_uint32_t zone; local 57 zone = (isc_uint32_t)ifid; 65 zone = (isc_uint32_t)(llz & 0xffffffffUL); 66 if (zone != llz) 72 *zoneid = zone;
|
/freebsd-10.0-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.0-release/contrib/unbound/validator/ |
H A D | val_neg.c | 189 * Delete a zone element from the negative cache. 190 * May delete other zone elements to keep tree coherent, or 193 * @param z: zone element to delete. 229 z = el->zone; 256 /* check if the zone is now unused */ 295 * @param zone: negative zone 301 static struct val_neg_data* neg_find_data(struct val_neg_zone* zone, argument 312 rbtree_search(&zone->tree, lookfor.node.key); 342 * Calculate space needed for zone an 407 neg_closest_data_parent( struct val_neg_zone* zone, uint8_t* nm, size_t nm_len, int labs) argument 449 struct val_neg_zone* zone = local 485 struct val_neg_zone* zone, *prev = NULL, *first = NULL; local 515 val_neg_zone_take_inuse(struct val_neg_zone* zone) argument 530 struct val_neg_zone* zone; local 670 wipeout(struct val_neg_cache* neg, struct val_neg_zone* zone, struct val_neg_data* el, struct ub_packed_rrset_key* nsec) argument 745 neg_insert_data(struct val_neg_cache* neg, struct val_neg_zone* zone, struct ub_packed_rrset_key* nsec) argument 843 struct val_neg_zone* zone; local 899 neg_closest_data(struct val_neg_zone* zone, uint8_t* qname, size_t len, int labs, struct val_neg_data** data) argument 923 struct val_neg_zone* zone; local 1054 struct val_neg_zone* zone; local 1176 neg_find_nsec3_ce(struct val_neg_zone* zone, uint8_t* qname, size_t qname_len, int qlabs, ldns_buffer* buf, uint8_t* hashnc, size_t* nclen) argument 1212 neg_params_ok(struct val_neg_zone* zone, struct ub_packed_rrset_key* rrset) argument 1226 neg_nsec3_getnc(struct val_neg_zone* zone, uint8_t* hashnc, size_t nclen, struct rrset_cache* rrset_cache, struct regional* region, uint32_t now, uint8_t* b32, size_t maxb32) argument 1259 neg_nsec3_proof_ds(struct val_neg_zone* zone, uint8_t* qname, size_t qname_len, int qlabs, ldns_buffer* buf, struct rrset_cache* rrset_cache, struct regional* region, uint32_t now, uint8_t* topname) argument 1359 add_soa(struct rrset_cache* rrset_cache, uint32_t now, struct regional* region, struct dns_msg* msg, struct val_neg_zone* zone) argument 1398 struct val_neg_zone* zone; local [all...] |
/freebsd-10.0-release/usr.sbin/pkg/ |
H A D | dns_utils.h | 44 dns_getsrvinfo(const char *zone);
|
/freebsd-10.0-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 271 * The ldns_dnssec_zone_mark_glue() function has to be called on a zone before 324 * Find the RRset with the given name and type in the zone 326 * \param[in] zone the zone structure to find the RRset in 331 ldns_dnssec_rrsets *ldns_dnssec_zone_find_rrset(ldns_dnssec_zone *zone, 362 * Create a new dnssec zone fro [all...] |
/freebsd-10.0-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.0-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.0-release/cddl/compat/opensolaris/misc/ |
H A D | zone.c | 33 #include <sys/zone.h>
|
/freebsd-10.0-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.0-release/contrib/ldns/ |
H A D | dnssec_zone.c | 2 * special zone file structures and functions for better dnssec handling 529 ldns_dnssec_zone_find_rrset(ldns_dnssec_zone *zone, argument 535 if (!zone || !dname) { 539 node = ldns_rbtree_search(zone->names, dname); 592 ldns_dnssec_zone *zone = LDNS_MALLOC(ldns_dnssec_zone); local 593 if(!zone) return NULL; 594 zone->soa = NULL; 595 zone->names = NULL; 597 return zone; 607 /* When the zone i 636 ldns_zone* zone = NULL; local 771 ldns_dnssec_zone_free(ldns_dnssec_zone *zone) argument 786 ldns_dnssec_zone_deep_free(ldns_dnssec_zone *zone) argument 807 ldns_dnssec_zone_find_nsec3_original(ldns_dnssec_zone *zone, ldns_rr *rr) argument 834 ldns_dnssec_zone_add_rr(ldns_dnssec_zone *zone, ldns_rr *rr) argument 922 ldns_dnssec_zone_print_fmt(FILE *out, const ldns_output_format *fmt, ldns_dnssec_zone *zone) argument 950 ldns_dnssec_zone_print(FILE *out, ldns_dnssec_zone *zone) argument 956 ldns_dnssec_zone_add_empty_nonterminals(ldns_dnssec_zone *zone) argument 1056 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 775 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 874 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 976 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 1167 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 1177 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 1215 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 1232 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 1317 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 1335 ldns_zone_sign(const ldns_zone *zone, ldns_key_list *key_list) argument 1376 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.0-release/crypto/openssl/crypto/x509v3/ |
H A D | v3_sxnet.c | 91 ASN1_SIMPLE(SXNETID, zone, ASN1_INTEGER), 115 tmp = i2s_ASN1_INTEGER(NULL, id->zone); 150 /* Add an id given the zone as an ASCII number */ 152 int SXNET_add_id_asc(SXNET **psx, char *zone, char *user, 156 if(!(izone = s2i_ASN1_INTEGER(NULL, zone))) { 163 /* Add an id given the zone as an unsigned long */ 178 /* Add an id given the zone as an ASN1_INTEGER. 183 int SXNET_add_id_INTEGER(SXNET **psx, ASN1_INTEGER *zone, char *user, 188 if(!psx || !zone || !user) { 202 if(SXNET_get_id_INTEGER(sx, zone)) { [all...] |