/
usr
/
src
/
linux-headers-5.15.0-190
/
include
/
scsi
/
/usr/src/linux-headers-5.15.0-190/include/scsi
mkdir
upload
Name
Size
Mode
Actions
fc/
-
0755
rm
fcoe_sysfs.h
3223
0644
edit
dl
rm
fc_frame.h
7199
0644
edit
dl
rm
iscsi_if.h
26216
0644
edit
dl
rm
iscsi_proto.h
15915
0644
edit
dl
rm
iser.h
2397
0644
edit
dl
rm
libfc.h
31676
0644
edit
dl
rm
libfcoe.h
13721
0644
edit
dl
rm
libiscsi.h
14801
0644
edit
dl
rm
libiscsi_tcp.h
3894
0644
edit
dl
rm
libsas.h
18866
0644
edit
dl
rm
sas.h
12812
0644
edit
dl
rm
sas_ata.h
2128
0644
edit
dl
rm
scsi.h
5919
0644
edit
dl
rm
scsicam.h
636
0644
edit
dl
rm
scsi_bsg_iscsi.h
2211
0644
edit
dl
rm
scsi_cmnd.h
10941
0644
edit
dl
rm
scsi_common.h
2329
0644
edit
dl
rm
scsi_dbg.h
2132
0644
edit
dl
rm
scsi_device.h
22034
0644
edit
dl
rm
scsi_devinfo.h
3835
0644
edit
dl
rm
scsi_dh.h
2601
0644
edit
dl
rm
scsi_driver.h
897
0644
edit
dl
rm
scsi_eh.h
1674
0644
edit
dl
rm
scsi_host.h
27697
0644
edit
dl
rm
scsi_ioctl.h
1551
0644
edit
dl
rm
scsi_proto.h
10706
0644
edit
dl
rm
scsi_request.h
620
0644
edit
dl
rm
scsi_status.h
2781
0644
edit
dl
rm
scsi_tcq.h
993
0644
edit
dl
rm
scsi_transport.h
2615
0644
edit
dl
rm
scsi_transport_fc.h
28723
0644
edit
dl
rm
scsi_transport_iscsi.h
17927
0644
edit
dl
rm
scsi_transport_sas.h
7010
0644
edit
dl
rm
scsi_transport_spi.h
6690
0644
edit
dl
rm
scsi_transport_srp.h
4883
0644
edit
dl
rm
sg.h
15164
0644
edit
dl
rm
srp.h
7020
0644
edit
dl
rm
viosrp.h
5540
0644
edit
dl
rm
Edit:
/usr/src/linux-headers-5.15.0-190/include/scsi/scsi_ioctl.h
(1551B)
/* 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 gendisk; struct scsi_device; struct sg_io_hdr; /* * Structures used for scsi_ioctl et al. */ typedef struct scsi_ioctl_command { unsigned int inlen; unsigned int outlen; unsigned char data[]; } 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); int scsi_ioctl(struct scsi_device *sdev, struct gendisk *disk, fmode_t mode, int cmd, void __user *arg); int get_sg_io_hdr(struct sg_io_hdr *hdr, const void __user *argp); int put_sg_io_hdr(const struct sg_io_hdr *hdr, void __user *argp); bool scsi_cmd_allowed(unsigned char *cmd, fmode_t mode); #endif /* __KERNEL__ */ #endif /* _SCSI_IOCTL_H */
Save
cmd:
run