Home
last modified time | relevance | path

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

/kernel/locking/
Dlockdep.c353 #define __chainhashfn(chain) hash_long(chain, CHAINHASH_BITS) argument
354 #define chainhashentry(chain) (chainhash_table + __chainhashfn((chain))) argument
943 static bool check_lock_chain_key(struct lock_chain *chain) in check_lock_chain_key() argument
949 for (i = chain->base; i < chain->base + chain->depth; i++) in check_lock_chain_key()
955 if (chain->chain_key != chain_key) { in check_lock_chain_key()
957 (unsigned long long)(chain - lock_chains), in check_lock_chain_key()
958 (unsigned long long)chain->chain_key, in check_lock_chain_key()
982 struct lock_chain *chain; in __check_data_structures() local
1011 hlist_for_each_entry_rcu(chain, head, entry) { in __check_data_structures()
1012 if (!check_lock_chain_key(chain)) in __check_data_structures()
[all …]
Dlockdep_proc.c128 struct lock_chain *chain = v; in lc_show() local
139 seq_printf(m, "irq_context: %d\n", chain->irq_context); in lc_show()
141 for (i = 0; i < chain->depth; i++) { in lc_show()
142 class = lock_chain_get_class(chain, i); in lc_show()
Dlockdep_internals.h124 struct lock_class *lock_chain_get_class(struct lock_chain *chain, int i);
/kernel/
Dfutex.c256 struct plist_head chain; member
776 plist_for_each_entry(this, &hb->chain, list) { in futex_top_waiter()
1513 plist_del(&q->list, &hb->chain); in __unqueue_futex()
1678 plist_for_each_entry_safe(this, next, &hb->chain, list) { in futex_wake()
1808 plist_for_each_entry_safe(this, next, &hb1->chain, list) { in futex_wake_op()
1822 plist_for_each_entry_safe(this, next, &hb2->chain, list) { in futex_wake_op()
1863 if (likely(&hb1->chain != &hb2->chain)) { in requeue_futex()
1864 plist_del(&q->list, &hb1->chain); in requeue_futex()
1867 plist_add(&q->list, &hb2->chain); in requeue_futex()
2182 plist_for_each_entry_safe(this, next, &hb1->chain, list) { in futex_requeue()
[all …]
/kernel/power/
Dsnapshot.c259 struct linked_page *chain; /* the chain */ member
269 ca->chain = NULL; in chain_init()
287 lp->next = ca->chain; in chain_alloc()
288 ca->chain = lp; in chain_alloc()
291 ret = ca->chain->data + ca->used_space; in chain_alloc()
670 bm->p_list = ca.chain; in memory_bm_create()
677 bm->p_list = ca.chain; in memory_bm_create()