#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/module.h>
#include <linux/blkdev.h>
#include <linux/capability.h>
#include <linux/completion.h>
#include <linux/cdrom.h>
#include <linux/ratelimit.h>
#include <linux/slab.h>
#include <linux/times.h>
#include <asm/uaccess.h>
#include <scsi/scsi.h>
#include <scsi/scsi_ioctl.h>
#include <scsi/scsi_cmnd.h>
#include <scsi/sg.h>
Go to the source code of this file.
|
#define | OMAX_SB_LEN 16 /* For backward compatibility */ |
|
|
| EXPORT_SYMBOL (scsi_command_size_tbl) |
|
int | blk_verify_command (unsigned char *cmd, fmode_t has_write_perm) |
|
| EXPORT_SYMBOL (blk_verify_command) |
|
int | sg_scsi_ioctl (struct request_queue *q, struct gendisk *disk, fmode_t mode, struct scsi_ioctl_command __user *sic) |
|
| EXPORT_SYMBOL_GPL (sg_scsi_ioctl) |
|
int | scsi_cmd_ioctl (struct request_queue *q, struct gendisk *bd_disk, fmode_t mode, unsigned int cmd, void __user *arg) |
|
| EXPORT_SYMBOL (scsi_cmd_ioctl) |
|
int | scsi_verify_blk_ioctl (struct block_device *bd, unsigned int cmd) |
|
| EXPORT_SYMBOL (scsi_verify_blk_ioctl) |
|
int | scsi_cmd_blk_ioctl (struct block_device *bd, fmode_t mode, unsigned int cmd, void __user *arg) |
|
| EXPORT_SYMBOL (scsi_cmd_blk_ioctl) |
|
| fs_initcall (blk_scsi_ioctl_init) |
|
#define OMAX_SB_LEN 16 /* For backward compatibility */ |
int blk_verify_command |
( |
unsigned char * |
cmd, |
|
|
fmode_t |
has_write_perm |
|
) |
| |
fs_initcall |
( |
blk_scsi_ioctl_init |
| ) |
|
Initial value:=
{
6, 10, 10, 12,
16, 12, 10, 10
}
Definition at line 44 of file scsi_ioctl.c.