Searched refs:HASHSTEP (Results 1 – 5 of 5) sorted by relevance
| /freebsd-13.1/sys/sys/ |
| H A D | hash.h | 38 #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 D | replay.c | 180 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 D | auth_unix.c | 145 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 D | rpcsec_gss.c | 182 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 D | kern_lockf.c | 309 h = HASHSTEP(0, fl->l_pid); in lf_hash_owner() 310 h = HASHSTEP(h, fl->l_sysid); in lf_hash_owner()
|