Searched refs:scsi_cmd_allowed (Results 1 – 4 of 4) sorted by relevance
52 bool scsi_cmd_allowed(unsigned char *cmd, bool open_for_write);
251 bool scsi_cmd_allowed(unsigned char *cmd, bool open_for_write) in scsi_cmd_allowed() function346 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()
45 if (!scsi_cmd_allowed(scmd->cmnd, open_for_write)) in scsi_bsg_sg_io_fn()
240 if (!scsi_cmd_allowed(cmd, filp->f_mode & FMODE_WRITE)) in sg_allow_access()