Searched refs:link (Results 1 – 7 of 7) sorted by relevance
/kernel/power/ |
D | wakelock.c | 140 list_for_each_entry(lock, &inactive_locks, link) { in wakelocks_read_proc() 144 list_for_each_entry(lock, &active_wake_locks[type], link) in wakelocks_read_proc() 193 list_for_each_entry(lock, &active_wake_locks[WAKE_LOCK_SUSPEND], link) { in update_sleep_wait_stats_locked() 219 list_del(&lock->link); in expire_wake_lock() 220 list_add(&lock->link, &inactive_locks); in expire_wake_lock() 232 list_for_each_entry(lock, &active_wake_locks[type], link) { in print_active_locks() 251 list_for_each_entry_safe(lock, n, &active_wake_locks[type], link) { in has_wake_lock_locked() 366 INIT_LIST_HEAD(&lock->link); in wake_lock_init() 368 list_add(&lock->link, &inactive_locks); in wake_lock_init() 395 list_del(&lock->link); in wake_lock_destroy() [all …]
|
D | earlysuspend.c | 54 e = list_entry(pos, struct early_suspend, link); in register_early_suspend() 58 list_add_tail(&handler->link, pos); in register_early_suspend() 68 list_del(&handler->link); in unregister_early_suspend() 96 list_for_each_entry(pos, &early_suspend_handlers, link) { in early_suspend() 134 list_for_each_entry_reverse(pos, &early_suspend_handlers, link) in late_resume()
|
/kernel/ |
D | pid.c | 318 struct pid_link *link; in attach_pid() local 320 link = &task->pids[type]; in attach_pid() 321 link->pid = pid; in attach_pid() 322 hlist_add_head_rcu(&link->node, &pid->tasks[type]); in attach_pid() 328 struct pid_link *link; in __change_pid() local 332 link = &task->pids[type]; in __change_pid() 333 pid = link->pid; in __change_pid() 335 hlist_del_rcu(&link->node); in __change_pid() 336 link->pid = new; in __change_pid()
|
D | cgroup.c | 241 struct cg_cgroup_link *link; in unlink_css_set() local 247 list_for_each_entry_safe(link, saved_link, &cg->cg_links, in unlink_css_set() 249 list_del(&link->cg_link_list); in unlink_css_set() 250 list_del(&link->cgrp_link_list); in unlink_css_set() 251 kfree(link); in unlink_css_set() 358 struct cg_cgroup_link *link; in free_cg_links() local 361 list_for_each_entry_safe(link, saved_link, tmp, cgrp_link_list) { in free_cg_links() 362 list_del(&link->cgrp_link_list); in free_cg_links() 363 kfree(link); in free_cg_links() 374 struct cg_cgroup_link *link; in allocate_cg_links() local [all …]
|
D | hrtimer.c | 788 struct rb_node **link = &base->active.rb_node; in enqueue_hrtimer() local 798 while (*link) { in enqueue_hrtimer() 799 parent = *link; in enqueue_hrtimer() 807 link = &(*link)->rb_left; in enqueue_hrtimer() 809 link = &(*link)->rb_right; in enqueue_hrtimer() 821 rb_link_node(&timer->node, parent, link); in enqueue_hrtimer()
|
D | sched_fair.c | 300 struct rb_node **link = &cfs_rq->tasks_timeline.rb_node; in __enqueue_entity() local 309 while (*link) { in __enqueue_entity() 310 parent = *link; in __enqueue_entity() 317 link = &parent->rb_left; in __enqueue_entity() 319 link = &parent->rb_right; in __enqueue_entity() 331 rb_link_node(&se->run_node, parent, link); in __enqueue_entity()
|
D | sched.c | 2499 hlist_add_head(¬ifier->link, ¤t->preempt_notifiers); in preempt_notifier_register() 2511 hlist_del(¬ifier->link); in preempt_notifier_unregister() 2520 hlist_for_each_entry(notifier, node, &curr->preempt_notifiers, link) in fire_sched_in_preempt_notifiers() 2531 hlist_for_each_entry(notifier, node, &curr->preempt_notifiers, link) in fire_sched_out_preempt_notifiers()
|