Lines Matching refs:fpid
2923 struct ftrace_pid *fpid; in ftrace_pid_add() local
2938 list_for_each_entry(fpid, &ftrace_pids, list) in ftrace_pid_add()
2939 if (fpid->pid == pid) in ftrace_pid_add()
2944 fpid = kmalloc(sizeof(*fpid), GFP_KERNEL); in ftrace_pid_add()
2945 if (!fpid) in ftrace_pid_add()
2948 list_add(&fpid->list, &ftrace_pids); in ftrace_pid_add()
2949 fpid->pid = pid; in ftrace_pid_add()
2970 struct ftrace_pid *fpid, *safe; in ftrace_pid_reset() local
2973 list_for_each_entry_safe(fpid, safe, &ftrace_pids, list) { in ftrace_pid_reset()
2974 struct pid *pid = fpid->pid; in ftrace_pid_reset()
2978 list_del(&fpid->list); in ftrace_pid_reset()
2979 kfree(fpid); in ftrace_pid_reset()
3013 const struct ftrace_pid *fpid = list_entry(v, struct ftrace_pid, list); in fpid_show() local
3020 if (fpid->pid == ftrace_swapper_pid) in fpid_show()
3023 seq_printf(m, "%u\n", pid_vnr(fpid->pid)); in fpid_show()