cam_xpt_internal.h (199178) | cam_xpt_internal.h (203108) |
---|---|
1/*- 2 * Copyright 2009 Scott Long 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 2009 Scott Long 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/cam_xpt_internal.h 199178 2009-11-11 11:10:36Z mav $ | 26 * $FreeBSD: head/sys/cam/cam_xpt_internal.h 203108 2010-01-28 08:41:30Z mav $ |
27 */ 28 29#ifndef _CAM_CAM_XPT_INTERNAL_H 30#define _CAM_CAM_XPT_INTERNAL_H 1 31 32/* Forward Declarations */ 33struct cam_eb; 34struct cam_et; --- 132 unchanged lines hidden (view full) --- 167struct xpt_xport * scsi_get_xport(void); 168struct xpt_xport * ata_get_xport(void); 169 170struct cam_ed * xpt_alloc_device(struct cam_eb *bus, 171 struct cam_et *target, 172 lun_id_t lun_id); 173void xpt_acquire_device(struct cam_ed *device); 174void xpt_release_device(struct cam_ed *device); | 27 */ 28 29#ifndef _CAM_CAM_XPT_INTERNAL_H 30#define _CAM_CAM_XPT_INTERNAL_H 1 31 32/* Forward Declarations */ 33struct cam_eb; 34struct cam_et; --- 132 unchanged lines hidden (view full) --- 167struct xpt_xport * scsi_get_xport(void); 168struct xpt_xport * ata_get_xport(void); 169 170struct cam_ed * xpt_alloc_device(struct cam_eb *bus, 171 struct cam_et *target, 172 lun_id_t lun_id); 173void xpt_acquire_device(struct cam_ed *device); 174void xpt_release_device(struct cam_ed *device); |
175void xpt_run_dev_sendq(struct cam_eb *bus); | |
176int xpt_schedule_dev(struct camq *queue, cam_pinfo *dev_pinfo, 177 u_int32_t new_priority); 178u_int32_t xpt_dev_ccbq_resize(struct cam_path *path, int newopenings); 179void xpt_start_tags(struct cam_path *path); 180void xpt_stop_tags(struct cam_path *path); 181 182MALLOC_DECLARE(M_CAMXPT); 183 184#endif | 175int xpt_schedule_dev(struct camq *queue, cam_pinfo *dev_pinfo, 176 u_int32_t new_priority); 177u_int32_t xpt_dev_ccbq_resize(struct cam_path *path, int newopenings); 178void xpt_start_tags(struct cam_path *path); 179void xpt_stop_tags(struct cam_path *path); 180 181MALLOC_DECLARE(M_CAMXPT); 182 183#endif |