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

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

Completed in 134 milliseconds