Home
last modified time | relevance | path

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

/xnu-8020.140.41/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;
104 ref_log_op(struct os_refgrp *grp, void *elem, reflog_op_t op) in ref_log_op()
121 ref_log_drop(struct os_refgrp *grp, void *elem) in ref_log_drop()
137 os_ref_log_init(struct os_refgrp *grp) in os_ref_log_init()
169 os_ref_log_fini(struct os_refgrp *grp) in os_ref_log_fini()
183 os_ref_log_fini(struct os_refgrp *grp __unused) in os_ref_log_fini()
190 os_ref_log_init(struct os_refgrp *grp __unused) in os_ref_log_init()
196 ref_log_op(struct os_refgrp *grp __unused, void *rc __unused, reflog_op_t op __unused) in ref_log_op()
202 ref_log_drop(struct os_refgrp *grp __unused, void *rc __unused) in ref_log_drop()
214 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-8020.140.41/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.h168 struct os_refgrp *ref_group;
/xnu-8020.140.41/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-8020.140.41/libkern/libkern/
H A DOSKextLibPrivate.h994 void (^)(struct os_refgrp *));
/xnu-8020.140.41/libkern/libkern/c++/
H A DOSKext.h147 struct os_refgrp task_refgrp;
/xnu-8020.140.41/bsd/kern/
H A Dbsd_init.c379 extern struct os_refgrp rlimit_refgrp;
/xnu-8020.140.41/libkern/c++/
H A DOSKext.cpp15439 OSKextGetRefGrpForCaller(uintptr_t address, void (^cb)(struct os_refgrp *))