Home
last modified time | relevance | path

Searched refs:scsi_cmd_allowed (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/include/scsi/
H A Dscsi_ioctl.h52 bool scsi_cmd_allowed(unsigned char *cmd, bool open_for_write);
/openbmc/linux/drivers/scsi/
H A Dscsi_ioctl.c251 bool scsi_cmd_allowed(unsigned char *cmd, bool open_for_write) in scsi_cmd_allowed() function
346 EXPORT_SYMBOL(scsi_cmd_allowed);
357 if (!scsi_cmd_allowed(scmd->cmnd, open_for_write)) in scsi_fill_sghdr_rq()
557 if (!scsi_cmd_allowed(scmd->cmnd, open_for_write)) in sg_scsi_ioctl()
H A Dscsi_bsg.c45 if (!scsi_cmd_allowed(scmd->cmnd, open_for_write)) in scsi_bsg_sg_io_fn()
H A Dsg.c240 if (!scsi_cmd_allowed(cmd, filp->f_mode & FMODE_WRITE)) in sg_allow_access()