freebsd-dev/lib/libcam
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
..
tests Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
cam_cdbparse.3 Remove unused cam ccb flags 2020-03-10 23:58:41 +00:00
cam.3 libcam(3): make cam_getccb(3) zero the whole ccb, not just the header 2020-12-29 14:26:06 +00:00
camlib.c libcam(3): make cam_getccb(3) zero the whole ccb, not just the header 2020-12-29 14:26:06 +00:00
camlib.h
Makefile libcam: Define depop structures and introduce scsi_wrap 2021-09-20 16:27:59 -06:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
scsi_cmdparse.c
scsi_wrap.c libcam: Define depop structures and introduce scsi_wrap 2021-09-20 16:27:59 -06:00
scsi_wrap.h libcam: Define depop structures and introduce scsi_wrap 2021-09-20 16:27:59 -06:00