opnsense-src/sys/cam/scsi
Warner Losh da73926566 libcam: Define depop structures and introduce scsi_wrap
Define structures related to the depop set of commands (GET PHYSICAL ELEMENT
STATUS, REMOVE ELEMENT AND TRUNCATE, and RESTORE ELEMENT AND REBUILD) as
well as the CDB construction routines.

Also create scsi_wrap.c. This will have convenience routines that will do all
the elements of allocating the ccb, generating the CDB, sending the command
(looping as necessary for cases where data is returned, but it's size isn't
known up front), etc. As this functionality is fleshed out, calling many
camcontrol commands programatically gets much easier.

Sponsored by:		Netflix
Differential Revision:	https://reviews.freebsd.org/D29017
2021-09-20 16:27:59 -06:00
..
scsi_all.c libcam: Define depop structures and introduce scsi_wrap 2021-09-20 16:27:59 -06:00
scsi_all.h libcam: Define depop structures and introduce scsi_wrap 2021-09-20 16:27:59 -06:00
scsi_cd.c Fix data race in scsi cd driver. 2021-09-13 08:59:51 -04:00
scsi_cd.h cam: clean up empty lines in .c and .h files 2020-09-01 22:13:48 +00:00
scsi_ch.c cam: drop unused 'saved_ccb' field from softcs 2021-07-06 10:04:38 +01:00
scsi_ch.h sys/cam: further adoption of SPDX licensing ID tags. 2017-11-27 15:12:43 +00:00
scsi_da.c Fix a common typo in source code comments 2021-08-14 14:08:46 +02:00
scsi_da.h cam: clean up empty lines in .c and .h files 2020-09-01 22:13:48 +00:00
scsi_enc.c cam: clean up empty lines in .c and .h files 2020-09-01 22:13:48 +00:00
scsi_enc.h ses: Guard the elm_type_names declaration by _KERNEL 2021-09-02 14:47:18 -06:00
scsi_enc_internal.h cam: drop unused 'saved_ccb' field from softcs 2021-07-06 10:04:38 +01:00
scsi_enc_safte.c cam: clean up empty lines in .c and .h files 2020-09-01 22:13:48 +00:00
scsi_enc_ses.c Fix some common typos in comments 2021-08-08 10:16:06 +02:00
scsi_iu.h
scsi_message.h cam: clean up empty lines in .c and .h files 2020-09-01 22:13:48 +00:00
scsi_pass.c cam: drop unused 'saved_ccb' field from softcs 2021-07-06 10:04:38 +01:00
scsi_pass.h sys/cam: further adoption of SPDX licensing ID tags. 2017-11-27 15:12:43 +00:00
scsi_pt.c cam: drop unused 'saved_ccb' field from softcs 2021-07-06 10:04:38 +01:00
scsi_pt.h sys/cam: further adoption of SPDX licensing ID tags. 2017-11-27 15:12:43 +00:00
scsi_sa.c cam: drop unused 'saved_ccb' field from softcs 2021-07-06 10:04:38 +01:00
scsi_sa.h cam: clean up empty lines in .c and .h files 2020-09-01 22:13:48 +00:00
scsi_ses.h cam: clean up empty lines in .c and .h files 2020-09-01 22:13:48 +00:00
scsi_sg.c cam: drop unused 'saved_ccb' field from softcs 2021-07-06 10:04:38 +01:00
scsi_sg.h
scsi_targ_bh.c cam: clear stack-allocated CCB in the target layer 2021-07-21 10:18:28 +01:00
scsi_target.c targ(4): Remove D_NEEDGIANT. 2021-08-21 11:20:54 -04:00
scsi_targetio.h sys/cam: further adoption of SPDX licensing ID tags. 2017-11-27 15:12:43 +00:00
scsi_xpt.c cam: revert second half of 75b5caa08e 2021-09-01 09:35:27 +00:00
smp_all.c cam: clean up empty lines in .c and .h files 2020-09-01 22:13:48 +00:00
smp_all.h sys/cam: further adoption of SPDX licensing ID tags. 2017-11-27 15:12:43 +00:00