Home
last modified time | relevance | path

Searched refs:SG_IO (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/include/scsi/
H A Dsg.h148 char orphan; /* 0 -> normal request, 1 -> from interruped SG_IO */
149 char sg_io_owned; /* 0 -> complete with read(), 1 -> owned by SG_IO */
209 #define SG_IO 0x2285 /* similar effect as write() followed by read() */ macro
213 /* How to treat EINTR during SG_IO ioctl(), only in SG 3.x series */
/kernel/linux/linux-6.6/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 */
/kernel/linux/linux-6.6/block/
H A Dbsg.c150 case SG_IO: in bsg_ioctl()
/kernel/linux/linux-5.10/drivers/block/aoe/
H A Daoeblk.c321 /* udev calls scsi_id, which uses SG_IO, resulting in noise */ in aoeblk_ioctl()
322 if (cmd != SG_IO) in aoeblk_ioctl()
/kernel/linux/linux-5.10/block/
H A Dbsg.c375 case SG_IO: in bsg_ioctl()
H A Dscsi_ioctl.c339 /* SG_IO howto says that the shorter of the two wins */ in sg_io()
391 * - This interface is deprecated - users should use the SG_IO
803 case SG_IO: { in scsi_cmd_ioctl()
825 printk(KERN_WARNING "program %s is using a deprecated SCSI ioctl, please convert it to SG_IO\n", current->comm); in scsi_cmd_ioctl()
/kernel/linux/linux-6.6/drivers/block/aoe/
H A Daoeblk.c308 /* udev calls scsi_id, which uses SG_IO, resulting in noise */ in aoeblk_ioctl()
309 if (cmd != SG_IO) in aoeblk_ioctl()
/kernel/linux/linux-6.6/drivers/scsi/
H A Dscsi_ioctl.c488 * - This interface is deprecated - users should use the SG_IO
879 "ioctl, please convert it to SG_IO\n", current->comm); in scsi_ioctl()
898 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
930 case SG_IO: in sg_ioctl_common()
2079 /* look for requests that are not SG_IO owned */ in sg_get_rq_mark()
H A Dst.c3841 case SG_IO: in st_ioctl()
/kernel/linux/linux-5.10/drivers/scsi/
H A Dsg.c127 char sg_io_owned; /* 1 -> packet belongs to SG_IO */
210 * ioctl(..., SG_IO, ...) are fundamentally unsafe, since there are lots of ways
928 case SG_IO: in sg_ioctl_common()
2099 /* look for requests that are not SG_IO owned */ in sg_get_rq_mark()
H A Dst.c3853 if ((cmd_in == SG_IO || in st_ioctl_common()

Completed in 24 milliseconds