Searched refs:kref (Results 1 – 5 of 5) sorted by relevance
/kernel/sched/ |
D | autogroup.c | 36 kref_init(&autogroup_default.kref); in autogroup_init() 47 static inline void autogroup_destroy(struct kref *kref) in autogroup_destroy() argument 49 struct autogroup *ag = container_of(kref, struct autogroup, kref); in autogroup_destroy() 62 kref_put(&ag->kref, autogroup_destroy); in autogroup_kref_put() 67 kref_get(&ag->kref); in autogroup_kref_get() 97 kref_init(&ag->kref); in autogroup_create()
|
D | autogroup.h | 13 struct kref kref; member
|
/kernel/ |
D | relay.c | 167 kref_get(&buf->chan->kref); in relay_create_buf() 182 static void relay_destroy_channel(struct kref *kref) in relay_destroy_channel() argument 184 struct rchan *chan = container_of(kref, struct rchan, kref); in relay_destroy_channel() 207 kref_put(&chan->kref, relay_destroy_channel); in relay_destroy_buf() 218 static void relay_remove_buf(struct kref *kref) in relay_remove_buf() argument 220 struct rchan_buf *buf = container_of(kref, struct rchan_buf, kref); in relay_remove_buf() 289 kref_init(&buf->kref); in __relay_reset() 430 kref_put(&buf->kref, relay_remove_buf); in relay_close_buf() 513 kref_init(&chan->kref); in relay_open() 533 kref_put(&chan->kref, relay_destroy_channel); in relay_open() [all …]
|
D | watch_queue.c | 387 static void __put_watch_queue(struct kref *kref) in __put_watch_queue() argument 390 container_of(kref, struct watch_queue, usage); in __put_watch_queue() 425 static void __put_watch(struct kref *kref) in __put_watch() argument 427 struct watch *watch = container_of(kref, struct watch, usage); in __put_watch()
|
/kernel/irq/ |
D | manage.c | 369 kref_get(&desc->affinity_notify->kref); in irq_set_affinity_locked() 372 kref_put(&desc->affinity_notify->kref, in irq_set_affinity_locked() 535 kref_put(¬ify->kref, notify->release); in irq_affinity_notify() 565 kref_init(¬ify->kref); in irq_set_affinity_notifier() 577 kref_put(&old_notify->kref, old_notify->release); in irq_set_affinity_notifier() 579 kref_put(&old_notify->kref, old_notify->release); in irq_set_affinity_notifier()
|