Lines Matching refs:we
410 struct wake_event *we = zalloc(sizeof(*we)); in sched_wakeup() local
412 if (!we) in sched_wakeup()
415 we->time = timestamp; in sched_wakeup()
416 we->waker = waker; in sched_wakeup()
417 we->backtrace = backtrace; in sched_wakeup()
420 we->waker = -1; in sched_wakeup()
422 we->wakee = wakee; in sched_wakeup()
423 we->next = tchart->wake_events; in sched_wakeup()
424 tchart->wake_events = we; in sched_wakeup()
425 p = find_create_pid(tchart, we->wakee); in sched_wakeup()
1037 struct wake_event *we; in draw_wakeups() local
1041 we = tchart->wake_events; in draw_wakeups()
1042 while (we) { in draw_wakeups()
1049 if (p->pid == we->waker || p->pid == we->wakee) { in draw_wakeups()
1052 if (c->Y && c->start_time <= we->time && c->end_time >= we->time) { in draw_wakeups()
1053 if (p->pid == we->waker && !from) { in draw_wakeups()
1057 if (p->pid == we->wakee && !to) { in draw_wakeups()
1066 if (p->pid == we->waker && !from) { in draw_wakeups()
1070 if (p->pid == we->wakee && !to) { in draw_wakeups()
1082 sprintf(task_from, "[%i]", we->waker); in draw_wakeups()
1086 sprintf(task_to, "[%i]", we->wakee); in draw_wakeups()
1089 if (we->waker == -1) in draw_wakeups()
1090 svg_interrupt(we->time, to, we->backtrace); in draw_wakeups()
1092 svg_wakeline(we->time, from, to, we->backtrace); in draw_wakeups()
1094 svg_partial_wakeline(we->time, from, task_from, to, in draw_wakeups()
1095 task_to, we->backtrace); in draw_wakeups()
1096 we = we->next; in draw_wakeups()