Home
last modified time | relevance | path

Searched refs:chain (Results 1 – 9 of 9) sorted by relevance

/kernel/
Dcpu_pm.c22 struct raw_notifier_head chain; member
25 .chain = RAW_NOTIFIER_INIT(cpu_pm_notifier.chain),
40 ret = raw_notifier_call_chain(&cpu_pm_notifier.chain, event, NULL); in cpu_pm_notify()
54 ret = raw_notifier_call_chain_robust(&cpu_pm_notifier.chain, event_up, event_down, NULL); in cpu_pm_notify_robust()
76 ret = raw_notifier_chain_register(&cpu_pm_notifier.chain, nb); in cpu_pm_register_notifier()
96 ret = raw_notifier_chain_unregister(&cpu_pm_notifier.chain, nb); in cpu_pm_unregister_notifier()
/kernel/locking/
Dlockdep.c418 #define __chainhashfn(chain) hash_long(chain, CHAINHASH_BITS) argument
419 #define chainhashentry(chain) (chainhash_table + __chainhashfn((chain))) argument
1037 static bool check_lock_chain_key(struct lock_chain *chain) in check_lock_chain_key() argument
1043 for (i = chain->base; i < chain->base + chain->depth; i++) in check_lock_chain_key()
1049 if (chain->chain_key != chain_key) { in check_lock_chain_key()
1051 (unsigned long long)(chain - lock_chains), in check_lock_chain_key()
1052 (unsigned long long)chain->chain_key, in check_lock_chain_key()
1076 struct lock_chain *chain; in __check_data_structures() local
1105 hlist_for_each_entry_rcu(chain, head, entry) { in __check_data_structures()
1106 if (!check_lock_chain_key(chain)) in __check_data_structures()
[all …]
Dlockdep_proc.c151 struct lock_chain *chain = v; in lc_show() local
169 seq_printf(m, "irq_context: %s\n", irq_strs[chain->irq_context]); in lc_show()
171 for (i = 0; i < chain->depth; i++) { in lc_show()
172 class = lock_chain_get_class(chain, i); in lc_show()
Dlockdep_internals.h134 struct lock_class *lock_chain_get_class(struct lock_chain *chain, int i);
/kernel/futex/
Drequeue.c82 if (likely(&hb1->chain != &hb2->chain)) { in requeue_futex()
83 plist_del(&q->list, &hb1->chain); in requeue_futex()
86 plist_add(&q->list, &hb2->chain); in requeue_futex()
570 plist_for_each_entry_safe(this, next, &hb1->chain, list) { in futex_requeue()
710 plist_del(&q->list, &hb->chain); in handle_early_requeue_pi_wakeup()
Dwaitwake.c168 trace_android_vh_futex_wake_traverse_plist(&hb->chain, &target_nr, key, bitset); in futex_wake()
169 plist_for_each_entry_safe(this, next, &hb->chain, list) { in futex_wake()
291 plist_for_each_entry_safe(this, next, &hb1->chain, list) { in futex_wake_op()
305 plist_for_each_entry_safe(this, next, &hb2->chain, list) { in futex_wake_op()
Dcore.c444 plist_for_each_entry(this, &hb->chain, list) { in futex_top_waiter()
519 plist_del(&q->list, &hb->chain); in __futex_unqueue()
570 trace_android_vh_alter_futex_plist_add(&q->list, &hb->chain, &already_on_hb); in __futex_queue()
572 plist_add(&q->list, &hb->chain); in __futex_queue()
1157 plist_head_init(&futex_queues[i].chain); in futex_init()
Dfutex.h48 struct plist_head chain; member
/kernel/power/
Dsnapshot.c292 struct linked_page *chain; /* the chain */ member
302 ca->chain = NULL; in chain_init()
320 lp->next = ca->chain; in chain_alloc()
321 ca->chain = lp; in chain_alloc()
324 ret = ca->chain->data + ca->used_space; in chain_alloc()
709 bm->p_list = ca.chain; in memory_bm_create()
716 bm->p_list = ca.chain; in memory_bm_create()