/usr/src/kernels/4.18.0-553.157.1.el8_10.x86_64/include/scsi
NameSizeModeActions
fc/-0755rm
fcoe_sysfs.h38430644editdlrm
fc_frame.h78190644editdlrm
iscsi_if.h262130644editdlrm
iscsi_proto.h159070644editdlrm
iser.h23970644editdlrm
libfc.h316760644editdlrm
libfcoe.h136930644editdlrm
libiscsi.h146120644editdlrm
libiscsi_tcp.h38860644editdlrm
libsas.h190470644editdlrm
osd_attributes.h154110644editdlrm
osd_protocol.h179890644editdlrm
osd_sec.h15200644editdlrm
osd_sense.h101260644editdlrm
osd_types.h10200644editdlrm
sas.h135330644editdlrm
sas_ata.h28000644editdlrm
scsi.h91370644editdlrm
scsicam.h6360644editdlrm
scsi_bsg_iscsi.h22040644editdlrm
scsi_cmnd.h115570644editdlrm
scsi_common.h21600644editdlrm
scsi_dbg.h21320644editdlrm
scsi_device.h231140644editdlrm
scsi_devinfo.h38690644editdlrm
scsi_dh.h32420644editdlrm
scsi_driver.h8970644editdlrm
scsi_eh.h17020644editdlrm
scsi_host.h290120644editdlrm
scsi_ioctl.h12850644editdlrm
scsi_proto.h115590644editdlrm
scsi_request.h6670644editdlrm
scsi_tcq.h9930644editdlrm
scsi_transport.h26100644editdlrm
scsi_transport_fc.h287690644editdlrm
scsi_transport_iscsi.h176590644editdlrm
scsi_transport_sas.h70350644editdlrm
scsi_transport_spi.h66820644editdlrm
scsi_transport_srp.h48830644editdlrm
sg.h124210644editdlrm
srp.h72260644editdlrm
viosrp.h62120644editdlrm
Edit: /usr/src/kernels/4.18.0-553.157.1.el8_10.x86_64/include/scsi/scsi_ioctl.h (1285B)
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _SCSI_IOCTL_H #define _SCSI_IOCTL_H #define SCSI_IOCTL_SEND_COMMAND 1 #define SCSI_IOCTL_TEST_UNIT_READY 2 #define SCSI_IOCTL_BENCHMARK_COMMAND 3 #define SCSI_IOCTL_SYNC 4 /* Request synchronous parameters */ #define SCSI_IOCTL_START_UNIT 5 #define SCSI_IOCTL_STOP_UNIT 6 /* The door lock/unlock constants are compatible with Sun constants for the cdrom */ #define SCSI_IOCTL_DOORLOCK 0x5380 /* lock the eject mechanism */ #define SCSI_IOCTL_DOORUNLOCK 0x5381 /* unlock the mechanism */ #define SCSI_REMOVAL_PREVENT 1 #define SCSI_REMOVAL_ALLOW 0 #ifdef __KERNEL__ struct scsi_device; /* * Structures used for scsi_ioctl et al. */ typedef struct scsi_ioctl_command { unsigned int inlen; unsigned int outlen; unsigned char data[0]; } Scsi_Ioctl_Command; typedef struct scsi_idlun { __u32 dev_id; __u32 host_unique_id; } Scsi_Idlun; /* Fibre Channel WWN, port_id struct */ typedef struct scsi_fctargaddress { __u32 host_port_id; unsigned char host_wwn[8]; // include NULL term. } Scsi_FCTargAddress; int scsi_ioctl_block_when_processing_errors(struct scsi_device *sdev, int cmd, bool ndelay); extern int scsi_ioctl(struct scsi_device *, int, void __user *); #endif /* __KERNEL__ */ #endif /* _SCSI_IOCTL_H */