ctl_io.h (265323) | ctl_io.h (267537) |
---|---|
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_io.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_io.h#5 $ |
31 * $FreeBSD: head/sys/cam/ctl/ctl_io.h 265323 2014-05-04 15:35:04Z trasz $ | 31 * $FreeBSD: head/sys/cam/ctl/ctl_io.h 267537 2014-06-16 11:00:14Z mav $ |
32 */ 33/* 34 * CAM Target Layer data movement structures/interface. 35 * 36 * Author: Ken Merry <ken@FreeBSD.org> 37 */ 38 39#ifndef _CTL_IO_H_ --- 93 unchanged lines hidden (view full) --- 133 uint64_t lba; 134 uint32_t len; 135}; 136 137struct ctl_lba_len_flags { 138 uint64_t lba; 139 uint32_t len; 140 uint32_t flags; | 32 */ 33/* 34 * CAM Target Layer data movement structures/interface. 35 * 36 * Author: Ken Merry <ken@FreeBSD.org> 37 */ 38 39#ifndef _CTL_IO_H_ --- 93 unchanged lines hidden (view full) --- 133 uint64_t lba; 134 uint32_t len; 135}; 136 137struct ctl_lba_len_flags { 138 uint64_t lba; 139 uint32_t len; 140 uint32_t flags; |
141#define CTL_LLF_READ 0x10000000 142#define CTL_LLF_WRITE 0x20000000 143#define CTL_LLF_VERIFY 0x40000000 144#define CTL_LLF_COMPARE 0x80000000 |
|
141}; 142 143struct ctl_ptr_len_flags { 144 uint8_t *ptr; 145 uint32_t len; 146 uint32_t flags; 147}; 148 --- 379 unchanged lines hidden --- | 145}; 146 147struct ctl_ptr_len_flags { 148 uint8_t *ptr; 149 uint32_t len; 150 uint32_t flags; 151}; 152 --- 379 unchanged lines hidden --- |