| /freebsd-13.1/sys/contrib/octeon-sdk/ |
| H A D | cvmx-zone.c | 67 cvmx_zone_t zone; in cvmx_zone_create_from_addr() local 82 zone->name = name; in cvmx_zone_create_from_addr() 92 *(void **)(zone->baseptr + (i*elem_size)) = zone->freelist; in cvmx_zone_create_from_addr() 93 zone->freelist = (void *)(zone->baseptr + (i*elem_size)); in cvmx_zone_create_from_addr() 96 return(zone); in cvmx_zone_create_from_addr() 103 cvmx_zone_t zone; in cvmx_zone_create_from_arena() local 107 if (NULL == zone) in cvmx_zone_create_from_arena() 127 *(void **)(zone->baseptr + (i*elem_size)) = zone->freelist; in cvmx_zone_create_from_arena() 128 zone->freelist = (void *)(zone->baseptr + (i*elem_size)); in cvmx_zone_create_from_arena() 131 return(zone); in cvmx_zone_create_from_arena() [all …]
|
| H A D | cvmx-malloc.h | 156 static inline uint32_t cvmx_zone_size(cvmx_zone_t zone) in cvmx_zone_size() argument 158 return(zone->elem_size); in cvmx_zone_size() 160 static inline char *cvmx_zone_name(cvmx_zone_t zone) in cvmx_zone_name() argument 162 return(zone->name); in cvmx_zone_name() 212 void * cvmx_zone_alloc(cvmx_zone_t zone, uint32_t flags); 219 void cvmx_zone_free(cvmx_zone_t zone, void *ptr);
|
| /freebsd-13.1/sys/dev/drm2/ttm/ |
| H A D | ttm_memory.c | 55 zone->name, (unsigned long long)zone->used_mem >> 10); in ttm_mem_zone_kobj_release() 198 zone = malloc(sizeof(*zone), M_TTM_ZONE, M_WAITOK | M_ZERO); in ttm_mem_init_kernel_zone() 204 zone->swap_limit = zone->max_mem - (mem >> 3); in ttm_mem_init_kernel_zone() 205 zone->used_mem = 0; in ttm_mem_init_kernel_zone() 206 zone->glob = glob; in ttm_mem_init_kernel_zone() 218 zone = malloc(sizeof(*zone), M_TTM_ZONE, M_WAITOK | M_ZERO); in ttm_mem_init_dma32_zone() 240 zone->swap_limit = zone->max_mem - (mem >> 3); in ttm_mem_init_dma32_zone() 242 zone->glob = glob; in ttm_mem_init_dma32_zone() 275 zone->name, (unsigned long long)zone->max_mem >> 10); in ttm_mem_global_init() 315 if (zone->used_mem > zone->swap_limit) { in ttm_check_swapping() [all …]
|
| /freebsd-13.1/sys/vm/ |
| H A D | uma_core.c | 508 zone->uz_name, zone, bucket); in bucket_alloc() 2398 zone = arg->zone; in keg_ctor() 2825 zone->uz_arg = zone; in zone_ctor() 2859 karg.zone = zone; in zone_ctor() 3180 args.zone = zone; in uma_kcreate() 3682 zone->uz_name, zone, bucket); in cache_alloc() 3762 item = item_ctor(zone, zone->uz_flags, zone->uz_size, udata, in uma_zalloc_domain() 4290 zone->uz_name, zone); in zone_alloc_item() 4300 zone->uz_name, zone); in zone_alloc_item() 4465 zone->uz_name, zone, bucket); in zone_free_cross() [all …]
|
| H A D | uma.h | 318 void uma_zdestroy(uma_zone_t zone); 365 uma_zalloc(uma_zone_t zone, int flags) in uma_zalloc() argument 406 uma_zfree(uma_zone_t zone, void *item) in uma_zfree() argument 408 uma_zfree_arg(zone, item, NULL); in uma_zfree() 414 uma_zfree_pcpu_arg(zone, item, NULL); in uma_zfree_pcpu() 420 void uma_zwait(uma_zone_t zone); 538 int uma_zone_get_max(uma_zone_t zone); 574 int uma_zone_get_cur(uma_zone_t zone); 638 smr_t uma_zone_get_smr(uma_zone_t zone); 671 int uma_zone_exhausted(uma_zone_t zone); [all …]
|
| /freebsd-13.1/contrib/unbound/validator/ |
| H A D | val_neg.c | 454 if(!zone) { in neg_setup_zone_node() 457 zone->node.key = zone; in neg_setup_zone_node() 545 if(!zone) { in neg_create_zone() 550 p = zone; in neg_create_zone() 793 p->zone = zone; in neg_insert_data() 1122 while(zone && !zone->in_use) in neg_find_nsec() 1123 zone = zone->parent; in neg_find_nsec() 1176 zone->nsec3_hash, zone->nsec3_iter, zone->nsec3_salt, in neg_find_nsec3_ce() 1354 if(zone) { in add_soa() 1528 while(zone && !zone->in_use) in val_neg_getmsg() [all …]
|
| /freebsd-13.1/contrib/ldns/ |
| H A D | dnssec_zone.c | 514 if (!zone || !dname || !zone->names) { in ldns_dnssec_zone_find_rrset() 573 zone->soa = NULL; in ldns_dnssec_zone_new() 578 return zone; in ldns_dnssec_zone_new() 753 if (zone) { 798 if (zone) { 806 LDNS_FREE(zone); 813 if (zone) { 1009 if (zone) { 1019 zone->soa, 1054 if (!zone) { [all …]
|
| H A D | dnssec_sign.c | 684 if (!zone || !zone->names) { 892 if (!zone || !new_rrs || !zone->names) { 915 if (zone->hashed_names) { 918 LDNS_FREE(zone->hashed_names); 921 if (zone->hashed_names && map) { 922 *map = zone->hashed_names; 926 ldns_rbtree_first(zone->names)); 1363 if (!zone || !new_rrs || !key_list) { 1374 if (zone->names && !((ldns_dnssec_name *)zone->names->root->data)->nsec) { 1434 if (zone->names) { [all …]
|
| H A D | zone.c | 295 ldns_zone_sort(ldns_zone *zone) in ldns_zone_sort() argument 298 assert(zone != NULL); in ldns_zone_sort() 300 zrr = ldns_zone_rrs(zone); in ldns_zone_sort() 305 ldns_zone_free(ldns_zone *zone) in ldns_zone_free() argument 307 ldns_rr_list_free(zone->_rrs); in ldns_zone_free() 308 LDNS_FREE(zone); in ldns_zone_free() 312 ldns_zone_deep_free(ldns_zone *zone) in ldns_zone_deep_free() argument 314 ldns_rr_free(zone->_soa); in ldns_zone_deep_free() 315 ldns_rr_list_deep_free(zone->_rrs); in ldns_zone_deep_free() 316 LDNS_FREE(zone); in ldns_zone_deep_free()
|
| /freebsd-13.1/sys/dev/mlx4/mlx4_core/ |
| H A D | mlx4_alloc.c | 250 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() 279 *puid = zone->uid; in mlx4_zone_add_one() 330 kfree(zone); in mlx4_zone_allocator_destroy() 351 uid = zone->uid; in __mlx4_alloc_from_zone() 423 mlx4_bitmap_free_range(zone->bitmap, obj - zone->offset, count, zone->use_rr); in __mlx4_free_from_zone() 434 return zone; in __mlx4_find_zone_by_uid() 449 bitmap = zone == NULL ? NULL : zone->bitmap; in mlx4_zone_get_bitmap() 465 if (NULL == zone) { in mlx4_zone_remove_one() 474 kfree(zone); in mlx4_zone_remove_one() [all …]
|
| /freebsd-13.1/contrib/unbound/testdata/svcb.tdir/ |
| H A D | svcb.test | 10 if ! $PRE/readzone svcb.test-vectors-pf.zone > svcb.test-vectors-pf.zone.out 12 echo "Could not parse presentation format zone" 15 elif ! $PRE/readzone svcb.test-vectors-pf.zone.out > svcb.test-vectors-pf.zone.out.out 20 elif ! $PRE/readzone svcb.test-vectors-wf.zone > svcb.test-vectors-wf.zone.out 22 echo "Could not parse RFC3597 formatted zone" 25 elif ! $PRE/readzone svcb.test-vectors-wf.zone.out > svcb.test-vectors-wf.zone.out.out 35 if ! diff svcb.test-vectors-pf.zone.out svcb.test-vectors-pf.zone.out.out 40 elif ! diff svcb.test-vectors-pf.zone.out svcb.test-vectors-wf.zone.out 45 elif ! diff svcb.test-vectors-pf.zone.out svcb.test-vectors-wf.zone.out.out 84 if ! $PRE/readzone svcb.success-cases.zone > svcb.success-cases.zone.out [all …]
|
| /freebsd-13.1/lib/libc/gen/ |
| H A D | timezone.c | 56 timezone(int zone, int dst) in timezone() argument 73 return(_tztab(zone,dst)); /* default: table or created zone */ in timezone() 76 static struct zone { struct 107 _tztab(int zone, int dst) in _tztab() argument 109 struct zone *zp; in _tztab() 113 if (zp->offset == zone) { in _tztab() 120 if (zone < 0) { /* create one */ in _tztab() 121 zone = -zone; in _tztab() 127 "GMT%c%d:%02d",sign,zone / 60,zone % 60); in _tztab()
|
| /freebsd-13.1/sys/contrib/zlib/test/ |
| H A D | infcover.c | 79 if (zone == NULL || (zone->limit && zone->total + len > zone->limit)) in mem_alloc() 100 zone->first = item; in mem_alloc() 104 if (zone->total > zone->highwater) in mem_alloc() 105 zone->highwater = zone->total; in mem_alloc() 150 zone->rogue++; in mem_free() 165 zone->total = 0; in mem_setup() 167 zone->limit = 0; in mem_setup() 168 zone->notlifo = 0; in mem_setup() 169 zone->rogue = 0; in mem_setup() 225 if (zone->rogue) in mem_done() [all …]
|
| /freebsd-13.1/contrib/ldns/ldns/ |
| H A D | dnssec_sign.h | 102 ldns_dnssec_zone *zone, ldns_rr_list *glue_list); 115 ldns_dnssec_zone_mark_glue(ldns_dnssec_zone *zone); 135 ldns_status ldns_dnssec_zone_create_nsecs(ldns_dnssec_zone *zone, 142 ldns_dnssec_zone_create_nsec3s(ldns_dnssec_zone *zone, 187 ldns_status ldns_dnssec_zone_create_rrsigs_flg(ldns_dnssec_zone *zone, 207 ldns_status ldns_dnssec_zone_create_rrsigs(ldns_dnssec_zone *zone, 238 ldns_status ldns_dnssec_zone_sign_flg(ldns_dnssec_zone *zone, 261 ldns_status ldns_dnssec_zone_sign_nsec3_flg(ldns_dnssec_zone *zone, 292 ldns_status ldns_dnssec_zone_sign_nsec3_flg_mkmap(ldns_dnssec_zone *zone, 327 ldns_status ldns_dnssec_zone_sign(ldns_dnssec_zone *zone, [all …]
|
| H A D | dnssec_zone.h | 339 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);
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_malloc_mac.inc | 40 // zone enumeration. 79 if (zone->zone_name) { 80 COMMON_MALLOC_FREE((void *)zone->zone_name); 82 COMMON_MALLOC_FREE(zone); 93 if (size) { // Claimed by sanitizer zone? 131 REAL(malloc_set_zone_name)(zone, name); 334 boolean_t mi_check(malloc_zone_t *zone) { 346 void mi_force_lock(malloc_zone_t *zone) { 350 void mi_force_unlock(malloc_zone_t *zone) { 355 COMMON_MALLOC_FILL_STATS(zone, stats); [all …]
|
| /freebsd-13.1/crypto/openssl/crypto/x509v3/ |
| H A D | v3_sxnet.c | 44 ASN1_SIMPLE(SXNETID, zone, ASN1_INTEGER), 68 tmp = i2s_ASN1_INTEGER(NULL, id->zone); 108 if ((izone = s2i_ASN1_INTEGER(NULL, zone)) == NULL) { in SXNET_add_id_asc() 137 int SXNET_add_id_INTEGER(SXNET **psx, ASN1_INTEGER *zone, const char *user, in SXNET_add_id_INTEGER() argument 142 if (!psx || !zone || !user) { in SXNET_add_id_INTEGER() 161 if (SXNET_get_id_INTEGER(sx, zone)) { in SXNET_add_id_INTEGER() 175 id->zone = zone; in SXNET_add_id_INTEGER() 186 ASN1_OCTET_STRING *SXNET_get_id_asc(SXNET *sx, const char *zone) in SXNET_get_id_asc() argument 191 if ((izone = s2i_ASN1_INTEGER(NULL, zone)) == NULL) { in SXNET_get_id_asc() 216 ASN1_OCTET_STRING *SXNET_get_id_INTEGER(SXNET *sx, ASN1_INTEGER *zone) in SXNET_get_id_INTEGER() argument [all …]
|
| /freebsd-13.1/contrib/ntp/lib/isc/ |
| H A D | netaddr.c | 43 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() 311 netaddr->zone = 0; in isc_netaddr_frompath() 326 netaddr->zone = zone; in isc_netaddr_setzone() 331 return (netaddr->zone); in isc_netaddr_getzone() 341 t->zone = 0; in isc_netaddr_fromsockaddr() 346 t->zone = s->type.sin6.sin6_scope_id; in isc_netaddr_fromsockaddr() 348 t->zone = 0; in isc_netaddr_fromsockaddr() [all …]
|
| H A D | netscope.c | 39 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-13.1/tests/sys/cddl/zfs/tests/zones/ |
| H A D | cleanup.ksh | 57 for zone in $ZONE $ZONE2 $ZONE3 $ZONE4 ; do 58 $ZONEADM -z $zone list > /dev/null 2>&1 60 $ZONEADM -z $zone halt > /dev/null 2>&1 61 $ZONEADM -z $zone uninstall -F > /dev/null 2>&1 62 $ZONECFG -z $zone delete -F > /dev/null 2>&1
|
| /freebsd-13.1/sys/cddl/contrib/opensolaris/uts/common/sys/ |
| H A D | cred.h | 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-13.1/sys/contrib/device-tree/Bindings/thermal/ |
| H A D | thermal.txt | 38 the IC. See thermal zone binding for more details 106 Type: phandle of zone. 113 of all cooling contributions within a thermal zone. 121 * Thermal zone nodes 130 Type: unsigned when checking this thermal zone. 192 (a) - CPU thermal zone 194 The CPU thermal zone example below describes how to setup one thermal zone 406 hotspots: one for CPU thermal zone, one for GPU thermal zone and the 407 other to monitor a DSP thermal zone. 414 zone and <bandgap 2> is used to monitor DSP thermal zone. Each zone [all …]
|
| H A D | thermal-zones.yaml | 8 title: Thermal zone binding 28 (temperature derivative over time) in two situations for a thermal zone: 30 2. when the zone just needs to be monitored (polling-delay) or when 55 Each thermal zone node contains information about how frequently it 57 this zone, one sub-node containing the various trip points for this 58 zone and one sub-node containing all the zone cooling-maps. 67 sensors in this zone support interrupts. 75 framework and assumes that the thermal sensors in this zone 83 thermal zone. 89 that binds all the sensors listed in this thermal zone. [all …]
|
| /freebsd-13.1/usr.sbin/fstyp/ |
| H A D | hammer_disk.h | 273 #define hammer_is_index_record(zone) \ argument 274 ((zone) >= HAMMER_ZONE_BTREE_INDEX && \ 275 (zone) < HAMMER_MAX_ZONES) 280 #define hammer_is_index_direct_xlated(zone) \ argument 282 ((zone) == HAMMER_ZONE_FREEMAP_INDEX) || \ 283 hammer_is_index_record(zone)) 288 #define HAMMER_ZONE_ENCODE(zone, ham_off) \ argument 289 (((hammer_off_t)(zone) << 60) | (ham_off)) 303 #define HAMMER_ENCODE(zone, vol_no, offset) \ argument 304 (((hammer_off_t)(zone) << 60) | \ [all …]
|
| /freebsd-13.1/contrib/unbound/doc/ |
| H A D | README.ipset.md | 12 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
|