Changeset View
Changeset View
Standalone View
Standalone View
sys/cam/scsi/scsi_enc_internal.h
Show First 20 Lines • Show All 137 Lines • ▼ Show 20 Lines | struct enc_softc { | ||||
*/ | */ | ||||
enc_cache_t enc_daemon_cache; | enc_cache_t enc_daemon_cache; | ||||
struct sx enc_cache_lock; | struct sx enc_cache_lock; | ||||
uint8_t enc_flags; | uint8_t enc_flags; | ||||
#define ENC_FLAG_INVALID 0x01 | #define ENC_FLAG_INVALID 0x01 | ||||
#define ENC_FLAG_INITIALIZED 0x02 | #define ENC_FLAG_INITIALIZED 0x02 | ||||
#define ENC_FLAG_SHUTDOWN 0x04 | #define ENC_FLAG_SHUTDOWN 0x04 | ||||
union ccb saved_ccb; | |||||
struct cdev *enc_dev; | struct cdev *enc_dev; | ||||
struct cam_periph *periph; | struct cam_periph *periph; | ||||
int open_count; | int open_count; | ||||
/* Bitmap of pending operations. */ | /* Bitmap of pending operations. */ | ||||
uint32_t pending_actions; | uint32_t pending_actions; | ||||
/* The action on which the state machine is currently working. */ | /* The action on which the state machine is currently working. */ | ||||
▲ Show 20 Lines • Show All 80 Lines • Show Last 20 Lines |