Lines Matching refs:pid
83 static void f_modown(struct file *filp, struct pid *pid, enum pid_type type, in f_modown() argument
87 if (force || !filp->f_owner.pid) { in f_modown()
88 put_pid(filp->f_owner.pid); in f_modown()
89 filp->f_owner.pid = get_pid(pid); in f_modown()
92 if (pid) { in f_modown()
101 void __f_setown(struct file *filp, struct pid *pid, enum pid_type type, in __f_setown() argument
105 f_modown(filp, pid, type, force); in __f_setown()
112 struct pid *pid; in f_setown() local
120 pid = find_vpid(who); in f_setown()
121 __f_setown(filp, pid, type, force); in f_setown()
133 pid_t pid; in f_getown() local
135 pid = pid_vnr(filp->f_owner.pid); in f_getown()
137 pid = -pid; in f_getown()
139 return pid; in f_getown()
146 struct pid *pid; in f_setown_ex() local
172 pid = find_vpid(owner.pid); in f_setown_ex()
173 if (owner.pid && !pid) in f_setown_ex()
176 __f_setown(filp, pid, type, 1); in f_setown_ex()
189 owner.pid = pid_vnr(filp->f_owner.pid); in f_getown_ex()
494 struct pid *pid; in send_sigio() local
505 pid = fown->pid; in send_sigio()
506 if (!pid) in send_sigio()
510 do_each_pid_task(pid, type, p) { in send_sigio()
512 } while_each_pid_task(pid, type, p); in send_sigio()
529 struct pid *pid; in send_sigurg() local
541 pid = fown->pid; in send_sigurg()
542 if (!pid) in send_sigurg()
548 do_each_pid_task(pid, type, p) { in send_sigurg()
550 } while_each_pid_task(pid, type, p); in send_sigurg()