Searched refs:smrh_key_t (Results 1 – 9 of 9) sorted by relevance
| /xnu-12377.81.4/osfmk/kern/ |
| H A D | smr_hash.h | 62 } smrh_key_t; typedef 96 uint32_t (*key_hash)(smrh_key_t, uint32_t); 97 bool (*key_equ)(smrh_key_t, smrh_key_t); 99 bool (*obj_equ)(const struct smrq_slink *, smrh_key_t); 114 (smrh_key_t){ .smrk_u64 = (e), .smrk_len = sizeof(e) } 125 smrh_key_hash_u32(smrh_key_t key, uint32_t seed) in smrh_key_hash_u32() 146 smrh_key_hash_u64(smrh_key_t key, uint32_t seed) in smrh_key_hash_u64() 167 smrh_key_hash_mem(smrh_key_t key, uint32_t seed) in smrh_key_hash_mem() 180 smrh_key_hash_str(smrh_key_t key, uint32_t seed) in smrh_key_hash_str() 193 smrh_key_equ_scalar(smrh_key_t k1, smrh_key_t k2) in smrh_key_equ_scalar() [all …]
|
| H A D | test_lock.c | 198 smrh_key_t key; in smr_hash_basic_test() 297 smrh_key_t key; in smr_shash_basic_test() 335 smrh_key_t key = SMRH_SCALAR_KEY(elems[i].val); in smr_shash_basic_test()
|
| H A D | smr.c | 2659 smrh_key_t key, in __smr_shash_entered_find_slow() 2769 smrh_key_t key, in __smr_shash_entered_get_or_insert()
|
| H A D | coalition.c | 1000 smrh_key_t key = SMRH_SCALAR_KEY(coalition_id); in coalition_add_to_gpu_energy() 1472 smrh_key_t key = SMRH_SCALAR_KEY(cid); in coalition_find_by_id()
|
| /xnu-12377.81.4/libkern/c++/ |
| H A D | OSSymbol.cpp | 73 static inline smrh_key_t 91 OSSymbol_obj_equ(const struct smrq_slink *link, smrh_key_t key) in OSSymbol_obj_equ() 170 OSSharedPtr<const OSSymbol> findSymbol(smrh_key_t key) const; 174 smrh_key_t key, 199 OSSymbolPool::findSymbol(smrh_key_t key) const in findSymbol() 246 smrh_key_t key, in insertSymbol() 441 smrh_key_t key = { in withCString() 499 smrh_key_t key = { in withCStringNoCopy() 543 smrh_key_t key = { in existingSymbolForString() 553 smrh_key_t key = { in existingSymbolForCString()
|
| /xnu-12377.81.4/bsd/kern/ |
| H A D | kern_credential.c | 3288 static smrh_key_t kauth_cred_key(kauth_cred_t cred); 3289 static uint32_t kauth_cred_key_hash(smrh_key_t key, uint32_t seed); 3290 static bool kauth_cred_key_equ(smrh_key_t k1, smrh_key_t k2); 3292 static bool kauth_cred_obj_equ(const struct smrq_slink *, smrh_key_t); 4508 static smrh_key_t 4511 return (smrh_key_t){ .smrk_opaque = cred }; in kauth_cred_key() 4532 kauth_cred_key_hash(smrh_key_t key, uint32_t seed) in kauth_cred_key_hash() 4547 kauth_cred_key_equ(smrh_key_t k1, smrh_key_t k2) in kauth_cred_key_equ() 4575 kauth_cred_obj_equ(const struct smrq_slink *link, smrh_key_t key) in kauth_cred_obj_equ()
|
| H A D | kern_proc.c | 2429 smrh_key_t key = SMRH_SCALAR_KEY(pid); in phash_find_locked() 2468 smrh_key_t key = SMRH_SCALAR_KEY(pid); in proc_find_noref_smr() 2480 smrh_key_t key = SMRH_SCALAR_KEY(pid); in proc_find() 2675 smrh_key_t key = SMRH_SCALAR_KEY(pgid); in pghash_exists_locked() 2703 smrh_key_t key = SMRH_SCALAR_KEY(pgid); in pgrp_find()
|
| /xnu-12377.81.4/libkern/os/ |
| H A D | log.c | 463 static smrh_key_t 466 return (smrh_key_t) { in os_log_key() 473 os_log_key_hash(smrh_key_t key, uint32_t seed) in os_log_key_hash() 479 os_log_key_equ(smrh_key_t k1, smrh_key_t k2) in os_log_key_equ() 492 os_log_equ(const struct smrq_slink *link, smrh_key_t key) in os_log_equ()
|
| /xnu-12377.81.4/osfmk/ipc/ |
| H A D | ipc_voucher.c | 79 static bool iv_obj_equ(const struct smrq_slink *, smrh_key_t); 220 static smrh_key_t 223 smrh_key_t key = { in iv_key() 241 iv_obj_equ(const struct smrq_slink *link, smrh_key_t key) in iv_obj_equ()
|