Home
last modified time | relevance | path

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

/linux-6.1.9/include/scsi/
Dscsi_ioctl.h52 bool scsi_cmd_allowed(unsigned char *cmd, fmode_t mode);
/linux-6.1.9/drivers/scsi/
Dscsi_ioctl.c248 bool scsi_cmd_allowed(unsigned char *cmd, fmode_t mode) in scsi_cmd_allowed() function
343 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()
Dscsi_bsg.c45 if (!scsi_cmd_allowed(scmd->cmnd, mode)) in scsi_bsg_sg_io_fn()
Dsg.c240 if (!scsi_cmd_allowed(cmd, filp->f_mode)) in sg_allow_access()