| /src/share/man/man9/ |
| H A D | zone.9 | 44 typedef void *(*uma_alloc)(uma_zone_t zone, vm_size_t size, int domain, 69 .Fn uma_zdestroy "uma_zone_t zone" 71 .Fn uma_zalloc "uma_zone_t zone" "int flags" 73 .Fn uma_zalloc_arg "uma_zone_t zone" "void *arg" "int flags" 75 .Fn uma_zalloc_domain "uma_zone_t zone" "void *arg" "int domain" "int flags" 77 .Fn uma_zalloc_pcpu "uma_zone_t zone" "int flags" 79 .Fn uma_zalloc_pcpu_arg "uma_zone_t zone" "void *arg" "int flags" 81 .Fn uma_zalloc_smr "uma_zone_t zone" "int flags" 83 .Fn uma_zfree "uma_zone_t zone" "void *item" 85 .Fn uma_zfree_arg "uma_zone_t zone" "void *item" "void *arg" [all …]
|
| /src/sys/dev/drm2/ttm/ |
| H A D | ttm_memory.c | 47 MALLOC_DEFINE(M_TTM_ZONE, "ttm_zone", "TTM Zone"); 49 static void ttm_mem_zone_kobj_release(struct ttm_mem_zone *zone) in ttm_mem_zone_kobj_release() argument 52 printf("[TTM] Zone %7s: Used memory at exit: %llu kiB\n", in ttm_mem_zone_kobj_release() 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; [all …]
|
| /src/sys/vm/ |
| H A D | uma.h | 49 /* Opaque type used as a handle to the zone */ 102 * The initializer is called when the memory is cached in the uma zone. 113 * zone's cache. 120 * This routine is called when memory leaves a zone and is returned to the 126 * Import new memory into a cache zone. 132 * Free memory from a cache zone. 158 * Create a new uma zone 161 * name The text name of the zone for debugging and stats. This memory 162 * should not be freed until the zone has been deallocated. 171 * flags A set of parameters that control the behavior of the zone. [all …]
|
| H A D | uma_core.c | 41 * The basic ideas stem from similar slab/zone based allocators whose algorithms 114 * This is the zone and keg from which all zones are spawned. 132 * One zone is for slab headers that can represent a larger number of items, 133 * making the slabs themselves more efficient, and the other zone is for 146 * The initial hash tables come out of this zone so they can be allocated 211 * This structure is passed as the zone ctor arg so that I don't have to create 230 uma_zone_t zone; member 293 static void bucket_cache_reclaim(uma_zone_t zone, bool, int); 300 static inline void item_dtor(uma_zone_t zone, void *item, int size, 303 static void zone_free_bucket(uma_zone_t zone, uma_bucket_t bucket, void *udata, [all …]
|
| /src/contrib/ldns/ldns/ |
| H A D | zone.h | 2 * zone.h 4 * zone definitions 36 * DNS Zone 44 /** the soa defines a zone */ 46 /* basically a zone is a list of rr's */ 59 * Return the soa record of a zone 60 * \param[in] z the zone to read from 61 * \return the soa record in the zone 66 * Returns the number of resource records in the zone, NOT counting the SOA record 67 * \param[in] z the zone to read from [all …]
|
| H A D | dnssec_sign.h | 91 * Marks the names in the zone that are occluded. Those names will be skipped 100 * \param[in] zone the zone in which to mark the names 106 ldns_dnssec_zone *zone, ldns_rr_list *glue_list); 109 * Marks the names in the zone that are occluded. Those names will be skipped 115 * \param[in] zone the zone in which to mark the names 119 ldns_dnssec_zone_mark_glue(ldns_dnssec_zone *zone); 134 * \param[in] zone the zone to add the records to 139 ldns_status ldns_dnssec_zone_create_nsecs(ldns_dnssec_zone *zone, 143 * Adds NSEC3 records to the zone 146 ldns_dnssec_zone_create_nsec3s(ldns_dnssec_zone *zone, [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 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(const ldns_dnssec_zone *zone, 370 * Create a new dnssec zone from a file. 371 * \param[out] z the new zone [all …]
|
| /src/contrib/jemalloc/src/ |
| H A D | zone.c | 75 extern void malloc_zone_register(malloc_zone_t *zone); 77 extern void malloc_zone_unregister(malloc_zone_t *zone); 97 static size_t zone_size(malloc_zone_t *zone, const void *ptr); 98 static void *zone_malloc(malloc_zone_t *zone, size_t size); 99 static void *zone_calloc(malloc_zone_t *zone, size_t num, size_t size); 100 static void *zone_valloc(malloc_zone_t *zone, size_t size); 101 static void zone_free(malloc_zone_t *zone, void *ptr); 102 static void *zone_realloc(malloc_zone_t *zone, void *ptr, size_t size); 103 static void *zone_memalign(malloc_zone_t *zone, size_t alignment, 105 static void zone_free_definite_size(malloc_zone_t *zone, void *ptr, [all …]
|
| /src/contrib/tzdata/ |
| H A D | etcetera | 19 # The following zone is used by tzcode functions like gmtime, 21 Zone Etc/UTC 0 - UTC 26 #Zone GMT 0 - GMT 28 Zone Etc/GMT 0 - GMT 38 # Be consistent with POSIX TZ settings in the Zone names, 48 # Zone GMT-12 -12 - GMT-1200 53 # Also, the time zone abbreviations are now compatible with %z. 56 # corresponds to an unknown or invalid time zone, and things would get 59 Zone Etc/GMT-14 14 - %z 60 Zone Etc/GMT-13 13 - %z [all …]
|
| 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(/.*\.ckd\//, "", zone) 18 sub(/\/\//, "/", zone) 19 sub(/"/, "", zone) 24 record_zone(zone, data) [all …]
|
| H A D | backzone | 49 # not disagree with normal zone after 1970. According to sources that 69 # Zones are sorted by zone name. Each zone is preceded by the 70 # name of the country that the zone is in, along with any other 72 # If the zone overrides links in the main data, it 74 # If the zone overrides main-data links only when building with 75 # PACKRATLIST=zone.tab, it is followed by a commented-out Link line 76 # that starts with "#PACKRATLIST zone.tab". 78 # As explained in the zic man page, the zone columns are: 79 # Zone NAME STDOFF RULES FORMAT [UNTIL] 161 Zone Africa/Accra -0:00:52 - LMT 1915 Nov 2 [all …]
|
| /src/contrib/unbound/validator/ |
| H A D | val_neg.c | 191 * 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; in neg_delete_data() 259 /* check if the zone is now unused */ in neg_delete_data() 298 * @param zone: negative zone 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() 345 * Calculate space needed for zone and all its parents 346 * @param d: name of zone [all …]
|
| /src/contrib/ldns/ |
| H A D | dnssec_zone.c | 2 * special zone file structures and functions for better dnssec handling 510 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() [all …]
|
| H A D | dnssec_sign.c | 673 ldns_dnssec_zone_mark_and_get_glue(ldns_dnssec_zone *zone, argument 679 ldns_rdf *cut = NULL; /* keeps track of zone cuts */ 686 if (!zone || !zone->names) { 689 for (node = ldns_rbtree_first(zone->names); 696 /* The previous node was a zone cut, or a subdomain 697 * below a zone cut. Is this node (still) a subdomain 725 /* The node is not below a zone cut. Is it a zone cut itself? 735 if (glue_list) { /* record glue on the zone cut */ 752 ldns_dnssec_zone_mark_glue(ldns_dnssec_zone *zone) argument 754 return ldns_dnssec_zone_mark_and_get_glue(zone, NULL); [all …]
|
| /src/tests/sys/cddl/zfs/tests/zones/ |
| H A D | zones_003_pos.ksh | 38 # Zone cloning via ZFS snapshots works as expected. 40 # using snapshots. Where the zone is not at the top level of a ZFS filesystem, 41 # cloning the zone uses the normal method of copying the files when 45 # 1. The setup script should have created the zone. 46 # 2. Clone a zone-on-ZFS 48 # the new zone is indeed a clone (in the ZFS sense) 49 # 4. Clone a normal zone & verify that no snapshots were taken. 50 # 5. Clone a zone-on-ZFS, but specify the "copy" method & verify that no 76 log_assert "Zone cloning via ZFS snapshots works as expected." 80 if [ ! -d /$TESTPOOL/$ZONE ] [all …]
|
| H A D | zones_004_pos.ksh | 37 # Deleting a zone, where the zonepath parent dir is the top level of a ZFS 39 # the non-ZFS zone does not delete any filesystems. 42 # 1. The setup script should have created the zone. 43 # 2. Delete our ZFS rooted zone, verify the filesystem has been deleted. 44 # 3. Delete our non-ZFS rooted zone, the zonepath dir should still exist. 58 log_assert "A ZFS fs is destroyed when the zone it was created for is deleted." 61 if [ ! -d /$TESTPOOL/$ZONE ] 63 log_fail "Zone dir in /$TESTPOOL/$ZONE not found!" 68 log_fail "Zone dir /$TESTPOOL/simple_dir/$ZONE2 not found!" 72 # delete our ZFS rooted zone [all …]
|
| /src/contrib/unbound/testcode/ |
| H A D | unitzonemd.c | 55 /** Add zone from file for testing */ 139 zonemd_generate_test("example.org", SRCDIRSTR "/testdata/zonemd.example1.zone", in zonemd_generate_tests() 142 /* https://tools.ietf.org/html/draft-ietf-dnsop-dns-zone-digest-12 in zonemd_generate_tests() 144 zonemd_generate_test("example", SRCDIRSTR "/testdata/zonemd.example_a1.zone", in zonemd_generate_tests() 147 /* https://tools.ietf.org/html/draft-ietf-dnsop-dns-zone-digest-12 in zonemd_generate_tests() 149 zonemd_generate_test("example", SRCDIRSTR "/testdata/zonemd.example_a2.zone", in zonemd_generate_tests() 152 /* https://tools.ietf.org/html/draft-ietf-dnsop-dns-zone-digest-12 in zonemd_generate_tests() 154 zonemd_generate_test("example", SRCDIRSTR "/testdata/zonemd.example_a3.zone", in zonemd_generate_tests() 157 /* https://tools.ietf.org/html/draft-ietf-dnsop-dns-zone-digest-12 in zonemd_generate_tests() 159 zonemd_generate_test("example", SRCDIRSTR "/testdata/zonemd.example_a3.zone", in zonemd_generate_tests() [all …]
|
| H A D | unitneg.c | 73 printf(" zone details\n"); in print_neg_cache() 94 /** get static pointer to random zone name */ 140 /* end of zone */ in get_random_data() 147 /* start of zone */ in get_random_data() 208 log_nametypeclass(0, "add to zone", (uint8_t*)zname, 0, 0); in add_item() 256 /* pick a random zone */ in remove_item() 261 printf("neg stress delete zone %d\n", n); in remove_item() 280 log_nametypeclass(0, "delete zone", z->name, 0, 0); in remove_item() 309 /** sum up the zone trees */ 320 /** sum up the zone trees, in_use only */ [all …]
|
| H A D | unitinfra.c | 50 struct sockaddr_storage* addr, socklen_t addrlen, uint8_t* zone, in infra_lookup_host() argument 55 zone, zonelen, wr); in infra_lookup_host() 68 uint8_t* zone, size_t zonelen, time_t *now, int keep_probing, in test_keep_probing() argument 83 unit_assert( infra_host(slab, &one, onelen, zone, zonelen, in test_keep_probing() 88 unit_assert( infra_rtt_update(slab, &one, onelen, zone, zonelen, in test_keep_probing() 90 unit_assert( infra_host(slab, &one, onelen, zone, zonelen, in test_keep_probing() 97 unit_assert( (d=infra_lookup_host(slab, &one, onelen, zone, zonelen, 0, *now, &k)) ); in test_keep_probing() 108 unit_assert( infra_get_lame_rtt(slab, &one, onelen, zone, zonelen, in test_keep_probing() 119 uint8_t* zone = (uint8_t*)"\007example\003com\000"; in infra_test() local 137 unit_assert( infra_host(slab, &one, onelen, zone, zonelen, now, in infra_test() [all …]
|
| /src/contrib/unbound/services/ |
| H A D | authzone.h | 2 * services/authzone.h - authoritative zone that is locally hosted. 39 * This file contains the functions for an authority zone. This zone 40 * is queried by the iterator, just like a stub or forward zone, but then 82 /** first auth zone containing rpz item in linked list */ 90 * Auth zone. Authoritative data, that is fetched from instead of sending 97 /** zone name, in uncompressed wireformat */ 99 /** length of zone name */ 101 /** number of labels in zone name */ 103 /** the class of this zone, in host byteorder. 110 * delete this zone) */ [all …]
|
| H A D | localzone.h | 39 * This file contains functions to enable local zone authority service. 61 * Local zone type 78 /** answer with data at zone apex */ 80 /** remove default AS112 blocking contents for zone 123 * Local zone. A locally served authoritative zone. 128 /** parent zone, if any. */ 131 /** zone name, in uncompressed wireformat */ 133 /** length of zone name */ 135 /** number of labels in zone name */ 137 /** the class of this zone. [all …]
|
| /src/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() 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 …]
|
| /src/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_malloc_mac.inc | 9 // 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 …]
|
| /src/usr.sbin/fstyp/ |
| H A D | hammer_disk.h | 68 * Per-Zone storage limit: 60 bits 1 MTB 84 #define HAMMER_OFF_ZONE_MASK 0xF000000000000000ULL /* zone portion */ 139 * encode a vol_no. Zone bits are not a part of filesystem capacity as 140 * the zone bits aren't directly or indirectly mapped to physical volumes. 146 * zone 0: available, a big-block that contains the offset is unused 147 * zone 1 (z,v,o): raw volume relative (offset 0 is the volume header) 148 * zone 2 (z,v,o): raw buffer relative (offset 0 is the first buffer) 149 * zone 3 (z,o): undo/redo fifo - fixed zone-2 offset array in volume header 150 * zone 4 (z,v,o): freemap - only real blockmap 151 * zone 8 (z,v,o): B-Tree - actually zone-2 address [all …]
|
| /src/usr.sbin/zonectl/ |
| H A D | zonectl.8 | 37 .Nd Shingled Magnetic Recording Zone Control utility 69 Host Aware drives expose the underlying zone layout via 73 commands and allow the host to manage the zone conditions. 78 Host Managed drives expose the underlying zone layout via 84 by the zone layout. 96 for the zone. 98 Writes that do not conform to the zone layout may be significantly slower 107 Specify the zone subcommand: 111 Host Aware, Host Managed, Not Zoned), the zone commands supported, and 126 Explicitly open the zone specified by the starting LBA. [all …]
|