/freebsd/sys/dev/drm2/ttm/ |
H A D | ttm_memory.c | 53 zone->name, (unsigned long long)zone->used_mem >> 10); in ttm_mem_zone_kobj_release() 196 zone = malloc(sizeof(*zone), M_TTM_ZONE, M_WAITOK | M_ZERO); in ttm_mem_init_kernel_zone() 202 zone->swap_limit = zone->max_mem - (mem >> 3); in ttm_mem_init_kernel_zone() 203 zone->used_mem = 0; in ttm_mem_init_kernel_zone() 204 zone->glob = glob; in ttm_mem_init_kernel_zone() 216 zone = malloc(sizeof(*zone), M_TTM_ZONE, M_WAITOK | M_ZERO); in ttm_mem_init_dma32_zone() 238 zone->swap_limit = zone->max_mem - (mem >> 3); in ttm_mem_init_dma32_zone() 240 zone->glob = glob; in ttm_mem_init_dma32_zone() 273 zone->name, (unsigned long long)zone->max_mem >> 10); in ttm_mem_global_init() 313 if (zone->used_mem > zone->swap_limit) { in ttm_check_swapping() [all …]
|
/freebsd/sys/vm/ |
H A D | uma_core.c | 507 zone->uz_name, zone, bucket); in bucket_alloc() 2458 zone = arg->zone; in keg_ctor() 2885 zone->uz_arg = zone; in zone_ctor() 2919 karg.zone = zone; in zone_ctor() 3248 args.zone = zone; in uma_kcreate() 3807 zone->uz_name, zone, bucket); in cache_alloc() 3886 item = item_ctor(zone, zone->uz_flags, zone->uz_size, udata, in uma_zalloc_domain() 4414 zone->uz_name, zone); in zone_alloc_item() 4424 zone->uz_name, zone); in zone_alloc_item() 4441 zone->uz_name, zone, item); in uma_zfree_smr() [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); 541 int uma_zone_get_max(uma_zone_t zone); 577 int uma_zone_get_cur(uma_zone_t zone); 641 smr_t uma_zone_get_smr(uma_zone_t zone); 674 int uma_zone_exhausted(uma_zone_t zone); [all …]
|
H A D | uma_dbg.c | 69 struct uma_zone *zone = arg; in trash_ctor() local 88 mem, size, zone ? zone->uz_name : "", off, *p); in trash_ctor() 145 struct uma_zone *zone = arg; in mtrash_ctor() local 178 mem, osize, zone ? zone->uz_name : "", *ksp, off, *p); in mtrash_ctor() 180 mem, osize, zone ? zone->uz_name : "", (*ksp)->ks_shortdesc, in mtrash_ctor() 184 mem, osize, zone ? zone->uz_name : "", *ksp, off, *p); in mtrash_ctor()
|
/freebsd/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() 1533 while(zone && !zone->in_use) in val_neg_getmsg() [all …]
|
/freebsd/contrib/ldns/ |
H A D | dnssec_zone.c | 516 if (!zone || !dname || !zone->names) { in ldns_dnssec_zone_find_rrset() 817 if (zone) { 868 if (zone) { 1133 if (zone->soa && zone->soa->name) { 1501 i->zone = zone; 1502 if (zone->soa && zone->soa->name) { 1737 if (!zone || !zd || !zone->soa || !zone->soa->name) 1771 if (!zone) 1775 zone, zone->soa->name, LDNS_RR_TYPE_ZONEMD); 1805 zone, zone->soa->name, LDNS_RR_TYPE_SOA); [all …]
|
H A D | dnssec_sign.c | 686 if (!zone || !zone->names) { 891 if (!zone || !new_rrs || !zone->names) { 921 if (zone->hashed_names) { 928 *map = zone->hashed_names; 1412 else if (zone->names 1429 = &zone->soa->rrsets; 1486 if (zone->names) { 1504 zone->soa->name, 1529 = &zone->soa->rrsets; 1554 = &zone->soa->rrsets; [all …]
|
H A D | zone.c | 356 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/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/lib/libc/gen/ |
H A D | timezone.c | 52 __timezone_compat(int zone, int dst) in __timezone_compat() argument 69 return(_tztab(zone,dst)); /* default: table or created zone */ in __timezone_compat() 73 static struct zone { struct 104 _tztab(int zone, int dst) in _tztab() argument 106 struct zone *zp; in _tztab() 110 if (zp->offset == zone) { in _tztab() 117 if (zone < 0) { /* create one */ in _tztab() 118 zone = -zone; in _tztab() 124 "GMT%c%d:%02d",sign,zone / 60,zone % 60); in _tztab()
|
/freebsd/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/contrib/tzdata/ |
H A D | checknow.awk | 5 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(/.*\.dir\//, "", zone) 18 sub(/\/\//, "/", zone)
|
/freebsd/contrib/ldns/ldns/ |
H A D | dnssec_sign.h | 106 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 …]
|
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); 479 ldns_status ldns_dnssec_zone_verify_zonemd(ldns_dnssec_zone *zone);
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_malloc_mac.inc | 41 // zone enumeration. 80 if (zone->zone_name) { 81 COMMON_MALLOC_FREE((void *)zone->zone_name); 83 COMMON_MALLOC_FREE(zone); 94 if (size) { // Claimed by sanitizer zone? 132 REAL(malloc_set_zone_name)(zone, name); 332 boolean_t mi_check(malloc_zone_t *zone) { 344 void mi_force_lock(malloc_zone_t *zone) { 348 void mi_force_unlock(malloc_zone_t *zone) { 353 COMMON_MALLOC_FILL_STATS(zone, stats); [all …]
|
/freebsd/crypto/openssl/crypto/x509/ |
H A D | v3_sxnet.c | 44 ASN1_SIMPLE(SXNETID, zone, ASN1_INTEGER), 80 tmp = i2s_ASN1_INTEGER(NULL, id->zone); 124 if ((izone = s2i_ASN1_INTEGER(NULL, zone)) == NULL) { in SXNET_add_id_asc() 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 217 if ((izone = s2i_ASN1_INTEGER(NULL, zone)) == NULL) { in SXNET_get_id_asc() 242 ASN1_OCTET_STRING *SXNET_get_id_INTEGER(SXNET *sx, ASN1_INTEGER *zone) in SXNET_get_id_INTEGER() argument [all …]
|
/freebsd/contrib/ntp/libntp/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/tests/sys/cddl/zfs/tests/zones/ |
H A D | cleanup.ksh | 52 for zone in $ZONE $ZONE2 $ZONE3 $ZONE4 ; do 53 $ZONEADM -z $zone list > /dev/null 2>&1 55 $ZONEADM -z $zone halt > /dev/null 2>&1 56 $ZONEADM -z $zone uninstall -F > /dev/null 2>&1 57 $ZONECFG -z $zone delete -F > /dev/null 2>&1
|
/freebsd/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/contrib/unbound/testdata/root_zonemd.tdir/ |
H A D | root_zonemd.pre | 9 # attempt to download the root zone 13 echo "could not fetch root zone" 14 skip_test "could not fetch root zone" 17 cat root.soa >> root.zone 18 grep -v " SOA " root.txt >> root.zone 19 echo "fetched root.zone" 20 ls -l root.zone
|
/freebsd/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 …]
|
/freebsd/sys/contrib/openzfs/lib/libspl/include/sys/ |
H A D | cmn_err.h | 48 #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/usr.sbin/fstyp/ |
H A D | hammer_disk.h | 272 #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 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 303 (((hammer_off_t)(zone) << 60) | \ [all …]
|
/freebsd/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
|