Home
last modified time | relevance | path

Searched refs:nl (Results 1 – 3 of 3) sorted by relevance

/kernel/
Dnotifier.c22 static int notifier_chain_register(struct notifier_block **nl, in notifier_chain_register() argument
25 while ((*nl) != NULL) { in notifier_chain_register()
26 WARN_ONCE(((*nl) == n), "double register detected"); in notifier_chain_register()
27 if (n->priority > (*nl)->priority) in notifier_chain_register()
29 nl = &((*nl)->next); in notifier_chain_register()
31 n->next = *nl; in notifier_chain_register()
32 rcu_assign_pointer(*nl, n); in notifier_chain_register()
36 static int notifier_chain_cond_register(struct notifier_block **nl, in notifier_chain_cond_register() argument
39 while ((*nl) != NULL) { in notifier_chain_cond_register()
40 if ((*nl) == n) in notifier_chain_cond_register()
[all …]
/kernel/locking/
Dlockdep_proc.c360 unsigned long nl, nr; in lock_stat_cmp() local
362 nl = dl->stats.read_waittime.nr + dl->stats.write_waittime.nr; in lock_stat_cmp()
365 return nr - nl; in lock_stat_cmp()
/kernel/rcu/
Dtree_plugin.h2325 int nl = 0; /* Next GP kthread. */ in rcu_organize_nocb_kthreads() local
2344 if (rdp->cpu >= nl) { in rcu_organize_nocb_kthreads()
2346 nl = DIV_ROUND_UP(rdp->cpu + 1, ls) * ls; in rcu_organize_nocb_kthreads()