tag | line | file | source code |
func1 | 3479 | drivers/block/sbpcd.c | static int check_allowed1(u_char func1, u_char func2) |
func1 | 3482 | drivers/block/sbpcd.c | if (func1==ioctl_o) return (0); |
func1 | 3483 | drivers/block/sbpcd.c | if (func1==read_long) return (-1); |
func1 | 3484 | drivers/block/sbpcd.c | if (func1==read_long_prefetch) return (-1); |
func1 | 3485 | drivers/block/sbpcd.c | if (func1==seek) return (-1); |
func1 | 3486 | drivers/block/sbpcd.c | if (func1==audio_play) return (-1); |
func1 | 3487 | drivers/block/sbpcd.c | if (func1==audio_pause) return (-1); |
func1 | 3488 | drivers/block/sbpcd.c | if (func1==audio_resume) return (-1); |
func1 | 3489 | drivers/block/sbpcd.c | if (func1!=ioctl_i) return (0); |
func1 | 3502 | drivers/block/sbpcd.c | static int check_allowed2(u_char func1, u_char func2) |
func1 | 3505 | drivers/block/sbpcd.c | if (func1==read_long) return (-1); |
func1 | 3506 | drivers/block/sbpcd.c | if (func1==read_long_prefetch) return (-1); |
func1 | 3507 | drivers/block/sbpcd.c | if (func1==seek) return (-1); |
func1 | 3508 | drivers/block/sbpcd.c | if (func1==audio_play) return (-1); |
func1 | 3509 | drivers/block/sbpcd.c | if (func1!=ioctl_o) return (0); |
func1 | 3520 | drivers/block/sbpcd.c | static int check_allowed3(u_char func1, u_char func2) |
func1 | 3523 | drivers/block/sbpcd.c | if (func1==ioctl_i) |
func1 | 3531 | drivers/block/sbpcd.c | if (func1==ioctl_o) |
func1 | 3542 | drivers/block/sbpcd.c | if (func1==flush_input) return (-1); |
func1 | 3543 | drivers/block/sbpcd.c | if (func1==read_long) return (-1); |
func1 | 3544 | drivers/block/sbpcd.c | if (func1==read_long_prefetch) return (-1); |
func1 | 3545 | drivers/block/sbpcd.c | if (func1==seek) return (-1); |
func1 | 3546 | drivers/block/sbpcd.c | if (func1==audio_play) return (-1); |
func1 | 3547 | drivers/block/sbpcd.c | if (func1==audio_pause) return (-1); |
func1 | 3548 | drivers/block/sbpcd.c | if (func1==audio_resume) return (-1); |