Home
last modified time | relevance | path

Searched refs:SG_IO (Results 1 – 6 of 6) sorted by relevance

/linux/include/scsi/
H A Dsg.h177 char orphan; /* 0 -> normal request, 1 -> from interrupted SG_IO */
178 char sg_io_owned; /* 0 -> complete with read(), 1 -> owned by SG_IO */
238 #define SG_IO 0x2285 /* similar effect as write() followed by read() */ macro
242 /* How to treat EINTR during SG_IO ioctl(), only in SG 3.x series */
/linux/block/
H A Dbsg.c150 case SG_IO: in bsg_ioctl()
/linux/Documentation/scsi/
H A Dufs.rst166 send SG_IO with the applicable sg_io_v4::
/linux/drivers/scsi/
H A Dscsi_ioctl.c504 * - This interface is deprecated - users should use the SG_IO
897 "ioctl, please convert it to SG_IO\n", current->comm); in scsi_ioctl()
916 case SG_IO: in scsi_ioctl()
H A Dsg.c132 char sg_io_owned; /* 1 -> packet belongs to SG_IO */
214 * ioctl(..., SG_IO, ...) are fundamentally unsafe, since there are lots of ways
926 case SG_IO: in sg_ioctl_common()
2072 /* look for requests that are not SG_IO owned */ in sg_get_rq_mark()
H A Dst.c3898 case SG_IO: in st_ioctl()