Lines Matching refs:pid
50 pid_t pid; member
131 rc = genlmsg_unicast(&init_net, skb_cur, s->pid); in send_cpu_listeners()
201 static int fill_stats_for_pid(pid_t pid, struct taskstats *stats) in fill_stats_for_pid() argument
205 tsk = find_get_task_by_vpid(pid); in fill_stats_for_pid()
296 static int add_del_listener(pid_t pid, const struct cpumask *mask, int isadd) in add_del_listener() argument
320 s->pid = pid; in add_del_listener()
326 if (s2->pid == pid && s2->valid) in add_del_listener()
344 if (s->pid == pid) { in add_del_listener()
377 static struct taskstats *mk_reply(struct sk_buff *skb, int type, u32 pid) in mk_reply() argument
390 if (nla_put(skb, type, sizeof(pid), &pid) < 0) { in mk_reply()
505 u32 pid; in cmd_attr_pid() local
515 pid = nla_get_u32(info->attrs[TASKSTATS_CMD_ATTR_PID]); in cmd_attr_pid()
516 stats = mk_reply(rep_skb, TASKSTATS_TYPE_PID, pid); in cmd_attr_pid()
520 rc = fill_stats_for_pid(pid, stats); in cmd_attr_pid()