Lines Matching refs:sched
105 tnf_schedule_t *sched; in tnf_trace_alloc() local
178 sched = &ops->schedule; in tnf_trace_alloc()
184 if ((sched_record_p = sched->record_p) == NULL) in tnf_trace_alloc()
194 sched_offset = ((sched->record_gen - block->generation) << shift) + in tnf_trace_alloc()
197 sched_offset = ((sched->record_gen - block->generation) << shift) + in tnf_trace_alloc()
204 time_diff = curr_time - sched->time_base; in tnf_trace_alloc()
209 if (sched->cpuid != CPU->cpu_id) in tnf_trace_alloc()
246 sched->cpuid = CPU->cpu_id; in tnf_trace_alloc()
247 sched->time_base = curr_time; in tnf_trace_alloc()
249 if ((sched_record_p = tnf_kernel_schedule(ops, sched)) != NULL) { in tnf_trace_alloc()
254 ((sched->record_gen - block->generation) << shift) + in tnf_trace_alloc()
261 ((sched->record_gen - block->generation) << shift) + in tnf_trace_alloc()