/opensolaris-onvv-gate/usr/src/tools/ctf/cvt/ |
H A D | alist.c | 55 alist_hash(int nbuckets, alist_el_t *el) argument 59 return (num % nbuckets); 69 alist_xnew(int nbuckets, void (*namefree)(void *), argument 76 alist->al_elements = hash_new(nbuckets, hashfn, cmpfn);
|
H A D | hash.c | 61 hash_def_hash(int nbuckets, uintptr_t data) argument 63 return (data % nbuckets); 74 hash_name(int nbuckets, const char *name) argument 88 return (h % nbuckets); 92 hash_new(int nbuckets, int (*hashfn)(int, void *), int (*cmp)(void *, void *)) argument 97 hash->h_buckets = xcalloc(sizeof (list_t *) * nbuckets); 98 hash->h_nbuckets = nbuckets;
|
H A D | tdata.c | 55 tdesc_layouthash(int nbuckets, void *node) argument 107 return (hash_name(nbuckets, name)); 109 return (h % nbuckets); 129 tdesc_idhash(int nbuckets, void *data) argument 133 return (tdp->t_id % nbuckets); 148 tdesc_namehash(int nbuckets, void *data) argument 165 return (h % nbuckets);
|
H A D | iidesc.c | 59 iidesc_hash(int nbuckets, void *arg) argument 65 return (hash_name(nbuckets, ii->ii_name));
|
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/ |
H A D | malloc_ctl.h | 13 UV nbuckets; member in struct:perl_mstats
|
/opensolaris-onvv-gate/usr/src/lib/libipmi/common/ |
H A D | ipmi_hash.c | 174 ipmi_hash_link_t *link, **nbuckets; local 182 if ((nbuckets = ipmi_zalloc(hp, nsize * sizeof (void *))) == NULL) { 207 link->ihl_next = nbuckets[nidx]; 208 nbuckets[nidx] = link; 213 ihp->ih_buckets = nbuckets;
|
/opensolaris-onvv-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_strtab.c | 65 uint_t nbuckets = _dtrace_strbuckets; local 73 sp->str_hash = malloc(nbuckets * sizeof (dt_strhash_t *)); 78 bzero(sp->str_hash, nbuckets * sizeof (dt_strhash_t *)); 79 sp->str_hashsz = nbuckets;
|
H A D | dt_aggregate.c | 210 int nbuckets = DTRACE_QUANTIZE_NBUCKETS, i; local 214 for (i = 0; i < nbuckets; i++) {
|
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/ext/Devel/Peek/ |
H A D | Peek.xs | 222 svp = hv_fetch(hv, "nbuckets", 8, 1); 223 sv_setiv(*svp, b->buffer.nbuckets); 225 if (_NBUCKETS < b->buffer.nbuckets) 248 av_extend(av, b->buffer.nbuckets - 1); 265 for (i = 0; i < b->buffer.nbuckets; i++) {
|
H A D | Peek.pm | 148 minbucket nbuckets sbrk_good sbrk_slack sbrked_remains sbrks start_slack 164 mem_size available_size minbucket nbuckets
|
/opensolaris-onvv-gate/usr/src/cmd/agents/snmp/parser/ |
H A D | parse.c | 267 struct node *nbuckets[NHASHSIZE]; variable in typeref:struct:node 278 bzero((char *)nbuckets,sizeof(nbuckets)); 280 memset((void *) nbuckets, 0, sizeof(nbuckets)); 287 np->next = nbuckets[NBUCKET(hash)]; 288 nbuckets[NBUCKET(hash)] = np; 498 if (nbuckets[bucket]){ 508 for(np = nbuckets[bucket]; np; np = np->next) 535 headp = &nbuckets[NBUCKE [all...] |
/opensolaris-onvv-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/ |
H A D | hash.c | 385 int32_t l2, nbuckets; local 395 nbuckets = 1 << l2; 402 hashp->hdr.max_bucket = hashp->hdr.low_mask = nbuckets - 1; 403 hashp->hdr.high_mask = (nbuckets << 1) - 1;
|
/opensolaris-onvv-gate/usr/src/cmd/sendmail/db/hash/ |
H A D | hash.c | 206 int32_t l2, nbuckets; local 226 nbuckets = 1 << l2; 231 hcp->hdr->max_bucket = hcp->hdr->high_mask = nbuckets - 1; 232 hcp->hdr->low_mask = (nbuckets >> 1) - 1;
|
/opensolaris-onvv-gate/usr/src/uts/common/os/ |
H A D | msg.c | 1359 int nbuckets; local 1375 nbuckets = MSG_MAX_QNUM - neg_index + 1; 1376 check_index = neg_index + (qp->msg_stime % nbuckets); 1378 for (count = nbuckets; count > 0; count--) {
|
/opensolaris-onvv-gate/usr/src/uts/common/io/ib/clients/daplt/ |
H A D | daplt.c | 9404 * nbuckets number of buckets (must be power of 2) 9418 * EINVAL nbuckets is not a power of 2 9423 daplka_hash_create(daplka_hash_table_t *htblp, uint_t nbuckets, argument 9428 if ((nbuckets & ~(nbuckets - 1)) != nbuckets) { 9429 DERR("hash_create: nbuckets not power of 2\n"); 9435 kmem_zalloc(sizeof (daplka_hash_bucket_t) * nbuckets, 9441 for (i = 0; i < nbuckets; i++) { 9452 htblp->ht_nbuckets = nbuckets; [all...] |