Home
last modified time | relevance | path

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

/freebsd-13.1/sys/sys/
H A Dhash.h38 #define HASHSTEP(x,c) (((x << 5) + x) + (c)) macro
52 hash = HASHSTEP(hash, *p++); in hash32_buf()
66 hash = HASHSTEP(hash, *p++); in hash32_str()
80 hash = HASHSTEP(hash, *p++); in hash32_strn()
96 hash = HASHSTEP(hash, *p++); in hash32_stre()
116 hash = HASHSTEP(hash, *p++); in hash32_strne()
/freebsd-13.1/sys/rpc/
H A Dreplay.c180 int h = HASHSTEP(HASHINIT, msg->rm_xid) % REPLAY_HASH_SIZE; in replay_find()
234 int h = HASHSTEP(HASHINIT, repmsg->rm_xid) % REPLAY_HASH_SIZE; in replay_setreply()
H A Dauth_unix.c145 th = HASHSTEP(HASHINIT, tau->au_xcred.cr_uid) in authunix_create()
158 h = HASHSTEP(HASHINIT, cred->cr_uid) % AUTH_UNIX_HASH_SIZE; in authunix_create()
/freebsd-13.1/sys/rpc/rpcsec_gss/
H A Drpcsec_gss.c182 h = HASHSTEP(HASHINIT, cred->cr_uid); in rpc_gss_hash()
185 h = HASHSTEP(h, (int) service); in rpc_gss_hash()
/freebsd-13.1/sys/kern/
H A Dkern_lockf.c309 h = HASHSTEP(0, fl->l_pid); in lf_hash_owner()
310 h = HASHSTEP(h, fl->l_sysid); in lf_hash_owner()