Lines Matching defs:hashval
470 * optionally pass in the length and hashval of name if known
1137 unsigned int hashval = (cnp->cn_hash & NCHASHMASK);
1142 if ((ncp->nc_dvp == dvp) && (ncp->nc_hashval == hashval)) {
1219 unsigned int hashval = (cnp->cn_hash & NCHASHMASK);
1229 if ((ncp->nc_dvp == dvp) && (ncp->nc_hashval == hashval)) {
1548 uint32_t i, hashval;
1583 hashval = hash_string(entry->nc_name, 0);
1584 entry->nc_hashval = hashval;
1585 head = NCHHASH(entry->nc_dvp, hashval);
1747 uint32_t i, hashval;
1773 hashval = hash_string((const char *)entry->str, 0);
1774 head = &string_ref_table[hashval & string_table_mask];
1798 vfs_addname(const char *name, size_t len, u_int hashval, u_int flags)
1803 ptr = add_name_locked(name, len, hashval, flags);
1810 add_name_locked(const char *name, size_t len, u_int hashval, __unused u_int flags)
1825 if (hashval == 0) {
1826 hashval = hash_string(name, 0);
1838 head = &string_ref_table[hashval & string_table_mask];
1854 head = &string_ref_table[hashval & string_table_mask];
1896 uint32_t hashval;
1899 hashval = hash_string(nameref, 0);
1900 head = &string_ref_table[hashval & string_table_mask];