Lines Matching refs:cmd

283 static int vt_k_ioctl(struct tty_struct *tty, unsigned int cmd,  in vt_k_ioctl()  argument
291 switch (cmd) { in vt_k_ioctl()
348 return ksys_ioperm(arg, 1, (cmd == KDADDIO)) ? -ENXIO : 0; in vt_k_ioctl()
353 (cmd == KDENABIO)) ? -ENXIO : 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()
489 static inline int do_unimap_ioctl(int cmd, struct unimapdesc __user *user_ud, in do_unimap_ioctl() argument
496 switch (cmd) { in do_unimap_ioctl()
510 static int vt_io_ioctl(struct vc_data *vc, unsigned int cmd, void __user *up, in vt_io_ioctl() argument
513 switch (cmd) { in vt_io_ioctl()
546 return do_unimap_ioctl(cmd, up, perm, vc); in vt_io_ioctl()
737 unsigned int cmd, unsigned long arg) in vt_ioctl() argument
752 ret = vt_k_ioctl(tty, cmd, arg, perm); in vt_ioctl()
756 ret = vt_io_ioctl(vc, cmd, up, perm); in vt_ioctl()
760 switch (cmd) { in vt_ioctl()
1037 compat_unimap_ioctl(unsigned int cmd, struct compat_unimapdesc __user *user_ud, in compat_unimap_ioctl() argument
1046 switch (cmd) { in compat_unimap_ioctl()
1060 unsigned int cmd, unsigned long arg) in vt_compat_ioctl() argument
1075 switch (cmd) { in vt_compat_ioctl()
1085 return compat_unimap_ioctl(cmd, up, perm, vc); in vt_compat_ioctl()
1110 return vt_ioctl(tty, cmd, arg); in vt_compat_ioctl()
1117 return vt_ioctl(tty, cmd, (unsigned long)up); in vt_compat_ioctl()