Searched refs:zone (Results 1 - 25 of 178) sorted by relevance

12345678

/freebsd-11-stable/sys/contrib/octeon-sdk/
H A Dcvmx-zone.c67 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 Dcvmx-malloc.h50 * 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-11-stable/cddl/compat/opensolaris/include/
H A Dzone.h6 #include <sys/zone.h>
/freebsd-11-stable/sys/dev/drm2/ttm/
H A Dttm_memory.c51 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-11-stable/lib/libc/gen/
H A Dtimezone.c53 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-11-stable/sys/powerpc/powermac/
H A Dpowermac_thermal.h38 int zone; member in struct:pmac_fan
48 int zone; member in struct:pmac_therm
/freebsd-11-stable/usr.sbin/pc-sysinstall/backend-query/
H A Dlist-tzones.sh29 egrep -v '^#' /usr/share/zoneinfo/zone.tab |\
/freebsd-11-stable/contrib/ntp/lib/isc/
H A Dnetscope.c39 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-11-stable/contrib/gcc/
H A Dggc-zone.c1 /* "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-11-stable/sys/vm/
H A Duma.h48 /* 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
335 uma_zalloc(uma_zone_t zone, int flags) argument
363 uma_zfree(uma_zone_t zone, void *item) argument
[all...]
H A Duma_core.c39 * The basic ideas stem from similar slab/zone based allocators whose algorithms
104 * This is the zone and keg from which all zones are spawned. The idea is that
105 * even the zone & keg heads are allocated from the allocator, so we use the
114 /* This is the zone from which all of uma_slab_t's are allocated. */
118 * The initial hash tables come out of this zone so they can be allocated
166 * This structure is passed as the zone ctor arg so that I don't have to create
185 uma_zone_t zone; member in struct:uma_kctor_args
236 static void bucket_cache_drain(uma_zone_t zone);
245 static void zone_timeout(uma_zone_t zone);
256 static uma_bucket_t bucket_alloc(uma_zone_t zone, voi
355 bucket_alloc(uma_zone_t zone, void *udata, int flags) argument
403 bucket_free(uma_zone_t zone, uma_bucket_t bucket, void *udata) argument
425 zone_log_warning(uma_zone_t zone) argument
437 zone_maxaction(uma_zone_t zone) argument
445 zone_foreach_keg(uma_zone_t zone, void (*kegfn)(uma_keg_t)) argument
524 zone_timeout(uma_zone_t zone) argument
643 bucket_drain(uma_zone_t zone, uma_bucket_t bucket) argument
671 cache_drain(uma_zone_t zone) argument
704 cache_shrink(uma_zone_t zone) argument
716 cache_drain_safe_cpu(uma_zone_t zone) argument
760 cache_drain_safe(uma_zone_t zone) argument
791 bucket_cache_drain(uma_zone_t zone) argument
889 zone_drain_wait(uma_zone_t zone, int waitok) argument
921 zone_drain(uma_zone_t zone) argument
938 keg_alloc_slab(uma_keg_t keg, uma_zone_t zone, int wait) argument
1034 startup_alloc(uma_zone_t zone, vm_size_t bytes, uint8_t *pflag, int wait) argument
1094 page_alloc(uma_zone_t zone, vm_size_t bytes, uint8_t *pflag, int wait) argument
1116 noobj_alloc(uma_zone_t zone, vm_size_t bytes, uint8_t *flags, int wait) argument
1406 uma_zone_t zone; local
1540 uma_zone_t zone = mem; local
1698 uma_zone_t zone; local
1753 uma_zone_t zone; local
1879 uma_kcreate(uma_zone_t zone, size_t size, uma_init uminit, uma_fini fini, int align, uint32_t flags) argument
2033 uma_zsecond_add(uma_zone_t zone, uma_zone_t master) argument
2093 uma_zdestroy(uma_zone_t zone) argument
2110 uma_zwait(uma_zone_t zone) argument
2120 uma_zalloc_arg(uma_zone_t zone, void *udata, int flags) argument
2324 keg_fetch_slab(uma_keg_t keg, uma_zone_t zone, int flags) argument
2399 zone_fetch_slab(uma_zone_t zone, uma_keg_t keg, int flags) argument
2426 zone_fetch_slab_multi(uma_zone_t zone, uma_keg_t last, int rflags) argument
2525 zone_import(uma_zone_t zone, void **bucket, int max, int flags) argument
2554 zone_alloc_bucket(uma_zone_t zone, void *udata, int flags) argument
2616 zone_alloc_item(uma_zone_t zone, void *udata, int flags) argument
2662 uma_zfree_arg(uma_zone_t zone, void *item, void *udata) argument
2860 zone_release(uma_zone_t zone, void **bucket, int cnt) argument
2927 zone_free_item(uma_zone_t zone, void *item, void *udata, enum zfreeskip skip) argument
2950 uma_zone_set_max(uma_zone_t zone, int nitems) argument
2969 uma_zone_get_max(uma_zone_t zone) argument
2986 uma_zone_set_warning(uma_zone_t zone, const char *warning) argument
2996 uma_zone_set_maxaction(uma_zone_t zone, uma_maxaction_t maxaction) argument
3006 uma_zone_get_cur(uma_zone_t zone) argument
3029 uma_zone_set_init(uma_zone_t zone, uma_init uminit) argument
3044 uma_zone_set_fini(uma_zone_t zone, uma_fini fini) argument
3059 uma_zone_set_zinit(uma_zone_t zone, uma_init zinit) argument
3071 uma_zone_set_zfini(uma_zone_t zone, uma_fini zfini) argument
3084 uma_zone_set_freef(uma_zone_t zone, uma_free freef) argument
3098 uma_zone_set_allocf(uma_zone_t zone, uma_alloc allocf) argument
3110 uma_zone_reserve(uma_zone_t zone, int items) argument
3126 uma_zone_reserve_kva(uma_zone_t zone, int count) argument
3168 uma_prealloc(uma_zone_t zone, int items) argument
3255 uma_zone_exhausted(uma_zone_t zone) argument
3266 uma_zone_exhausted_nolock(uma_zone_t zone) argument
3303 uma_zero_item(void *item, uma_zone_t zone) argument
3360 uma_print_zone(uma_zone_t zone) argument
3547 uma_zone_t zone = *(uma_zone_t *)arg1; local
3563 uma_zone_t zone = *(uma_zone_t *)arg1; local
3572 uma_dbg_getslab(uma_zone_t zone, void *item) argument
3604 uma_dbg_alloc(uma_zone_t zone, uma_slab_t slab, void *item) argument
3634 uma_dbg_free(uma_zone_t zone, uma_slab_t slab, void *item) argument
[all...]
/freebsd-11-stable/contrib/unbound/validator/
H A Dval_neg.c191 * 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;
259 /* check if the zone is now unused */
298 * @param zone: negative zone
304 static struct val_neg_data* neg_find_data(struct val_neg_zone* zone, argument
315 rbtree_search(&zone->tree, lookfor.node.key);
345 * Calculate space needed for zone an
410 neg_closest_data_parent( struct val_neg_zone* zone, uint8_t* nm, size_t nm_len, int labs) argument
452 struct val_neg_zone* zone = local
488 struct val_neg_zone* zone, *prev = NULL, *first = NULL; local
518 val_neg_zone_take_inuse(struct val_neg_zone* zone) argument
533 struct val_neg_zone* zone; local
673 wipeout(struct val_neg_cache* neg, struct val_neg_zone* zone, struct val_neg_data* el, struct ub_packed_rrset_key* nsec) argument
748 neg_insert_data(struct val_neg_cache* neg, struct val_neg_zone* zone, struct ub_packed_rrset_key* nsec) argument
885 struct val_neg_zone* zone; local
948 neg_closest_data(struct val_neg_zone* zone, uint8_t* qname, size_t len, int labs, struct val_neg_data** data) argument
975 struct val_neg_zone* zone; local
1114 struct val_neg_zone* zone; local
1164 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
1200 neg_params_ok(struct val_neg_zone* zone, struct ub_packed_rrset_key* rrset) argument
1214 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
1247 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
1347 add_soa(struct rrset_cache* rrset_cache, time_t now, struct regional* region, struct dns_msg* msg, struct val_neg_zone* zone) argument
1396 struct val_neg_zone* zone; local
[all...]
/freebsd-11-stable/usr.sbin/pkg/
H A Ddns_utils.h46 dns_getsrvinfo(const char *zone);
/freebsd-11-stable/contrib/ldns/
H A Ddnssec_zone.c2 * 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 Ddnssec_sign.c565 * 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-11-stable/contrib/ldns/ldns/
H A Ddnssec_sign.h86 * 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 Ddnssec_zone.h2 * 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-11-stable/gnu/usr.bin/rcs/lib/
H A Drcstime.c36 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 Dpartime.h61 long zone; member in struct:partime
/freebsd-11-stable/contrib/tzdata/
H A Dziguard.awk32 /^Zone/ { zone = $2 }
40 if (zone == "Europe/Prague" && /^#?[\t ]+[01]:00[\t ]/ && /1947 Feb 23/) {
52 = (zone == "Europe/Dublin" && /^#?[\t ]+[01]:00[\t ]/ \
68 = (zone == "Africa/Windhoek" && /^#?[\t ]+[12]:00[\t ]/ \
/freebsd-11-stable/sys/contrib/zlib/test/
H A Dinfcover.c75 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-11-stable/cddl/compat/opensolaris/misc/
H A Dzone.c33 #include <sys/zone.h>
/freebsd-11-stable/sys/dev/mlx4/mlx4_core/
H A Dmlx4_alloc.c250 struct mlx4_zone_entry *zone = kmalloc(sizeof(*zone), GFP_KERNEL); local
252 if (NULL == zone)
255 zone->flags = flags;
256 zone->bitmap = bitmap;
257 zone->use_rr = (flags & MLX4_ZONE_USE_RR) ? MLX4_USE_RR : 0;
258 zone->priority = priority;
259 zone->offset = offset;
263 zone->uid = zone_alloc->last_uid++;
264 zone
323 struct mlx4_zone_entry *zone, *tmp; local
338 __mlx4_alloc_from_zone(struct mlx4_zone_entry *zone, int count, int align, u32 skip_mask, u32 *puid) argument
420 __mlx4_free_from_zone(struct mlx4_zone_entry *zone, u32 obj, u32 count) argument
430 struct mlx4_zone_entry *zone; local
442 struct mlx4_zone_entry *zone; local
458 struct mlx4_zone_entry *zone; local
483 struct mlx4_zone_entry *zone, *zone_candidate = NULL; local
513 struct mlx4_zone_entry *zone; local
533 struct mlx4_zone_entry *zone; local
555 struct mlx4_zone_entry *zone; local
[all...]
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Dcred.h133 * 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-11-stable/crypto/openssl/crypto/x509v3/
H A Dv3_sxnet.c93 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...]

Completed in 305 milliseconds

12345678