Lines Matching refs:done
2263 bool done; in tracing_record_taskinfo() local
2272 done = !(flags & TRACE_RECORD_CMDLINE) || trace_save_cmdline(task); in tracing_record_taskinfo()
2273 done &= !(flags & TRACE_RECORD_TGID) || trace_save_tgid(task); in tracing_record_taskinfo()
2276 if (!done) in tracing_record_taskinfo()
2293 bool done; in tracing_record_taskinfo_sched_switch() local
2302 done = !(flags & TRACE_RECORD_CMDLINE) || trace_save_cmdline(prev); in tracing_record_taskinfo_sched_switch()
2303 done &= !(flags & TRACE_RECORD_CMDLINE) || trace_save_cmdline(next); in tracing_record_taskinfo_sched_switch()
2304 done &= !(flags & TRACE_RECORD_TGID) || trace_save_tgid(prev); in tracing_record_taskinfo_sched_switch()
2305 done &= !(flags & TRACE_RECORD_TGID) || trace_save_tgid(next); in tracing_record_taskinfo_sched_switch()
2308 if (!done) in tracing_record_taskinfo_sched_switch()
9039 size_t done = 0; in trace_parse_run_command() local
9046 while (done < count) { in trace_parse_run_command()
9047 size = count - done; in trace_parse_run_command()
9052 if (copy_from_user(kbuf, buffer + done, size)) { in trace_parse_run_command()
9065 if (done + size < count) { in trace_parse_run_command()
9075 done += size; in trace_parse_run_command()
9088 } while (done < count); in trace_parse_run_command()
9090 ret = done; in trace_parse_run_command()