Lines Matching refs:entry
382 struct ctx_switch_entry *entry; in tracing_sched_switch_trace() local
385 sizeof(*entry), trace_ctx); in tracing_sched_switch_trace()
388 entry = ring_buffer_event_data(event); in tracing_sched_switch_trace()
389 entry->prev_pid = prev->pid; in tracing_sched_switch_trace()
390 entry->prev_prio = prev->prio; in tracing_sched_switch_trace()
391 entry->prev_state = task_state_index(prev); in tracing_sched_switch_trace()
392 entry->next_pid = next->pid; in tracing_sched_switch_trace()
393 entry->next_prio = next->prio; in tracing_sched_switch_trace()
394 entry->next_state = task_state_index(next); in tracing_sched_switch_trace()
395 entry->next_cpu = task_cpu(next); in tracing_sched_switch_trace()
397 if (!call_filter_check_discard(call, entry, buffer, event)) in tracing_sched_switch_trace()
409 struct ctx_switch_entry *entry; in tracing_sched_wakeup_trace() local
413 sizeof(*entry), trace_ctx); in tracing_sched_wakeup_trace()
416 entry = ring_buffer_event_data(event); in tracing_sched_wakeup_trace()
417 entry->prev_pid = curr->pid; in tracing_sched_wakeup_trace()
418 entry->prev_prio = curr->prio; in tracing_sched_wakeup_trace()
419 entry->prev_state = task_state_index(curr); in tracing_sched_wakeup_trace()
420 entry->next_pid = wakee->pid; in tracing_sched_wakeup_trace()
421 entry->next_prio = wakee->prio; in tracing_sched_wakeup_trace()
422 entry->next_state = task_state_index(wakee); in tracing_sched_wakeup_trace()
423 entry->next_cpu = task_cpu(wakee); in tracing_sched_wakeup_trace()
425 if (!call_filter_check_discard(call, entry, buffer, event)) in tracing_sched_wakeup_trace()