scsi_enc_internal.h (235911) | scsi_enc_internal.h (244014) |
---|---|
1/*- 2 * Copyright (c) 2000 Matthew Jacob 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 2000 Matthew Jacob 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/sys/cam/scsi/scsi_enc_internal.h 235911 2012-05-24 14:07:44Z mav $ | 26 * $FreeBSD: head/sys/cam/scsi/scsi_enc_internal.h 244014 2012-12-08 04:03:04Z ken $ |
27 */ 28 29/* 30 * This file contains definitions only intended for use within 31 * sys/cam/scsi/scsi_enc*.c, and not in other kernel components. 32 */ 33 34#ifndef __SCSI_ENC_INTERNAL_H__ --- 108 unchanged lines hidden (view full) --- 143 struct sx enc_cache_lock; 144 uint8_t enc_flags; 145#define ENC_FLAG_INVALID 0x01 146#define ENC_FLAG_INITIALIZED 0x02 147#define ENC_FLAG_SHUTDOWN 0x04 148 union ccb saved_ccb; 149 struct cdev *enc_dev; 150 struct cam_periph *periph; | 27 */ 28 29/* 30 * This file contains definitions only intended for use within 31 * sys/cam/scsi/scsi_enc*.c, and not in other kernel components. 32 */ 33 34#ifndef __SCSI_ENC_INTERNAL_H__ --- 108 unchanged lines hidden (view full) --- 143 struct sx enc_cache_lock; 144 uint8_t enc_flags; 145#define ENC_FLAG_INVALID 0x01 146#define ENC_FLAG_INITIALIZED 0x02 147#define ENC_FLAG_SHUTDOWN 0x04 148 union ccb saved_ccb; 149 struct cdev *enc_dev; 150 struct cam_periph *periph; |
151 int open_count; |
|
151 152 /* Bitmap of pending operations. */ 153 uint32_t pending_actions; 154 155 /* The action on which the state machine is currently working. */ 156 uint32_t current_action; 157#define ENC_UPDATE_NONE 0x00 158#define ENC_UPDATE_INVALID 0xff --- 72 unchanged lines hidden --- | 152 153 /* Bitmap of pending operations. */ 154 uint32_t pending_actions; 155 156 /* The action on which the state machine is currently working. */ 157 uint32_t current_action; 158#define ENC_UPDATE_NONE 0x00 159#define ENC_UPDATE_INVALID 0xff --- 72 unchanged lines hidden --- |