Lines Matching refs:hash_key
4822 u_long hash_key;
4826 hash_key = kauth_cred_get_hashkey(new_cred);
4827 hash_key %= kauth_cred_table_size;
4842 TAILQ_INSERT_HEAD(&kauth_cred_table_anchor[hash_key], new_cred, cr_link);
4868 u_long hash_key;
4871 hash_key = kauth_cred_get_hashkey(cred);
4872 hash_key %= kauth_cred_table_size;
4881 TAILQ_FOREACH(found_cred, &kauth_cred_table_anchor[hash_key], cr_link) {
4884 TAILQ_REMOVE(&kauth_cred_table_anchor[hash_key], found_cred, cr_link);
4923 u_long hash_key;
4938 hash_key = kauth_cred_get_hashkey(cred);
4939 hash_key %= kauth_cred_table_size;
4942 TAILQ_FOREACH(found_cred, &kauth_cred_table_anchor[hash_key], cr_link) {
4985 u_long hash_key = start_key;
4989 hash_key = (hash_key << 4) + *datap++;
4990 temp = hash_key & 0xF0000000;
4992 hash_key ^= temp >> 24;
4994 hash_key &= ~temp;
4997 return(hash_key);
5021 u_long hash_key = 0;
5023 hash_key = kauth_cred_hash((uint8_t *)&cred->cr_posix,
5025 hash_key);
5026 hash_key = kauth_cred_hash((uint8_t *)&cred->cr_audit,
5028 hash_key);
5031 hash_key = kauth_cred_hash((uint8_t *)cred->cr_label,
5033 hash_key);
5035 return(hash_key);