Searched refs:scsi_cmd_allowed (Results 1 – 4 of 4) sorted by relevance
52 bool scsi_cmd_allowed(unsigned char *cmd, fmode_t mode);
248 bool scsi_cmd_allowed(unsigned char *cmd, fmode_t mode) in scsi_cmd_allowed() function343 EXPORT_SYMBOL(scsi_cmd_allowed);354 if (!scsi_cmd_allowed(scmd->cmnd, mode)) in scsi_fill_sghdr_rq()554 if (!scsi_cmd_allowed(scmd->cmnd, mode)) in sg_scsi_ioctl()
45 if (!scsi_cmd_allowed(scmd->cmnd, mode)) in scsi_bsg_sg_io_fn()
240 if (!scsi_cmd_allowed(cmd, filp->f_mode)) in sg_allow_access()