Lines Matching refs:func1

3832 static int check_allowed1(u_char func1, u_char func2)  in check_allowed1()  argument
3835 if (func1==ioctl_o) return (0); in check_allowed1()
3836 if (func1==read_long) return (-1); in check_allowed1()
3837 if (func1==read_long_prefetch) return (-1); in check_allowed1()
3838 if (func1==seek) return (-1); in check_allowed1()
3839 if (func1==audio_play) return (-1); in check_allowed1()
3840 if (func1==audio_pause) return (-1); in check_allowed1()
3841 if (func1==audio_resume) return (-1); in check_allowed1()
3842 if (func1!=ioctl_i) return (0); in check_allowed1()
3855 static int check_allowed2(u_char func1, u_char func2) in check_allowed2() argument
3858 if (func1==read_long) return (-1); in check_allowed2()
3859 if (func1==read_long_prefetch) return (-1); in check_allowed2()
3860 if (func1==seek) return (-1); in check_allowed2()
3861 if (func1==audio_play) return (-1); in check_allowed2()
3862 if (func1!=ioctl_o) return (0); in check_allowed2()
3873 static int check_allowed3(u_char func1, u_char func2) in check_allowed3() argument
3876 if (func1==ioctl_i) in check_allowed3()
3884 if (func1==ioctl_o) in check_allowed3()
3895 if (func1==flush_input) return (-1); in check_allowed3()
3896 if (func1==read_long) return (-1); in check_allowed3()
3897 if (func1==read_long_prefetch) return (-1); in check_allowed3()
3898 if (func1==seek) return (-1); in check_allowed3()
3899 if (func1==audio_play) return (-1); in check_allowed3()
3900 if (func1==audio_pause) return (-1); in check_allowed3()
3901 if (func1==audio_resume) return (-1); in check_allowed3()