Home
last modified time | relevance | path

Searched refs:zone (Results 1 – 25 of 342) sorted by relevance

12345678910>>...14

/freebsd-14-stable/sys/dev/drm2/ttm/
HDttm_memory.c49 static void ttm_mem_zone_kobj_release(struct ttm_mem_zone *zone) in ttm_mem_zone_kobj_release() argument
53 zone->name, (unsigned long long)zone->used_mem >> 10); in ttm_mem_zone_kobj_release()
54 free(zone, M_TTM_ZONE); in ttm_mem_zone_kobj_release()
59 static ssize_t ttm_mem_zone_show(struct ttm_mem_zone *zone;
65 mtx_lock(&zone->glob->lock);
67 val = zone->zone_mem;
69 val = zone->emer_mem;
71 val = zone->max_mem;
73 val = zone->swap_limit;
75 val = zone->used_mem;
[all …]
/freebsd-14-stable/sys/vm/
HDuma_core.c231 uma_zone_t zone; member
294 static void bucket_cache_reclaim(uma_zone_t zone, bool, int);
301 static inline void item_dtor(uma_zone_t zone, void *item, int size,
304 static void zone_free_bucket(uma_zone_t zone, uma_bucket_t bucket, void *udata,
308 static void zone_timeout(uma_zone_t zone, void *);
316 static int zone_alloc_limit(uma_zone_t zone, int count, int flags);
317 static void zone_free_limit(uma_zone_t zone, int count);
320 static uma_bucket_t bucket_alloc(uma_zone_t zone, void *, int);
321 static void bucket_free(uma_zone_t zone, uma_bucket_t, void *);
325 static void slab_free_item(uma_zone_t zone, uma_slab_t slab, void *item);
[all …]
HDuma.h318 void uma_zdestroy(uma_zone_t zone);
334 void *uma_zalloc_arg(uma_zone_t zone, void *arg, int flags);
337 void *uma_zalloc_pcpu_arg(uma_zone_t zone, void *arg, int flags);
340 void *uma_zalloc_smr(uma_zone_t zone, int flags);
353 void *uma_zalloc_domain(uma_zone_t zone, void *arg, int domain, int flags);
361 static __inline void *uma_zalloc(uma_zone_t zone, int flags);
362 static __inline void *uma_zalloc_pcpu(uma_zone_t zone, int flags);
365 uma_zalloc(uma_zone_t zone, int flags) in uma_zalloc() argument
367 return uma_zalloc_arg(zone, NULL, flags); in uma_zalloc()
371 uma_zalloc_pcpu(uma_zone_t zone, int flags) in uma_zalloc_pcpu() argument
[all …]
/freebsd-14-stable/contrib/unbound/validator/
HDval_neg.c231 z = el->zone; in neg_delete_data()
304 static struct val_neg_data* neg_find_data(struct val_neg_zone* zone, in neg_find_data() argument
315 rbtree_search(&zone->tree, lookfor.node.key); in neg_find_data()
411 struct val_neg_zone* zone, uint8_t* nm, size_t nm_len, int labs) in neg_closest_data_parent() argument
420 if(rbtree_find_less_equal(&zone->tree, &key, &res)) { in neg_closest_data_parent()
452 struct val_neg_zone* zone = in neg_setup_zone_node() local
453 (struct val_neg_zone*)calloc(1, sizeof(*zone)); in neg_setup_zone_node()
454 if(!zone) { in neg_setup_zone_node()
457 zone->node.key = zone; in neg_setup_zone_node()
458 zone->name = memdup(nm, nm_len); in neg_setup_zone_node()
[all …]
/freebsd-14-stable/contrib/ldns/
HDdnssec_zone.c510 ldns_dnssec_zone_find_rrset(const ldns_dnssec_zone *zone, in ldns_dnssec_zone_find_rrset() argument
516 if (!zone || !dname || !zone->names) { in ldns_dnssec_zone_find_rrset()
520 node = ldns_rbtree_search(zone->names, dname); in ldns_dnssec_zone_find_rrset()
573 ldns_dnssec_zone *zone = LDNS_MALLOC(ldns_dnssec_zone); in ldns_dnssec_zone_new() local
574 if(!zone) return NULL; in ldns_dnssec_zone_new()
575 zone->soa = NULL; in ldns_dnssec_zone_new()
576 zone->names = NULL; in ldns_dnssec_zone_new()
577 zone->hashed_names = NULL; in ldns_dnssec_zone_new()
578 zone->_nsec3params = NULL; in ldns_dnssec_zone_new()
580 return zone; in ldns_dnssec_zone_new()
[all …]
HDdnssec_sign.c673 ldns_dnssec_zone_mark_and_get_glue(ldns_dnssec_zone *zone, argument
686 if (!zone || !zone->names) {
689 for (node = ldns_rbtree_first(zone->names);
752 ldns_dnssec_zone_mark_glue(ldns_dnssec_zone *zone) argument
754 return ldns_dnssec_zone_mark_and_get_glue(zone, NULL);
784 ldns_dnssec_zone_create_nsecs(ldns_dnssec_zone *zone, argument
800 soa = ldns_dnssec_name_find_rrset(zone->soa, LDNS_RR_TYPE_SOA);
817 ldns_rbtree_first(zone->names));
872 ldns_dnssec_zone_create_nsec3s_mkmap(ldns_dnssec_zone *zone, argument
891 if (!zone || !new_rrs || !zone->names) {
[all …]
HDzone.c356 ldns_zone_sort(ldns_zone *zone) in ldns_zone_sort() argument
359 assert(zone != NULL); in ldns_zone_sort()
361 zrr = ldns_zone_rrs(zone); in ldns_zone_sort()
366 ldns_zone_free(ldns_zone *zone) in ldns_zone_free() argument
368 ldns_rr_list_free(zone->_rrs); in ldns_zone_free()
369 LDNS_FREE(zone); in ldns_zone_free()
373 ldns_zone_deep_free(ldns_zone *zone) in ldns_zone_deep_free() argument
375 ldns_rr_free(zone->_soa); in ldns_zone_deep_free()
376 ldns_rr_list_deep_free(zone->_rrs); in ldns_zone_deep_free()
377 LDNS_FREE(zone); in ldns_zone_deep_free()
/freebsd-14-stable/sys/dev/mlx4/mlx4_core/
HDmlx4_alloc.c250 struct mlx4_zone_entry *zone = kmalloc(sizeof(*zone), GFP_KERNEL); in mlx4_zone_add_one() local
252 if (NULL == zone) in mlx4_zone_add_one()
255 zone->flags = flags; in mlx4_zone_add_one()
256 zone->bitmap = bitmap; in mlx4_zone_add_one()
257 zone->use_rr = (flags & MLX4_ZONE_USE_RR) ? MLX4_USE_RR : 0; in mlx4_zone_add_one()
258 zone->priority = priority; in mlx4_zone_add_one()
259 zone->offset = offset; in mlx4_zone_add_one()
263 zone->uid = zone_alloc->last_uid++; in mlx4_zone_add_one()
264 zone->allocator = zone_alloc; in mlx4_zone_add_one()
274 list_add_tail(&zone->prio_list, &it->prio_list); in mlx4_zone_add_one()
[all …]
/freebsd-14-stable/lib/libc/gen/
HDtimezone.c54 timezone(int zone, int dst) in timezone() argument
71 return(_tztab(zone,dst)); /* default: table or created zone */ in timezone()
74 static struct zone { struct
105 _tztab(int zone, int dst) in _tztab() argument
107 struct zone *zp; in _tztab()
111 if (zp->offset == zone) { in _tztab()
118 if (zone < 0) { /* create one */ in _tztab()
119 zone = -zone; in _tztab()
125 "GMT%c%d:%02d",sign,zone / 60,zone % 60); in _tztab()
/freebsd-14-stable/sys/contrib/zlib/test/
HDinfcover.c75 struct mem_zone *zone = mem; in mem_alloc() local
79 if (zone == NULL || (zone->limit && zone->total + len > zone->limit)) in mem_alloc()
99 item->next = zone->first; in mem_alloc()
100 zone->first = item; in mem_alloc()
103 zone->total += item->size; in mem_alloc()
104 if (zone->total > zone->highwater) in mem_alloc()
105 zone->highwater = zone->total; in mem_alloc()
115 struct mem_zone *zone = mem; in mem_free() local
118 if (zone == NULL) { in mem_free()
125 next = zone->first; in mem_free()
[all …]
/freebsd-14-stable/contrib/tzdata/
HDchecknow.awk5 function record_zone(zone, data) {
6 if (zone) {
7 zone_data[zone] = data
8 zones[data] = zones[data] " " zone
15 record_zone(zone, data)
16 zone = $0
17 sub(/.*\.ckd\//, "", zone)
18 sub(/\/\//, "/", zone)
/freebsd-14-stable/contrib/ldns/ldns/
HDdnssec_sign.h106 ldns_dnssec_zone *zone, ldns_rr_list *glue_list);
119 ldns_dnssec_zone_mark_glue(ldns_dnssec_zone *zone);
139 ldns_status ldns_dnssec_zone_create_nsecs(ldns_dnssec_zone *zone,
146 ldns_dnssec_zone_create_nsec3s(ldns_dnssec_zone *zone,
191 ldns_status ldns_dnssec_zone_create_rrsigs_flg(ldns_dnssec_zone *zone,
211 ldns_status ldns_dnssec_zone_create_rrsigs(ldns_dnssec_zone *zone,
242 ldns_status ldns_dnssec_zone_sign_flg(ldns_dnssec_zone *zone,
265 ldns_status ldns_dnssec_zone_sign_nsec3_flg(ldns_dnssec_zone *zone,
296 ldns_status ldns_dnssec_zone_sign_nsec3_flg_mkmap(ldns_dnssec_zone *zone,
331 ldns_status ldns_dnssec_zone_sign(ldns_dnssec_zone *zone,
[all …]
HDdnssec_zone.h339 ldns_dnssec_rrsets *ldns_dnssec_zone_find_rrset(const ldns_dnssec_zone *zone,
401 void ldns_dnssec_zone_free(ldns_dnssec_zone *zone);
408 void ldns_dnssec_zone_deep_free(ldns_dnssec_zone *zone);
420 ldns_status ldns_dnssec_zone_add_rr(ldns_dnssec_zone *zone,
449 void ldns_dnssec_zone_print(FILE *out, const ldns_dnssec_zone *zone);
459 const ldns_output_format *fmt, const ldns_dnssec_zone *zone);
468 ldns_status ldns_dnssec_zone_add_empty_nonterminals(ldns_dnssec_zone *zone);
477 bool ldns_dnssec_zone_is_nsec3_optout(const ldns_dnssec_zone* zone);
479 ldns_status ldns_dnssec_zone_verify_zonemd(ldns_dnssec_zone *zone);
/freebsd-14-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
HDsanitizer_malloc_mac.inc9 // This file contains Mac-specific malloc interceptors and a custom zone
41 // zone enumeration.
65 // Prevent the client app from overwriting the zone contents.
66 // Library functions that need to modify the zone will set PROT_WRITE on it.
69 // We're explicitly *NOT* registering the zone.
73 INTERCEPTOR(void, malloc_destroy_zone, malloc_zone_t *zone) {
76 // don't to unregister. Just un-mprotect and free() the zone.
79 mprotect(zone, allocated_size, PROT_READ | PROT_WRITE);
80 if (zone->zone_name) {
81 COMMON_MALLOC_FREE((void *)zone->zone_name);
[all …]
/freebsd-14-stable/crypto/openssl/crypto/x509/
HDv3_sxnet.c44 ASN1_SIMPLE(SXNETID, zone, ASN1_INTEGER),
80 tmp = i2s_ASN1_INTEGER(NULL, id->zone);
120 int SXNET_add_id_asc(SXNET **psx, const char *zone, const char *user, int userlen) in SXNET_add_id_asc() argument
124 if ((izone = s2i_ASN1_INTEGER(NULL, zone)) == NULL) { in SXNET_add_id_asc()
160 int SXNET_add_id_INTEGER(SXNET **psx, ASN1_INTEGER *zone, const char *user, in SXNET_add_id_INTEGER() argument
166 if (psx == NULL || zone == NULL || user == NULL) { in SXNET_add_id_INTEGER()
183 if (SXNET_get_id_INTEGER(sx, zone)) { in SXNET_add_id_INTEGER()
199 ASN1_INTEGER_free(id->zone); in SXNET_add_id_INTEGER()
200 id->zone = zone; in SXNET_add_id_INTEGER()
212 ASN1_OCTET_STRING *SXNET_get_id_asc(SXNET *sx, const char *zone) in SXNET_get_id_asc() argument
[all …]
/freebsd-14-stable/contrib/ntp/libntp/lib/isc/
HDnetaddr.c43 if (a->zone != b->zone) in isc_netaddr_equal()
54 a->zone != b->zone) in isc_netaddr_equal()
83 if (a->zone != b->zone && b->zone != 0) in isc_netaddr_eqprefix()
166 if (netaddr->family == AF_INET6 && netaddr->zone != 0) { in isc_netaddr_totext()
167 zlen = snprintf(zbuf, sizeof(zbuf), "%%%u", netaddr->zone); in isc_netaddr_totext()
311 netaddr->zone = 0; in isc_netaddr_frompath()
322 isc_netaddr_setzone(isc_netaddr_t *netaddr, isc_uint32_t zone) { in isc_netaddr_setzone() argument
326 netaddr->zone = zone; in isc_netaddr_setzone()
331 return (netaddr->zone); in isc_netaddr_getzone()
341 t->zone = 0; in isc_netaddr_fromsockaddr()
[all …]
HDnetscope.c39 isc_uint32_t zone; in isc_netscope_pton() local
59 zone = (isc_uint32_t)ifid; in isc_netscope_pton()
67 zone = (isc_uint32_t)(llz & 0xffffffffUL); in isc_netscope_pton()
68 if (zone != llz) in isc_netscope_pton()
74 *zoneid = zone; in isc_netscope_pton()
/freebsd-14-stable/tests/sys/cddl/zfs/tests/zones/
HDcleanup.ksh55 for zone in $ZONE $ZONE2 $ZONE3 $ZONE4 ; do
56 $ZONEADM -z $zone list > /dev/null 2>&1
58 $ZONEADM -z $zone halt > /dev/null 2>&1
59 $ZONEADM -z $zone uninstall -F > /dev/null 2>&1
60 $ZONECFG -z $zone delete -F > /dev/null 2>&1
/freebsd-14-stable/sys/contrib/device-tree/Bindings/thermal/
HDthermal.txt38 the IC. See thermal zone binding for more details
96 get assigned to trip points of the zone. The cooling devices are expected
106 Type: phandle of zone.
110 - contribution: The cooling contribution to the thermal zone of the
113 of all cooling contributions within a thermal zone.
121 * Thermal zone nodes
123 The thermal zone node is the node containing all the required info
124 for describing a thermal zone, including its cooling device bindings. The
125 thermal zone node must contain, apart from its own properties, one sub-node
126 containing trip nodes and one sub-node containing all the zone cooling maps.
[all …]
/freebsd-14-stable/sys/cddl/contrib/opensolaris/uts/common/sys/
HDcred.h135 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-14-stable/sys/contrib/openzfs/lib/libspl/include/sys/
HDcmn_err.h48 #define zcmn_err_once(zone, ce, ...) \ argument
52 zcmn_err(zone, ce, __VA_ARGS__); \
56 #define vzcmn_err_once(zone, ce, fmt, ap) \ argument
60 vzcmn_err(zone, ce, fmt, ap); \
/freebsd-14-stable/usr.sbin/fstyp/
HDhammer_disk.h272 #define hammer_is_index_record(zone) \ argument
273 ((zone) >= HAMMER_ZONE_BTREE_INDEX && \
274 (zone) < HAMMER_MAX_ZONES)
279 #define hammer_is_index_direct_xlated(zone) \ argument
280 (((zone) == HAMMER_ZONE_RAW_BUFFER_INDEX) || \
281 ((zone) == HAMMER_ZONE_FREEMAP_INDEX) || \
282 hammer_is_index_record(zone))
287 #define HAMMER_ZONE_ENCODE(zone, ham_off) \ argument
288 (((hammer_off_t)(zone) << 60) | (ham_off))
302 #define HAMMER_ENCODE(zone, vol_no, offset) \ argument
[all …]
/freebsd-14-stable/contrib/unbound/doc/
HDREADME.ipset.md12 local-zone: "facebook.com" ipset
13 local-zone: "twitter.com" ipset
14 local-zone: "instagram.com" ipset
31 local-zone: "facebook.com" ipset
32 local-zone: "twitter.com" ipset
33 local-zone: "instagram.com" ipset
61 local-zone: "example.com" ipset
HDcontrol_proto_spec.txt56 local_zone_remove <name of local-zone entry>
57 the local-zone entry is removed.
58 All data from the local zone is also deleted.
60 local_zone <name of local zone> <type>
61 As the config file entry. Adds new local zone or updates
62 existing zone type.
68 if no local_zone exists for it; a transparent zone with the same
/freebsd-14-stable/sys/contrib/openzfs/include/os/freebsd/spl/sys/
HDcmn_err.h93 #define zcmn_err_once(zone, ce, ...) \ argument
97 zcmn_err(zone, ce, __VA_ARGS__); \
101 #define vzcmn_err_once(zone, ce, fmt, ap) \ argument
105 vzcmn_err(zone, ce, fmt, ap); \

12345678910>>...14