Lines Matching refs:ftimes
206 struct fgraph_times *ftimes; in graph_entry() local
242 ftimes = fgraph_reserve_data(gops->idx, sizeof(ftimes->calltime)); in graph_entry()
244 ftimes = fgraph_reserve_data(gops->idx, sizeof(*ftimes)); in graph_entry()
245 if (ftimes) in graph_entry()
246 ftimes->sleeptime = current->ftrace_sleeptime; in graph_entry()
248 if (!ftimes) in graph_entry()
251 ftimes->calltime = trace_clock_local(); in graph_entry()
340 struct fgraph_times *ftimes, in handle_nosleeptime() argument
343 if (fgraph_sleep_time || size < sizeof(*ftimes)) in handle_nosleeptime()
346 ftimes->calltime += current->ftrace_sleeptime - ftimes->sleeptime; in handle_nosleeptime()
355 struct fgraph_times *ftimes; in trace_graph_return() local
371 ftimes = fgraph_retrieve_data(gops->idx, &size); in trace_graph_return()
372 if (!ftimes) in trace_graph_return()
375 handle_nosleeptime(trace, ftimes, size); in trace_graph_return()
377 calltime = ftimes->calltime; in trace_graph_return()
394 struct fgraph_times *ftimes; in trace_graph_thresh_return() local
404 ftimes = fgraph_retrieve_data(gops->idx, &size); in trace_graph_thresh_return()
405 if (!ftimes) in trace_graph_thresh_return()
408 handle_nosleeptime(trace, ftimes, size); in trace_graph_thresh_return()
411 (trace_clock_local() - ftimes->calltime < tracing_thresh)) in trace_graph_thresh_return()