Searched refs:kref (Results 1 – 8 of 8) sorted by relevance
/kernel/sched/ |
D | autogroup.c | 15 kref_init(&autogroup_default.kref); in autogroup_init() 25 static inline void autogroup_destroy(struct kref *kref) in autogroup_destroy() argument 27 struct autogroup *ag = container_of(kref, struct autogroup, kref); in autogroup_destroy() 40 kref_put(&ag->kref, autogroup_destroy); in autogroup_kref_put() 45 kref_get(&ag->kref); in autogroup_kref_get() 75 kref_init(&ag->kref); in autogroup_create()
|
D | autogroup.h | 10 struct kref kref; member
|
D | psi.c | 1082 static void psi_trigger_destroy(struct kref *ref) in psi_trigger_destroy()
|
/kernel/ |
D | utsname.c | 36 kref_init(&uts_ns->kref); in create_uts_ns() 106 void free_uts_ns(struct kref *kref) in free_uts_ns() argument 110 ns = container_of(kref, struct uts_namespace, kref); in free_uts_ns()
|
D | relay.c | 182 kref_get(&buf->chan->kref); in relay_create_buf() 197 static void relay_destroy_channel(struct kref *kref) in relay_destroy_channel() argument 199 struct rchan *chan = container_of(kref, struct rchan, kref); in relay_destroy_channel() 221 kref_put(&chan->kref, relay_destroy_channel); in relay_destroy_buf() 232 static void relay_remove_buf(struct kref *kref) in relay_remove_buf() argument 234 struct rchan_buf *buf = container_of(kref, struct rchan_buf, kref); in relay_remove_buf() 357 kref_init(&buf->kref); in __relay_reset() 498 kref_put(&buf->kref, relay_remove_buf); in relay_close_buf() 595 kref_init(&chan->kref); in relay_open() 615 kref_put(&chan->kref, relay_destroy_channel); in relay_open() [all …]
|
D | pid_namespace.c | 113 kref_init(&ns->kref); in create_pid_namespace() 160 static void free_pid_ns(struct kref *kref) in free_pid_ns() argument 164 ns = container_of(kref, struct pid_namespace, kref); in free_pid_ns() 174 if (!kref_put(&ns->kref, free_pid_ns)) in put_pid_ns()
|
D | pid.c | 74 .kref = KREF_INIT(2),
|
/kernel/irq/ |
D | manage.c | 286 kref_get(&desc->affinity_notify->kref); in irq_set_affinity_locked() 347 kref_put(¬ify->kref, notify->release); in irq_affinity_notify() 377 kref_init(¬ify->kref); in irq_set_affinity_notifier() 388 kref_put(&old_notify->kref, old_notify->release); in irq_set_affinity_notifier()
|