ctl.h (273693) | ctl.h (274154) |
---|---|
1/*- 2 * Copyright (c) 2003 Silicon Graphics International Corp. 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 --- 14 unchanged lines hidden (view full) --- 23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 26 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 27 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 28 * POSSIBILITY OF SUCH DAMAGES. 29 * 30 * $Id: //depot/users/kenm/FreeBSD-test2/sys/cam/ctl/ctl.h#5 $ | 1/*- 2 * Copyright (c) 2003 Silicon Graphics International Corp. 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 --- 14 unchanged lines hidden (view full) --- 23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 26 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 27 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 28 * POSSIBILITY OF SUCH DAMAGES. 29 * 30 * $Id: //depot/users/kenm/FreeBSD-test2/sys/cam/ctl/ctl.h#5 $ |
31 * $FreeBSD: head/sys/cam/ctl/ctl.h 273693 2014-10-26 15:28:07Z mav $ | 31 * $FreeBSD: head/sys/cam/ctl/ctl.h 274154 2014-11-06 00:48:36Z mav $ |
32 */ 33/* 34 * Function definitions used both within CTL and potentially in various CTL 35 * clients. 36 * 37 * Author: Ken Merry <ken@FreeBSD.org> 38 */ 39 --- 82 unchanged lines hidden (view full) --- 122 CTL_UA_MODE_CHANGE = 0x0040, 123 CTL_UA_LOG_CHANGE = 0x0080, 124 CTL_UA_LVD = 0x0100, 125 CTL_UA_SE = 0x0200, 126 CTL_UA_RES_PREEMPT = 0x0400, 127 CTL_UA_RES_RELEASE = 0x0800, 128 CTL_UA_REG_PREEMPT = 0x1000, 129 CTL_UA_ASYM_ACC_CHANGE = 0x2000, | 32 */ 33/* 34 * Function definitions used both within CTL and potentially in various CTL 35 * clients. 36 * 37 * Author: Ken Merry <ken@FreeBSD.org> 38 */ 39 --- 82 unchanged lines hidden (view full) --- 122 CTL_UA_MODE_CHANGE = 0x0040, 123 CTL_UA_LOG_CHANGE = 0x0080, 124 CTL_UA_LVD = 0x0100, 125 CTL_UA_SE = 0x0200, 126 CTL_UA_RES_PREEMPT = 0x0400, 127 CTL_UA_RES_RELEASE = 0x0800, 128 CTL_UA_REG_PREEMPT = 0x1000, 129 CTL_UA_ASYM_ACC_CHANGE = 0x2000, |
130 CTL_UA_CAPACITY_CHANGED = 0x4000 | 130 CTL_UA_CAPACITY_CHANGED = 0x4000, 131 CTL_UA_THIN_PROV_THRES = 0x8000 |
131} ctl_ua_type; 132 133#ifdef _KERNEL 134 135MALLOC_DECLARE(M_CTL); 136 137struct ctl_page_index; 138 --- 34 unchanged lines hidden (view full) --- 173 uint8_t *page_ptr); 174**/ 175int ctl_debugconf_sp_sense_handler(struct ctl_scsiio *ctsio, 176 struct ctl_page_index *page_index, 177 int pc); 178int ctl_debugconf_sp_select_handler(struct ctl_scsiio *ctsio, 179 struct ctl_page_index *page_index, 180 uint8_t *page_ptr); | 132} ctl_ua_type; 133 134#ifdef _KERNEL 135 136MALLOC_DECLARE(M_CTL); 137 138struct ctl_page_index; 139 --- 34 unchanged lines hidden (view full) --- 174 uint8_t *page_ptr); 175**/ 176int ctl_debugconf_sp_sense_handler(struct ctl_scsiio *ctsio, 177 struct ctl_page_index *page_index, 178 int pc); 179int ctl_debugconf_sp_select_handler(struct ctl_scsiio *ctsio, 180 struct ctl_page_index *page_index, 181 uint8_t *page_ptr); |
182int ctl_lbp_log_sense_handler(struct ctl_scsiio *ctsio, 183 struct ctl_page_index *page_index, 184 int pc); |
|
181int ctl_config_move_done(union ctl_io *io); 182void ctl_datamove(union ctl_io *io); 183void ctl_done(union ctl_io *io); 184void ctl_data_submit_done(union ctl_io *io); 185void ctl_config_write_done(union ctl_io *io); 186void ctl_portDB_changed(int portnum); 187void ctl_init_isc_msg(void); 188 --- 23 unchanged lines hidden --- | 185int ctl_config_move_done(union ctl_io *io); 186void ctl_datamove(union ctl_io *io); 187void ctl_done(union ctl_io *io); 188void ctl_data_submit_done(union ctl_io *io); 189void ctl_config_write_done(union ctl_io *io); 190void ctl_portDB_changed(int portnum); 191void ctl_init_isc_msg(void); 192 --- 23 unchanged lines hidden --- |