Lines Matching refs:type
200 static void f_modown(struct file *filp, struct pid *pid, enum pid_type type, in f_modown() argument
207 filp->f_owner.pid_type = type; in f_modown()
218 int __f_setown(struct file *filp, struct pid *pid, enum pid_type type, in __f_setown() argument
227 f_modown(filp, pid, type, force); in __f_setown()
234 enum pid_type type; in f_setown() local
238 type = PIDTYPE_PID; in f_setown()
240 type = PIDTYPE_PGID; in f_setown()
245 result = __f_setown(filp, pid, type, force); in f_setown()
272 int type; in f_setown_ex() local
279 switch (owner.type) { in f_setown_ex()
281 type = PIDTYPE_MAX; in f_setown_ex()
285 type = PIDTYPE_PID; in f_setown_ex()
289 type = PIDTYPE_PGID; in f_setown_ex()
301 ret = __f_setown(filp, pid, type, 1); in f_setown_ex()
317 owner.type = F_OWNER_TID; in f_getown_ex()
321 owner.type = F_OWNER_PID; in f_getown_ex()
325 owner.type = F_OWNER_PGRP; in f_getown_ex()
588 enum pid_type type; in send_sigio() local
594 type = fown->pid_type; in send_sigio()
595 if (type == PIDTYPE_MAX) { in send_sigio()
597 type = PIDTYPE_PID; in send_sigio()
605 do_each_pid_task(pid, type, p) { in send_sigio()
607 } while_each_pid_task(pid, type, p); in send_sigio()
623 enum pid_type type; in send_sigurg() local
630 type = fown->pid_type; in send_sigurg()
631 if (type == PIDTYPE_MAX) { in send_sigurg()
633 type = PIDTYPE_PID; in send_sigurg()
643 do_each_pid_task(pid, type, p) { in send_sigurg()
645 } while_each_pid_task(pid, type, p); in send_sigurg()