Home
last modified time | relevance | path

Searched refs:os_refgrp (Results 1 – 11 of 11) sorted by relevance

/xnu-8792.41.9/libkern/os/
H A Drefcnt_internal.h7 struct os_refgrp *ref_group;
19 struct os_refgrp { struct
25 struct os_refgrp *grp_parent; argument
47 void os_ref_init_count_external(os_ref_atomic_t *, struct os_refgrp *, os_ref_count_t); argument
48 void os_ref_retain_external(os_ref_atomic_t *, struct os_refgrp *);
49 void os_ref_retain_locked_external(os_ref_atomic_t *, struct os_refgrp *);
50 os_ref_count_t os_ref_release_external(os_ref_atomic_t *, struct os_refgrp *,
52 os_ref_count_t os_ref_release_relaxed_external(os_ref_atomic_t *, struct os_refgrp *);
53 os_ref_count_t os_ref_release_barrier_external(os_ref_atomic_t *, struct os_refgrp *);
54 os_ref_count_t os_ref_release_locked_external(os_ref_atomic_t *, struct os_refgrp *);
[all …]
H A Drefcnt.h55 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 Drefcnt.c16 extern struct os_refgrp global_ref_group;
106 ref_log_op(struct os_refgrp *grp, void *elem, reflog_op_t op) in ref_log_op()
123 ref_log_drop(struct os_refgrp *grp, void *elem) in ref_log_drop()
139 os_ref_log_init(struct os_refgrp *grp) in os_ref_log_init()
171 os_ref_log_fini(struct os_refgrp *grp) in os_ref_log_fini()
185 os_ref_log_fini(struct os_refgrp *grp __unused) in os_ref_log_fini()
192 os_ref_log_init(struct os_refgrp *grp __unused) in os_ref_log_init()
198 ref_log_op(struct os_refgrp *grp __unused, void *rc __unused, reflog_op_t op __unused) in ref_log_op()
204 ref_log_drop(struct os_refgrp *grp __unused, void *rc __unused) in ref_log_drop()
216 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-8792.41.9/osfmk/kern/
H A Dtask_ref.c133 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()
256 static struct os_refgrp *
257 find_external_refgrp(struct os_refgrp *dynamic, int dynamic_count, in find_external_refgrp()
[all …]
H A Dtask_ref.h55 extern struct os_refgrp task_external_refgrp;
H A Dtask.h169 struct os_refgrp *ref_group;
/xnu-8792.41.9/doc/
H A Dtask_ref.md68 os_refgrp name count retain release log
85 os_refgrp name count retain release log
118 os_refgrp name count retain release log
/xnu-8792.41.9/libkern/libkern/
H A DOSKextLibPrivate.h1008 void (^)(struct os_refgrp *));
/xnu-8792.41.9/libkern/libkern/c++/
H A DOSKext.h148 struct os_refgrp task_refgrp;
/xnu-8792.41.9/bsd/kern/
H A Dbsd_init.c384 extern struct os_refgrp rlimit_refgrp;
/xnu-8792.41.9/libkern/c++/
H A DOSKext.cpp16443 OSKextGetRefGrpForCaller(uintptr_t address, void (^cb)(struct os_refgrp *))