ctl_backend.h (265634) | ctl_backend.h (268143) |
---|---|
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_backend.h#2 $ | 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_backend.h#2 $ |
31 * $FreeBSD: stable/10/sys/cam/ctl/ctl_backend.h 265634 2014-05-08 07:00:45Z mav $ | 31 * $FreeBSD: stable/10/sys/cam/ctl/ctl_backend.h 268143 2014-07-02 10:35:06Z mav $ |
32 */ 33/* 34 * CTL backend driver definitions 35 * 36 * Author: Ken Merry <ken@FreeBSD.org> 37 */ 38 39#ifndef _CTL_BACKEND_H_ --- 256 unchanged lines hidden (view full) --- 296int ctl_lun_offline(struct ctl_be_lun *be_lun); 297int ctl_lun_online(struct ctl_be_lun *be_lun); 298 299/* 300 * Let the backend notify the initiator about changed capacity. 301 */ 302void ctl_lun_capacity_changed(struct ctl_be_lun *be_lun); 303 | 32 */ 33/* 34 * CTL backend driver definitions 35 * 36 * Author: Ken Merry <ken@FreeBSD.org> 37 */ 38 39#ifndef _CTL_BACKEND_H_ --- 256 unchanged lines hidden (view full) --- 296int ctl_lun_offline(struct ctl_be_lun *be_lun); 297int ctl_lun_online(struct ctl_be_lun *be_lun); 298 299/* 300 * Let the backend notify the initiator about changed capacity. 301 */ 302void ctl_lun_capacity_changed(struct ctl_be_lun *be_lun); 303 |
304/* 305 * KPI to manipulate LUN options 306 */ 307struct ctl_lun_req; 308void ctl_init_opts(struct ctl_be_lun *be_lun, struct ctl_lun_req *req); 309void ctl_free_opts(struct ctl_be_lun *be_lun); 310char * ctl_get_opt(struct ctl_be_lun *be_lun, const char *name); 311 |
|
304#endif /* _KERNEL */ 305#endif /* _CTL_BACKEND_H_ */ 306 307/* 308 * vim: ts=8 309 */ | 312#endif /* _KERNEL */ 313#endif /* _CTL_BACKEND_H_ */ 314 315/* 316 * vim: ts=8 317 */ |