Lines Matching refs:sanity_check
546 static inline int sanity_check(struct slgt_info *info, char *devname, const char *name) in sanity_check() function
599 if (sanity_check(info, tty->name, "open")) in open()
656 if (sanity_check(info, tty->name, "close")) in close()
683 if (sanity_check(info, tty->name, "hangup")) in hangup()
755 if (sanity_check(info, tty->name, "write")) in write()
790 if (sanity_check(info, tty->name, "put_char")) in put_char()
809 if (sanity_check(info, tty->name, "send_xchar")) in send_xchar()
828 if (sanity_check(info, tty->name, "wait_until_sent")) in wait_until_sent()
868 if (sanity_check(info, tty->name, "write_room")) in write_room()
880 if (sanity_check(info, tty->name, "flush_chars")) in flush_chars()
901 if (sanity_check(info, tty->name, "flush_buffer")) in flush_buffer()
920 if (sanity_check(info, tty->name, "tx_hold")) in tx_hold()
937 if (sanity_check(info, tty->name, "tx_release")) in tx_release()
964 if (sanity_check(info, tty->name, "ioctl")) in ioctl()
1127 if (sanity_check(info, tty->name, "compat_ioctl")) in slgt_compat_ioctl()
1254 if (sanity_check(info, tty->name, "chars_in_buffer")) in chars_in_buffer()
1269 if (sanity_check(info, tty->name, "throttle")) in throttle()
1290 if (sanity_check(info, tty->name, "unthrottle")) in unthrottle()
1317 if (sanity_check(info, tty->name, "set_break")) in set_break()