g_nop.h (256281) | g_nop.h (260385) |
---|---|
1/*- 2 * Copyright (c) 2004-2006 Pawel Jakub Dawidek <pjd@FreeBSD.org> 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 * FOR 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 (c) 2004-2006 Pawel Jakub Dawidek <pjd@FreeBSD.org> 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 * FOR 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: stable/10/sys/geom/nop/g_nop.h 249440 2013-04-13 19:02:58Z jmg $ | 26 * $FreeBSD: stable/10/sys/geom/nop/g_nop.h 260385 2014-01-07 01:32:23Z scottl $ |
27 */ 28 29#ifndef _G_NOP_H_ 30#define _G_NOP_H_ 31 32#define G_NOP_CLASS_NAME "NOP" 33#define G_NOP_VERSION 4 34#define G_NOP_SUFFIX ".nop" --- 25 unchanged lines hidden (view full) --- 60 off_t sc_offset; 61 off_t sc_explicitsize; 62 u_int sc_rfailprob; 63 u_int sc_wfailprob; 64 uintmax_t sc_reads; 65 uintmax_t sc_writes; 66 uintmax_t sc_readbytes; 67 uintmax_t sc_wrotebytes; | 27 */ 28 29#ifndef _G_NOP_H_ 30#define _G_NOP_H_ 31 32#define G_NOP_CLASS_NAME "NOP" 33#define G_NOP_VERSION 4 34#define G_NOP_SUFFIX ".nop" --- 25 unchanged lines hidden (view full) --- 60 off_t sc_offset; 61 off_t sc_explicitsize; 62 u_int sc_rfailprob; 63 u_int sc_wfailprob; 64 uintmax_t sc_reads; 65 uintmax_t sc_writes; 66 uintmax_t sc_readbytes; 67 uintmax_t sc_wrotebytes; |
68 struct mtx sc_lock; |
|
68}; 69#endif /* _KERNEL */ 70 71#endif /* _G_NOP_H_ */ | 69}; 70#endif /* _KERNEL */ 71 72#endif /* _G_NOP_H_ */ |