Home
last modified time | relevance | path

Searched refs:smrh_key_t (Results 1 – 9 of 9) sorted by relevance

/xnu-10063.101.15/osfmk/kern/
H A Dsmr_hash.h59 } smrh_key_t; typedef
93 uint32_t (*key_hash)(smrh_key_t, uint32_t);
94 bool (*key_equ)(smrh_key_t, smrh_key_t);
96 bool (*obj_equ)(const struct smrq_slink *, smrh_key_t);
111 (smrh_key_t){ .smrk_u64 = (e), .smrk_len = sizeof(e) }
122 smrh_key_hash_u32(smrh_key_t key, uint32_t seed) in smrh_key_hash_u32()
143 smrh_key_hash_u64(smrh_key_t key, uint32_t seed) in smrh_key_hash_u64()
164 smrh_key_hash_mem(smrh_key_t key, uint32_t seed) in smrh_key_hash_mem()
177 smrh_key_hash_str(smrh_key_t key, uint32_t seed) in smrh_key_hash_str()
190 smrh_key_equ_scalar(smrh_key_t k1, smrh_key_t k2) in smrh_key_equ_scalar()
[all …]
H A Dtest_lock.c197 smrh_key_t key; in smr_hash_basic_test()
286 smrh_key_t key; in smr_shash_basic_test()
324 smrh_key_t key = SMRH_SCALAR_KEY(elems[i].val); in smr_shash_basic_test()
H A Dsmr.c2632 smrh_key_t key, in __smr_shash_entered_find_slow()
2742 smrh_key_t key, in __smr_shash_entered_get_or_insert()
H A Dcoalition.c1331 smrh_key_t key = SMRH_SCALAR_KEY(cid); in coalition_find_by_id()
/xnu-10063.101.15/libkern/c++/
H A DOSSymbol.cpp73 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-10063.101.15/bsd/kern/
H A Dkern_credential.c3288 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);
4505 static smrh_key_t
4508 return (smrh_key_t){ .smrk_opaque = cred }; in kauth_cred_key()
4529 kauth_cred_key_hash(smrh_key_t key, uint32_t seed) in kauth_cred_key_hash()
4544 kauth_cred_key_equ(smrh_key_t k1, smrh_key_t k2) in kauth_cred_key_equ()
4572 kauth_cred_obj_equ(const struct smrq_slink *link, smrh_key_t key) in kauth_cred_obj_equ()
H A Dkern_proc.c2025 smrh_key_t key = SMRH_SCALAR_KEY(pid); in phash_find_locked()
2064 smrh_key_t key = SMRH_SCALAR_KEY(pid); in proc_find_noref_smr()
2076 smrh_key_t key = SMRH_SCALAR_KEY(pid); in proc_find()
2239 smrh_key_t key = SMRH_SCALAR_KEY(pgid); in pghash_exists_locked()
2267 smrh_key_t key = SMRH_SCALAR_KEY(pgid); in pgrp_find()
/xnu-10063.101.15/libkern/os/
H A Dlog.c465 static smrh_key_t
468 return (smrh_key_t) { in os_log_key()
475 os_log_key_hash(smrh_key_t key, uint32_t seed) in os_log_key_hash()
481 os_log_key_equ(smrh_key_t k1, smrh_key_t k2) in os_log_key_equ()
494 os_log_equ(const struct smrq_slink *link, smrh_key_t key) in os_log_equ()
/xnu-10063.101.15/osfmk/ipc/
H A Dipc_voucher.c80 static bool iv_obj_equ(const struct smrq_slink *, smrh_key_t);
221 static smrh_key_t
224 smrh_key_t key = { in iv_key()
242 iv_obj_equ(const struct smrq_slink *link, smrh_key_t key) in iv_obj_equ()