savedcmd 1948 kernel/trace/trace.c static struct saved_cmdlines_buffer *savedcmd; savedcmd 1955 kernel/trace/trace.c return &savedcmd->saved_cmdlines[idx * TASK_COMM_LEN]; savedcmd 1992 kernel/trace/trace.c savedcmd = kmalloc(sizeof(*savedcmd), GFP_KERNEL); savedcmd 1993 kernel/trace/trace.c if (!savedcmd) savedcmd 1996 kernel/trace/trace.c ret = allocate_cmdlines_buffer(SAVED_CMDLINES_DEFAULT, savedcmd); savedcmd 1998 kernel/trace/trace.c kfree(savedcmd); savedcmd 1999 kernel/trace/trace.c savedcmd = NULL; savedcmd 2160 kernel/trace/trace.c idx = savedcmd->map_pid_to_cmdline[tsk->pid]; savedcmd 2162 kernel/trace/trace.c idx = (savedcmd->cmdline_idx + 1) % savedcmd->cmdline_num; savedcmd 2170 kernel/trace/trace.c pid = savedcmd->map_cmdline_to_pid[idx]; savedcmd 2172 kernel/trace/trace.c savedcmd->map_pid_to_cmdline[pid] = NO_CMDLINE_MAP; savedcmd 2174 kernel/trace/trace.c savedcmd->map_cmdline_to_pid[idx] = tsk->pid; savedcmd 2175 kernel/trace/trace.c savedcmd->map_pid_to_cmdline[tsk->pid] = idx; savedcmd 2177 kernel/trace/trace.c savedcmd->cmdline_idx = idx; savedcmd 2206 kernel/trace/trace.c map = savedcmd->map_pid_to_cmdline[pid]; savedcmd 5111 kernel/trace/trace.c for (; ptr < &savedcmd->map_cmdline_to_pid[savedcmd->cmdline_num]; savedcmd 5130 kernel/trace/trace.c v = &savedcmd->map_cmdline_to_pid[0]; savedcmd 5189 kernel/trace/trace.c r = scnprintf(buf, sizeof(buf), "%u\n", savedcmd->cmdline_num); savedcmd 5216 kernel/trace/trace.c savedcmd_temp = savedcmd; savedcmd 5217 kernel/trace/trace.c savedcmd = s; savedcmd 9230 kernel/trace/trace.c free_saved_cmdlines_buffer(savedcmd);