Searched refs:os_refgrp (Results 1 – 11 of 11) sorted by relevance
| /xnu-8796.141.3/libkern/os/ |
| H A D | refcnt_internal.h | 7 struct os_refgrp *ref_group; 18 struct os_refgrp { struct 24 struct os_refgrp *grp_parent; argument 46 void os_ref_init_count_external(os_ref_atomic_t *, struct os_refgrp *, os_ref_count_t); argument 47 void os_ref_retain_external(os_ref_atomic_t *, struct os_refgrp *); 48 void os_ref_retain_locked_external(os_ref_atomic_t *, struct os_refgrp *); 49 os_ref_count_t os_ref_release_external(os_ref_atomic_t *, struct os_refgrp *, 51 os_ref_count_t os_ref_release_relaxed_external(os_ref_atomic_t *, struct os_refgrp *); 52 os_ref_count_t os_ref_release_barrier_external(os_ref_atomic_t *, struct os_refgrp *); 53 os_ref_count_t os_ref_release_locked_external(os_ref_atomic_t *, struct os_refgrp *); [all …]
|
| H A D | refcnt.h | 55 struct os_refgrp; 102 static void os_ref_init_count(struct os_refcnt *, struct os_refgrp *, os_ref_count_t count) 170 static void os_ref_init_count_raw(os_ref_atomic_t *, struct os_refgrp *, os_ref_count_t count) 174 static void os_ref_retain_raw(os_ref_atomic_t *, struct os_refgrp *); 175 static void os_ref_retain_floor_raw(os_ref_atomic_t *, os_ref_count_t f, struct os_refgrp *) 177 static os_ref_count_t os_ref_release_raw(os_ref_atomic_t *, struct os_refgrp *) OS_WARN_RESULT; 178 static os_ref_count_t os_ref_release_raw_relaxed(os_ref_atomic_t *, struct os_refgrp *) OS_WARN_RES… 179 static void os_ref_release_live_raw(os_ref_atomic_t *, struct os_refgrp *); 180 static bool os_ref_retain_try_raw(os_ref_atomic_t *, struct os_refgrp *) OS_WARN_RESULT; 181 static bool os_ref_retain_floor_try_raw(os_ref_atomic_t *, os_ref_count_t f, struct os_refgrp *) OS… [all …]
|
| H A D | refcnt.c | 16 extern struct os_refgrp global_ref_group; 100 ref_log_op(struct os_refgrp *grp, void *elem, reflog_op_t op) in ref_log_op() 117 ref_log_drop(struct os_refgrp *grp, void *elem) in ref_log_drop() 133 os_ref_log_init(struct os_refgrp *grp) in os_ref_log_init() 165 os_ref_log_fini(struct os_refgrp *grp) in os_ref_log_fini() 179 os_ref_log_fini(struct os_refgrp *grp __unused) in os_ref_log_fini() 186 os_ref_log_init(struct os_refgrp *grp __unused) in os_ref_log_init() 192 ref_log_op(struct os_refgrp *grp __unused, void *rc __unused, reflog_op_t op __unused) in ref_log_op() 198 ref_log_drop(struct os_refgrp *grp __unused, void *rc __unused) in ref_log_drop() 210 ref_attach_to_group(os_ref_atomic_t *rc, struct os_refgrp *grp, os_ref_count_t init_count) in ref_attach_to_group() [all …]
|
| /xnu-8796.141.3/osfmk/kern/ |
| H A D | task_ref.c | 133 static struct os_refgrp * const task_refgrp[TASK_GRP_COUNT] = { 199 static struct os_refgrp * 202 __block struct os_refgrp *refgrp = NULL; in lookup_kext_refgrp() 206 OSKextGetRefGrpForCaller(retaddr, ^(struct os_refgrp *kext_grp) { in lookup_kext_refgrp() 221 static struct os_refgrp * 222 lookup_dynamic_refgrp(struct os_refgrp *kext, in lookup_dynamic_refgrp() 223 struct os_refgrp *dynamic, int dynamic_count, bool can_allocate) in lookup_dynamic_refgrp() 239 dynamic[i] = (struct os_refgrp) in lookup_dynamic_refgrp() 257 static struct os_refgrp * 258 find_external_refgrp(struct os_refgrp *dynamic, int dynamic_count, in find_external_refgrp() [all …]
|
| H A D | task_ref.h | 55 extern struct os_refgrp task_external_refgrp;
|
| H A D | task.h | 169 struct os_refgrp *ref_group;
|
| /xnu-8796.141.3/doc/ |
| H A D | task_ref.md | 68 os_refgrp name count retain release log 85 os_refgrp name count retain release log 118 os_refgrp name count retain release log
|
| /xnu-8796.141.3/libkern/libkern/ |
| H A D | OSKextLibPrivate.h | 1008 void (^)(struct os_refgrp *));
|
| /xnu-8796.141.3/bsd/kern/ |
| H A D | bsd_init.c | 384 extern struct os_refgrp rlimit_refgrp;
|
| /xnu-8796.141.3/libkern/libkern/c++/ |
| H A D | OSKext.h | 148 struct os_refgrp task_refgrp;
|
| /xnu-8796.141.3/libkern/c++/ |
| H A D | OSKext.cpp | 16523 OSKextGetRefGrpForCaller(uintptr_t address, void (^cb)(struct os_refgrp *))
|