tag | line | file | source code |
func1 | 2039 | drivers/block/sbpcd.c | static int check_allowed1(u_char func1, u_char func2) |
func1 | 2042 | drivers/block/sbpcd.c | if (func1==ioctl_o) return (0); |
func1 | 2043 | drivers/block/sbpcd.c | if (func1==read_long) return (-1); |
func1 | 2044 | drivers/block/sbpcd.c | if (func1==read_long_prefetch) return (-1); |
func1 | 2045 | drivers/block/sbpcd.c | if (func1==seek) return (-1); |
func1 | 2046 | drivers/block/sbpcd.c | if (func1==audio_play) return (-1); |
func1 | 2047 | drivers/block/sbpcd.c | if (func1==audio_pause) return (-1); |
func1 | 2048 | drivers/block/sbpcd.c | if (func1==audio_resume) return (-1); |
func1 | 2049 | drivers/block/sbpcd.c | if (func1!=ioctl_i) return (0); |
func1 | 2062 | drivers/block/sbpcd.c | static int check_allowed2(u_char func1, u_char func2) |
func1 | 2065 | drivers/block/sbpcd.c | if (func1==read_long) return (-1); |
func1 | 2066 | drivers/block/sbpcd.c | if (func1==read_long_prefetch) return (-1); |
func1 | 2067 | drivers/block/sbpcd.c | if (func1==seek) return (-1); |
func1 | 2068 | drivers/block/sbpcd.c | if (func1==audio_play) return (-1); |
func1 | 2069 | drivers/block/sbpcd.c | if (func1!=ioctl_o) return (0); |
func1 | 2080 | drivers/block/sbpcd.c | static int check_allowed3(u_char func1, u_char func2) |
func1 | 2083 | drivers/block/sbpcd.c | if (func1==ioctl_i) |
func1 | 2091 | drivers/block/sbpcd.c | if (func1==ioctl_o) |
func1 | 2102 | drivers/block/sbpcd.c | if (func1==flush_input) return (-1); |
func1 | 2103 | drivers/block/sbpcd.c | if (func1==read_long) return (-1); |
func1 | 2104 | drivers/block/sbpcd.c | if (func1==read_long_prefetch) return (-1); |
func1 | 2105 | drivers/block/sbpcd.c | if (func1==seek) return (-1); |
func1 | 2106 | drivers/block/sbpcd.c | if (func1==audio_play) return (-1); |
func1 | 2107 | drivers/block/sbpcd.c | if (func1==audio_pause) return (-1); |
func1 | 2108 | drivers/block/sbpcd.c | if (func1==audio_resume) return (-1); |