Home
last modified time | relevance | path

Searched refs:pn (Results 1 – 2 of 2) sorted by relevance

/kernel/locking/
Dqspinlock_paravirt.h280 struct pv_node *pn = (struct pv_node *)node; in pv_init_node() local
284 pn->cpu = smp_processor_id(); in pv_init_node()
285 pn->state = vcpu_running; in pv_init_node()
295 struct pv_node *pn = (struct pv_node *)node; in pv_wait_node() local
320 smp_store_mb(pn->state, vcpu_halted); in pv_wait_node()
325 pv_wait(&pn->state, vcpu_halted); in pv_wait_node()
333 cmpxchg(&pn->state, vcpu_halted, vcpu_running); in pv_wait_node()
362 struct pv_node *pn = (struct pv_node *)node; in pv_kick_node() local
380 if (cmpxchg_relaxed(&pn->state, vcpu_halted, vcpu_hashed) in pv_kick_node()
392 (void)pv_hash(lock, pn); in pv_kick_node()
[all …]
/kernel/cgroup/
Dcpuset.c181 int pn; member
1007 csa[i]->pn = i; in generate_sched_domains()
1014 int apn = a->pn; in generate_sched_domains()
1018 int bpn = b->pn; in generate_sched_domains()
1024 if (c->pn == bpn) in generate_sched_domains()
1025 c->pn = apn; in generate_sched_domains()
1051 int apn = a->pn; in generate_sched_domains()
1076 if (apn == b->pn) { in generate_sched_domains()
1083 b->pn = -1; in generate_sched_domains()