Searched refs:os_ref_count_t (Results 1 – 23 of 23) sorted by relevance
| /xnu-11215/libkern/os/ |
| H A D | refcnt.h | 60 typedef uint32_t os_ref_count_t; typedef 61 typedef _Atomic(os_ref_count_t) os_ref_atomic_t; 128 static os_ref_count_t os_ref_release(struct os_refcnt *) OS_WARN_RESULT; 157 static os_ref_count_t os_ref_get_count(struct os_refcnt *rc); 248 extern os_ref_count_t os_pcpu_ref_count(os_pcpu_ref_t ref); 300 static void os_ref_retain_floor(struct os_refcnt *, os_ref_count_t f) 315 static os_ref_count_t os_ref_get_count_raw(os_ref_atomic_t *rc); 344 os_ref_count_t init_count, uint32_t init_bits) 351 static os_ref_count_t os_ref_get_count_mask(os_ref_atomic_t *rc, uint32_t b); 368 static os_ref_count_t [all …]
|
| H A D | refcnt_internal.h | 96 static inline os_ref_count_t 115 static inline os_ref_count_t OS_WARN_RESULT 194 static inline os_ref_count_t 200 static inline os_ref_count_t 247 static inline os_ref_count_t 253 static inline os_ref_count_t 293 static inline os_ref_count_t 307 static inline os_ref_count_t 363 static inline os_ref_count_t 407 static inline os_ref_count_t [all …]
|
| H A D | refcnt.c | 78 os_ref_check_underflow(void *rc, os_ref_count_t count, os_ref_count_t n) in os_ref_check_underflow() 301 static os_ref_count_t 394 os_ref_count_t val; in _os_ref_release_inline() 429 static os_ref_count_t 443 os_ref_count_t 454 os_ref_count_t 468 os_ref_count_t 510 os_ref_count_t 793 os_ref_count_t 978 os_ref_count_t in os_ref_count_t() function [all …]
|
| /xnu-11215/tests/ |
| H A D | os_refcnt.c | 87 os_ref_count_t x = os_ref_release(&rc); 155 os_ref_count_t x = os_ref_release_raw(&rc, NULL); 185 os_ref_count_t x = os_ref_release_locked(&rc); 215 do_bitwise_test(const os_ref_count_t bits) in do_bitwise_test() 266 const os_ref_count_t nbits = 3; 267 const os_ref_count_t count = 5; 268 const os_ref_count_t bits = 7; 271 os_ref_count_t mask = (1U << nbits) - 1; 301 os_ref_count_t x = os_ref_release(&rc); 382 os_ref_count_t n = os_ref_release_raw(&rc, NULL); [all …]
|
| /xnu-11215/osfmk/kern/ |
| H A D | task_ref.c | 93 extern void task_deallocate_internal(task_t task, os_ref_count_t refs); 342 os_ref_count_t refs = -1; in task_deallocate_grp() 547 os_ref_count_t refs = os_ref_release(&task->ref_count); in task_deallocate_grp()
|
| H A D | task.c | 584 static os_ref_count_t 592 static os_ref_count_t 2056 os_ref_count_t refs) in task_deallocate_internal() 4537 os_ref_count_t refs; in task_add_turnstile_watchports() 4583 os_ref_count_t refs = TASK_MAX_WATCHPORT_COUNT; in task_remove_turnstile_watchports() 4635 os_ref_count_t old_refs = TASK_MAX_WATCHPORT_COUNT; in task_transfer_turnstile_watchports() 4741 static os_ref_count_t 4749 os_ref_count_t refs = TASK_MAX_WATCHPORT_COUNT; in task_add_turnstile_watchports_locked() 4809 static os_ref_count_t 4815 os_ref_count_t refs = TASK_MAX_WATCHPORT_COUNT; in task_remove_turnstile_watchports_locked() [all …]
|
| H A D | epoch_sync.c | 275 os_ref_count_t cnt = 0; in esync_put()
|
| H A D | debug.c | 1164 __assert_only os_ref_count_t th_ref_count; in panic_with_thread_context()
|
| /xnu-11215/osfmk/vm/ |
| H A D | device_vm.c | 107 __header_always_inline os_ref_count_t 393 os_ref_count_t ref_count; in device_pager_deallocate()
|
| H A D | vm_apple_protect.c | 816 os_ref_count_t ref_count; in apple_protect_pager_deallocate_internal() 1437 os_ref_count_t __assert_only count; in apple_protect_pager_trim()
|
| H A D | vm_swapfile_pager.c | 521 os_ref_count_t ref_count; in swapfile_pager_deallocate_internal()
|
| H A D | vm_shared_region_pager.c | 938 os_ref_count_t ref_count; in shared_region_pager_deallocate_internal()
|
| H A D | vm_dyld_pager.c | 1206 os_ref_count_t ref_count; in dyld_pager_deallocate_internal()
|
| H A D | vm_object.c | 1377 os_ref_count_t ref_count; in vm_object_reap()
|
| /xnu-11215/bsd/skywalk/nexus/ |
| H A D | nexus_traffic_rule.c | 1211 os_ref_count_t count = os_ref_get_count(&ntr->ntr_refcnt); in retain_traffic_rule() 1213 os_ref_count_t, count); in retain_traffic_rule() 1223 os_ref_count_t count = os_ref_get_count(&ntr->ntr_refcnt); in release_traffic_rule() 1225 os_ref_count_t, count); in release_traffic_rule()
|
| /xnu-11215/bsd/skywalk/namespace/ |
| H A D | protons.c | 151 os_ref_count_t refcnt = os_ref_release(&pt->pt_refcnt); in protons_token_release()
|
| /xnu-11215/bsd/miscfs/devfs/ |
| H A D | devfs_tree.c | 689 os_ref_count_t rc = os_ref_get_count_raw(&dnp->dn_refcount); in devfs_dn_free() 1369 os_ref_count_t rc = os_ref_release_locked_raw(&dnp->dn_refcount, &devfs_refgrp); in devfs_rele_node()
|
| /xnu-11215/bsd/skywalk/ |
| H A D | os_stats_private.h | 1447 static inline os_ref_count_t
|
| /xnu-11215/osfmk/x86_64/ |
| H A D | pmap.c | 1743 os_ref_count_t c; in pmap_destroy()
|
| /xnu-11215/bsd/kern/ |
| H A D | sys_generic.c | 2058 const os_ref_count_t refc = os_ref_release_locked(&fp->fp_iocount); in seldrop_locked()
|
| H A D | kern_credential.c | 3330 static inline os_ref_count_t
|
| H A D | kern_descrip.c | 1124 os_ref_count_t refc = os_ref_release(&fp->fp_iocount); in fileproc_free()
|
| /xnu-11215/bsd/net/ |
| H A D | necp_client.c | 1506 os_ref_count_t count = os_ref_release_locked(&client->reference_count); in necp_client_release_locked()
|