Lines Matching refs:pid
63 pid_t pid; member
111 static int send_reply(struct sk_buff *skb, pid_t pid) in send_reply() argument
123 return genlmsg_unicast(skb, pid); in send_reply()
153 rc = genlmsg_unicast(skb_cur, s->pid); in send_cpu_listeners()
179 static int fill_pid(pid_t pid, struct task_struct *tsk, in fill_pid() argument
186 tsk = find_task_by_vpid(pid); in fill_pid()
293 static int add_del_listener(pid_t pid, const struct cpumask *mask, int isadd) in add_del_listener() argument
308 s->pid = pid; in add_del_listener()
326 if (s->pid == pid) { in add_del_listener()
359 static struct taskstats *mk_reply(struct sk_buff *skb, int type, u32 pid) in mk_reply() argument
371 if (nla_put(skb, type, sizeof(pid), &pid) < 0) in mk_reply()
470 u32 pid = nla_get_u32(info->attrs[TASKSTATS_CMD_ATTR_PID]); in taskstats_user_cmd() local
471 stats = mk_reply(rep_skb, TASKSTATS_TYPE_PID, pid); in taskstats_user_cmd()
475 rc = fill_pid(pid, NULL, stats); in taskstats_user_cmd()
555 stats = mk_reply(rep_skb, TASKSTATS_TYPE_PID, tsk->pid); in taskstats_exit()