Home
last modified time | relevance | path

Searched refs:HASHSTEP (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/sys/
H A Dhash.h37 #define HASHSTEP(x,c) (((x << 5) + x) + (c)) macro
51 hash = HASHSTEP(hash, *p++); in hash32_buf()
65 hash = HASHSTEP(hash, *p++); in hash32_str()
79 hash = HASHSTEP(hash, *p++); in hash32_strn()
95 hash = HASHSTEP(hash, *p++); in hash32_stre()
115 hash = HASHSTEP(hash, *p++); in hash32_strne()
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dhash.h50 ret = HASHSTEP(ret, chunk); in hash_64()
65 ret = HASHSTEP(ret, chunk); in hash_32()
/freebsd/sys/rpc/
H A Dreplay.c177 int h = HASHSTEP(HASHINIT, msg->rm_xid) % REPLAY_HASH_SIZE; in replay_find()
231 int h = HASHSTEP(HASHINIT, repmsg->rm_xid) % REPLAY_HASH_SIZE; in replay_setreply()
H A Dauth_unix.c139 th = HASHSTEP(HASHINIT, tau->au_xcred.cr_uid) in authunix_create()
152 h = HASHSTEP(HASHINIT, cred->cr_uid) % AUTH_UNIX_HASH_SIZE; in authunix_create()
/freebsd/sys/rpc/rpcsec_gss/
H A Drpcsec_gss.c179 h = HASHSTEP(HASHINIT, cred->cr_uid); in rpc_gss_hash()
182 h = HASHSTEP(h, (int) service); in rpc_gss_hash()
/freebsd/sys/kern/
H A Dkern_lockf.c304 h = HASHSTEP(0, fl->l_pid); in lf_hash_owner()
305 h = HASHSTEP(h, fl->l_sysid); in lf_hash_owner()