Lines Matching refs:pid
2341 pid_t pid; in __cgroup_procs_write() local
2344 if (kstrtoint(strstrip(buf), 0, &pid) || pid < 0) in __cgroup_procs_write()
2353 if (pid) { in __cgroup_procs_write()
2354 tsk = find_task_by_vpid(pid); in __cgroup_procs_write()
3840 static pid_t pid_fry(pid_t pid) in pid_fry() argument
3842 unsigned a = pid & 0x55555555; in pid_fry()
3843 unsigned b = pid & 0xAAAAAAAA; in pid_fry()
3848 static pid_t cgroup_pid_fry(struct cgroup *cgrp, pid_t pid) in cgroup_pid_fry() argument
3851 return pid_fry(pid); in cgroup_pid_fry()
3853 return pid; in cgroup_pid_fry()
3920 int pid, n = 0; /* used for populating the array */ in pidlist_array_load() local
3944 pid = task_tgid_vnr(tsk); in pidlist_array_load()
3946 pid = task_pid_vnr(tsk); in pidlist_array_load()
3947 if (pid > 0) /* make sure to only use valid results */ in pidlist_array_load()
3948 array[n++] = pid; in pidlist_array_load()
4057 int index = 0, pid = *pos; in cgroup_pidlist_start() local
4083 if (pid) { in cgroup_pidlist_start()
4088 if (cgroup_pid_fry(cgrp, l->list[mid]) == pid) { in cgroup_pidlist_start()
4091 } else if (cgroup_pid_fry(cgrp, l->list[mid]) <= pid) in cgroup_pidlist_start()
4513 current->comm, current->pid, ss->name); in create_css()
5017 struct pid *pid, struct task_struct *tsk) in proc_cgroup_show() argument