Deleted Added
full compact
ntoskrnl_var.h (123474) ntoskrnl_var.h (123507)
1/*
2 * Copyright (c) 2003
3 * Bill Paul <wpaul@windriver.com>. 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

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

24 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
30 * THE POSSIBILITY OF SUCH DAMAGE.
31 *
1/*
2 * Copyright (c) 2003
3 * Bill Paul <wpaul@windriver.com>. 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

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

24 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
30 * THE POSSIBILITY OF SUCH DAMAGE.
31 *
32 * $FreeBSD: head/sys/compat/ndis/ntoskrnl_var.h 123474 2003-12-11 22:34:37Z wpaul $
32 * $FreeBSD: head/sys/compat/ndis/ntoskrnl_var.h 123507 2003-12-13 07:41:12Z wpaul $
33 */
34
35#ifndef _NTOSKRNL_VAR_H_
36#define _NTOSKRNL_VAR_H_
37
38typedef uint32_t kspin_lock;
39
40struct slist_entry {

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

49 struct slist_entry *slh_next;
50 uint16_t slh_depth;
51 uint16_t slh_seq;
52 } slh_list;
53};
54
55typedef union slist_header slist_header;
56
33 */
34
35#ifndef _NTOSKRNL_VAR_H_
36#define _NTOSKRNL_VAR_H_
37
38typedef uint32_t kspin_lock;
39
40struct slist_entry {

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

49 struct slist_entry *slh_next;
50 uint16_t slh_depth;
51 uint16_t slh_seq;
52 } slh_list;
53};
54
55typedef union slist_header slist_header;
56
57struct list_entry {
58 struct list_entry *nle_flink;
59 struct list_entry *nle_blink;
60};
61
62typedef struct list_entry list_entry;
63
57struct general_lookaside {
58 slist_header gl_listhead;
59 uint16_t gl_depth;
60 uint16_t gl_maxdepth;
61 uint32_t gl_totallocs;
62 union {
63 uint32_t gl_allocmisses;
64 uint32_t gl_allochits;
65 } u_a;
66 uint32_t gl_totalfrees;
67 union {
68 uint32_t gl_freemisses;
69 uint32_t gl_freehits;
70 } u_m;
71 uint32_t gl_type;
72 uint32_t gl_tag;
73 uint32_t gl_size;
74 void *gl_allocfunc;
75 void *gl_freefunc;
64struct general_lookaside {
65 slist_header gl_listhead;
66 uint16_t gl_depth;
67 uint16_t gl_maxdepth;
68 uint32_t gl_totallocs;
69 union {
70 uint32_t gl_allocmisses;
71 uint32_t gl_allochits;
72 } u_a;
73 uint32_t gl_totalfrees;
74 union {
75 uint32_t gl_freemisses;
76 uint32_t gl_freehits;
77 } u_m;
78 uint32_t gl_type;
79 uint32_t gl_tag;
80 uint32_t gl_size;
81 void *gl_allocfunc;
82 void *gl_freefunc;
83 list_entry gl_listent;
76 uint32_t gl_lasttotallocs;
77 union {
78 uint32_t gl_lastallocmisses;
79 uint32_t gl_lastallochits;
80 } u_l;
81 uint32_t gl_rsvd[2];
82};
83

--- 22 unchanged lines hidden ---
84 uint32_t gl_lasttotallocs;
85 union {
86 uint32_t gl_lastallocmisses;
87 uint32_t gl_lastallochits;
88 } u_l;
89 uint32_t gl_rsvd[2];
90};
91

--- 22 unchanged lines hidden ---