Searched refs:prev_p (Results 1 – 2 of 2) sorted by relevance
468 struct per_pid *p = NULL, *prev_p; in sched_switch() local472 prev_p = find_create_pid(sw->prev_pid); in sched_switch()476 if (prev_p->current && prev_p->current->state != TYPE_NONE) in sched_switch()477 pid_put_sample(sw->prev_pid, TYPE_RUNNING, cpu, prev_p->current->state_since, timestamp); in sched_switch()486 if (prev_p->current) { in sched_switch()487 prev_p->current->state = TYPE_NONE; in sched_switch()488 prev_p->current->state_since = timestamp; in sched_switch()490 prev_p->current->state = TYPE_BLOCKED; in sched_switch()492 prev_p->current->state = TYPE_WAITING; in sched_switch()
394 void set_prev_b ( Block* b, Block* prev_p ) in set_prev_b() argument397 *(Block**)&b2[hp_overhead_szB() + sizeof(SizeT)] = prev_p; in set_prev_b()