Lines Matching refs:entry
399 struct ctx_switch_entry *entry; in tracing_sched_switch_trace() local
402 sizeof(*entry), trace_ctx); in tracing_sched_switch_trace()
405 entry = ring_buffer_event_data(event); in tracing_sched_switch_trace()
406 entry->prev_pid = prev->pid; in tracing_sched_switch_trace()
407 entry->prev_prio = prev->prio; in tracing_sched_switch_trace()
408 entry->prev_state = task_state_index(prev); in tracing_sched_switch_trace()
409 entry->next_pid = next->pid; in tracing_sched_switch_trace()
410 entry->next_prio = next->prio; in tracing_sched_switch_trace()
411 entry->next_state = task_state_index(next); in tracing_sched_switch_trace()
412 entry->next_cpu = task_cpu(next); in tracing_sched_switch_trace()
424 struct ctx_switch_entry *entry; in tracing_sched_wakeup_trace() local
428 sizeof(*entry), trace_ctx); in tracing_sched_wakeup_trace()
431 entry = ring_buffer_event_data(event); in tracing_sched_wakeup_trace()
432 entry->prev_pid = curr->pid; in tracing_sched_wakeup_trace()
433 entry->prev_prio = curr->prio; in tracing_sched_wakeup_trace()
434 entry->prev_state = task_state_index(curr); in tracing_sched_wakeup_trace()
435 entry->next_pid = wakee->pid; in tracing_sched_wakeup_trace()
436 entry->next_prio = wakee->prio; in tracing_sched_wakeup_trace()
437 entry->next_state = task_state_index(wakee); in tracing_sched_wakeup_trace()
438 entry->next_cpu = task_cpu(wakee); in tracing_sched_wakeup_trace()