/illumos-gate/usr/src/uts/sun4u/starcat/sys/ |
H A D | iosramvar.h | 64 * Values used for hash table maintenance 66 #define IOSRAM_HASHSZ 0x20 /* # hash entries */ 199 struct iosram_chunk *hash; /* next entry in the hash list */ member in struct:iosram_chunk
|
/illumos-gate/usr/src/cmd/make/bin/ |
H A D | ar.cc | 398 name_string = ALLOC_WC((int) (library->hash.length + 400 (void) mbstowcs(name_string, library->string_mb, (int) library->hash.length); 401 member_string = name_string + library->hash.length; 647 if ((len = member->body.member.entry->hash.length) > 8) {
|
H A D | doname.cc | 1247 target_end = targ_string.get_string() + tt->hash.length; 1249 suffix_length = suffix->name->hash.length; 1251 if (tt->hash.length < suffix_length) { 1260 (int)(tt->hash.length - suffix_length) 1445 (int) lib->hash.length); 1504 (int) (dependency->name->hash.length-(start-wcb.get_string())-2)); 1505 pattern[dependency->name->hash.length - 1512 (int) dependency->name->hash.length); 1513 pattern[dependency->name->hash.length] = 1797 if ((rule->command_line->hash [all...] |
H A D | read2.cc | 666 if (target->hash.length != 0) 695 namep = ALLOC_WC((int) (target->hash.length + 10)); 973 result->patterns[pattern] = GETNAME(cp, (int) target->hash.length - (cp - wcb.get_string())); 1024 depe->patterns[pattern] = GETNAME(cp, (int) depe->name->hash.length - (cp - wcb1.get_string())); 1520 if (wcb[np->hash.length - 1] == 1523 (int)(np->hash.length - 1)); 1821 command.text.p = wcb1.get_string() + (*value)->hash.length;
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | util.c | 320 pnavl_recorded(avl_tree_t **pnavl, const char *name, uint_t hash, argument 333 if ((pn.pn_hash = hash) == 0) 350 fpavl_recorded(Lm_list *lml, const char *name, uint_t hash, avl_index_t *where) argument 362 if ((fpn.fpn_node.pn_hash = hash) == 0) 383 uint_t hash = sgs_str_hash(name); local 387 Rt_map *_lmp = fpavl_recorded(lml, name, hash, &where); 403 fpnp->fpn_node.pn_hash = hash; 446 uint_t hash = sgs_str_hash(name); local 450 int in_nfavl = pnavl_recorded(&nfavl, name, hash, &where); 464 pnp->pn_hash = hash; 485 uint_t hash; local 532 stravl_insert(const char *name, uint_t hash, size_t nsize, int substr) argument [all...] |
/illumos-gate/usr/src/tools/scripts/ |
H A D | validate_pkg.py | 56 ("hash", ""), 305 self.hash = action.hash 367 self.hash = self.path 623 if getattr(action, "hash", "NOHASH") != "NOHASH": 624 path = action.hash
|
/illumos-gate/usr/src/uts/sun4u/starcat/io/ |
H A D | mboxsc.c | 106 * mboxsc_mbox_t is created and inserted into a hash table to maintain 172 * All existing mailboxes are stored in a hash table with HASHTBL_SIZE 251 * Loadable module support routine. Initializes global lock and hash table. 1457 * non-client-supplied mailbox fields and insert it into the hash table. 1458 * NOTE: The caller MUST hold mboxsc_lock to avoid corrupting the hash table. 1511 * hash table. 1526 * Remove a mailbox from the hash table, unregister its IOSRAM callback, and 1528 * NOTE: The caller MUST hold mboxsc_lock to avoid corrupting the hash table. 1557 * Remove the mailbox from the hash table and deallocate its resources. 1571 * Insert a fully initialized mailbox into the hash tabl 1579 uint32_t hash; local 1608 uint32_t hash; local 1645 uint32_t hash; local [all...] |
/illumos-gate/usr/src/cmd/refer/ |
H A D | hunt2.c | 28 extern int hash(); 78 hh[i] = hash(qitem[i])%nhash; 80 fprintf(stderr, "query wd X%sX has hash %d\n", qitem[i], hh[i]); 88 fprintf(stderr, "item %s hash %d hfreq %d\n", 95 fprintf(stderr, "item hash %d frq %d\n", hh[i], hfreq[hh[i]]); 99 fprintf(stderr, "first item hash %d lp %ld 0%lo\n", hh[0], lp, lp); 125 fprintf(stderr, "item %d, hash %d\n", nterm, hh[nterm]); 139 fprintf(stderr, "item %d hash %d seek to %ld\n",
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip_ftable.c | 783 * routes. Given a starting point in the hash list (hash), walk the IREs 786 * Returns the IRE (held) that corresponds to the hash value. If that IRE is 806 ire_round_robin(irb_t *irb_ptr, ire_ftable_args_t *margs, uint_t hash, argument 813 /* Fold in more bits from the hint/hash */ 814 hash = hash ^ (hash >> 8) ^ (hash >> 16); 823 hash [all...] |
/illumos-gate/usr/src/tools/ctf/cvt/ |
H A D | tdata.c | 40 * The layout hash is used during the equivalency checking. We have a node in 45 * the node into the hash. If we don't, we'll end up with the vast majority of 51 * incorporate anything into the hash for a named struct or union node that 87 * the hash value, assuming there are any. 93 /* Use the first element in the hash value */ 379 * we store the iidescs as a hash. 438 tdata_build_hashes_common(tdata_t *td, hash_t *hash) argument 440 (void) iitraverse_hash(hash, &td->td_curvgen, NULL, NULL,
|
/illumos-gate/usr/src/lib/libast/common/ |
H A D | llib-last | 81 #include <hash.h>
|
/illumos-gate/usr/src/lib/libcpc/common/ |
H A D | libcpc.c | 820 cpc_strhash_t *hash; local 825 if ((hash = __cpc_strhash_alloc()) == NULL) { 847 if (__cpc_strhash_add(hash, p) == -1) 855 if (__cpc_strhash_add(hash, p) == -1) 860 while ((p = __cpc_strhash_next(hash)) != NULL) 864 __cpc_strhash_free(hash);
|
/illumos-gate/usr/src/cmd/cmd-crypto/elfsign/ |
H A D | elfsign.c | 501 uchar_t hash[SIG_MAX_LENGTH]; local 577 * so the hash doesn't change 588 bzero(hash, sizeof (hash)); 589 if (elfsign_hash(cmd_info.ess, hash, &hash_len) != ELFSIGN_SUCCESS) { 590 es_error(gettext("Unable to calculate hash of ELF object %s"), 598 hash, hash_len, sig, &sig_len)) { 649 bzero(hash, hash_len);
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_idmap.c | 154 #define ID_HASH(id, hash) \ 156 (hash) = MOD2(((id) ^ NFSID_CACHE_ANCHORS), NFSID_CACHE_ANCHORS); \ 1081 * Ops per hash queue 1154 * The only serialization required it to hold the hash chain lock 1156 * to all hash chains while flushing. It is possible that (valid) 1157 * entries could be cached in later hash chains after we start flushing. 1161 * Ops per hash queue 1179 * remove list from hash header so we can release 1245 * Callback reclaim function for VM. We reap timed-out entries from all hash 1269 * hash queu 1459 uint_t hash; local [all...] |
H A D | nfs4_state.c | 247 * Internally we only allow a thread to hold one hash bucket lock at a 249 * first) than the data structure that is on that hash list. 262 * the hash buckets that can be used to create new instances of data 1522 uint32_t hash = 0; local 1525 hash <<= 1; 1526 hash += (uint_t)client->id_val[i]; 1528 return (hash); 1809 uint32_t hash = 0; local 1824 hash <<= 1; 1825 hash 1995 uint_t hash = 0; local 2205 uint_t hash = 0; local [all...] |
/illumos-gate/usr/src/uts/common/inet/kssl/ |
H A D | ksslapi.c | 690 uchar_t hash[MAX_HASH_LEN]; local 701 version, mp->b_rptr, rec_sz, hash); 703 bcmp(hash, recend, mac_sz)) { 900 uchar_t hash[MAX_HASH_LEN]; local 912 version, mp->b_rptr, rec_sz, hash); 914 bcmp(hash, recend, mac_sz)) {
|
/illumos-gate/usr/src/uts/common/dtrace/ |
H A D | dtrace.c | 192 static dtrace_dynvar_t dtrace_dynhash_sink; /* end of dynamic hash chains */ 292 * On DEBUG kernels, DTrace will track the errors that has seen in a hash 296 * error hash may be examined with the ::dtrace_errhash MDB dcmd. 313 #define DTRACE_HASHSTR(hash, probe) \ 314 dtrace_hash_str(*((char **)((uintptr_t)(probe) + (hash)->dth_stroffs))) 316 #define DTRACE_HASHNEXT(hash, probe) \ 317 (dtrace_probe_t **)((uintptr_t)(probe) + (hash)->dth_nextoffs) 319 #define DTRACE_HASHPREV(hash, probe) \ 320 (dtrace_probe_t **)((uintptr_t)(probe) + (hash)->dth_prevoffs) 322 #define DTRACE_HASHEQ(hash, lh 1755 dtrace_dynhash_t *hash = dstate->dtds_hash; local 7475 dtrace_hash_t *hash = kmem_zalloc(sizeof (dtrace_hash_t), KM_SLEEP); local 7491 dtrace_hash_destroy(dtrace_hash_t *hash) argument 7506 dtrace_hash_resize(dtrace_hash_t *hash) argument 7537 dtrace_hash_add(dtrace_hash_t *hash, dtrace_probe_t *new) argument 7576 dtrace_hash_lookup(dtrace_hash_t *hash, dtrace_probe_t *template) argument 7591 dtrace_hash_collisions(dtrace_hash_t *hash, dtrace_probe_t *template) argument 7606 dtrace_hash_remove(dtrace_hash_t *hash, dtrace_probe_t *probe) argument 7997 dtrace_hash_t *hash = NULL; local [all...] |
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/ |
H A D | k5-int.h | 809 krb5_error_code (*hash) (krb5_context context, member in struct:krb5_hash_provider 817 krb5_error_code (*hash) ( member in struct:krb5_keyhash_provider 830 krb5_const krb5_data *hash, 836 const struct krb5_hash_provider *hash, 842 krb5_const struct krb5_hash_provider *hash, 857 const struct krb5_hash_provider *hash, 866 const struct krb5_hash_provider *hash; member in struct:krb5_keytypes 887 /* if the hash is keyed, this is the etype it is keyed with. 894 then HMAC/hash with derived keys is used if the relevant flag 895 is set. Otherwise, a non-keyed hash i 898 const struct krb5_hash_provider *hash; member in struct:krb5_cksumtypes 2588 krb5_ui_4 hash; member in struct:_krb5_donot_replay [all...] |
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_sched.c | 128 * hence the invariant that fanout always hash a given flow to the same 547 * | | v hash % nrings v 882 * same * +===========+ v from hash v 883 * hash | | +===============+ 888 * hash or 895 * v Applies hash based on aggr v 1437 * hash based on the src address, dst address and the port information. 1711 uint_t hash; local 1779 * Extract next-header, full header length, and source-hash value 1836 hash 1905 uint_t hash; local 3786 uint64_t hash; local 3932 uint_t indx, hash; local [all...] |
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | nl7chttp.c | 698 * pointer "*hash" points to the current text hash. 703 * **hpp == **epp), and "*hash" will be updated. 706 * line and "*hash" wont be updated. 717 ttree_line_parse(ttree_t *t, char **cpp, char **epp, char **hpp, uint32_t *hash) argument 729 uint32_t hv; /* hash value */ 731 if (hash != NULL) 732 hv = *hash; 829 hash != NULL) { 840 * Return updated hash valu [all...] |
/illumos-gate/usr/src/uts/common/vm/ |
H A D | vm_usage.c | 190 * hash of visited objects (vnodes or shared amps) 425 "vmusage vnode hash", VMUSAGE_HASH_SIZE, vmu_free_object, 428 "vmusage amp hash", VMUSAGE_HASH_SIZE, vmu_free_object, 431 "vmusage collapsed project hash", VMUSAGE_HASH_SIZE, 434 "vmusage collapsed ruser hash", VMUSAGE_HASH_SIZE, 437 "vmusage collpased euser hash", VMUSAGE_HASH_SIZE, 440 "vmusage zone hash", VMUSAGE_HASH_SIZE, vmu_free_zone); 480 "vmusage vnode hash", VMUSAGE_HASH_SIZE, vmu_free_object, 485 "vmusage amp hash", VMUSAGE_HASH_SIZE, vmu_free_object, 490 "vmusage anon hash", VMUSAGE_HASH_SIZ 599 vmu_find_insert_object(mod_hash_t *hash, caddr_t key, uint_t type) argument 616 vmu_find_insert_anon(mod_hash_t *hash, caddr_t key) argument 636 vmu_find_insert_entity(mod_hash_t *hash, id_t id, uint_t type, id_t zoneid) argument [all...] |
/illumos-gate/usr/src/common/ficl/ |
H A D | ficl.h | 521 * Default size of hash table. For most uniform 1204 ficlUnsigned16 hash; member in struct:ficlWord 1313 * Ficl hash table - variable size. 1323 unsigned size; /* number of buckets in the hash */ 1327 FICL_PLATFORM_EXTERN void ficlHashForget(ficlHash *hash, void *where); 1329 FICL_PLATFORM_EXTERN void ficlHashInsertWord(ficlHash *hash, ficlWord *word); 1331 ficlHashLookup(ficlHash *hash, ficlString name, ficlUnsigned16 hashCode); 1332 FICL_PLATFORM_EXTERN void ficlHashReset(ficlHash *hash); 1344 * linked into the hash table. If unsuccessful, dictUnsmudge
|
/illumos-gate/usr/src/lib/libkvm/common/ |
H A D | kvm.c | 311 long hash = DUMP_HASH(&kd->kvm_dump, as, page); local 312 off = kd->kvm_map[hash].dm_first; 321 hash) {
|
/illumos-gate/usr/src/cmd/fm/modules/sun4v/etm/ |
H A D | etm_ckpt.c | 81 uint_t hash = 0; /* hash value */ local 87 hash += *str++; 89 return (hash);
|
/illumos-gate/usr/src/lib/libinetsvc/common/ |
H A D | inetsvc.c | 31 * reading, calculating and writing the hash of an inetd.conf file, and 114 #define HASH_PG "hash" 1326 * On success, hash is modified to point to the digest string and 0 is returned. 1332 calculate_hash(const char *pathname, char **hash) argument 1379 *hash = digest; 1384 * retrieve_inetd_hash retrieves inetd's configuration file hash from the 1385 * repository. On success, hash is modified to point to the hash string and 1387 * The space for the hash string is obtained using malloc(3C) and should be 1391 retrieve_inetd_hash(char **hash) argument 1422 store_inetd_hash(const char *hash) argument [all...] |