mpapi_scsi_vhci.h (1227:2ebaa3cce33c) | mpapi_scsi_vhci.h (3410:fb9ffc9fee48) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 5 unchanged lines hidden (view full) --- 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15 * If applicable, add the following below this CDDL HEADER, with the 16 * fields enclosed by brackets "[]" replaced with your own identifying 17 * information: Portions Copyright [yyyy] [name of copyright owner] 18 * 19 * CDDL HEADER END 20 */ 21/* | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 5 unchanged lines hidden (view full) --- 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15 * If applicable, add the following below this CDDL HEADER, with the 16 * fields enclosed by brackets "[]" replaced with your own identifying 17 * information: Portions Copyright [yyyy] [name of copyright owner] 18 * 19 * CDDL HEADER END 20 */ 21/* |
22 * Copyright 2006 Sun Microsystems, Inc. All rights reserved. | 22 * Copyright 2007 Sun Microsystems, Inc. All rights reserved. |
23 * Use is subject to license terms. 24 */ 25 26#ifndef _SYS_SCSI_ADAPTERS_MPAPI_SCSI_VHCI_H 27#define _SYS_SCSI_ADAPTERS_MPAPI_SCSI_VHCI_H 28 29#pragma ident "%Z%%M% %I% %E% SMI" 30 --- 34 unchanged lines hidden (view full) --- 65 * MP API item - A generic one to use in a list setup 66 * in a common way for all types of elements of 67 * Object type items required for mpapi. 68 */ 69 70typedef struct mpapi_item { 71 mpoid_t oid; 72 void *idata; /* item data */ | 23 * Use is subject to license terms. 24 */ 25 26#ifndef _SYS_SCSI_ADAPTERS_MPAPI_SCSI_VHCI_H 27#define _SYS_SCSI_ADAPTERS_MPAPI_SCSI_VHCI_H 28 29#pragma ident "%Z%%M% %I% %E% SMI" 30 --- 34 unchanged lines hidden (view full) --- 65 * MP API item - A generic one to use in a list setup 66 * in a common way for all types of elements of 67 * Object type items required for mpapi. 68 */ 69 70typedef struct mpapi_item { 71 mpoid_t oid; 72 void *idata; /* item data */ |
73 kmutex_t item_mutex; |
|
73} mpapi_item_t; 74 75typedef struct mpapi_item_list { 76 mpapi_item_t *item; 77 struct mpapi_item_list *next; 78} mpapi_item_list_t; 79 80/* --- 96 unchanged lines hidden --- | 74} mpapi_item_t; 75 76typedef struct mpapi_item_list { 77 mpapi_item_t *item; 78 struct mpapi_item_list *next; 79} mpapi_item_list_t; 80 81/* --- 96 unchanged lines hidden --- |