Lines Matching refs:last_cmd
762 static char *last_cmd; variable
767 if (!str || !last_cmd) in errpos()
770 return err_pos(last_cmd, str); in errpos()
784 kfree(last_cmd); in last_cmd_set()
785 last_cmd = kzalloc(len, GFP_KERNEL); in last_cmd_set()
786 if (!last_cmd) in last_cmd_set()
789 strcpy(last_cmd, HIST_PREFIX); in last_cmd_set()
792 strncat(last_cmd, str, len); in last_cmd_set()
810 if (!last_cmd) in hist_err()
813 tracing_log_err(tr, last_cmd_loc, last_cmd, err_text, in hist_err()
819 if (last_cmd) in hist_err_clear()
820 last_cmd[0] = '\0'; in hist_err_clear()