Lines Matching refs:ftimes
231 struct fgraph_times *ftimes; in graph_entry() local
262 ftimes = fgraph_reserve_data(gops->idx, sizeof(*ftimes)); in graph_entry()
263 if (ftimes) in graph_entry()
264 ftimes->sleeptime = current->ftrace_sleeptime; in graph_entry()
267 ftimes = fgraph_reserve_data(gops->idx, sizeof(ftimes->calltime)); in graph_entry()
269 if (!ftimes) in graph_entry()
272 ftimes->calltime = trace_clock_local(); in graph_entry()
356 struct fgraph_times *ftimes, in handle_nosleeptime() argument
359 if (size < sizeof(*ftimes)) in handle_nosleeptime()
365 ftimes->calltime += current->ftrace_sleeptime - ftimes->sleeptime; in handle_nosleeptime()
373 struct fgraph_times *ftimes; in trace_graph_return() local
387 ftimes = fgraph_retrieve_data(gops->idx, &size); in trace_graph_return()
388 if (!ftimes) in trace_graph_return()
391 handle_nosleeptime(tr, trace, ftimes, size); in trace_graph_return()
393 calltime = ftimes->calltime; in trace_graph_return()
403 struct fgraph_times *ftimes; in trace_graph_thresh_return() local
414 ftimes = fgraph_retrieve_data(gops->idx, &size); in trace_graph_thresh_return()
415 if (!ftimes) in trace_graph_thresh_return()
419 handle_nosleeptime(tr, trace, ftimes, size); in trace_graph_thresh_return()
422 (trace_clock_local() - ftimes->calltime < tracing_thresh)) in trace_graph_thresh_return()