Home
last modified time | relevance | path

Searched refs:os_ref_atomic_t (Results 1 – 25 of 32) sorted by relevance

12

/xnu-11215/libkern/os/
H A Drefcnt_internal.h5 os_ref_atomic_t ref_count;
21 os_ref_atomic_t grp_count; /* current reference count of group */
47 void os_ref_retain_external(os_ref_atomic_t *, struct os_refgrp *);
195 os_ref_get_count_internal(os_ref_atomic_t *rc) in os_ref_get_count_internal()
236 os_ref_retain_raw(os_ref_atomic_t *rc, struct os_refgrp *grp) in os_ref_retain_raw()
248 os_ref_release_raw(os_ref_atomic_t *rc, struct os_refgrp *grp) in os_ref_release_raw()
308 os_ref_get_count_raw(os_ref_atomic_t *rc) in os_ref_get_count_raw()
352 os_ref_get_raw_mask(os_ref_atomic_t *rc) in os_ref_get_raw_mask()
358 os_ref_get_bits_mask(os_ref_atomic_t *rc, uint32_t b) in os_ref_get_bits_mask()
364 os_ref_get_count_mask(os_ref_atomic_t *rc, uint32_t b) in os_ref_get_count_mask()
[all …]
H A Drefcnt.h61 typedef _Atomic(os_ref_count_t) os_ref_atomic_t; typedef
302 static void os_ref_retain_raw(os_ref_atomic_t *, struct os_refgrp *);
307 static void os_ref_release_live_raw(os_ref_atomic_t *, struct os_refgrp *);
311 static void os_ref_retain_locked_raw(os_ref_atomic_t *, struct os_refgrp *);
315 static os_ref_count_t os_ref_get_count_raw(os_ref_atomic_t *rc);
349 static uint32_t os_ref_get_raw_mask(os_ref_atomic_t *rc);
350 static uint32_t os_ref_get_bits_mask(os_ref_atomic_t *rc, uint32_t b);
351 static os_ref_count_t os_ref_get_count_mask(os_ref_atomic_t *rc, uint32_t b);
354 os_ref_retain_mask(os_ref_atomic_t *rc, uint32_t b, struct os_refgrp *grp);
358 os_ref_retain_try_mask(os_ref_atomic_t *, uint32_t b, uint32_t reject_mask,
[all …]
H A Drefcnt.c68 os_ref_panic_retain(os_ref_atomic_t *rc) in os_ref_panic_retain()
86 os_ref_check_overflow(os_ref_atomic_t *rc, os_ref_count_t count) in os_ref_check_overflow()
324 __os_ref_retain(os_ref_atomic_t *rc, os_ref_count_t f, in __os_ref_retain()
351 __os_ref_retain_try(os_ref_atomic_t *rc, os_ref_count_t f, in __os_ref_retain_try()
390 _os_ref_release_inline(os_ref_atomic_t *rc, os_ref_count_t n, in _os_ref_release_inline()
455 os_ref_release_barrier_internal(os_ref_atomic_t *rc, in os_ref_release_barrier_internal()
469 os_ref_release_relaxed_internal(os_ref_atomic_t *rc, in os_ref_release_relaxed_internal()
483 __os_ref_retain_locked(os_ref_atomic_t *rc, os_ref_count_t f, in __os_ref_retain_locked()
538 os_ref_init_count_mask(os_ref_atomic_t *rc, uint32_t b, in os_ref_init_count_mask()
555 os_ref_retain_mask_inline(os_ref_atomic_t *rc, uint32_t n, in os_ref_retain_mask_inline()
[all …]
/xnu-11215/tests/
H A Dos_refcnt.c147 os_ref_atomic_t rc;
197 os_ref_atomic_t rc;
217 os_ref_atomic_t rc; in do_bitwise_test()
264 os_ref_atomic_t rc = 0xaaaaaaaa;
349 os_ref_atomic_t rc;
365 os_ref_atomic_t rc;
380 os_ref_atomic_t rc;
398 os_ref_atomic_t rc;
415 os_ref_atomic_t rca = OS_REF_ATOMIC_INITIALIZER;
426 worker_ref(os_ref_atomic_t *rc, unsigned long *count) in worker_ref()
[all …]
/xnu-11215/osfmk/ipc/
H A Dipc_object.c191 static_assert(sizeof(os_ref_atomic_t) == sizeof(io->io_references)); in ipc_object_reference()
192 os_ref_retain_raw((os_ref_atomic_t *)&io->io_references, NULL); in ipc_object_reference()
209 if (os_ref_release_raw((os_ref_atomic_t *)&io->io_references, NULL) == 0) { in ipc_object_release()
225 if (os_ref_release_raw((os_ref_atomic_t *)&io->io_references, NULL) == 0) { in ipc_object_release_safe()
244 os_ref_release_live_raw((os_ref_atomic_t *)&io->io_references, NULL); in ipc_object_release_live()
H A Dipc_voucher.h74 os_ref_atomic_t iv_refs; /* reference count */
H A Dipc_space.h125 os_ref_atomic_t is_bits; /* holds refs, active, growing */
H A Dipc_importance.h63 os_ref_atomic_t iie_bits; /* type and refs */
/xnu-11215/osfmk/kern/
H A Dsync_sema.h57 os_ref_atomic_t ref_count; /* reference count */
H A Dlock_group.h168 os_ref_atomic_t lck_grp_refcnt;
H A Dturnstile.h358 os_ref_atomic_t ts_refcount; /* reference count for turnstiles */
/xnu-11215/bsd/sys/
H A Dproc_internal.h149 os_ref_atomic_t s_refcount;
203 os_ref_atomic_t pg_refcount;
204 os_ref_atomic_t pg_hashref;
328 os_ref_atomic_t p_refcount; /* number of outstanding users */
329 os_ref_atomic_t p_waitref; /* number of users pending transition */
H A Dtty.h149 os_ref_atomic_t t_refcnt;
H A Deventvar.h356 os_ref_atomic_t kqwl_retains; /* retain references */
H A Dfile_internal.h181 os_ref_atomic_t fg_count; /* reference count */
/xnu-11215/bsd/miscfs/devfs/
H A Ddevfsdefs.h135 os_ref_atomic_t dn_refcount;
/xnu-11215/osfmk/bank/
H A Dbank_internal.h58 os_ref_atomic_t be_refs; /* Ref count */
/xnu-11215/osfmk/vm/
H A Dvm_object_xnu.h160 os_ref_atomic_t ref_count; /* Number of references */
H A Ddevice_vm.c101 os_ref_atomic_t dev_pgr_hdr_ref;
H A Dvm_swapfile_pager.c137 os_ref_atomic_t swp_pgr_hdr_ref; /* reference count */
H A Dvm_map_xnu.h394 os_ref_atomic_t map_refcnt; /* Reference count */
H A Dvm_compressor_pager.c151 os_ref_atomic_t cpgr_references;
H A Dbsd_vm.c98 os_ref_atomic_t vn_pgr_hdr_ref;
/xnu-11215/osfmk/mach/
H A Dmemory_object_types.h128 os_ref_atomic_t mo_ref;
/xnu-11215/osfmk/arm64/sptm/pmap/
H A Dpmap.h348 os_ref_atomic_t ref_count;

12