Deleted Added
full compact
ctl_private.h (288358) ctl_private.h (288369)
1/*-
2 * Copyright (c) 2003, 2004, 2005, 2008 Silicon Graphics International Corp.
3 * Copyright (c) 2014-2015 Alexander Motin <mav@FreeBSD.org>
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 15 unchanged lines hidden (view full) ---

24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
27 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
28 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29 * POSSIBILITY OF SUCH DAMAGES.
30 *
31 * $Id: //depot/users/kenm/FreeBSD-test2/sys/cam/ctl/ctl_private.h#7 $
1/*-
2 * Copyright (c) 2003, 2004, 2005, 2008 Silicon Graphics International Corp.
3 * Copyright (c) 2014-2015 Alexander Motin <mav@FreeBSD.org>
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 15 unchanged lines hidden (view full) ---

24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
27 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
28 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29 * POSSIBILITY OF SUCH DAMAGES.
30 *
31 * $Id: //depot/users/kenm/FreeBSD-test2/sys/cam/ctl/ctl_private.h#7 $
32 * $FreeBSD: head/sys/cam/ctl/ctl_private.h 288358 2015-09-29 09:09:37Z mav $
32 * $FreeBSD: head/sys/cam/ctl/ctl_private.h 288369 2015-09-29 15:12:40Z mav $
33 */
34/*
35 * CAM Target Layer driver private data structures/definitions.
36 *
37 * Author: Ken Merry <ken@FreeBSD.org>
38 */
39
40#ifndef _CTL_PRIVATE_H_

--- 351 unchanged lines hidden (view full) ---

392 struct ctl_log_pages log_pages;
393 struct ctl_lun_io_stats stats;
394 uint32_t res_idx;
395 unsigned int PRGeneration;
396 uint64_t *pr_keys[CTL_MAX_PORTS];
397 int pr_key_count;
398 uint32_t pr_res_idx;
399 uint8_t res_type;
33 */
34/*
35 * CAM Target Layer driver private data structures/definitions.
36 *
37 * Author: Ken Merry <ken@FreeBSD.org>
38 */
39
40#ifndef _CTL_PRIVATE_H_

--- 351 unchanged lines hidden (view full) ---

392 struct ctl_log_pages log_pages;
393 struct ctl_lun_io_stats stats;
394 uint32_t res_idx;
395 unsigned int PRGeneration;
396 uint64_t *pr_keys[CTL_MAX_PORTS];
397 int pr_key_count;
398 uint32_t pr_res_idx;
399 uint8_t res_type;
400 int prevent_count;
401 uint32_t prevent[(CTL_MAX_INITIATORS+31)/32];
400 uint8_t *write_buffer;
401 struct ctl_devid *lun_devid;
402 TAILQ_HEAD(tpc_lists, tpc_list) tpc_lists;
403};
404
405typedef enum {
406 CTL_FLAG_ACTIVE_SHELF = 0x04
407} ctl_gen_flags;

--- 125 unchanged lines hidden ---
402 uint8_t *write_buffer;
403 struct ctl_devid *lun_devid;
404 TAILQ_HEAD(tpc_lists, tpc_list) tpc_lists;
405};
406
407typedef enum {
408 CTL_FLAG_ACTIVE_SHELF = 0x04
409} ctl_gen_flags;

--- 125 unchanged lines hidden ---