Lines Matching refs:perm

284 		unsigned long arg, bool perm)  in vt_k_ioctl()  argument
293 if (!perm) in vt_k_ioctl()
307 if (!perm) in vt_k_ioctl()
377 if (!perm) in vt_k_ioctl()
397 if (!perm) in vt_k_ioctl()
420 perm = 0; in vt_k_ioctl()
421 return vt_do_kbkeycode_ioctl(cmd, up, perm); in vt_k_ioctl()
425 return vt_do_kdsk_ioctl(cmd, up, perm, console); in vt_k_ioctl()
429 return vt_do_kdgkb_ioctl(cmd, up, perm); in vt_k_ioctl()
437 return vt_do_diacrit(cmd, up, perm); in vt_k_ioctl()
445 return vt_do_kdskled(console, cmd, arg, perm); in vt_k_ioctl()
455 if (!perm || !capable(CAP_KILL)) in vt_k_ioctl()
472 if (!perm && op.op != KD_FONT_OP_GET) in vt_k_ioctl()
490 bool perm, struct vc_data *vc) in do_unimap_ioctl() argument
498 if (!perm) in do_unimap_ioctl()
502 if (!perm && fg_console != vc->vc_num) in do_unimap_ioctl()
511 bool perm) in vt_io_ioctl() argument
515 if (!perm) in vt_io_ioctl()
523 if (!perm) in vt_io_ioctl()
531 if (!perm) in vt_io_ioctl()
539 if (!perm) in vt_io_ioctl()
546 return do_unimap_ioctl(cmd, up, perm, vc); in vt_io_ioctl()
741 int i, perm; in vt_ioctl() local
748 perm = 0; in vt_ioctl()
750 perm = 1; in vt_ioctl()
752 ret = vt_k_ioctl(tty, cmd, arg, perm); in vt_ioctl()
756 ret = vt_io_ioctl(vc, cmd, up, perm); in vt_ioctl()
767 if (!perm) in vt_ioctl()
842 if (!perm) in vt_ioctl()
857 if (!perm) in vt_ioctl()
866 if (!perm) in vt_ioctl()
883 if (!perm) in vt_ioctl()
912 if (!perm) in vt_ioctl()
933 if (!perm) in vt_ioctl()
1010 int perm, struct console_font_op *op, struct vc_data *vc) in compat_kdfontop_ioctl() argument
1016 if (!perm && op->op != KD_FONT_OP_GET) in compat_kdfontop_ioctl()
1035 int perm, struct vc_data *vc) in compat_unimap_ioctl() argument
1045 if (!perm) in compat_unimap_ioctl()
1049 if (!perm && fg_console != vc->vc_num) in compat_unimap_ioctl()
1062 int perm; in vt_compat_ioctl() local
1068 perm = 0; in vt_compat_ioctl()
1070 perm = 1; in vt_compat_ioctl()
1078 return compat_kdfontop_ioctl(up, perm, &op, vc); in vt_compat_ioctl()
1082 return compat_unimap_ioctl(cmd, up, perm, vc); in vt_compat_ioctl()