/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_ofile.c | 1034 smb_hash_t *hash; in smb_ofile_lookup_by_persistid() local 1043 hash = sr->sr_server->sv_persistid_ht; in smb_ofile_lookup_by_persistid() 1044 idx = smb_hash_uint64(hash, persistid); in smb_ofile_lookup_by_persistid() 1045 bucket = &hash->buckets[idx]; in smb_ofile_lookup_by_persistid() 1095 smb_hash_t *hash = of->f_server->sv_persistid_ht; in smb_ofile_set_persistid_dh() local 1107 idx = smb_hash_uint64(hash, persistid); in smb_ofile_set_persistid_dh() 1108 bucket = &hash->buckets[idx]; in smb_ofile_set_persistid_dh() 1163 idx = smb_hash_uint64(hash, persistid); in smb_ofile_insert_persistid() 1164 bucket = &hash->buckets[idx]; in smb_ofile_insert_persistid() 1196 idx = smb_hash_uint64(hash, of->f_persistid); in smb_ofile_del_persistid() [all …]
|
H A D | smb2_lease.c | 128 uint_t hash = 0; in smb_hash_uuid() local 134 hash = (hash << 4) + k[i]; in smb_hash_uuid() 135 if ((g = (hash & 0xf0000000)) != 0) { in smb_hash_uuid() 136 hash ^= (g >> 24); in smb_hash_uuid() 137 hash ^= g; in smb_hash_uuid() 140 return (hash); in smb_hash_uuid()
|
/illumos-gate/usr/src/lib/libelfsign/common/ |
H A D | elfsignlib.c | 894 elfsign_hash_common(ELFsign_t ess, uchar_t *hash, size_t *hash_len, in elfsign_hash_common() argument 906 bzero(hash, *hash_len); in elfsign_hash_common() 968 SHA1Final(hash, &ctx); in elfsign_hash_common() 975 tohexstr(hash, *hash_len, hashstr, hashstr_len); in elfsign_hash_common() 992 elfsign_hash(ELFsign_t ess, uchar_t *hash, size_t *hash_len) in elfsign_hash() argument 994 return (elfsign_hash_common(ess, hash, hash_len, B_FALSE)); in elfsign_hash() 1007 return (elfsign_hash_common(ess, hash, hash_len, B_TRUE)); in elfsign_hash_mem_resident() 1027 uchar_t hash[SIG_MAX_LENGTH]; in elfsign_verify_signature() local 1129 hash_len = sizeof (hash); in elfsign_verify_signature() 1130 if (elfsign_hash(ess, hash, &hash_len) != ELFSIGN_SUCCESS) { in elfsign_verify_signature() [all …]
|
/illumos-gate/usr/src/uts/common/io/dls/ |
H A D | dls_link.c | 281 mod_hash_t *hash = dlp->dl_str_hash; in i_dls_link_rx_func() local 303 if (mod_hash_find_cb_rval(hash, key, (mod_hash_val_t *)&dhp, in i_dls_link_rx_func() 343 mod_hash_t *hash = dlp->dl_str_hash; in i_dls_link_rx() local 432 if (mod_hash_find_cb_rval(hash, key, (mod_hash_val_t *)&dhp, in i_dls_link_rx() 1000 mod_hash_t *hash = dlp->dl_str_hash; in dls_link_add() local 1016 if ((err = mod_hash_find(hash, key, (mod_hash_val_t *)&dhp)) != 0) { in dls_link_add() 1020 err = mod_hash_insert(hash, key, (mod_hash_val_t)dhp); in dls_link_add() 1048 mod_hash_t *hash = dlp->dl_str_hash; in dls_link_remove() local 1095 (void) mod_hash_remove(hash, dhp->dh_key, &val); in dls_link_remove()
|
/illumos-gate/usr/src/cmd/sgs/crle/common/ |
H A D | print.c | 194 Word *hash, *chain; in scanconfig() local 836 hash = (Word *)(CAST_PTRINT(char *, head->ch_hash) + addr); in scanconfig() 837 bkts = hash[0]; in scanconfig() 838 chain = &hash[2 + bkts]; in scanconfig() 839 hash += 2; in scanconfig() 846 for (ndx = 0; ndx < bkts; ndx++, hash++) { in scanconfig() 852 if (*hash == 0) in scanconfig() 855 obj = objtbl + *hash; in scanconfig() 865 for (_ndx = chain[*hash]; _ndx; _ndx = chain[_ndx]) { in scanconfig()
|
/illumos-gate/usr/src/cmd/ypcmd/shared/ |
H A D | lockmap.c | 104 hash(char *s) in hash() function 288 hashval = hash(mapname); in lock_map() 371 hashval = hash(mapname); in unlock_map()
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/ |
H A D | hash.c | 166 if (info && info->hash) 167 hashp->hash = info->hash; 169 hashp->hash = __default_hash; 184 if (hashp->hash(CHARKEY, sizeof(CHARKEY)) 334 hashp->hash = __default_hash; 357 if (info->hash) 358 hashp->hash = info->hash; 616 hashp->hdr.h_charkey = hashp->hash(CHARKEY, sizeof(CHARKEY)); 1024 n = hashp->hash(k, len);
|
/illumos-gate/usr/src/boot/efi/loader/arch/arm/ |
H A D | ldscript.arm | 66 .hash : { *(.hash) }
|
/illumos-gate/usr/src/cmd/keyserv/ |
H A D | keyserv_cache.c | 800 u_int hash; in find_cache_item() local 803 hash = hashval(uid); in find_cache_item() 813 list_remove_hash(cd, &((*ch)->bucket[hash]), 0, 0); in find_cache_item() 994 u_int hash; in cache_retrieve_ch() local 1002 hash = hashval(uid); in cache_retrieve_ch() 1004 for (cd = ch->bucket[hash]; cd != 0; cd = cd->nexthash) { in cache_retrieve_ch() 1042 u_int hash; in cache_remove_ch() local 1051 hash = hashval(uid); in cache_remove_ch() 1053 for (cd = ch->bucket[hash]; cd != 0; ) { in cache_remove_ch() 1063 list_remove_hash(cd, &(ch->bucket[hash]), 0, 0); in cache_remove_ch() [all …]
|
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Kstat/ |
H A D | Kstat.xs | 648 HV *hash; in get_tie() local 658 hash = (HV *)SvRV(self); in get_tie() 662 SvREADONLY_off(hash); in get_tie() 663 entry = hv_fetch(hash, key[k], strlen(key[k]), TRUE); in get_tie() 678 SvREADONLY_on(hash); in get_tie() 679 hash = newhash; in get_tie() 684 SvREADONLY_on(hash); in get_tie() 685 hash = (HV *)SvRV(*entry); in get_tie() 701 hv_magic(hash, (GV *)tieref, 'P'); in get_tie() 703 SvREADONLY_on(hash); in get_tie() [all …]
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | pro_init.c | 293 DW_TSHASHTYPE hash = 5381; in _dwarf_string_hashfunc() local 298 hash = hash * 33 + c ; in _dwarf_string_hashfunc() 300 up = hash; in _dwarf_string_hashfunc()
|
/illumos-gate/usr/src/boot/efi/loader/arch/amd64/ |
H A D | ldscript.amd64 | 9 .hash : { *(.hash) } /* this MUST come first! */
|
/illumos-gate/usr/src/cmd/xstr/ |
H A D | xstr.c | 302 struct hash { struct 305 struct hash *hnext; argument 313 struct hash *hp, *hp0; in hashit() argument 340 struct hash *hp; in flushsh()
|
/illumos-gate/usr/src/cmd/sh/ |
H A D | hashserv.c | 352 short hash; in what_is_path() local 356 hash = pathlook(name, 0, 0); in what_is_path() 357 if (hashtype(hash) == NOTFOUND) in what_is_path() 364 hashval = hashdata(hash); in what_is_path()
|
H A D | hash.c | 46 #define hash(str) (int)(((unsigned)(crunch(str) * FACTOR)) >> shift) macro 116 i = hash(str);
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | strft.h | 130 uint_t hash; /* accumulated hash value (sum of mid's) */ member 155 _hp->hash = 0; \
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/ |
H A D | wpa_enc.c | 174 uint8_t hash[SHA1_MAC_LEN]; in sha1_prf() local 196 hmac_sha1_vector(key, key_len, 4, addr, len, hash); in sha1_prf() 197 (void) memcpy(&buf[pos], hash, plen); in sha1_prf()
|
/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | syms.c | 298 if (hash == SYM_NOHASH) in ld_sym_find() 300 hash = (Word)elf_hash((const char *)name); in ld_sym_find() 301 qsav.sav_hash = hash; in ld_sym_find() 403 savl->sav_hash = sap->sa_hash = hash; in ld_sym_enter() 679 Word hash; in sym_add_spec() local 683 hash = (Word)elf_hash(uname); in sym_add_spec() 2078 Word ndx, hash, local, total; in ld_sym_process() local 2734 hash = (Word)elf_hash(name); in ld_sym_process() 2748 if (sym_cap_vis(name, hash, sym, ofl) && in ld_sym_process() 3205 Word hash; in ld_sym_add_u() local [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/mdb_ks/ |
H A D | mdb_ks.c | 245 int hash; /* mdb hash value */ in dnlc_load() local 316 (khash != ncp->hash)) { in dnlc_load() 330 hash = MDB_DNLC_HASH(ncp->vp); in dnlc_load() 333 ncp->hash_next = dnlc_hash[hash]; in dnlc_load() 334 dnlc_hash[hash] = ncp; in dnlc_load() 557 int pid_hashsz, hash; in mdb_pid2proc() local 570 hash = pid & (pid_hashsz - 1); in mdb_pid2proc() 573 pidhash + (hash * sizeof (paddr))) == -1) in mdb_pid2proc() 975 int hash = 0; in nm_hash() local 978 hash ^= c; in nm_hash() [all …]
|
/illumos-gate/usr/src/cmd/ldmad/ |
H A D | mdesc_mutable.h | 96 uint32_t hash; member 105 uint32_t hash; member
|
/illumos-gate/usr/src/boot/efi/loader/arch/arm64/ |
H A D | ldscript.arm64 | 84 .hash : { *(.hash) }
|
/illumos-gate/usr/src/boot/efi/loader/arch/i386/ |
H A D | ldscript.i386 | 72 .hash : { *(.hash) }
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip_mroute.c | 1444 uint_t hash; in del_mfc() local 1458 MFCB_REFHOLD(&ipst->ips_mfcs[hash]); in del_mfc() 1476 MFCB_REFRELE(&ipst->ips_mfcs[hash]); in del_mfc() 1507 MFCB_REFRELE(&ipst->ips_mfcs[hash]); in del_mfc() 1673 uint_t hash; in ip_mforward() local 1692 hash = MFCHASH(src, dst); in ip_mforward() 1814 "g 0x%x\n", hash, in ip_mforward() 1819 ipst->ips_mfcs[hash].mfcb_mfc = mfc_rt; in ip_mforward() 1921 uint_t hash; in expire_upcalls() local 1940 MFCB_REFHOLD(&ipst->ips_mfcs[hash]); in expire_upcalls() [all …]
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | contract.c | 259 int hash; in contract_hold_bucket() local 261 hash = ctid & CI_HASH_MASK; in contract_hold_bucket() 263 bp = &contract_hash[hash]; in contract_hold_bucket()
|
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_mapping.c | 84 unsigned long hash; in ns_get_hash() local 89 hash = ns_hash(str) % NS_HASH_MAX; in ns_get_hash() 90 idx = config->hashTbl[hash]; in ns_get_hash() 175 unsigned long hash; in __s_api_add_map2hash() local 180 hash = ns_hash(map->orig) % NS_HASH_MAX; in __s_api_add_map2hash() 181 idx = config->hashTbl[hash]; in __s_api_add_map2hash() 193 config->hashTbl[hash] = newp; in __s_api_add_map2hash()
|