/freebsd-9.3-release/sys/mips/rmi/ |
H A D | msgring_xls.cfg | 46 * across all sending agents should not exceed the bucket size. 60 * The bucket size of a bucket should be aligned to the bucket's starting index in that 62 * are 32 and 32, bucket2's size has to be 64. bucket size 0 is valid. 64 * The format of the file is pretty straight forward. Each bucket definition has the size 65 * and the list of sending agents to that bucket with the number of credits to send. 67 * Undefined buckets have a size of 0 and Tx stations have 0 credits to send to that bucket. 69 * Following are the currently supported bucket names 141 bucket "cpu_0_ [all...] |
H A D | msgring.cfg | 44 * across all sending agents should not exceed the bucket size. 69 * The bucket size of a bucket should be aligned to the bucket's starting index in that 71 * are 32 and 32, bucket2's size has to be 64. bucket size 0 is valid. 73 * The format of the file is pretty straight forward. Each bucket definition has the size 74 * and the list of sending agents to that bucket with the number of credits to send. 76 * Undefined buckets have a size of 0 and Tx stations have 0 credits to send to that bucket. 78 * Following are the currently supported bucket names 233 bucket "cpu_0_ [all...] |
H A D | fmn.c | 135 * the bucket sizes for each bucket 137 msgrng_write_bucksize(0, bucket_sizes->bucket[id * 8 + 0]); 138 msgrng_write_bucksize(1, bucket_sizes->bucket[id * 8 + 1]); 139 msgrng_write_bucksize(2, bucket_sizes->bucket[id * 8 + 2]); 140 msgrng_write_bucksize(3, bucket_sizes->bucket[id * 8 + 3]); 141 msgrng_write_bucksize(4, bucket_sizes->bucket[id * 8 + 4]); 142 msgrng_write_bucksize(5, bucket_sizes->bucket[id * 8 + 5]); 143 msgrng_write_bucksize(6, bucket_sizes->bucket[id * 8 + 6]); 144 msgrng_write_bucksize(7, bucket_sizes->bucket[i 192 int bucket = 0; local [all...] |
/freebsd-9.3-release/usr.bin/yacc/ |
H A D | symtab.c | 53 bucket **symbol_table; 54 bucket *first_symbol; 55 bucket *last_symbol; 74 bucket * 77 bucket *bp; 80 bp = malloc(sizeof(bucket)); 100 bucket * 103 bucket *bp, **bpp; 127 bucket *bp; 129 symbol_table = malloc(TABLE_SIZE*sizeof(bucket *)); [all...] |
H A D | reader.c | 64 bucket *goal; 70 bucket **pitem; 73 bucket **plhs; 98 static bucket *get_literal(void); 99 static bucket *get_name(void); 116 static void start_rule(bucket *, int); 673 static bucket * 680 bucket *bp; 833 static bucket * 918 bucket *b [all...] |
/freebsd-9.3-release/sys/contrib/octeon-sdk/ |
H A D | cvmx-tim.c | 73 * @param tick Time between each bucket in microseconds. This must not be 105 * to fetch the bucket data, Resulting in timer ring error interrupt 154 cvmx_tim.bucket = cvmx_bootmem_alloc(CVMX_TIM_NUM_TIMERS * cvmx_tim.num_buckets 156 if (cvmx_tim.bucket == NULL) 161 memset(cvmx_tim.bucket, 0, CVMX_TIM_NUM_TIMERS * cvmx_tim.num_buckets * sizeof(cvmx_tim_bucket_entry_t)); 168 cvmx_tim_bucket_entry_t *bucket = cvmx_tim.bucket + timer_id * cvmx_tim.num_buckets; local 169 /* Tell the hardware where about the bucket array */ 171 config_ring0.s.first_bucket = cvmx_ptr_to_phys(bucket) >> 5; 227 uint32_t bucket; local [all...] |
/freebsd-9.3-release/contrib/libarchive/libarchive/ |
H A D | archive_entry_link_resolver.c | 252 int hash, bucket; local 273 bucket = hash % res->number_buckets; 274 for (le = res->buckets[bucket]; le != NULL; le = le->next) { 287 /* Remove it from this hash bucket. */ 292 if (res->buckets[bucket] == le) 293 res->buckets[bucket] = le->next; 307 size_t bucket; local 320 /* Look for next non-empty bucket in the links cache. */ 321 for (bucket = 0; bucket < re 342 int hash, bucket; local 375 size_t i, bucket; local [all...] |
H A D | archive_write_disk_set_standard_lookup.c | 53 struct bucket { struct 80 * but has a bad pathology in which it thrashes a single bucket. Even 87 struct bucket *ucache = malloc(cache_size * sizeof(struct bucket)); 88 struct bucket *gcache = malloc(cache_size * sizeof(struct bucket)); 89 memset(ucache, 0, cache_size * sizeof(struct bucket)); 90 memset(gcache, 0, cache_size * sizeof(struct bucket)); 100 struct bucket *b; 101 struct bucket *gcach [all...] |
/freebsd-9.3-release/sys/mips/nlm/ |
H A D | msgring.h | 39 void xlp_cpu_msgring_handler(int bucket, int size, int code, int stid,
|
/freebsd-9.3-release/contrib/gcc/ |
H A D | tree-phinodes.c | 134 int bucket = NUM_BUCKETS - 2; local 139 for (bucket = len - 2; bucket < NUM_BUCKETS - 2; bucket++) 140 if (free_phinodes[bucket]) 144 if (bucket < NUM_BUCKETS - 2 145 && PHI_ARG_CAPACITY (free_phinodes[bucket]) >= len) 148 phi = free_phinodes[bucket]; 149 free_phinodes[bucket] = PHI_CHAIN (free_phinodes[bucket]); 244 int bucket; local [all...] |
H A D | rtl-factoring.c | 315 p_hash_bucket bucket; local 324 bucket = htab_find (hash_buckets, &tmp_bucket); 326 if (bucket) 331 elem = htab_find (bucket->seq_candidates, &tmp_elem); 1205 p_hash_bucket bucket = (p_hash_bucket) p; local 1206 return bucket->hash; 1222 p_hash_bucket bucket = (p_hash_bucket) p; local 1224 if (bucket->seq_candidates) 1225 htab_delete (bucket->seq_candidates); 1227 free (bucket); 1265 p_hash_bucket bucket; local [all...] |
/freebsd-9.3-release/libexec/rtld-elf/ |
H A D | malloc.c | 87 u_char ovu_index; /* bucket # */ 117 static int pagebucket; /* page size bucket */ 171 register int bucket; local 190 bucket = 0; 194 bucket++; 196 pagebucket = bucket; 205 amt = 8; /* size of first bucket */ 206 bucket = 0; 208 amt = 16; /* size of first bucket */ 209 bucket [all...] |
/freebsd-9.3-release/contrib/ntp/sntp/libevent/ |
H A D | ratelim-internal.h | 35 /** A token bucket is an internal structure that tracks how many bytes we are 42 /** When was this bucket last updated? Measured in abstract 'ticks' 43 * relative to the token bucket configuration. */ 47 /** Configuration info for a token bucket or set of token buckets. */ 66 /** The current tick is 'current_tick': add bytes to 'bucket' as specified in 68 int ev_token_bucket_update_(struct ev_token_bucket *bucket, 77 /** Adjust 'bucket' to respect 'cfg', and note that it was last updated in 79 * configuration of 'bucket'; otherwise, we are setting it up for the first 82 int ev_token_bucket_init_(struct ev_token_bucket *bucket,
|
/freebsd-9.3-release/contrib/bind9/lib/dns/ |
H A D | adb.c | 90 #define DNS_ADB_INVALIDBUCKET (-1) /*%< invalid bucket address */ 134 * XXXRTH Have a per-bucket structure that contains all of these? 148 * XXXRTH Have a per-bucket structure that contains all of these? 515 unsigned int i, n, bucket; local 578 bucket = isc_sockaddr_hash(&e->sockaddr, ISC_TRUE) % n; 579 e->lock_bucket = bucket; 580 ISC_LIST_APPEND(newentries[bucket], e, plink); 583 newentry_refcnt[bucket]++; 589 bucket = isc_sockaddr_hash(&e->sockaddr, ISC_TRUE) % n; 590 e->lock_bucket = bucket; 670 unsigned int i, n, bucket; local 958 int bucket; local 1067 link_name(dns_adb_t *adb, int bucket, dns_adbname_t *name) argument 1080 int bucket; local 1102 link_entry(dns_adb_t *adb, int bucket, dns_adbentry_t *entry) argument 1133 int bucket; local 1166 unsigned int bucket; local 1211 unsigned int bucket; local 1554 int bucket; local 1571 int bucket; local 1957 int bucket; local 1999 int bucket; local 2079 int bucket; local 2215 check_stale_name(dns_adb_t *adb, int bucket, isc_stdtime_t now) argument 2293 cleanup_names(dns_adb_t *adb, int bucket, isc_stdtime_t now) argument 2323 cleanup_entries(dns_adb_t *adb, int bucket, isc_stdtime_t now) argument 2791 int bucket; local 3129 int bucket; local 3187 int bucket; local 3640 int bucket; local 3903 int bucket; local 3940 int bucket; local 3972 int bucket; local 4000 int bucket; local 4053 int bucket; local 4117 int bucket; local [all...] |
/freebsd-9.3-release/contrib/bind9/lib/isccc/ |
H A D | symtab.c | 105 free_elt(isccc_symtab_t *symtab, unsigned int bucket, elt_t *elt) { argument 106 ISC_LIST_UNLINK(symtab->table[bucket], elt, link); 198 unsigned int bucket; local 204 FIND(symtab, key, type, bucket, elt); 219 unsigned int bucket; local 226 FIND(symtab, key, type, bucket, elt); 232 ISC_LIST_UNLINK(symtab->table[bucket], elt, link); 251 ISC_LIST_PREPEND(symtab->table[bucket], elt, link); 258 unsigned int bucket; local 264 FIND(symtab, key, type, bucket, el [all...] |
/freebsd-9.3-release/contrib/gdb/gdb/ |
H A D | bcache.c | 74 struct bstring **bucket; member in struct:bcache 162 * sizeof (bcache->bucket[0])); 171 for (s = bcache->bucket[i]; s; s = next) 184 if (bcache->bucket) 185 xfree (bcache->bucket); 186 bcache->bucket = new_buckets; 220 /* Search the hash bucket for a string identical to the caller's. 223 for (s = bcache->bucket[hash_index]; s; s = s->next) 241 new->next = bcache->bucket[hash_index]; 243 bcache->bucket[hash_inde [all...] |
/freebsd-9.3-release/sys/sparc64/sparc64/ |
H A D | tsb.c | 88 struct tte *bucket; local 102 bucket = tsb_vtobucket(pm, sz, va); 104 tp = &bucket[i]; 116 struct tte *bucket; local 146 bucket = tsb_vtobucket(pm, sz, va); 153 if ((bucket[i].tte_data & TD_V) == 0) { 154 tp = &bucket[i]; 158 if ((bucket[i].tte_data & TD_REF) == 0) 159 tp = &bucket[i]; 161 rtp = &bucket[ [all...] |
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/dtrace/ |
H A D | fasttrap.c | 126 * from being freed. A provider is looked up by taking the bucket lock for the 140 * bucket lock before provider lock 324 fasttrap_bucket_t *bucket; local 342 bucket = &fasttrap_provs.fth_table[i]; 343 mutex_enter(&bucket->ftb_mtx); 344 fpp = (fasttrap_provider_t **)&bucket->ftb_data; 398 mutex_exit(&bucket->ftb_mtx); 514 fasttrap_bucket_t *bucket = &fasttrap_tpoints.fth_table[i]; local 516 mutex_enter(&bucket->ftb_mtx); 517 for (tp = bucket 586 fasttrap_bucket_t *bucket; local 762 fasttrap_bucket_t *bucket; local 1292 fasttrap_bucket_t *bucket; local 1359 fasttrap_bucket_t *bucket; local 1415 fasttrap_bucket_t *bucket; local 1578 fasttrap_bucket_t *bucket; local 2395 fasttrap_bucket_t *bucket = &fasttrap_provs.fth_table[i]; local [all...] |
/freebsd-9.3-release/sys/vm/ |
H A D | uma_core.c | 196 * bucket_size[] maps requested bucket sizes to zones that allocate a bucket 276 * For each zone, calculate the memory required for each bucket, consisting 278 * the range of appropriate bucket sizes at the zone. 302 * Given a desired number of entries for a bucket, return the zone from which 303 * to allocate the bucket. 318 uma_bucket_t bucket; local 330 bucket = zone_alloc_item(ubz->ubz_zone, NULL, bflags); 331 if (bucket) { 333 bzero(bucket 343 bucket_free(uma_bucket_t bucket) argument 570 bucket_drain(uma_zone_t zone, uma_bucket_t bucket) argument 641 uma_bucket_t bucket; local 1970 uma_bucket_t bucket; local 2361 uma_bucket_t bucket; local 2538 uma_bucket_t bucket; local 3225 uma_bucket_t bucket; local 3326 uma_bucket_t bucket; local [all...] |
/freebsd-9.3-release/contrib/tcsh/ |
H A D | tc.alloc.c | 113 U_char ovu_index; /* bucket # */ 177 int bucket = 0; local 202 bucket++; 204 * If nothing in hash bucket right now, request more memory from the 207 if (nextf[bucket] == NULL) 208 morecore(bucket); 209 if ((p = nextf[bucket]) == NULL) { 222 nextf[bucket] = nextf[bucket]->ov_next; 224 p->ov_index = bucket; 248 morecore(int bucket) argument [all...] |
/freebsd-9.3-release/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | hash.c | 109 int bucket = hash->h_hashfn(hash->h_nbuckets, key); local 111 list_add(&hash->h_buckets[bucket], key); 137 int bucket = hash->h_hashfn(hash->h_nbuckets, key); local 139 (void) list_remove(&hash->h_buckets[bucket], key, 147 int bucket = hash->h_hashfn(hash->h_nbuckets, key); local 149 return (list_iter(hash->h_buckets[bucket], fun, private) < 0); 172 int bucket = hash->h_hashfn(hash->h_nbuckets, key); local 180 return (list_iter(hash->h_buckets[bucket], hash_find_list_cb,
|
/freebsd-9.3-release/libexec/bootpd/ |
H A D | hash.c | 106 * Frees an entire linked list of bucket members (used in the open 129 * memory and resets all bucket pointers to NULL. 219 * to determine the bucket number, and "compare" and "key" to determine 223 * already exists in the given bucket of the hash table, or some other error 356 register unsigned bucket; 369 * until we find a new chain (non-empty bucket) or run out of buckets. 371 bucket = hashtable->bucketnum + 1; 372 while ((bucket < hashtable->size) && 373 !(memberptr = (hashtable->table)[bucket])) { 374 bucket 348 register unsigned bucket; local [all...] |
/freebsd-9.3-release/contrib/bind9/lib/isc/ |
H A D | symtab.c | 173 unsigned int bucket; local 179 FIND(symtab, key, type, bucket, elt); 234 unsigned int bucket; local 241 FIND(symtab, key, type, bucket, elt); 247 UNLINK(symtab->table[bucket], elt, link); 274 PREPEND(symtab->table[bucket], elt, link); 284 unsigned int bucket; local 290 FIND(symtab, key, type, bucket, elt); 298 UNLINK(symtab->table[bucket], elt, link);
|
/freebsd-9.3-release/contrib/ntp/lib/isc/ |
H A D | symtab.c | 171 unsigned int bucket; local 177 FIND(symtab, key, type, bucket, elt); 232 unsigned int bucket; local 239 FIND(symtab, key, type, bucket, elt); 245 UNLINK(symtab->table[bucket], elt, link); 272 PREPEND(symtab->table[bucket], elt, link); 282 unsigned int bucket; local 288 FIND(symtab, key, type, bucket, elt); 296 UNLINK(symtab->table[bucket], elt, link);
|
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/java_api/src/ |
H A D | TestBean.java | 208 Distribution.Bucket bucket; 220 bucket = new Distribution.Bucket(-1, -1, n++); 221 buckets.add(bucket); 222 bucket = new Distribution.Bucket(0, 0, n++); 223 buckets.add(bucket); 224 bucket = new Distribution.Bucket(1, 1, n++); 225 buckets.add(bucket); 238 bucket = new Distribution.Bucket(lowerBound, upperBound, n++); 239 buckets.add(bucket); 250 Distribution.Bucket bucket; [all...] |