Home
last modified time | relevance | path

Searched refs:hw_lck_ptr_t (Results 1 – 4 of 4) sorted by relevance

/xnu-8796.141.3/osfmk/kern/
H A Dlock_ptr.c44 #pragma mark hw_lck_ptr_t: helpers
50 __hw_lck_ptr_encode(hw_lck_ptr_t *lck, const void *ptr) in __hw_lck_ptr_encode()
60 __hw_lck_ptr_invalid_panic(hw_lck_ptr_t *lck) in __hw_lck_ptr_invalid_panic()
62 hw_lck_ptr_t tmp = os_atomic_load(lck, relaxed); in __hw_lck_ptr_invalid_panic()
71 hw_lck_ptr_take_slowpath(hw_lck_ptr_t tmp) in hw_lck_ptr_take_slowpath()
73 hw_lck_ptr_t check_bits = { in hw_lck_ptr_take_slowpath()
88 #pragma mark hw_lck_ptr_t: init/destroy
91 hw_lck_ptr_init(hw_lck_ptr_t *lck, void *val, lck_grp_t *grp) in hw_lck_ptr_init()
93 hw_lck_ptr_t init = { }; in hw_lck_ptr_init()
111 hw_lck_ptr_destroy(hw_lck_ptr_t *lck, lck_grp_t *grp) in hw_lck_ptr_destroy()
[all …]
H A Dlock_ptr.h89 } hw_lck_ptr_t; typedef
113 hw_lck_ptr_t *lck,
127 hw_lck_ptr_t *lck,
139 hw_lck_ptr_t *lck) __result_use_check;
163 hw_lck_ptr_t *lck,
181 hw_lck_ptr_t *lck,
209 hw_lck_ptr_t *lck,
227 hw_lck_ptr_t *lck,
240 __hw_lck_ptr_value(hw_lck_ptr_t val) in __hw_lck_ptr_value()
262 hw_lck_ptr_value(hw_lck_ptr_t *lck) in hw_lck_ptr_value()
[all …]
H A Dsmr_hash.h1103 hw_lck_ptr_t *_Atomic smrsh_array[2];
1427 hw_lck_ptr_t *head;
1707 static inline hw_lck_ptr_t *
1725 return os_atomic_load(&((hw_lck_ptr_t * _Atomic const *)addr)[idx], relaxed); in __smr_shash_load_array()
1750 static inline hw_lck_ptr_t *
1757 hw_lck_ptr_t *array; in __smr_shash_bucket()
1781 __smr_shash_bucket_stop(const hw_lck_ptr_t *head) in __smr_shash_bucket_stop()
1789 hw_lck_ptr_t *head,
1800 hw_lck_ptr_t *head; in __smr_shash_entered_find()
H A Dsmr.c1115 __smr_shash_bucket_init(hw_lck_ptr_t *head) in __smr_shash_bucket_init()
1121 __smr_shash_bucket_destroy(hw_lck_ptr_t *head) in __smr_shash_bucket_destroy()
1131 hw_lck_ptr_t *head, in __smr_shash_entered_find_slow()
1248 hw_lck_ptr_t *head; in __smr_shash_entered_get_or_insert()
1314 hw_lck_ptr_t *head; in __smr_shash_entered_mut_begin()
1409 hw_lck_ptr_t *oldarray; in __smr_shash_rehash_with_target()
1410 hw_lck_ptr_t *newarray; in __smr_shash_rehash_with_target()
1430 newarray = (hw_lck_ptr_t *)smr_hash_alloc_array(newsize); in __smr_shash_rehash_with_target()
1474 hw_lck_ptr_t *head; in __smr_shash_rehash_with_target()
1591 hw_lck_ptr_t *array; in smr_shash_init()
[all …]