Searched refs:os_pcpu_ref_t (Results 1 – 3 of 3) sorted by relevance
| /xnu-11215/libkern/os/ |
| H A D | refcnt.h | 176 typedef uintptr_t os_pcpu_ref_t; typedef 192 extern void os_pcpu_ref_init(os_pcpu_ref_t *ref, struct os_refgrp *grp); 207 extern os_ref_count_t os_pcpu_ref_kill(os_pcpu_ref_t ref, struct os_refgrp *grp) __result_use_check; 223 extern void os_pcpu_ref_wait_for_death(os_pcpu_ref_t ref); 238 extern void os_pcpu_ref_destroy(os_pcpu_ref_t *ref, struct os_refgrp *grp); 248 extern os_ref_count_t os_pcpu_ref_count(os_pcpu_ref_t ref); 254 extern void os_pcpu_ref_retain(os_pcpu_ref_t ref, struct os_refgrp *grp); 265 extern bool os_pcpu_ref_retain_try(os_pcpu_ref_t ref, struct os_refgrp *grp) __result_use_check; 271 extern void os_pcpu_ref_release_live(os_pcpu_ref_t ref, struct os_refgrp *grp); 284 extern os_ref_count_t os_pcpu_ref_release(os_pcpu_ref_t ref, struct os_refgrp *grp) __result_use_ch…
|
| H A D | refcnt.c | 669 os_pcpu_get(os_pcpu_ref_t ref) in os_pcpu_get() 688 __os_pcpu_ref_destroy_panic(os_pcpu_ref_t *ref, uint64_t n) in __os_pcpu_ref_destroy_panic() 753 (os_pcpu_ref_init)(os_pcpu_ref_t * ref, struct os_refgrp *__debug_only grp) 763 *ref = (os_pcpu_ref_t)rc; 772 (os_pcpu_ref_destroy)(os_pcpu_ref_t * ref, struct os_refgrp *__debug_only grp) 794 os_pcpu_ref_count(os_pcpu_ref_t ref) in os_pcpu_ref_count() 852 (os_pcpu_ref_retain)(os_pcpu_ref_t ref, struct os_refgrp * __debug_only grp) 871 (os_pcpu_ref_retain_try)(os_pcpu_ref_t ref, struct os_refgrp *__debug_only grp) 979 (os_pcpu_ref_release)(os_pcpu_ref_t ref, struct os_refgrp *__debug_only grp) in os_ref_count_t() 1000 (os_pcpu_ref_kill)(os_pcpu_ref_t ref, struct os_refgrp *__debug_only grp) in os_ref_count_t() [all …]
|
| /xnu-11215/tests/ |
| H A D | os_refcnt.c | 112 os_pcpu_ref_t rc; 443 worker_pcpu_ref(os_pcpu_ref_t rc, unsigned long *count) in worker_pcpu_ref() 480 os_pcpu_ref_t prc;
|