Home
last modified time | relevance | path

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

/xnu-10002.1.13/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.h87 } hw_lck_ptr_t; typedef
111 hw_lck_ptr_t *lck,
125 hw_lck_ptr_t *lck,
137 hw_lck_ptr_t *lck) __result_use_check;
161 hw_lck_ptr_t *lck,
179 hw_lck_ptr_t *lck,
207 hw_lck_ptr_t *lck,
225 hw_lck_ptr_t *lck,
238 __hw_lck_ptr_value(hw_lck_ptr_t val) in __hw_lck_ptr_value()
260 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.c2612 __smr_shash_bucket_init(hw_lck_ptr_t *head) in __smr_shash_bucket_init()
2618 __smr_shash_bucket_destroy(hw_lck_ptr_t *head) in __smr_shash_bucket_destroy()
2628 hw_lck_ptr_t *head, in __smr_shash_entered_find_slow()
2745 hw_lck_ptr_t *head; in __smr_shash_entered_get_or_insert()
2811 hw_lck_ptr_t *head; in __smr_shash_entered_mut_begin()
2907 hw_lck_ptr_t *oldarray; in __smr_shash_rehash_with_target()
2908 hw_lck_ptr_t *newarray; in __smr_shash_rehash_with_target()
2928 newarray = (hw_lck_ptr_t *)smr_hash_alloc_array(newsize); in __smr_shash_rehash_with_target()
2972 hw_lck_ptr_t *head; in __smr_shash_rehash_with_target()
3089 hw_lck_ptr_t *array; in smr_shash_init()
[all …]