\hypertarget{ldm_8h_source}{}\doxysection{ldm.\+h}
\label{ldm_8h_source}\index{dev/hptrr/ldm.h@{dev/hptrr/ldm.h}}
\mbox{\hyperlink{ldm_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00001}00001 \textcolor{comment}{/*-\/}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00002}00002 \textcolor{comment}{ * SPDX-\/License-\/Identifier: BSD-\/2-\/Clause-\/FreeBSD}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00003}00003 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00004}00004 \textcolor{comment}{ * Copyright (c) HighPoint Technologies, Inc.}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00005}00005 \textcolor{comment}{ * All rights reserved.}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00006}00006 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00007}00007 \textcolor{comment}{ * Redistribution and use in source and binary forms, with or without}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00008}00008 \textcolor{comment}{ * modification, are permitted provided that the following conditions}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00009}00009 \textcolor{comment}{ * are met:}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00010}00010 \textcolor{comment}{ * 1. Redistributions of source code must retain the above copyright}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00011}00011 \textcolor{comment}{ *    notice, this list of conditions and the following disclaimer.}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00012}00012 \textcolor{comment}{ * 2. Redistributions in binary form must reproduce the above copyright}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00013}00013 \textcolor{comment}{ *    notice, this list of conditions and the following disclaimer in the}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00014}00014 \textcolor{comment}{ *    documentation and/or other materials provided with the distribution.}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00015}00015 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00016}00016 \textcolor{comment}{ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00017}00017 \textcolor{comment}{ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00018}00018 \textcolor{comment}{ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00019}00019 \textcolor{comment}{ * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00020}00020 \textcolor{comment}{ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00021}00021 \textcolor{comment}{ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00022}00022 \textcolor{comment}{ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00023}00023 \textcolor{comment}{ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00024}00024 \textcolor{comment}{ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00025}00025 \textcolor{comment}{ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00026}00026 \textcolor{comment}{ * SUCH DAMAGE.}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00027}00027 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00028}00028 \textcolor{comment}{ * \$FreeBSD\$}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00029}00029 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00030}00030 \textcolor{preprocessor}{\#include <\mbox{\hyperlink{hptrr__config_8h}{dev/hptrr/hptrr\_config.h}}>}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00031}00031 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00032}00032 \textcolor{comment}{ * \$Id: ldm.h,v 1.69 2007/11/22 07:31:55 gmm Exp \$}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00033}00033 \textcolor{comment}{ * Copyright (C) 2004-\/2005 HighPoint Technologies, Inc. All rights reserved.}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00034}00034 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00035}00035 \textcolor{preprocessor}{\#ifndef \_HPT\_LDM\_H\_}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00036}00036 \textcolor{preprocessor}{\#define \_HPT\_LDM\_H\_}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00037}00037 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00038}\mbox{\hyperlink{ldm_8h_a69f71c7bf2c6da42a1579dbbd3268188}{00038}} \textcolor{preprocessor}{\#define VERMAGIC\_LDM 69}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00039}00039 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00040}00040 \textcolor{preprocessor}{\#if defined(\_\_cplusplus)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00041}00041 \textcolor{keyword}{extern} \textcolor{stringliteral}{"{}C"{}} \{}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00042}00042 \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00043}00043 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00044}00044 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00045}\mbox{\hyperlink{ldm_8h_ac6e6e811e5fcdbf1d9870508d70508c0}{00045}} \textcolor{preprocessor}{\#define \_\_hpt\_set\_ver(x, v1, v2, v3, v4, v5) x \#\# \_R\_ \#\# v1 \#\# \_ \#\# v2 \#\# \_ \#\# v3 \#\# \_ \#\# v4 \#\# \_ \#\# v5}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00046}\mbox{\hyperlink{ldm_8h_a071901e728f57df054f010772302d2ce}{00046}} \textcolor{preprocessor}{\#define \_hpt\_set\_ver(x, v1, v2, v3, v4, v5)  \_\_hpt\_set\_ver(x, v1, v2, v3, v4, v5)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00047}\mbox{\hyperlink{ldm_8h_a36d0e3e149b6383d82c98d3000dc1df8}{00047}} \textcolor{preprocessor}{\#define hpt\_set\_ver(x)               \_hpt\_set\_ver(x, VERMAGIC\_OSM, VERMAGIC\_HIM, VERMAGIC\_LDM, VERMAGIC\_ARRAY, MAX\_MEMBERS)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00048}00048 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00049}\mbox{\hyperlink{ldm_8h_a0a0370db0ae7a5f7fcc83968dac8c1db}{00049}} \textcolor{preprocessor}{\#define ldm\_register\_him        hpt\_set\_ver(ldm\_register\_him)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00050}\mbox{\hyperlink{ldm_8h_ac773997074a156c3501c63f9006af622}{00050}} \textcolor{preprocessor}{\#define ldm\_register\_vdev\_class hpt\_set\_ver(ldm\_register\_vdev\_class)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00051}\mbox{\hyperlink{ldm_8h_a50c24dd08a233f519969ba070a7cd41e}{00051}} \textcolor{preprocessor}{\#define ldm\_alloc\_cmds          hpt\_set\_ver(ldm\_alloc\_cmds)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00052}00052 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00053}00053 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00054}00054 \textcolor{preprocessor}{\#ifndef HPT\_INTERFACE\_VERSION}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00055}\mbox{\hyperlink{ldm_8h_af36c336a54285fb08d4f6d505d4e8dd3}{00055}} \textcolor{preprocessor}{\#define HPT\_INTERFACE\_VERSION 0x02000001}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00056}00056 \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00057}00057 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00058}\mbox{\hyperlink{ldm_8h_a0ed4c55b3ba987d3c4ebeaca9c8e0ead}{00058}} \textcolor{preprocessor}{\#define MAX\_PARTITIONS\_PER\_DISK 4}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00059}00059 \textcolor{preprocessor}{\#if defined(\_\_MAX\_PARTITIONS\_PER\_DISK) \&\& MAX\_PARTITIONS\_PER\_DISK > \_\_MAX\_PARTITIONS\_PER\_DISK}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00060}00060 \textcolor{preprocessor}{\#error "{}Please redefine MAX\_PARTITIONS\_PER\_DISK!!!"{}}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00061}00061 \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00062}00062 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00063}\mbox{\hyperlink{ldm_8h_a748c0be3127b8cba662c1356f981f451}{00063}} \textcolor{keyword}{typedef} \textcolor{keywordtype}{char} \mbox{\hyperlink{ldm_8h_a748c0be3127b8cba662c1356f981f451}{check\_HPT\_TIME\_is\_unsigned}}[ (\mbox{\hyperlink{osm_8h_a6e8dc5b60b44ba77fe8c52cb9f994dea}{HPT\_TIME}})(-\/1) > 0 ? 1 : -\/1 ];}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00064}00064 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00065}\mbox{\hyperlink{ldm_8h_aa516bce0844d53c43e43fa409d9ce17c}{00065}} \textcolor{preprocessor}{\#define hpt\_time\_after\_eq(a, b) ((long)(a) -\/ (long)(b) >= 0)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00066}\mbox{\hyperlink{ldm_8h_acd42e3cdda02255327c9d98281fad4b3}{00066}} \textcolor{preprocessor}{\#define hpt\_time\_after(a, b) ((long)(a) -\/ (long)(b) > 0)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00067}00067 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00068}00068 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00069}00069 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00070}\mbox{\hyperlink{structfreelist}{00070}} \textcolor{keyword}{struct }\mbox{\hyperlink{structfreelist}{freelist}} \{}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00071}\mbox{\hyperlink{structfreelist_a61c2c5dd049e413577627f585fd37f6e}{00071}}         \textcolor{keywordtype}{int} \mbox{\hyperlink{structfreelist_a61c2c5dd049e413577627f585fd37f6e}{dma}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00072}\mbox{\hyperlink{structfreelist_a70996b15a0aa570de2bf53d86829b8a7}{00072}}         \mbox{\hyperlink{osm_8h_a1d523d4e890f2973798b98e94390b79f}{HPT\_UINT}} \mbox{\hyperlink{structfreelist_a70996b15a0aa570de2bf53d86829b8a7}{alignment}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00073}\mbox{\hyperlink{structfreelist_ad11feafe762cf2f1395eb661f3415886}{00073}}         \mbox{\hyperlink{osm_8h_a1d523d4e890f2973798b98e94390b79f}{HPT\_UINT}} \mbox{\hyperlink{structfreelist_ad11feafe762cf2f1395eb661f3415886}{count}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00074}\mbox{\hyperlink{structfreelist_a30fc97a8b8de2de6e1c3958ff81263bd}{00074}}         \mbox{\hyperlink{osm_8h_a1d523d4e890f2973798b98e94390b79f}{HPT\_UINT}} \mbox{\hyperlink{structfreelist_a30fc97a8b8de2de6e1c3958ff81263bd}{size}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00075}\mbox{\hyperlink{structfreelist_a5c3ae26a30fb9a563e86171b7a4a2f12}{00075}}         \textcolor{keywordtype}{void} * \mbox{\hyperlink{structfreelist_a5c3ae26a30fb9a563e86171b7a4a2f12}{head}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00076}\mbox{\hyperlink{structfreelist_ab20d4f8eb587070d2c524d83988af10f}{00076}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structfreelist}{freelist}} *\mbox{\hyperlink{structfreelist_ab20d4f8eb587070d2c524d83988af10f}{next}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00077}00077 \textcolor{preprocessor}{\#if DBG}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00078}00078         \textcolor{keywordtype}{char} *tag;}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00079}00079         \mbox{\hyperlink{osm_8h_a1d523d4e890f2973798b98e94390b79f}{HPT\_UINT}} reserved\_count; }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00080}00080 \textcolor{preprocessor}{        \#define freelist\_debug\_tag(list, \_tag) (list)-\/>tag = \_tag}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00081}00081 \textcolor{preprocessor}{\#else }}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00082}\mbox{\hyperlink{ldm_8h_a1ed4187999a2a2491182606b285ed8f2}{00082}} \textcolor{preprocessor}{        \#define freelist\_debug\_tag(list, \_tag)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00083}00083 \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00084}00084 \};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00085}00085 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00086}00086 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00087}00087 \textcolor{keywordtype}{void} \mbox{\hyperlink{ldm_8h_a3e24e296ddde7e65e3e5fef7372c6f68}{freelist\_reserve}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structfreelist}{freelist}} *list, \textcolor{keywordtype}{void} *osext, \mbox{\hyperlink{osm_8h_a1d523d4e890f2973798b98e94390b79f}{HPT\_UINT}} \mbox{\hyperlink{structfreelist_a30fc97a8b8de2de6e1c3958ff81263bd}{size}}, \mbox{\hyperlink{osm_8h_a1d523d4e890f2973798b98e94390b79f}{HPT\_UINT}} \mbox{\hyperlink{structfreelist_ad11feafe762cf2f1395eb661f3415886}{count}});}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00088}00088 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00089}00089 \textcolor{keywordtype}{void} *\mbox{\hyperlink{ldm_8h_a05243aabac248d40cf3ba1599af1a864}{freelist\_get}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structfreelist}{freelist}} *);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00090}00090 \textcolor{keywordtype}{void} \mbox{\hyperlink{ldm_8h_a630484439749b72d86f807bedd93c9a6}{freelist\_put}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structfreelist}{freelist}} *, \textcolor{keywordtype}{void} *p);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00091}00091 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00092}00092 \textcolor{keywordtype}{void} \mbox{\hyperlink{ldm_8h_ae860e035904f316cb00a570e0409215e}{freelist\_reserve\_dma}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structfreelist}{freelist}} *list, \textcolor{keywordtype}{void} *osext, \mbox{\hyperlink{osm_8h_a1d523d4e890f2973798b98e94390b79f}{HPT\_UINT}} \mbox{\hyperlink{structfreelist_a30fc97a8b8de2de6e1c3958ff81263bd}{size}}, \mbox{\hyperlink{osm_8h_a1d523d4e890f2973798b98e94390b79f}{HPT\_UINT}} \mbox{\hyperlink{structfreelist_a70996b15a0aa570de2bf53d86829b8a7}{alignment}}, \mbox{\hyperlink{osm_8h_a1d523d4e890f2973798b98e94390b79f}{HPT\_UINT}} \mbox{\hyperlink{structfreelist_ad11feafe762cf2f1395eb661f3415886}{count}});}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00093}00093 \textcolor{keywordtype}{void} *\mbox{\hyperlink{ldm_8h_a1f5803157975d6d258f55dce9b85b6fd}{freelist\_get\_dma}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structfreelist}{freelist}} *, \mbox{\hyperlink{osm_8h_acf7d176374a6fd3b8b6920bbac691492}{BUS\_ADDRESS}} *busaddr);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00094}00094 \textcolor{keywordtype}{void} \mbox{\hyperlink{ldm_8h_a12ea4efc140a8d6ab4674031a1c58b6e}{freelist\_put\_dma}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structfreelist}{freelist}} *, \textcolor{keywordtype}{void} *p, \mbox{\hyperlink{osm_8h_acf7d176374a6fd3b8b6920bbac691492}{BUS\_ADDRESS}} busaddr);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00095}00095 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00096}00096 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00097}\mbox{\hyperlink{ldm_8h_a21b4c7ab1323bb90c6dbe025c9b8af77}{00097}} \textcolor{preprocessor}{\#define freelist\_reserve\_with\_tag(list, osext, size, count) \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00098}00098 \textcolor{preprocessor}{        do \{\(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00099}00099 \textcolor{preprocessor}{                freelist\_debug\_tag(list, \#list  "{} at "{}} \_\_FILE\_\_);\(\backslash\)}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00100}00100                 freelist\_reserve(list, osext, size, count);\(\backslash\)}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00101}00101         \}while(0)}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00102}00102 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00103}\mbox{\hyperlink{ldm_8h_ac6b2619431c1294d547f2c4e738d7005}{00103}} \textcolor{preprocessor}{\#define freelist\_reserve\_dma\_with\_tag(list, osext, size, alignment, count) \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00104}00104 \textcolor{preprocessor}{        do \{\(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00105}00105 \textcolor{preprocessor}{                freelist\_debug\_tag(list, \#list "{} at "{}} \_\_FILE\_\_);\(\backslash\)}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00106}00106                 freelist\_reserve\_dma(list, osext, size, alignment, count);\(\backslash\)}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00107}00107         \}while(0)}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00108}00108 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00109}\mbox{\hyperlink{structlock__request}{00109}} \textcolor{keyword}{struct }\mbox{\hyperlink{structlock__request}{lock\_request}} \{}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00110}\mbox{\hyperlink{structlock__request_a5a3621cfbbc1547bf502a466ca21d229}{00110}}         \mbox{\hyperlink{osm_8h_a7d8bf24cd82dda3ad8a576ba45a53005}{HPT\_U64}} \mbox{\hyperlink{structlock__request_a813623177272afa80507f7d6730f17e3}{start}}, \mbox{\hyperlink{structlock__request_a5a3621cfbbc1547bf502a466ca21d229}{end}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00111}\mbox{\hyperlink{structlock__request_ada9ce2146d15245989a54ba34faef328}{00111}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structlock__request}{lock\_request}} *\mbox{\hyperlink{structlock__request_ada9ce2146d15245989a54ba34faef328}{next}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00112}\mbox{\hyperlink{structlock__request_aea328b54d44d88b7036a2cc86e2ba6a1}{00112}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structlist__head}{list\_head}} \mbox{\hyperlink{structlock__request_aea328b54d44d88b7036a2cc86e2ba6a1}{waiters}}; \textcolor{comment}{/* blocked commands */}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00113}\mbox{\hyperlink{structlock__request_aa13c24c90df8d273010afbd9d379a801}{00113}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structtq__item}{tq\_item}} \mbox{\hyperlink{structlock__request_aa13c24c90df8d273010afbd9d379a801}{callback}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00114}\mbox{\hyperlink{structlock__request_a5cefffcbea8a90437bc2a0387e2fde5c}{00114}}         \textcolor{keywordtype}{int} \mbox{\hyperlink{structlock__request_a5cefffcbea8a90437bc2a0387e2fde5c}{lock\_cc}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00115}00115 \};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00116}00116 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00117}\mbox{\hyperlink{ldm_8h_a1d0ad2f64f1d789056fe9aa5843a6b01}{00117}} \textcolor{preprocessor}{\#define INIT\_LOCK\_REQUEST(req, \_start, \_end, \_cb, \_arg, \_cc) \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00118}00118 \textcolor{preprocessor}{        do \{\(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00119}00119 \textcolor{preprocessor}{                (req)-\/>next = 0;\(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00120}00120 \textcolor{preprocessor}{                (req)-\/>start = \_start;\(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00121}00121 \textcolor{preprocessor}{                (req)-\/>end = \_end;\(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00122}00122 \textcolor{preprocessor}{                INIT\_TQ\_ITEM(\&(req)-\/>callback, \_cb, \_arg);\(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00123}00123 \textcolor{preprocessor}{                INIT\_LIST\_HEAD(\&(req)-\/>waiters);\(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00124}00124 \textcolor{preprocessor}{                (req)-\/>lock\_cc = \_cc;\(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00125}00125 \textcolor{preprocessor}{        \} while (0)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00126}00126 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00127}\mbox{\hyperlink{structtask__queue}{00127}} \textcolor{keyword}{struct }\mbox{\hyperlink{structtask__queue}{task\_queue}} \{}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00128}\mbox{\hyperlink{structtask__queue_a783976dc7ee257f36f27c73d57823e0f}{00128}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structtq__item}{tq\_item}} *\mbox{\hyperlink{structtask__queue_a783976dc7ee257f36f27c73d57823e0f}{head}}, *\mbox{\hyperlink{structtask__queue_a7a24f53524a1cbd1314c1720b790c0a4}{tail}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00129}00129 \};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00130}00130 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00131}\mbox{\hyperlink{ldm_8h_ad08d5dc5d007cf6d71cee22ac12466d3}{00131}} \textcolor{preprocessor}{\#define TQ\_EMPTY(tq) ((tq)-\/>head==0)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00132}00132 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00133}\mbox{\hyperlink{structdmapool__order}{00133}} \textcolor{keyword}{struct }\mbox{\hyperlink{structdmapool__order}{dmapool\_order}} \{}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00134}\mbox{\hyperlink{structdmapool__order_a4382451ac8eec8eea9f97c5c6592defa}{00134}}         \mbox{\hyperlink{osm_8h_a1d523d4e890f2973798b98e94390b79f}{HPT\_UINT}} \mbox{\hyperlink{structdmapool__order_a4382451ac8eec8eea9f97c5c6592defa}{npages}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00135}\mbox{\hyperlink{structdmapool__order_a3f6d6015ed6e1ceeff1c862153129e2b}{00135}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structtq__item}{tq\_item}} \mbox{\hyperlink{structdmapool__order_a3f6d6015ed6e1ceeff1c862153129e2b}{wakeup\_fn}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00136}\mbox{\hyperlink{structdmapool__order_aa76fa82110af1193d1285bff49f5224b}{00136}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structdmapool__order}{dmapool\_order}} *\mbox{\hyperlink{structdmapool__order_aa76fa82110af1193d1285bff49f5224b}{next}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00137}00137 \};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00138}00138 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00139}\mbox{\hyperlink{structdmapool__client}{00139}} \textcolor{keyword}{struct }\mbox{\hyperlink{structdmapool__client}{dmapool\_client}} \{}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00140}\mbox{\hyperlink{structdmapool__client_aa23b9e124dbc4aa04d361985dfff0613}{00140}}         \textcolor{keywordtype}{void} * \mbox{\hyperlink{structdmapool__client_aa23b9e124dbc4aa04d361985dfff0613}{handle}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00141}\mbox{\hyperlink{structdmapool__client_a8bfaa0b54b6252fbfddfee338e53f119}{00141}}         \mbox{\hyperlink{osm_8h_a1d523d4e890f2973798b98e94390b79f}{HPT\_UINT}} (*\mbox{\hyperlink{structdmapool__client_a8bfaa0b54b6252fbfddfee338e53f119}{shrink}})(\textcolor{keywordtype}{void} *\mbox{\hyperlink{structdmapool__client_aa23b9e124dbc4aa04d361985dfff0613}{handle}}, \mbox{\hyperlink{osm_8h_a1d523d4e890f2973798b98e94390b79f}{HPT\_UINT}} npages);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00142}\mbox{\hyperlink{structdmapool__client_a52d88a45828b2a35499fa383cfd7e6eb}{00142}}         int (*\mbox{\hyperlink{structdmapool__client_a52d88a45828b2a35499fa383cfd7e6eb}{resume}})(\textcolor{keywordtype}{void} *\mbox{\hyperlink{structdmapool__client_aa23b9e124dbc4aa04d361985dfff0613}{handle}});}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00143}\mbox{\hyperlink{structdmapool__client_a8a7b9b10195f7eefe81bd4cce35890ad}{00143}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structdmapool__client}{dmapool\_client}} *\mbox{\hyperlink{structdmapool__client_a8a7b9b10195f7eefe81bd4cce35890ad}{next}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00144}00144 \};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00145}00145 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00146}\mbox{\hyperlink{ldm_8h_aa246a2bc9de066f60fb6c1e59b559869}{00146}} \textcolor{keyword}{typedef} \textcolor{keyword}{struct }\_VBUS * \mbox{\hyperlink{ldm_8h_aa246a2bc9de066f60fb6c1e59b559869}{PVBUS}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00147}\mbox{\hyperlink{ldm_8h_aefb5652b591b40bf1815ee2c08e3bd3f}{00147}} \textcolor{keyword}{typedef} \textcolor{keyword}{struct }\mbox{\hyperlink{struct__VDEV}{\_VDEV}} * \mbox{\hyperlink{ldm_8h_aefb5652b591b40bf1815ee2c08e3bd3f}{PVDEV}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00148}00148 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00149}00149 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00150}\mbox{\hyperlink{ldm_8h_a365f981a623f2b1d8870dd2c2df0a3b5}{00150}} \textcolor{keywordtype}{void} \mbox{\hyperlink{ldm_8h_a365f981a623f2b1d8870dd2c2df0a3b5}{dmapool\_register\_client}}(\mbox{\hyperlink{ldm_8h_aa246a2bc9de066f60fb6c1e59b559869}{PVBUS}} \mbox{\hyperlink{struct__VDEV_a5b499c2e5af429c2de46e950973c9c9d}{vbus}}, \textcolor{keyword}{struct} \mbox{\hyperlink{structdmapool__client}{dmapool\_client}} *client);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00151}00151 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00152}00152 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00153}\mbox{\hyperlink{ldm_8h_a4e6fd1d24d1a8cb5e81761ad2e7d965e}{00153}} \textcolor{keywordtype}{void} \mbox{\hyperlink{ldm_8h_a4e6fd1d24d1a8cb5e81761ad2e7d965e}{dmapool\_active}}(\mbox{\hyperlink{ldm_8h_aa246a2bc9de066f60fb6c1e59b559869}{PVBUS}} \mbox{\hyperlink{struct__VDEV_a5b499c2e5af429c2de46e950973c9c9d}{vbus}});}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00154}00154 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00155}00155 \textcolor{comment}{/* return 0 if the request is immediately satisfied, non-\/zero otherwise. */}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00156}\mbox{\hyperlink{ldm_8h_a861249322388e2a8edd933b5dbbf5eb2}{00156}} \textcolor{keywordtype}{int} \mbox{\hyperlink{ldm_8h_a861249322388e2a8edd933b5dbbf5eb2}{dmapool\_make\_order}}(\mbox{\hyperlink{ldm_8h_aa246a2bc9de066f60fb6c1e59b559869}{PVBUS}} \mbox{\hyperlink{struct__VDEV_a5b499c2e5af429c2de46e950973c9c9d}{vbus}}, \textcolor{keyword}{struct} \mbox{\hyperlink{structdmapool__order}{dmapool\_order}} *order);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00157}00157 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00158}00158 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00159}\mbox{\hyperlink{ldm_8h_aae48c8c6bc62c2c9af2551ea588a07b3}{00159}} \textcolor{keywordtype}{void} *\mbox{\hyperlink{ldm_8h_aae48c8c6bc62c2c9af2551ea588a07b3}{dmapool\_get\_page}}(\mbox{\hyperlink{ldm_8h_aa246a2bc9de066f60fb6c1e59b559869}{PVBUS}} \mbox{\hyperlink{struct__VDEV_a5b499c2e5af429c2de46e950973c9c9d}{vbus}}, \mbox{\hyperlink{osm_8h_acf7d176374a6fd3b8b6920bbac691492}{BUS\_ADDRESS}} *busaddr);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00160}\mbox{\hyperlink{ldm_8h_adeb2ac09dd90146129e580d111c0ac76}{00160}} \textcolor{keywordtype}{void} *\mbox{\hyperlink{ldm_8h_adeb2ac09dd90146129e580d111c0ac76}{dmapool\_get\_page\_at}}(\mbox{\hyperlink{ldm_8h_aa246a2bc9de066f60fb6c1e59b559869}{PVBUS}} \mbox{\hyperlink{struct__VDEV_a5b499c2e5af429c2de46e950973c9c9d}{vbus}}, \textcolor{keywordtype}{void} *p, \mbox{\hyperlink{osm_8h_acf7d176374a6fd3b8b6920bbac691492}{BUS\_ADDRESS}} *busaddr);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00161}\mbox{\hyperlink{ldm_8h_a42e4d10fa59efe63f27d9b4ec474d503}{00161}} \textcolor{keywordtype}{void} \mbox{\hyperlink{ldm_8h_a42e4d10fa59efe63f27d9b4ec474d503}{dmapool\_put\_page}}(\mbox{\hyperlink{ldm_8h_aa246a2bc9de066f60fb6c1e59b559869}{PVBUS}} \mbox{\hyperlink{struct__VDEV_a5b499c2e5af429c2de46e950973c9c9d}{vbus}}, \textcolor{keywordtype}{void} *p, \mbox{\hyperlink{osm_8h_acf7d176374a6fd3b8b6920bbac691492}{BUS\_ADDRESS}} busaddr);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00162}\mbox{\hyperlink{ldm_8h_a7bb4b1ebbde6ecad736ace0627cce158}{00162}} \textcolor{keywordtype}{void} \mbox{\hyperlink{ldm_8h_a7bb4b1ebbde6ecad736ace0627cce158}{dmapool\_init}}(\mbox{\hyperlink{ldm_8h_aa246a2bc9de066f60fb6c1e59b559869}{PVBUS}} \mbox{\hyperlink{struct__VDEV_a5b499c2e5af429c2de46e950973c9c9d}{vbus}});}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00163}\mbox{\hyperlink{ldm_8h_ad16a3ab8bea8f5b2cc8713e27e483ab1}{00163}} \mbox{\hyperlink{osm_8h_a1d523d4e890f2973798b98e94390b79f}{HPT\_UINT}} \mbox{\hyperlink{ldm_8h_ad16a3ab8bea8f5b2cc8713e27e483ab1}{dmapool\_max\_class\_pages}}(\mbox{\hyperlink{ldm_8h_aa246a2bc9de066f60fb6c1e59b559869}{PVBUS}} \mbox{\hyperlink{struct__VDEV_a5b499c2e5af429c2de46e950973c9c9d}{vbus}});}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00164}00164 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00165}00165 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00166}\mbox{\hyperlink{structtimer__call}{00166}} \textcolor{keyword}{struct }\mbox{\hyperlink{structtimer__call}{timer\_call}} \{}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00167}\mbox{\hyperlink{structtimer__call_abd50b95e280619fda50215831319a030}{00167}}         \mbox{\hyperlink{osm_8h_a5e72927c20dca1165c12bef44e5b8d28}{HPT\_U32}} \mbox{\hyperlink{structtimer__call_abd50b95e280619fda50215831319a030}{interval}}; \textcolor{comment}{/*microseconds*/}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00168}\mbox{\hyperlink{structtimer__call_a845ebee1f05a6205512070203737a8c1}{00168}}         \mbox{\hyperlink{osm_8h_a6e8dc5b60b44ba77fe8c52cb9f994dea}{HPT\_TIME}} \mbox{\hyperlink{structtimer__call_a845ebee1f05a6205512070203737a8c1}{expire\_time}}; \textcolor{comment}{/*microseconds*/}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00169}\mbox{\hyperlink{structtimer__call_ae0dd081a34a3567c1bd9aa4f4629d4e6}{00169}}         void (*\mbox{\hyperlink{structtimer__call_ae0dd081a34a3567c1bd9aa4f4629d4e6}{proc}})(\textcolor{keywordtype}{void} * \mbox{\hyperlink{structtimer__call_a5cd9549e6cf6399ddbf8a98a5a7cee31}{arg}});}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00170}\mbox{\hyperlink{structtimer__call_a5cd9549e6cf6399ddbf8a98a5a7cee31}{00170}}         \textcolor{keywordtype}{void} * \mbox{\hyperlink{structtimer__call_a5cd9549e6cf6399ddbf8a98a5a7cee31}{arg}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00171}\mbox{\hyperlink{structtimer__call_aea1eec847feb18bbec7dd3de774f151a}{00171}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structtimer__call}{timer\_call}} ** \mbox{\hyperlink{structtimer__call_aea1eec847feb18bbec7dd3de774f151a}{pprev}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00172}\mbox{\hyperlink{structtimer__call_ab03cefb1e40135bdd65271e1a6551fa6}{00172}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structtimer__call}{timer\_call}} * \mbox{\hyperlink{structtimer__call_ab03cefb1e40135bdd65271e1a6551fa6}{next}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00173}00173 \};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00174}00174 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00175}\mbox{\hyperlink{ldm_8h_a3d2052aa102448018b4782a9e10ba2c3}{00175}} \textcolor{preprocessor}{\#define ldm\_init\_timer(timer) do \{ (timer)-\/>next=0; (timer)-\/>pprev=0; \} while (0)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00176}00176 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00177}\mbox{\hyperlink{ldm_8h_ae98950aef983410ff8354b1b912ae92b}{00177}} \textcolor{preprocessor}{\#define INIT\_TIMER\_CALL(timer, \_interval, \_proc, \_arg) \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00178}00178 \textcolor{preprocessor}{        do \{ \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00179}00179 \textcolor{preprocessor}{                HPT\_ASSERT((timer)-\/>next==0 \&\& (timer)-\/>pprev==0);\(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00180}00180 \textcolor{preprocessor}{                (timer)-\/>interval = \_interval;\(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00181}00181 \textcolor{preprocessor}{                (timer)-\/>proc = \_proc;\(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00182}00182 \textcolor{preprocessor}{                (timer)-\/>arg = \_arg;\(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00183}00183 \textcolor{preprocessor}{        \} while(0)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00184}00184 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00185}\mbox{\hyperlink{ldm_8h_ab7c23bd575686d567480f2d63d97f8fd}{00185}} \textcolor{keywordtype}{void} \mbox{\hyperlink{ldm_8h_ab7c23bd575686d567480f2d63d97f8fd}{ldm\_request\_timer}}(\mbox{\hyperlink{ldm_8h_aa246a2bc9de066f60fb6c1e59b559869}{PVBUS}} vbus, \textcolor{keyword}{struct} \mbox{\hyperlink{structtimer__call}{timer\_call}} * tc);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00186}\mbox{\hyperlink{ldm_8h_a5e41c95cc3b8907ed662b65132d0cbe0}{00186}} \textcolor{keywordtype}{void} \mbox{\hyperlink{ldm_8h_a5e41c95cc3b8907ed662b65132d0cbe0}{ldm\_remove\_timer}}(\mbox{\hyperlink{ldm_8h_aa246a2bc9de066f60fb6c1e59b559869}{PVBUS}} vbus, \textcolor{keyword}{struct} \mbox{\hyperlink{structtimer__call}{timer\_call}} * tc);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00187}\mbox{\hyperlink{ldm_8h_ad5d25a8c74a892f63d11f596988016e4}{00187}} \textcolor{keywordtype}{void} \mbox{\hyperlink{ldm_8h_ad5d25a8c74a892f63d11f596988016e4}{ldm\_on\_timer}}(\mbox{\hyperlink{ldm_8h_aa246a2bc9de066f60fb6c1e59b559869}{PVBUS}} vbus);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00188}00188 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00189}00189 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00190}\mbox{\hyperlink{struct__LDM__ADAPTER}{00190}} \textcolor{keyword}{typedef} \textcolor{keyword}{struct }\mbox{\hyperlink{struct__LDM__ADAPTER}{\_LDM\_ADAPTER}}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00191}00191 \{}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00192}\mbox{\hyperlink{struct__LDM__ADAPTER_a8bf2e832f0f30529402702f10035ef30}{00192}}         \textcolor{keyword}{struct }\mbox{\hyperlink{struct__LDM__ADAPTER}{\_LDM\_ADAPTER}} *\mbox{\hyperlink{struct__LDM__ADAPTER_a8bf2e832f0f30529402702f10035ef30}{next}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00193}\mbox{\hyperlink{struct__LDM__ADAPTER_a7903d1eb61020482e0db107a37749878}{00193}}         \mbox{\hyperlink{struct__HIM}{HIM}}  *\mbox{\hyperlink{struct__LDM__ADAPTER_a7903d1eb61020482e0db107a37749878}{him}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00194}\mbox{\hyperlink{struct__LDM__ADAPTER_a3bcf54074957defd8c4b576c4486cdb4}{00194}}         \textcolor{keywordtype}{void} *\mbox{\hyperlink{struct__LDM__ADAPTER_a3bcf54074957defd8c4b576c4486cdb4}{him\_handle}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00195}\mbox{\hyperlink{struct__LDM__ADAPTER_ab776b0a24ea206a26bff20870f4ec550}{00195}}         \mbox{\hyperlink{ldm_8h_aa246a2bc9de066f60fb6c1e59b559869}{PVBUS}} \mbox{\hyperlink{struct__LDM__ADAPTER_ab776b0a24ea206a26bff20870f4ec550}{vbus}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00196}\mbox{\hyperlink{struct__LDM__ADAPTER_aa019e9024c97afee622fb86088d3da2d}{00196}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structfreelist}{freelist}} \mbox{\hyperlink{struct__LDM__ADAPTER_aa019e9024c97afee622fb86088d3da2d}{freelist\_dev}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00197}\mbox{\hyperlink{struct__LDM__ADAPTER_a778ac4468ea65a946337ef0f3b5f95bf}{00197}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structfreelist}{freelist}} \mbox{\hyperlink{struct__LDM__ADAPTER_a778ac4468ea65a946337ef0f3b5f95bf}{freelist\_plugged\_dpc}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00198}\mbox{\hyperlink{struct__LDM__ADAPTER_ae0efd909610d9a74b7921e7fcef3d1f6}{00198}}         \mbox{\hyperlink{osm_8h_a4f70344c7ce1f981c91397e10c1965fc}{HPT\_BOOL}} \mbox{\hyperlink{struct__LDM__ADAPTER_ae0efd909610d9a74b7921e7fcef3d1f6}{master}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00199}00199 \}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00200}\mbox{\hyperlink{ldm_8h_a0a695b290aaee551c921af5b95b826e4}{00200}} \mbox{\hyperlink{ldm_8h_a0a695b290aaee551c921af5b95b826e4}{LDM\_ADAPTER}}, *\mbox{\hyperlink{ldm_8h_a19fa37ec7c72ed99daf18abd54f7ca04}{PLDM\_ADAPTER}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00201}00201 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00202}\mbox{\hyperlink{struct__IOCTL__ARG}{00202}} \textcolor{keyword}{typedef} \textcolor{keyword}{struct }\mbox{\hyperlink{struct__IOCTL__ARG}{\_IOCTL\_ARG}}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00203}00203 \{}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00204}\mbox{\hyperlink{struct__IOCTL__ARG_ae81a7ba4cd6e5ad50cd42dacc12c8fa2}{00204}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structlist__head}{list\_head}} \mbox{\hyperlink{struct__IOCTL__ARG_ae81a7ba4cd6e5ad50cd42dacc12c8fa2}{link}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00205}\mbox{\hyperlink{struct__IOCTL__ARG_a4832cefdac3795ee7e44f51f7cc59d83}{00205}}         \mbox{\hyperlink{ldm_8h_aa246a2bc9de066f60fb6c1e59b559869}{PVBUS}} \mbox{\hyperlink{struct__IOCTL__ARG_a4832cefdac3795ee7e44f51f7cc59d83}{vbus}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00206}\mbox{\hyperlink{struct__IOCTL__ARG_aae829338644e1c794262674d4f170937}{00206}}         \mbox{\hyperlink{osm_8h_a5e72927c20dca1165c12bef44e5b8d28}{HPT\_U32}} \mbox{\hyperlink{struct__IOCTL__ARG_aae829338644e1c794262674d4f170937}{dwIoControlCode}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00207}\mbox{\hyperlink{struct__IOCTL__ARG_a227faed629fddd4858b3a8f21d4970f9}{00207}}         \mbox{\hyperlink{osm_8h_a5e72927c20dca1165c12bef44e5b8d28}{HPT\_U32}} \mbox{\hyperlink{struct__IOCTL__ARG_a227faed629fddd4858b3a8f21d4970f9}{nInBufferSize}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00208}\mbox{\hyperlink{struct__IOCTL__ARG_a3f915acf52dfe923ce7682331a56cc69}{00208}}         \mbox{\hyperlink{osm_8h_a5e72927c20dca1165c12bef44e5b8d28}{HPT\_U32}} \mbox{\hyperlink{struct__IOCTL__ARG_a3f915acf52dfe923ce7682331a56cc69}{nOutBufferSize}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00209}\mbox{\hyperlink{struct__IOCTL__ARG_afcfa73d7feabd1ce224c5c95e66554b2}{00209}}         \textcolor{keywordtype}{void} *  \mbox{\hyperlink{struct__IOCTL__ARG_afcfa73d7feabd1ce224c5c95e66554b2}{lpInBuffer}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00210}\mbox{\hyperlink{struct__IOCTL__ARG_a2d618df2e0fb495e185d9e96d612f497}{00210}}         \textcolor{keywordtype}{void} *  \mbox{\hyperlink{struct__IOCTL__ARG_a2d618df2e0fb495e185d9e96d612f497}{lpOutBuffer}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00211}\mbox{\hyperlink{struct__IOCTL__ARG_ac0d2a47dcd55d511952ffccb26875c3b}{00211}}         \mbox{\hyperlink{osm_8h_a5e72927c20dca1165c12bef44e5b8d28}{HPT\_U32}} *\mbox{\hyperlink{struct__IOCTL__ARG_ac0d2a47dcd55d511952ffccb26875c3b}{lpBytesReturned}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00212}\mbox{\hyperlink{struct__IOCTL__ARG_a746d24ce186c865149f2a8de6f75c80e}{00212}}         \textcolor{keywordtype}{void} *  \mbox{\hyperlink{struct__IOCTL__ARG_a746d24ce186c865149f2a8de6f75c80e}{ioctl\_cmnd}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00213}\mbox{\hyperlink{struct__IOCTL__ARG_a204ae2592ab70b8a9b75130627daaff1}{00213}}         void (* \mbox{\hyperlink{struct__IOCTL__ARG_a204ae2592ab70b8a9b75130627daaff1}{done}})(\textcolor{keyword}{struct }\mbox{\hyperlink{struct__IOCTL__ARG}{\_IOCTL\_ARG}} *);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00214}\mbox{\hyperlink{struct__IOCTL__ARG_af5191062b11e30915d9bfaef905db3c4}{00214}}         \textcolor{keywordtype}{int}     \mbox{\hyperlink{struct__IOCTL__ARG_af5191062b11e30915d9bfaef905db3c4}{result}}; \textcolor{comment}{/* HPT\_IOCTL\_RESULT\_ */}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00215}\mbox{\hyperlink{struct__IOCTL__ARG_a9ca8cdd40ecfc78544a449f9da6f3593}{00215}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structtq__item}{tq\_item}} \mbox{\hyperlink{struct__IOCTL__ARG_a9ca8cdd40ecfc78544a449f9da6f3593}{dpc}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00216}\mbox{\hyperlink{ldm_8h_a2e644023e98a06dd232c9fa4ba80714f}{00216}} \} \mbox{\hyperlink{ldm_8h_a2e644023e98a06dd232c9fa4ba80714f}{IOCTL\_ARG}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00217}00217 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00218}\mbox{\hyperlink{ldm_8h_a79df0fa0bf97912e870da91c1ccd43b9}{00218}} \textcolor{preprocessor}{\#define HPT\_IOCTL\_RESULT\_OK          0}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00219}\mbox{\hyperlink{ldm_8h_aa4d42ea0826961699d97d3bf8c63ee1b}{00219}} \textcolor{preprocessor}{\#define HPT\_IOCTL\_RESULT\_FAILED     (-\/1)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00220}\mbox{\hyperlink{ldm_8h_a9c79d0e608666edb292d0be4034ecded}{00220}} \textcolor{preprocessor}{\#define HPT\_IOCTL\_RESULT\_INVALID    (-\/2)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00221}\mbox{\hyperlink{ldm_8h_afc0289ef9ca09cb87c95df00c9da2627}{00221}} \textcolor{preprocessor}{\#define HPT\_IOCTL\_RESULT\_RETRY      (-\/3)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00222}\mbox{\hyperlink{ldm_8h_a8c3287ebf2936bf9ba734f0cac881037}{00222}} \textcolor{preprocessor}{\#define HPT\_IOCTL\_RESULT\_WRONG\_VBUS (-\/4)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00223}00223 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00224}\mbox{\hyperlink{ldm_8h_a302bdfcf3084cbc13bb6c20bc63b836e}{00224}} \textcolor{keywordtype}{void} \mbox{\hyperlink{ldm_8h_a302bdfcf3084cbc13bb6c20bc63b836e}{ldm\_ioctl}}(        \mbox{\hyperlink{ldm_8h_aa246a2bc9de066f60fb6c1e59b559869}{PVBUS}} vbus,        \mbox{\hyperlink{struct__IOCTL__ARG}{IOCTL\_ARG}} *IAPnt);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00225}\mbox{\hyperlink{ldm_8h_a843892ac6969c47a7ec790cc7530f680}{00225}} \mbox{\hyperlink{osm_8h_a5e72927c20dca1165c12bef44e5b8d28}{HPT\_U32}} \mbox{\hyperlink{ldm_8h_a843892ac6969c47a7ec790cc7530f680}{ldm\_get\_device\_id}}(\mbox{\hyperlink{struct__VDEV}{PVDEV}} vd); \textcolor{comment}{/* for ioctl */}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00226}\mbox{\hyperlink{ldm_8h_af9221bdf8d07711f283e5079ec94d52f}{00226}} \textcolor{keywordtype}{void} \mbox{\hyperlink{ldm_8h_af9221bdf8d07711f283e5079ec94d52f}{ldm\_set\_rebuild\_priority}}(\mbox{\hyperlink{ldm_8h_aa246a2bc9de066f60fb6c1e59b559869}{PVBUS}} vbus, \textcolor{keywordtype}{int} priority);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00227}\mbox{\hyperlink{ldm_8h_ab3269ec8ac0c7bd4fd93b0c440294eda}{00227}} \textcolor{keywordtype}{void} \mbox{\hyperlink{ldm_8h_ab3269ec8ac0c7bd4fd93b0c440294eda}{ldm\_set\_autorebuild}}(\mbox{\hyperlink{ldm_8h_aa246a2bc9de066f60fb6c1e59b559869}{PVBUS}} vbus, \textcolor{keywordtype}{int} enable);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00228}\mbox{\hyperlink{ldm_8h_a57d6b5e7699e0ca95546259b7fc81c1b}{00228}} \textcolor{keywordtype}{void} \mbox{\hyperlink{ldm_8h_a57d6b5e7699e0ca95546259b7fc81c1b}{ldm\_set\_spindown\_disks\_timeout}}(\mbox{\hyperlink{ldm_8h_aa246a2bc9de066f60fb6c1e59b559869}{PVBUS}} vbus, \mbox{\hyperlink{osm_8h_ac94f81ebfd875718aead31ec5dc9ed41}{HPT\_U8}} timeout);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00229}00229 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00230}00230 \textcolor{preprocessor}{\#ifndef \_\_HPT\_RAW\_LBA}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00231}\mbox{\hyperlink{ldm_8h_a4cba1e7cd8149fc37b3a5329604eeade}{00231}} \textcolor{preprocessor}{\#define \_\_HPT\_RAW\_LBA HPT\_RAW\_LBA}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00232}00232 \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00233}00233 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00234}00234 \textcolor{preprocessor}{\#include <\mbox{\hyperlink{array_8h}{dev/hptrr/array.h}}>}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00235}00235 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00236}\mbox{\hyperlink{structhpt__raw__disk}{00236}} \textcolor{keyword}{typedef} \textcolor{keyword}{struct }\mbox{\hyperlink{structhpt__raw__disk}{hpt\_raw\_disk}}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00237}00237 \{}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00238}00238 \textcolor{preprocessor}{\#ifdef SUPPORT\_ARRAY}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00239}00239         \mbox{\hyperlink{struct__raw__partition}{PRAW\_PARTITION}} raw\_part\_list;}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00240}00240         \mbox{\hyperlink{ldm_8h_a4cba1e7cd8149fc37b3a5329604eeade}{\_\_HPT\_RAW\_LBA}} max\_available\_capacity; }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00241}00241         \mbox{\hyperlink{ldm_8h_a4cba1e7cd8149fc37b3a5329604eeade}{\_\_HPT\_RAW\_LBA}} total\_available\_capacity;}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00242}00242 \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00243}\mbox{\hyperlink{structhpt__raw__disk_a91f545fb581e8e6a92cff2c041aab613}{00243}}         \mbox{\hyperlink{ldm_8h_a4cba1e7cd8149fc37b3a5329604eeade}{\_\_HPT\_RAW\_LBA}} \mbox{\hyperlink{structhpt__raw__disk_a91f545fb581e8e6a92cff2c041aab613}{real\_capacity}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00244}\mbox{\hyperlink{structhpt__raw__disk_a60d2b34fde5e47fff98d2e7fd7887120}{00244}}         \mbox{\hyperlink{ldm_8h_a4cba1e7cd8149fc37b3a5329604eeade}{\_\_HPT\_RAW\_LBA}} \mbox{\hyperlink{structhpt__raw__disk_a60d2b34fde5e47fff98d2e7fd7887120}{head\_position}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00245}00245 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00246}\mbox{\hyperlink{structhpt__raw__disk_a6afd7e8971facc0c86b9e2a0978c20e5}{00246}}         \mbox{\hyperlink{osm_8h_acc1ecfcf4d9291ea02bca6d51fc9277a}{HPT\_U16}} \mbox{\hyperlink{structhpt__raw__disk_a6afd7e8971facc0c86b9e2a0978c20e5}{max\_sectors\_per\_cmd}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00247}\mbox{\hyperlink{structhpt__raw__disk_addc7be33cc6ee01e8a3d34f4460df7e0}{00247}}         \mbox{\hyperlink{osm_8h_ac94f81ebfd875718aead31ec5dc9ed41}{HPT\_U8}}  \mbox{\hyperlink{structhpt__raw__disk_addc7be33cc6ee01e8a3d34f4460df7e0}{max\_queue\_depth}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00248}\mbox{\hyperlink{structhpt__raw__disk_a51f8150f85dc2a31dbfbe6591e08f46c}{00248}}         \mbox{\hyperlink{osm_8h_ac94f81ebfd875718aead31ec5dc9ed41}{HPT\_U8}}  \mbox{\hyperlink{structhpt__raw__disk_a51f8150f85dc2a31dbfbe6591e08f46c}{user\_select\_mode}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00249}00249 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00250}\mbox{\hyperlink{structhpt__raw__disk_ac416dcfc1f082710ceb4c21f74f61678}{00250}}         \mbox{\hyperlink{osm_8h_a1d523d4e890f2973798b98e94390b79f}{HPT\_UINT}}  \mbox{\hyperlink{structhpt__raw__disk_ac416dcfc1f082710ceb4c21f74f61678}{uninitialized}} : 1;}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00251}\mbox{\hyperlink{structhpt__raw__disk_a5bfb8089703e396d924796c4e312092c}{00251}}         \mbox{\hyperlink{osm_8h_a1d523d4e890f2973798b98e94390b79f}{HPT\_UINT}}  \mbox{\hyperlink{structhpt__raw__disk_a5bfb8089703e396d924796c4e312092c}{legacy\_disk}} : 1;}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00252}\mbox{\hyperlink{structhpt__raw__disk_a5731a5ad81d98fb61bf664e6236a430d}{00252}}         \mbox{\hyperlink{osm_8h_a1d523d4e890f2973798b98e94390b79f}{HPT\_UINT}}  \mbox{\hyperlink{structhpt__raw__disk_a5731a5ad81d98fb61bf664e6236a430d}{is\_spare}} : 1;}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00253}\mbox{\hyperlink{structhpt__raw__disk_a3eb2eb1156a1698ca81f371047122b30}{00253}}         \mbox{\hyperlink{osm_8h_a1d523d4e890f2973798b98e94390b79f}{HPT\_UINT}}  \mbox{\hyperlink{structhpt__raw__disk_a3eb2eb1156a1698ca81f371047122b30}{v3\_format}} : 1;}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00254}\mbox{\hyperlink{structhpt__raw__disk_a80b0b72eb8be512a04e2c67e3ea99b23}{00254}}         \mbox{\hyperlink{osm_8h_a1d523d4e890f2973798b98e94390b79f}{HPT\_UINT}}  \mbox{\hyperlink{structhpt__raw__disk_a80b0b72eb8be512a04e2c67e3ea99b23}{need\_sync}} : 1;}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00255}\mbox{\hyperlink{structhpt__raw__disk_ac3676c3ed4dcedb43ee009773c0301fc}{00255}}         \mbox{\hyperlink{osm_8h_a1d523d4e890f2973798b98e94390b79f}{HPT\_UINT}}  \mbox{\hyperlink{structhpt__raw__disk_ac3676c3ed4dcedb43ee009773c0301fc}{temp\_spare}} : 1;}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00256}\mbox{\hyperlink{structhpt__raw__disk_adae0135607e0352a9c34c1965529b7b0}{00256}}         \mbox{\hyperlink{osm_8h_a1d523d4e890f2973798b98e94390b79f}{HPT\_UINT}}  \mbox{\hyperlink{structhpt__raw__disk_adae0135607e0352a9c34c1965529b7b0}{need\_check\_array}} : 1;}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00257}\mbox{\hyperlink{structhpt__raw__disk_adf9c19524e737271b0524fe1d4e5ce5d}{00257}}         \mbox{\hyperlink{osm_8h_a1d523d4e890f2973798b98e94390b79f}{HPT\_UINT}}  \mbox{\hyperlink{structhpt__raw__disk_adf9c19524e737271b0524fe1d4e5ce5d}{df\_user\_mode\_set}}: 1;}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00258}00258 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00259}\mbox{\hyperlink{structhpt__raw__disk_aabe4f9c93aa837c313ba412197d35c9c}{00259}}         \mbox{\hyperlink{osm_8h_a1d523d4e890f2973798b98e94390b79f}{HPT\_UINT}}  \mbox{\hyperlink{structhpt__raw__disk_aabe4f9c93aa837c313ba412197d35c9c}{df\_read\_ahead\_set}}: 1;}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00260}\mbox{\hyperlink{structhpt__raw__disk_ae2e824120e37f450b4bbbc780277647b}{00260}}         \mbox{\hyperlink{osm_8h_a1d523d4e890f2973798b98e94390b79f}{HPT\_UINT}}  \mbox{\hyperlink{structhpt__raw__disk_ae2e824120e37f450b4bbbc780277647b}{enable\_read\_ahead}} : 1;}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00261}\mbox{\hyperlink{structhpt__raw__disk_aa6f385b26ced39e8c8a332741e30061a}{00261}}         \mbox{\hyperlink{osm_8h_a1d523d4e890f2973798b98e94390b79f}{HPT\_UINT}}  \mbox{\hyperlink{structhpt__raw__disk_aa6f385b26ced39e8c8a332741e30061a}{df\_write\_cache\_set}}: 1;}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00262}\mbox{\hyperlink{structhpt__raw__disk_a30c4ce8cda14b3b33d429f2911589add}{00262}}         \mbox{\hyperlink{osm_8h_a1d523d4e890f2973798b98e94390b79f}{HPT\_UINT}}  \mbox{\hyperlink{structhpt__raw__disk_a30c4ce8cda14b3b33d429f2911589add}{enable\_write\_cache}} : 1;}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00263}\mbox{\hyperlink{structhpt__raw__disk_a3124bc3d65c733d1791eee86ee361f11}{00263}}         \mbox{\hyperlink{osm_8h_a1d523d4e890f2973798b98e94390b79f}{HPT\_UINT}}  \mbox{\hyperlink{structhpt__raw__disk_a3124bc3d65c733d1791eee86ee361f11}{df\_tcq\_set}}: 1;}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00264}\mbox{\hyperlink{structhpt__raw__disk_adb6a89566bc442f1e79ffa9df6cda317}{00264}}         \mbox{\hyperlink{osm_8h_a1d523d4e890f2973798b98e94390b79f}{HPT\_UINT}}  \mbox{\hyperlink{structhpt__raw__disk_adb6a89566bc442f1e79ffa9df6cda317}{enable\_tcq}} : 1;}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00265}\mbox{\hyperlink{structhpt__raw__disk_a25130a8906cae6415309f5ddaf609a38}{00265}}         \mbox{\hyperlink{osm_8h_a1d523d4e890f2973798b98e94390b79f}{HPT\_UINT}}  \mbox{\hyperlink{structhpt__raw__disk_a25130a8906cae6415309f5ddaf609a38}{df\_ncq\_set}}: 1;}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00266}\mbox{\hyperlink{structhpt__raw__disk_a830c6cd988e80581604a843cdda2f3d7}{00266}}         \mbox{\hyperlink{osm_8h_a1d523d4e890f2973798b98e94390b79f}{HPT\_UINT}}  \mbox{\hyperlink{structhpt__raw__disk_a830c6cd988e80581604a843cdda2f3d7}{enable\_ncq}} : 1;}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00267}00267 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00268}\mbox{\hyperlink{structhpt__raw__disk_a452ca8c2b6eda7d0316c88a813a8472c}{00268}}         \mbox{\hyperlink{struct__HIM}{HIM}}  *                               \mbox{\hyperlink{structhpt__raw__disk_a452ca8c2b6eda7d0316c88a813a8472c}{him}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00269}\mbox{\hyperlink{structhpt__raw__disk_ab35061f4e69948f4440a400c6c81c8a7}{00269}}         \textcolor{keywordtype}{int}                             \mbox{\hyperlink{structhpt__raw__disk_ab35061f4e69948f4440a400c6c81c8a7}{index}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00270}\mbox{\hyperlink{structhpt__raw__disk_af17d0e169f2371b41180d29211d79a4e}{00270}}         \mbox{\hyperlink{struct__LDM__ADAPTER}{PLDM\_ADAPTER}}                \mbox{\hyperlink{structhpt__raw__disk_af17d0e169f2371b41180d29211d79a4e}{adapter}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00271}\mbox{\hyperlink{structhpt__raw__disk_a10f2a5e51732c92a4941e143938a21d7}{00271}}         \textcolor{keywordtype}{void} *                          \mbox{\hyperlink{structhpt__raw__disk_a10f2a5e51732c92a4941e143938a21d7}{phy\_dev}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00272}\mbox{\hyperlink{structhpt__raw__disk_a453b5afc7951e03cb1f6e6b123326300}{00272}}         \mbox{\hyperlink{struct__IDENTIFY__DATA2}{PIDENTIFY\_DATA2}}          \mbox{\hyperlink{structhpt__raw__disk_a453b5afc7951e03cb1f6e6b123326300}{identify\_data}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00273}\mbox{\hyperlink{structhpt__raw__disk_a6bde9d1d3d81af66c03de6ccdfc2e91a}{00273}}         \textcolor{keywordtype}{char}    \mbox{\hyperlink{structhpt__raw__disk_a6bde9d1d3d81af66c03de6ccdfc2e91a}{model}}[40];}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00274}00274 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00275}\mbox{\hyperlink{structhpt__raw__disk_a4f28f875868bb01c96bcab65d7909fe7}{00275}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structtq__item}{tq\_item}} \mbox{\hyperlink{structhpt__raw__disk_a4f28f875868bb01c96bcab65d7909fe7}{reset\_dpc}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00276}\mbox{\hyperlink{structhpt__raw__disk_a3bfdde16a5e42ebcad52ae22136aa7cc}{00276}}         \textcolor{keywordtype}{int} \mbox{\hyperlink{structhpt__raw__disk_a3bfdde16a5e42ebcad52ae22136aa7cc}{reset\_pending}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00277}00277 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00278}\mbox{\hyperlink{structhpt__raw__disk_a9a0ff73c682e617e948974a84e207526}{00278}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structtq__item}{tq\_item}} \mbox{\hyperlink{structhpt__raw__disk_a9a0ff73c682e617e948974a84e207526}{fail\_dpc}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00279}\mbox{\hyperlink{structhpt__raw__disk_af44fa4a8334de7a32d3499f723c14b3d}{00279}}         \textcolor{keywordtype}{int} \mbox{\hyperlink{structhpt__raw__disk_af44fa4a8334de7a32d3499f723c14b3d}{fail\_pending}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00280}00280 \}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00281}\mbox{\hyperlink{ldm_8h_aa3e4690a95a1e88b07b937b6b8eeab79}{00281}} \mbox{\hyperlink{ldm_8h_aa3e4690a95a1e88b07b937b6b8eeab79}{HPT\_RAW\_DISK}}, *\mbox{\hyperlink{ldm_8h_adf32e54ad3f1ef29388be741149f00da}{PHPT\_RAW\_DISK}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00282}00282 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00283}\mbox{\hyperlink{structvdev__class}{00283}} \textcolor{keyword}{struct }\mbox{\hyperlink{structvdev__class}{vdev\_class}}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00284}00284 \{}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00285}\mbox{\hyperlink{structvdev__class_a8a4cdf316e6a69d720c6cf9930d5686a}{00285}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structvdev__class}{vdev\_class}} *\mbox{\hyperlink{structvdev__class_a8a4cdf316e6a69d720c6cf9930d5686a}{next}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00286}00286 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00287}\mbox{\hyperlink{structvdev__class_a3ec836a9010e46d78703c0f249de0c37}{00287}}         \mbox{\hyperlink{osm_8h_ac94f81ebfd875718aead31ec5dc9ed41}{HPT\_U8}}   \mbox{\hyperlink{structvdev__class_a3ec836a9010e46d78703c0f249de0c37}{\_\_type}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00288}\mbox{\hyperlink{structvdev__class_a8f2d05d827902c5e9504377317810ae7}{00288}}         \mbox{\hyperlink{osm_8h_ac94f81ebfd875718aead31ec5dc9ed41}{HPT\_U8}}   \mbox{\hyperlink{structvdev__class_a8f2d05d827902c5e9504377317810ae7}{stripped}};        \textcolor{comment}{/* RAID0,3,5,6 */}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00289}\mbox{\hyperlink{structvdev__class_aab2618c9e6f7ea942439d1b6864b3cfe}{00289}}         \mbox{\hyperlink{osm_8h_ac94f81ebfd875718aead31ec5dc9ed41}{HPT\_U8}}   \mbox{\hyperlink{structvdev__class_aab2618c9e6f7ea942439d1b6864b3cfe}{redundancy}};      \textcolor{comment}{/* RAID1-\/1, RAID3/5-\/1, RAID6-\/2 */}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00290}\mbox{\hyperlink{structvdev__class_a997397b93a96697c28bbe41d7affce14}{00290}}         \mbox{\hyperlink{osm_8h_ac94f81ebfd875718aead31ec5dc9ed41}{HPT\_U8}}   \mbox{\hyperlink{structvdev__class_a997397b93a96697c28bbe41d7affce14}{must\_init}};       \textcolor{comment}{/* RAID3,5,6 */}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00291}\mbox{\hyperlink{structvdev__class_a8b4fda40d4ca7e242d42b26099e0d062}{00291}}         \mbox{\hyperlink{osm_8h_ac94f81ebfd875718aead31ec5dc9ed41}{HPT\_U8}}   \mbox{\hyperlink{structvdev__class_a8b4fda40d4ca7e242d42b26099e0d062}{docache}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00292}00292 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00293}\mbox{\hyperlink{structvdev__class_a5f34a30361973aebd89c1f234362dc89}{00293}}         \mbox{\hyperlink{osm_8h_a1d523d4e890f2973798b98e94390b79f}{HPT\_UINT}} \mbox{\hyperlink{structvdev__class_a5f34a30361973aebd89c1f234362dc89}{vbus\_ext\_size}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00294}\mbox{\hyperlink{structvdev__class_a7fdac696eee7400def0d75bb1fa18caa}{00294}}         \mbox{\hyperlink{osm_8h_a1d523d4e890f2973798b98e94390b79f}{HPT\_UINT}} \mbox{\hyperlink{structvdev__class_a7fdac696eee7400def0d75bb1fa18caa}{vbus\_ext\_offset}}; \textcolor{comment}{/* used by LDM */}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00295}\mbox{\hyperlink{structvdev__class_aa4e75865155a731e60fe8e64ef63955f}{00295}}         \mbox{\hyperlink{osm_8h_a1d523d4e890f2973798b98e94390b79f}{HPT\_UINT}} \mbox{\hyperlink{structvdev__class_aa4e75865155a731e60fe8e64ef63955f}{dev\_ext\_size}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00296}\mbox{\hyperlink{structvdev__class_aff9335280c904d8933bf9d0c1427c0de}{00296}}         \mbox{\hyperlink{osm_8h_a1d523d4e890f2973798b98e94390b79f}{HPT\_UINT}} \mbox{\hyperlink{structvdev__class_aff9335280c904d8933bf9d0c1427c0de}{cmd\_ext\_size}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00297}00297 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00298}00298         }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00299}\mbox{\hyperlink{structvdev__class_ac6e93714c279794c11bdef633afba39b}{00299}}         void (*\mbox{\hyperlink{structvdev__class_ac6e93714c279794c11bdef633afba39b}{get\_mem\_info}})(\mbox{\hyperlink{ldm_8h_aa246a2bc9de066f60fb6c1e59b559869}{PVBUS}} vbus, \textcolor{keywordtype}{void} *osext, \textcolor{keywordtype}{int} phydev\_count);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00300}\mbox{\hyperlink{structvdev__class_a15041a3dd39aa3c9044d0e0d890a5930}{00300}}         void (*\mbox{\hyperlink{structvdev__class_a15041a3dd39aa3c9044d0e0d890a5930}{queue\_cmd}})(\mbox{\hyperlink{struct__COMMAND}{PCOMMAND}} cmd);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00301}\mbox{\hyperlink{structvdev__class_a00c0dbc51e6d65cd064330449c0e63ac}{00301}}         void (*\mbox{\hyperlink{structvdev__class_a00c0dbc51e6d65cd064330449c0e63ac}{member\_failed}})(\textcolor{keyword}{struct }\mbox{\hyperlink{struct__VDEV}{\_VDEV}} * vd); }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00302}00302 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00303}00303         }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00304}\mbox{\hyperlink{structvdev__class_a357f5b6e01fccd2a71e285dfb8a97a88}{00304}}         void (*\mbox{\hyperlink{structvdev__class_a357f5b6e01fccd2a71e285dfb8a97a88}{initialize}})(\mbox{\hyperlink{ldm_8h_aa246a2bc9de066f60fb6c1e59b559869}{PVBUS}} \mbox{\hyperlink{struct__VDEV_a5b499c2e5af429c2de46e950973c9c9d}{vbus}});}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00305}\mbox{\hyperlink{structvdev__class_a878217d812f744cea79e72d4c051938d}{00305}}         void (*\mbox{\hyperlink{structvdev__class_a878217d812f744cea79e72d4c051938d}{release}})(\mbox{\hyperlink{ldm_8h_aa246a2bc9de066f60fb6c1e59b559869}{PVBUS}} \mbox{\hyperlink{struct__VDEV_a5b499c2e5af429c2de46e950973c9c9d}{vbus}}); }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00306}\mbox{\hyperlink{structvdev__class_aede49acb7ffd82fe78ad1d97b6e098f0}{00306}}         int  (*\mbox{\hyperlink{structvdev__class_aede49acb7ffd82fe78ad1d97b6e098f0}{add}})(\mbox{\hyperlink{struct__VDEV}{PVDEV}} vd); }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00307}\mbox{\hyperlink{structvdev__class_a4f2ea01dd7c1b91cfe0218c14223cbaf}{00307}}         void (*\mbox{\hyperlink{structvdev__class_a4f2ea01dd7c1b91cfe0218c14223cbaf}{remove}})(\mbox{\hyperlink{struct__VDEV}{PVDEV}} vd); }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00308}\mbox{\hyperlink{structvdev__class_af3e7f23ffc4c5013d0770ebb50dadedc}{00308}}         void (*\mbox{\hyperlink{structvdev__class_af3e7f23ffc4c5013d0770ebb50dadedc}{reset}})(\mbox{\hyperlink{struct__VDEV}{PVDEV}} vd); }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00309}\mbox{\hyperlink{structvdev__class_ae77d6503a4c899eb2058ed05679c2d29}{00309}}         void (*\mbox{\hyperlink{structvdev__class_ae77d6503a4c899eb2058ed05679c2d29}{sync\_stamp}})(\mbox{\hyperlink{struct__VDEV}{PVDEV}} vd);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00310}\mbox{\hyperlink{structvdev__class_afdc7c36cc46e26622947dc13bf70a02f}{00310}}         int  (*\mbox{\hyperlink{structvdev__class_afdc7c36cc46e26622947dc13bf70a02f}{support\_type}})(\textcolor{keywordtype}{int} \mbox{\hyperlink{struct__VDEV_a01d5c5cb9702268af2d37d3343765155}{type}});}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00311}00311 \};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00312}00312 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00313}00313 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00314}\mbox{\hyperlink{ldm_8h_a98be84a21184ac68fac5b615c006aa5a}{00314}} \textcolor{preprocessor}{\#define VDEV\_CLASS\_CONSTRUCTOR(type, prefix) \{ \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00315}00315 \textcolor{preprocessor}{        0, \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00316}00316 \textcolor{preprocessor}{        type, \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00317}00317 \textcolor{preprocessor}{        prefix \#\# \_stripped, \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00318}00318 \textcolor{preprocessor}{        prefix \#\# \_redundancy, \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00319}00319 \textcolor{preprocessor}{        prefix \#\# \_must\_init, \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00320}00320 \textcolor{preprocessor}{        0, \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00321}00321 \textcolor{preprocessor}{        prefix \#\# \_vbus\_ext\_size, \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00322}00322 \textcolor{preprocessor}{        0, \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00323}00323 \textcolor{preprocessor}{        prefix \#\# \_dev\_ext\_size, \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00324}00324 \textcolor{preprocessor}{        prefix \#\# \_cmd\_ext\_size, \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00325}00325 \textcolor{preprocessor}{        prefix \#\# \_get\_mem\_info, \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00326}00326 \textcolor{preprocessor}{        prefix \#\# \_queue\_cmd, \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00327}00327 \textcolor{preprocessor}{        prefix \#\# \_member\_failed, \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00328}00328 \textcolor{preprocessor}{        prefix \#\# \_initialize, \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00329}00329 \textcolor{preprocessor}{        prefix \#\# \_release, \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00330}00330 \textcolor{preprocessor}{        prefix \#\# \_add, \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00331}00331 \textcolor{preprocessor}{        prefix \#\# \_remove, \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00332}00332 \textcolor{preprocessor}{        prefix \#\# \_reset, \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00333}00333 \textcolor{preprocessor}{        prefix \#\# \_sync\_stamp, \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00334}00334 \textcolor{preprocessor}{        0 \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00335}00335 \textcolor{preprocessor}{\}}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00336}00336 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00337}\mbox{\hyperlink{ldm_8h_ac52aab14451e0ff5b24557c4f20097be}{00337}} \textcolor{preprocessor}{\#define VD\_RAW       1}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00338}\mbox{\hyperlink{ldm_8h_a53873356506d1f8ccb7a85088981f279}{00338}} \textcolor{preprocessor}{\#define VD\_PARTITION 4}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00339}00339 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00340}\mbox{\hyperlink{ldm_8h_a812fe9b84d8ace4061206e8b256cdfc3}{00340}} \textcolor{preprocessor}{\#define mIsArray(vdev\_type) ((vdev\_type)>VD\_PARTITION)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00341}00341 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00342}\mbox{\hyperlink{ldm_8h_a651cb0a373b5805ba562004cadde42ff}{00342}} \textcolor{preprocessor}{\#define VD\_RAID0     5}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00343}\mbox{\hyperlink{ldm_8h_abbad921509fbb2d6bed85ad33684f857}{00343}} \textcolor{preprocessor}{\#define VD\_RAID1     6}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00344}\mbox{\hyperlink{ldm_8h_a0c12453f71a1e03b758fec996dd374a8}{00344}} \textcolor{preprocessor}{\#define VD\_JBOD      7}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00345}\mbox{\hyperlink{ldm_8h_a473f2226a38a94f610f5e49c88bc74cb}{00345}} \textcolor{preprocessor}{\#define VD\_RAID5     8}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00346}\mbox{\hyperlink{ldm_8h_a9c060ccc43373ce5e7b75f2f5c7b2cb0}{00346}} \textcolor{preprocessor}{\#define VD\_RAID6     9}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00347}\mbox{\hyperlink{ldm_8h_ab2f3d8506d1fe3bf037846f57f1f351b}{00347}} \textcolor{preprocessor}{\#define VD\_RAID3     10}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00348}\mbox{\hyperlink{ldm_8h_a615fe187d2a15edb768b7a2f4092ab0c}{00348}} \textcolor{preprocessor}{\#define VD\_RAID4     11}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00349}\mbox{\hyperlink{ldm_8h_ac058117e1563b4e529daa796f877ce61}{00349}} \textcolor{preprocessor}{\#define VD\_RAID1E    12}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00350}00350 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00351}\mbox{\hyperlink{ldm_8h_aab817352a417a1a211d1b47197d1ac91}{00351}} \textcolor{preprocessor}{\#define MAX\_VD\_TYPE\_ID  12}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00352}00352 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00353}\mbox{\hyperlink{ldm_8h_abf60800297cb1205adddcacdfe69ec03}{00353}} \textcolor{keyword}{struct }\mbox{\hyperlink{structvdev__class}{vdev\_class}} *\mbox{\hyperlink{ldm_8h_abf60800297cb1205adddcacdfe69ec03}{ldm\_find\_vdev\_class}}(\mbox{\hyperlink{osm_8h_ac94f81ebfd875718aead31ec5dc9ed41}{HPT\_U8}} type);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00354}00354 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00355}\mbox{\hyperlink{struct__VDEV}{00355}} \textcolor{keyword}{typedef} \textcolor{keyword}{struct }\mbox{\hyperlink{struct__VDEV}{\_VDEV}} \{}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00356}\mbox{\hyperlink{struct__VDEV_a5b499c2e5af429c2de46e950973c9c9d}{00356}}         \mbox{\hyperlink{ldm_8h_aa246a2bc9de066f60fb6c1e59b559869}{PVBUS}} \mbox{\hyperlink{struct__VDEV_a5b499c2e5af429c2de46e950973c9c9d}{vbus}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00357}\mbox{\hyperlink{struct__VDEV_a3c535c84c0ee46fb55c5db730381fac1}{00357}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structvdev__class}{vdev\_class}} *\mbox{\hyperlink{struct__VDEV_a3c535c84c0ee46fb55c5db730381fac1}{Class}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00358}\mbox{\hyperlink{struct__VDEV_a01d5c5cb9702268af2d37d3343765155}{00358}}         \mbox{\hyperlink{osm_8h_ac94f81ebfd875718aead31ec5dc9ed41}{HPT\_U8}} \mbox{\hyperlink{struct__VDEV_a01d5c5cb9702268af2d37d3343765155}{type}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00359}\mbox{\hyperlink{struct__VDEV_a7bff7fa67e9987fdb9f0209e35d46e34}{00359}}         \mbox{\hyperlink{struct__VDEV}{PVDEV}} \mbox{\hyperlink{struct__VDEV_a7bff7fa67e9987fdb9f0209e35d46e34}{parent}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00360}\mbox{\hyperlink{struct__VDEV_a41a236feb0b4e94a812b7ec1c8ced063}{00360}}         \textcolor{keywordtype}{void} * \mbox{\hyperlink{struct__VDEV_a41a236feb0b4e94a812b7ec1c8ced063}{ext}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00361}\mbox{\hyperlink{struct__VDEV_a3d47d93f277449b49ace9f92b6f84fb9}{00361}}         \mbox{\hyperlink{osm_8h_a7d8bf24cd82dda3ad8a576ba45a53005}{HPT\_U64}} \mbox{\hyperlink{struct__VDEV_a3d47d93f277449b49ace9f92b6f84fb9}{capacity}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00362}\mbox{\hyperlink{struct__VDEV_a1947a6d7773f5bfcb7ec019227904983}{00362}}         \textcolor{keywordtype}{int}     \mbox{\hyperlink{struct__VDEV_a1947a6d7773f5bfcb7ec019227904983}{target\_id}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00363}\mbox{\hyperlink{struct__VDEV_acd7c4e99d520986650c94db27f195743}{00363}}         \mbox{\hyperlink{osm_8h_a1d523d4e890f2973798b98e94390b79f}{HPT\_UINT}} \mbox{\hyperlink{struct__VDEV_acd7c4e99d520986650c94db27f195743}{cmds\_per\_request}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00364}00364 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00365}00365         \textcolor{keyword}{union }\{}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00366}00366 \textcolor{preprocessor}{\#ifdef SUPPORT\_ARRAY}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00367}00367                 \mbox{\hyperlink{structhpt__array}{HPT\_ARRAY}} \mbox{\hyperlink{hptintf_8h_a66298822ed9c9e647e27e737f505474e}{array}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00368}00368                 \mbox{\hyperlink{structhpt__partiton}{HPT\_PARTITION}} partition;}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00369}00369 \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00370}\mbox{\hyperlink{struct__VDEV_a501c0d25d7a2893b69adb006858efeff}{00370}}                 \mbox{\hyperlink{structhpt__raw__disk}{HPT\_RAW\_DISK}} \mbox{\hyperlink{struct__VDEV_a501c0d25d7a2893b69adb006858efeff}{raw}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00371}\mbox{\hyperlink{struct__VDEV_af656e340cb91d488f75c758e60f42ef3}{00371}}         \} \mbox{\hyperlink{struct__VDEV_af656e340cb91d488f75c758e60f42ef3}{u}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00372}00372 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00373}\mbox{\hyperlink{struct__VDEV_ab8d9cd50ef955f769182e67f9d9383f1}{00373}}         \mbox{\hyperlink{osm_8h_ac94f81ebfd875718aead31ec5dc9ed41}{HPT\_U8}} \mbox{\hyperlink{struct__VDEV_ab8d9cd50ef955f769182e67f9d9383f1}{vf\_online}} : 1;}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00374}\mbox{\hyperlink{struct__VDEV_a21bf801b2310d37867cdbecc0a1ed018}{00374}}         \mbox{\hyperlink{osm_8h_ac94f81ebfd875718aead31ec5dc9ed41}{HPT\_U8}} \mbox{\hyperlink{struct__VDEV_a21bf801b2310d37867cdbecc0a1ed018}{vf\_bootmark}} : 1;}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00375}\mbox{\hyperlink{struct__VDEV_ae1a59c2e7574934334316e68646d50ac}{00375}}         \mbox{\hyperlink{osm_8h_ac94f81ebfd875718aead31ec5dc9ed41}{HPT\_U8}} \mbox{\hyperlink{struct__VDEV_ae1a59c2e7574934334316e68646d50ac}{vf\_bootable}} : 1;}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00376}\mbox{\hyperlink{struct__VDEV_afefbe8b0d88db8d3e234042633ef6e24}{00376}}         \mbox{\hyperlink{osm_8h_ac94f81ebfd875718aead31ec5dc9ed41}{HPT\_U8}} \mbox{\hyperlink{struct__VDEV_afefbe8b0d88db8d3e234042633ef6e24}{vf\_resetting}}: 1;}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00377}\mbox{\hyperlink{struct__VDEV_abfa05f3e4d6b3ec3b57391cd24a96be3}{00377}}         \mbox{\hyperlink{osm_8h_ac94f81ebfd875718aead31ec5dc9ed41}{HPT\_U8}} \mbox{\hyperlink{struct__VDEV_abfa05f3e4d6b3ec3b57391cd24a96be3}{vf\_quiesced}}: 1;}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00378}\mbox{\hyperlink{struct__VDEV_af4dc64cc072ec3579dc203c299793a71}{00378}}         \mbox{\hyperlink{osm_8h_ac94f81ebfd875718aead31ec5dc9ed41}{HPT\_U8}} \mbox{\hyperlink{struct__VDEV_af4dc64cc072ec3579dc203c299793a71}{vf\_clslock}}: 1;}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00379}00379 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00380}\mbox{\hyperlink{struct__VDEV_a49963354773574f11547a2ecd519212e}{00380}}         \mbox{\hyperlink{osm_8h_ac94f81ebfd875718aead31ec5dc9ed41}{HPT\_U8}} \mbox{\hyperlink{struct__VDEV_a49963354773574f11547a2ecd519212e}{cache\_policy}}; \textcolor{comment}{/* see CACHE\_POLICY\_* */}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00381}00381 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00382}\mbox{\hyperlink{struct__VDEV_ac5815f3b61b3a61380aeac00833a3675}{00382}}         \mbox{\hyperlink{osm_8h_a1d523d4e890f2973798b98e94390b79f}{HPT\_UINT}} \mbox{\hyperlink{struct__VDEV_ac5815f3b61b3a61380aeac00833a3675}{cq\_len}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00383}\mbox{\hyperlink{struct__VDEV_a2c4b91f570f99c62586bf3947ce2c06d}{00383}}         \mbox{\hyperlink{osm_8h_a1d523d4e890f2973798b98e94390b79f}{HPT\_UINT}} \mbox{\hyperlink{struct__VDEV_a2c4b91f570f99c62586bf3947ce2c06d}{cmds\_sent}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00384}00384 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00385}\mbox{\hyperlink{struct__VDEV_a5cac456d4a297200ff44330a4fa8543d}{00385}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structlist__head}{list\_head}} \mbox{\hyperlink{struct__VDEV_a5cac456d4a297200ff44330a4fa8543d}{link}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00386}\mbox{\hyperlink{struct__VDEV_a63ca77059e6de9ecaf51052fbe8255fd}{00386}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structlist__head}{list\_head}} \mbox{\hyperlink{struct__VDEV_a63ca77059e6de9ecaf51052fbe8255fd}{cq\_wait\_send}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00387}\mbox{\hyperlink{struct__VDEV_af76b49850467743110908702bfbb891e}{00387}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structlist__head}{list\_head}} \mbox{\hyperlink{struct__VDEV_af76b49850467743110908702bfbb891e}{cq\_sent}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00388}00388 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00389}\mbox{\hyperlink{struct__VDEV_a984f99910706cedd705ebf3bdd294108}{00389}}         \textcolor{keywordtype}{int} \mbox{\hyperlink{struct__VDEV_a984f99910706cedd705ebf3bdd294108}{cq\_priority}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00390}\mbox{\hyperlink{struct__VDEV_a4b75d3c075505d0fba458e47878cf481}{00390}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structlist__head}{list\_head}} \mbox{\hyperlink{struct__VDEV_a4b75d3c075505d0fba458e47878cf481}{cq\_wait\_lock}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00391}\mbox{\hyperlink{struct__VDEV_aa583e89cb66137177d7967d31b4bdf10}{00391}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structlock__request}{lock\_request}} *\mbox{\hyperlink{struct__VDEV_aa583e89cb66137177d7967d31b4bdf10}{locks\_granted}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00392}\mbox{\hyperlink{struct__VDEV_a5c384cb50c811e0ab96a377868794eae}{00392}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structlock__request}{lock\_request}} *\mbox{\hyperlink{struct__VDEV_a5c384cb50c811e0ab96a377868794eae}{locks\_wait}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00393}\mbox{\hyperlink{struct__VDEV_a06ad24e1b1e85cb0347baa5e318e6bae}{00393}}         \mbox{\hyperlink{osm_8h_a5e72927c20dca1165c12bef44e5b8d28}{HPT\_U32}} \mbox{\hyperlink{struct__VDEV_a06ad24e1b1e85cb0347baa5e318e6bae}{ioctl\_id}}; }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00394}\mbox{\hyperlink{struct__VDEV_a83c6a7dcd5700d59ef0af7c9b05f09ab}{00394}}         \textcolor{keywordtype}{void} * \mbox{\hyperlink{struct__VDEV_a83c6a7dcd5700d59ef0af7c9b05f09ab}{cc\_ext}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00395}00395 \}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00396}\mbox{\hyperlink{ldm_8h_a975a710dd41516c4d44f0d6d3965ef37}{00396}} \mbox{\hyperlink{ldm_8h_a975a710dd41516c4d44f0d6d3965ef37}{VDEV}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00397}00397 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00398}\mbox{\hyperlink{ldm_8h_abdab2a4e8281f344c06cdd8dedf3302f}{00398}} \textcolor{preprocessor}{\#define CACHE\_POLICY\_NONE 0}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00399}\mbox{\hyperlink{ldm_8h_afd1ac95af6d989e7d30c00033f349195}{00399}} \textcolor{preprocessor}{\#define CACHE\_POLICY\_WRITE\_THROUGH 1}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00400}\mbox{\hyperlink{ldm_8h_ac6d2f0c9958560184a5bcc88ca9850bf}{00400}} \textcolor{preprocessor}{\#define CACHE\_POLICY\_WRITE\_BACK 2}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00401}00401 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00402}00402 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00403}00403 \textcolor{keyword}{extern} \mbox{\hyperlink{struct__HIM}{HIM}} *\mbox{\hyperlink{ldm_8h_ad665f3d3c6a46c2545597f8936910d1e}{him\_list}};}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00404}00404 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00405}00405 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00406}\mbox{\hyperlink{ldm_8h_a1d3fa031ac0cbb26710e64314de30ad3}{00406}} \textcolor{keywordtype}{void} \mbox{\hyperlink{ldm_8h_a0a0370db0ae7a5f7fcc83968dac8c1db}{ldm\_register\_him}}(\mbox{\hyperlink{struct__HIM}{PHIM}} him);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00407}00407 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00408}00408 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00409}\mbox{\hyperlink{ldm_8h_aaac8672dcaf4e2c8f780abf20a29a68b}{00409}} \textcolor{keywordtype}{void} \mbox{\hyperlink{ldm_8h_ac773997074a156c3501c63f9006af622}{ldm\_register\_vdev\_class}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structvdev__class}{vdev\_class}} *Class);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00410}00410 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00411}00411 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00412}\mbox{\hyperlink{ldm_8h_abf9162c5e66b92d8c7bcc98ad5d23c39}{00412}} \mbox{\hyperlink{osm_8h_a4f70344c7ce1f981c91397e10c1965fc}{HPT\_BOOL}} \mbox{\hyperlink{ldm_8h_abf9162c5e66b92d8c7bcc98ad5d23c39}{ldm\_register\_adapter}}(\mbox{\hyperlink{struct__LDM__ADAPTER}{PLDM\_ADAPTER}} adapter);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00413}00413 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00414}00414 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00415}00415 \textcolor{keywordtype}{int} \mbox{\hyperlink{ldm_8h_a05aa3faba5764ee5eddd48585c4088e2}{init\_config}}(\textcolor{keywordtype}{void});}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00416}00416 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00417}\mbox{\hyperlink{ldm_8h_a20705b937c92c8de3306563295454c4f}{00417}} \mbox{\hyperlink{osm_8h_a1d523d4e890f2973798b98e94390b79f}{HPT\_UINT}} \mbox{\hyperlink{ldm_8h_a20705b937c92c8de3306563295454c4f}{ldm\_get\_vbus\_size}}(\textcolor{keywordtype}{void});}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00418}00418 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00419}00419 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00420}\mbox{\hyperlink{ldm_8h_a6fff5ad2fdeab13c021f67d15a96628f}{00420}} \textcolor{keywordtype}{void} \mbox{\hyperlink{ldm_8h_a6fff5ad2fdeab13c021f67d15a96628f}{ldm\_create\_vbus}}(\mbox{\hyperlink{ldm_8h_aa246a2bc9de066f60fb6c1e59b559869}{PVBUS}} vbus, \textcolor{keywordtype}{void} *osext);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00421}00421 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00422}00422 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00423}\mbox{\hyperlink{ldm_8h_a7d0d31fba07da4e218b47782c80b32dc}{00423}} \textcolor{keywordtype}{void} \mbox{\hyperlink{ldm_8h_a7d0d31fba07da4e218b47782c80b32dc}{ldm\_get\_mem\_info}}(\mbox{\hyperlink{ldm_8h_aa246a2bc9de066f60fb6c1e59b559869}{PVBUS}} vbus, \textcolor{keywordtype}{void} *osext);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00424}00424 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00425}00425 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00426}\mbox{\hyperlink{ldm_8h_a4feb0aebb59abfc35a9a752eac2efb99}{00426}} \textcolor{keywordtype}{void} *\mbox{\hyperlink{ldm_8h_a4feb0aebb59abfc35a9a752eac2efb99}{ldm\_get\_vbus\_ext}}(\mbox{\hyperlink{ldm_8h_aa246a2bc9de066f60fb6c1e59b559869}{PVBUS}} vbus, \textcolor{keyword}{struct} \mbox{\hyperlink{structvdev__class}{vdev\_class}} *Class);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00427}00427 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00428}00428 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00429}\mbox{\hyperlink{ldm_8h_a5031d14d6aee49b8c65751cd301887bc}{00429}} \mbox{\hyperlink{ldm_8h_aa246a2bc9de066f60fb6c1e59b559869}{PVBUS}} \mbox{\hyperlink{ldm_8h_a5031d14d6aee49b8c65751cd301887bc}{ldm\_get\_next\_vbus}}(\mbox{\hyperlink{ldm_8h_aa246a2bc9de066f60fb6c1e59b559869}{PVBUS}} vbus, \textcolor{keywordtype}{void} **posext);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00430}00430 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00431}\mbox{\hyperlink{ldm_8h_ac0233073598fd38d21ae08fb03aa970a}{00431}} \textcolor{preprocessor}{\#define ldm\_for\_each\_vbus(vbus, vbus\_ext) \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00432}00432 \textcolor{preprocessor}{        for (vbus = ldm\_get\_next\_vbus(0, (void **)(void *)\&vbus\_ext); vbus; \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00433}00433 \textcolor{preprocessor}{                vbus = ldm\_get\_next\_vbus(vbus, (void **)(void *)\&vbus\_ext))}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00434}00434 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00435}00435 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00436}\mbox{\hyperlink{ldm_8h_acb2c4ad073906dd1ff4f8552a0de4ad0}{00436}} \textcolor{keywordtype}{void} \mbox{\hyperlink{ldm_8h_acb2c4ad073906dd1ff4f8552a0de4ad0}{ldm\_initialize\_vbus\_async}}(\mbox{\hyperlink{ldm_8h_aa246a2bc9de066f60fb6c1e59b559869}{PVBUS}} vbus, \mbox{\hyperlink{struct__LDM__ADAPTER}{PLDM\_ADAPTER}} master\_adapter, \textcolor{keywordtype}{void} (*done)(\textcolor{keywordtype}{void} *osext));}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00437}00437 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00438}00438 \textcolor{comment}{/* ldm\_initialize\_vbus is deprecated since it will hold the CPU too long. */}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00439}\mbox{\hyperlink{ldm_8h_adeb5536b5744dccf724a687f10d6724b}{00439}} \textcolor{preprocessor}{\#define ldm\_initialize\_vbus(vbus, adapter) ldm\_initialize\_vbus\_async(vbus, adapter, 0)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00440}00440 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00441}00441 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00442}\mbox{\hyperlink{ldm_8h_aea8e9ae61c0b4c782382c157ba01c6e8}{00442}} \textcolor{keywordtype}{void} \mbox{\hyperlink{ldm_8h_aea8e9ae61c0b4c782382c157ba01c6e8}{ldm\_release\_vbus}}(\mbox{\hyperlink{ldm_8h_aa246a2bc9de066f60fb6c1e59b559869}{PVBUS}} vbus);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00443}00443 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00444}\mbox{\hyperlink{ldm_8h_afccba3b0afba17afad44cd1433318cd3}{00444}} \mbox{\hyperlink{struct__VDEV}{PVDEV}} \mbox{\hyperlink{ldm_8h_afccba3b0afba17afad44cd1433318cd3}{ldm\_create\_vdev}}(\mbox{\hyperlink{ldm_8h_aa246a2bc9de066f60fb6c1e59b559869}{PVBUS}} vbus, \mbox{\hyperlink{osm_8h_ac94f81ebfd875718aead31ec5dc9ed41}{HPT\_U8}} type);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00445}\mbox{\hyperlink{ldm_8h_aa63f52f70dd9cb50cbad3779a4c9f86a}{00445}} \textcolor{keywordtype}{void} \mbox{\hyperlink{ldm_8h_aa63f52f70dd9cb50cbad3779a4c9f86a}{ldm\_release\_vdev}}(\mbox{\hyperlink{struct__VDEV}{PVDEV}} vd);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00446}00446 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00447}\mbox{\hyperlink{ldm_8h_a760b5ea8d8f17ec32da76d7f96a199ab}{00447}} \mbox{\hyperlink{struct__VDEV}{PVDEV}} \mbox{\hyperlink{ldm_8h_a760b5ea8d8f17ec32da76d7f96a199ab}{ldm\_find\_target}}(\mbox{\hyperlink{ldm_8h_aa246a2bc9de066f60fb6c1e59b559869}{PVBUS}} vbus, \textcolor{keywordtype}{int} \textcolor{keywordtype}{id});}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00448}\mbox{\hyperlink{ldm_8h_a5822b164df917f887b01cdae4d796280}{00448}} \mbox{\hyperlink{struct__VDEV}{PVDEV}} \mbox{\hyperlink{ldm_8h_a5822b164df917f887b01cdae4d796280}{ldm\_find\_stamp}}(\mbox{\hyperlink{ldm_8h_aa246a2bc9de066f60fb6c1e59b559869}{PVBUS}} vbus, \mbox{\hyperlink{osm_8h_a5e72927c20dca1165c12bef44e5b8d28}{HPT\_U32}} stamp, \textcolor{keywordtype}{int} seq);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00449}00449 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00450}00450 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00451}\mbox{\hyperlink{ldm_8h_a5e5c3f02801e0105de939dc597663bba}{00451}} \mbox{\hyperlink{struct__COMMAND}{PCOMMAND}} \mbox{\hyperlink{ldm_8h_a50c24dd08a233f519969ba070a7cd41e}{ldm\_alloc\_cmds}}(\mbox{\hyperlink{ldm_8h_aa246a2bc9de066f60fb6c1e59b559869}{PVBUS}} vbus, \mbox{\hyperlink{osm_8h_a1d523d4e890f2973798b98e94390b79f}{HPT\_UINT}} cnt);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00452}\mbox{\hyperlink{ldm_8h_a467378407f14b389d1909ba1183e8cee}{00452}} \textcolor{keywordtype}{void} \mbox{\hyperlink{ldm_8h_a467378407f14b389d1909ba1183e8cee}{ldm\_free\_cmds}}(\mbox{\hyperlink{struct__COMMAND}{PCOMMAND}} cmd);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00453}00453 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00454}\mbox{\hyperlink{ldm_8h_aba39f80fe955081898771bbb674e0b3e}{00454}} \mbox{\hyperlink{osm_8h_a1d523d4e890f2973798b98e94390b79f}{HPT\_UINT}} \mbox{\hyperlink{ldm_8h_aba39f80fe955081898771bbb674e0b3e}{ldm\_get\_cmd\_size}}(\textcolor{keywordtype}{void});}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00455}\mbox{\hyperlink{ldm_8h_ac42a708bc01da22422cd68483f417dfa}{00455}} \mbox{\hyperlink{struct__COMMAND}{PCOMMAND}} \mbox{\hyperlink{ldm_8h_ac42a708bc01da22422cd68483f417dfa}{ldm\_alloc\_cmds\_from\_list}}(\mbox{\hyperlink{ldm_8h_aa246a2bc9de066f60fb6c1e59b559869}{PVBUS}} vbus, \textcolor{keyword}{struct} \mbox{\hyperlink{structfreelist}{freelist}} *list, \mbox{\hyperlink{osm_8h_a1d523d4e890f2973798b98e94390b79f}{HPT\_UINT}} cnt);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00456}\mbox{\hyperlink{ldm_8h_aca4d972da422d290e1123c3d26156009}{00456}} \textcolor{keywordtype}{void} \mbox{\hyperlink{ldm_8h_aca4d972da422d290e1123c3d26156009}{ldm\_free\_cmds\_to\_list}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structfreelist}{freelist}} *list, \mbox{\hyperlink{struct__COMMAND}{PCOMMAND}} cmd);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00457}00457 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00458}00458 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00459}\mbox{\hyperlink{ldm_8h_ae175ab016a743b43513ab6c53b1f8268}{00459}} \mbox{\hyperlink{struct__COMMAND}{PCOMMAND}} \mbox{\hyperlink{ldm_8h_ae175ab016a743b43513ab6c53b1f8268}{\_\_ldm\_alloc\_cmd}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structfreelist}{freelist}} *list);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00460}00460 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00461}00461 \textcolor{preprocessor}{\#ifdef OS\_SUPPORT\_TASK}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00462}00462 \textcolor{preprocessor}{\#define CMD\_SET\_PRIORITY(cmd, pri) cmd-\/>priority = (pri)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00463}00463 \textcolor{preprocessor}{\#else }}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00464}\mbox{\hyperlink{ldm_8h_a37ca46fec978e6025ed1d346e90142ae}{00464}} \textcolor{preprocessor}{\#define CMD\_SET\_PRIORITY(cmd, pri)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00465}00465 \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00466}00466 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00467}00467 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00468}\mbox{\hyperlink{ldm_8h_aef27b41b05cc6e45b4d65b14f74e7673}{00468}} \textcolor{preprocessor}{\#define CMD\_GROUP\_GET(grp, cmd) \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00469}00469 \textcolor{preprocessor}{        do \{\(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00470}00470 \textcolor{preprocessor}{                grp-\/>grplist-\/>count++;\(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00471}00471 \textcolor{preprocessor}{                cmd = \_\_ldm\_alloc\_cmd(grp-\/>grplist);\(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00472}00472 \textcolor{preprocessor}{                cmd-\/>vbus = grp-\/>vbus;\(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00473}00473 \textcolor{preprocessor}{                cmd-\/>grplist = grp-\/>grplist;\(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00474}00474 \textcolor{preprocessor}{                CMD\_SET\_PRIORITY(cmd, grp-\/>priority);\(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00475}00475 \textcolor{preprocessor}{        \} while(0)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00476}00476 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00477}\mbox{\hyperlink{ldm_8h_a5aa79a2b5a2b02b28a0c946d332a81e2}{00477}} \textcolor{preprocessor}{\#define CMD\_GROUP\_PUT(grp, cmd) \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00478}00478 \textcolor{preprocessor}{        do \{\(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00479}00479 \textcolor{preprocessor}{                freelist\_put(grp-\/>grplist, cmd);\(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00480}00480 \textcolor{preprocessor}{                grp-\/>grplist-\/>count-\/-\/;\(\backslash\)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00481}00481 \textcolor{preprocessor}{        \} while (0)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00482}00482 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00483}00483 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00484}00484 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00485}00485 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00486}\mbox{\hyperlink{ldm_8h_aa9e92cc90b428e7219657fec923c080a}{00486}} \textcolor{keywordtype}{void} \mbox{\hyperlink{ldm_8h_aa9e92cc90b428e7219657fec923c080a}{ldm\_queue\_cmd}}(\mbox{\hyperlink{struct__COMMAND}{PCOMMAND}} cmd);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00487}\mbox{\hyperlink{ldm_8h_a5faf99b2f12e251f56c16245d12d3264}{00487}} \textcolor{keywordtype}{void} \mbox{\hyperlink{ldm_8h_a5faf99b2f12e251f56c16245d12d3264}{vdev\_queue\_cmd}}(\mbox{\hyperlink{struct__COMMAND}{PCOMMAND}} cmd);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00488}\mbox{\hyperlink{ldm_8h_adb609a7371faadf9b942b981a35fab13}{00488}} \textcolor{keywordtype}{void} \mbox{\hyperlink{ldm_8h_adb609a7371faadf9b942b981a35fab13}{ldm\_finish\_cmd}}(\mbox{\hyperlink{struct__COMMAND}{PCOMMAND}} cmd);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00489}00489 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00490}00490 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00491}\mbox{\hyperlink{ldm_8h_a8567480bd6a6b921e49cc5935ccc4387}{00491}} \textcolor{keywordtype}{int}  \mbox{\hyperlink{ldm_8h_a8567480bd6a6b921e49cc5935ccc4387}{ldm\_acquire\_lock}}(\mbox{\hyperlink{struct__VDEV}{PVDEV}} vd, \textcolor{keyword}{struct} \mbox{\hyperlink{structlock__request}{lock\_request}} *req);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00492}\mbox{\hyperlink{ldm_8h_aa4dfe8da907177147903bc4ce6f30d82}{00492}} \textcolor{keywordtype}{void} \mbox{\hyperlink{ldm_8h_aa4dfe8da907177147903bc4ce6f30d82}{ldm\_release\_lock}}(\mbox{\hyperlink{struct__VDEV}{PVDEV}} vd, \textcolor{keyword}{struct} \mbox{\hyperlink{structlock__request}{lock\_request}} *req);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00493}00493 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00494}\mbox{\hyperlink{ldm_8h_a1cbf16a2307324bfe98a782b8ebac0e0}{00494}} \textcolor{keywordtype}{void} \mbox{\hyperlink{ldm_8h_a1cbf16a2307324bfe98a782b8ebac0e0}{ldm\_queue\_task}}(\textcolor{keyword}{struct} \mbox{\hyperlink{structtask__queue}{task\_queue}} *tq, \textcolor{keyword}{struct} \mbox{\hyperlink{structtq__item}{tq\_item}} *t);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00495}\mbox{\hyperlink{ldm_8h_afc26ff2cf6ba6d6d1abc1facbcf0b446}{00495}} \textcolor{keywordtype}{void} \mbox{\hyperlink{ldm_8h_afc26ff2cf6ba6d6d1abc1facbcf0b446}{ldm\_queue\_vbus\_dpc}}(\mbox{\hyperlink{ldm_8h_aa246a2bc9de066f60fb6c1e59b559869}{PVBUS}} vbus, \textcolor{keyword}{struct} \mbox{\hyperlink{structtq__item}{tq\_item}} *t);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00496}00496 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00497}\mbox{\hyperlink{ldm_8h_a3c8927488f3797f750edf4c423508ccf}{00497}} \mbox{\hyperlink{osm_8h_a4f70344c7ce1f981c91397e10c1965fc}{HPT\_BOOL}} \mbox{\hyperlink{ldm_8h_a3c8927488f3797f750edf4c423508ccf}{ldm\_intr}}(\mbox{\hyperlink{ldm_8h_aa246a2bc9de066f60fb6c1e59b559869}{PVBUS}} vbus);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00498}\mbox{\hyperlink{ldm_8h_a1cd9fb5ab88980611df104742efe8b21}{00498}} \textcolor{keywordtype}{void} \mbox{\hyperlink{ldm_8h_a1cd9fb5ab88980611df104742efe8b21}{ldm\_run}}(\mbox{\hyperlink{ldm_8h_aa246a2bc9de066f60fb6c1e59b559869}{PVBUS}} vbus);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00499}\mbox{\hyperlink{ldm_8h_a4fc234088f9fff78db60aab670f8adc6}{00499}} \textcolor{keywordtype}{int} \mbox{\hyperlink{ldm_8h_a4fc234088f9fff78db60aab670f8adc6}{ldm\_idle}}(\mbox{\hyperlink{ldm_8h_aa246a2bc9de066f60fb6c1e59b559869}{PVBUS}} vbus);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00500}00500 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00501}00501 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00502}\mbox{\hyperlink{ldm_8h_a4383122d29066d39f5653e18696e5da2}{00502}} \textcolor{keywordtype}{int} \mbox{\hyperlink{ldm_8h_a4383122d29066d39f5653e18696e5da2}{ldm\_reset\_vbus}}(\mbox{\hyperlink{ldm_8h_aa246a2bc9de066f60fb6c1e59b559869}{PVBUS}} vbus);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00503}00503 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00504}00504 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00505}\mbox{\hyperlink{ldm_8h_acdad5731a05dc29b31e252504e326cb2}{00505}} \textcolor{keywordtype}{void} \mbox{\hyperlink{ldm_8h_acdad5731a05dc29b31e252504e326cb2}{ldm\_suspend}}(\mbox{\hyperlink{ldm_8h_aa246a2bc9de066f60fb6c1e59b559869}{PVBUS}} vbus);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00506}\mbox{\hyperlink{ldm_8h_a37b21f8ec3c9515312c3607533a35056}{00506}} \textcolor{keywordtype}{void} \mbox{\hyperlink{ldm_8h_a37b21f8ec3c9515312c3607533a35056}{ldm\_resume}}(\mbox{\hyperlink{ldm_8h_aa246a2bc9de066f60fb6c1e59b559869}{PVBUS}} vbus);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00507}\mbox{\hyperlink{ldm_8h_a260584d469bdecda2f4a10fdc61002c9}{00507}} \textcolor{keywordtype}{void} \mbox{\hyperlink{ldm_8h_a260584d469bdecda2f4a10fdc61002c9}{ldm\_shutdown}}(\mbox{\hyperlink{ldm_8h_aa246a2bc9de066f60fb6c1e59b559869}{PVBUS}} vbus);\textcolor{comment}{/*shutdown all the controllers*/}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00508}00508 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00509}00509 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00510}\mbox{\hyperlink{ldm_8h_a2efe07d5354958b63a9d1c0ff977530d}{00510}} \textcolor{preprocessor}{\#define HIM\_EVENT\_DEVICE\_REMOVED 1}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00511}\mbox{\hyperlink{ldm_8h_a5c6e45537db6815b8f42a4387fae50ed}{00511}} \textcolor{preprocessor}{\#define HIM\_EVENT\_DEVICE\_PLUGGED 2}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00512}\mbox{\hyperlink{ldm_8h_a1eb9d40500587316cf532ec23377172d}{00512}} \textcolor{preprocessor}{\#define HIM\_EVENT\_DEVICE\_ERROR   3}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00513}\mbox{\hyperlink{ldm_8h_aad626800d42a6c14f3a19e82cf13b710}{00513}} \textcolor{preprocessor}{\#define HIM\_EVENT\_RESET\_REQUIRED 4}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00514}\mbox{\hyperlink{ldm_8h_a71973bdb3beb6cc709e1ecf0521022ec}{00514}} \textcolor{preprocessor}{\#define HIM\_EVENT\_QUIESCE\_DEVICE 5}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00515}\mbox{\hyperlink{ldm_8h_a6ea3c109a8fc55f8ef63b250fd1af38d}{00515}} \textcolor{preprocessor}{\#define HIM\_EVENT\_UNQUIESCE\_DEVICE 6}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00516}\mbox{\hyperlink{ldm_8h_adab63e2d80047a44f6d60887fad12f75}{00516}} \textcolor{preprocessor}{\#define HIM\_EVENT\_CONFIG\_CHANGED 7}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00517}00517 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00518}\mbox{\hyperlink{ldm_8h_a4448f40afb056208f21afe8a3b0ed04c}{00518}} \textcolor{keywordtype}{void} \mbox{\hyperlink{ldm_8h_a4448f40afb056208f21afe8a3b0ed04c}{ldm\_event\_notify}}(\mbox{\hyperlink{osm_8h_a5e72927c20dca1165c12bef44e5b8d28}{HPT\_U32}} event, \textcolor{keywordtype}{void} *arg1, \textcolor{keywordtype}{void} *arg2);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00519}00519 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00520}\mbox{\hyperlink{ldm_8h_a3ba868316f2a566f71b6fb72a83bd267}{00520}} \textcolor{keywordtype}{void} \mbox{\hyperlink{ldm_8h_a3ba868316f2a566f71b6fb72a83bd267}{log\_sector\_repair}}(\mbox{\hyperlink{struct__VDEV}{PVDEV}} vd, \textcolor{keywordtype}{int} success, \mbox{\hyperlink{osm_8h_a764eaccca3e17efe8424d95846457ed5}{HPT\_LBA}} lba, \mbox{\hyperlink{osm_8h_acc1ecfcf4d9291ea02bca6d51fc9277a}{HPT\_U16}} nsectors);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00521}00521 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00522}\mbox{\hyperlink{ldm_8h_a867b3f3cc559d60328936fec75255168}{00522}} \textcolor{keywordtype}{void} \mbox{\hyperlink{ldm_8h_a867b3f3cc559d60328936fec75255168}{ldm\_register\_device}}(\mbox{\hyperlink{struct__VDEV}{PVDEV}} vd);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00523}\mbox{\hyperlink{ldm_8h_a4dc987f37fbd50bb246d3e0196b91570}{00523}} \textcolor{keywordtype}{void} \mbox{\hyperlink{ldm_8h_a4dc987f37fbd50bb246d3e0196b91570}{ldm\_unregister\_device}}(\mbox{\hyperlink{struct__VDEV}{PVDEV}} vd);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00524}00524 }
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00525}\mbox{\hyperlink{ldm_8h_ad05b0bc31e16daf509d7737449df9adb}{00525}} \mbox{\hyperlink{ldm_8h_aa246a2bc9de066f60fb6c1e59b559869}{PVBUS}} \mbox{\hyperlink{ldm_8h_ad05b0bc31e16daf509d7737449df9adb}{him\_handle\_to\_vbus}}(\textcolor{keywordtype}{void} * him\_handle);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00526}\mbox{\hyperlink{ldm_8h_a7e82ab935756c061652091932d88573e}{00526}} \textcolor{keywordtype}{void} \mbox{\hyperlink{ldm_8h_a7e82ab935756c061652091932d88573e}{ldm\_ide\_fixstring}} (\mbox{\hyperlink{osm_8h_ac94f81ebfd875718aead31ec5dc9ed41}{HPT\_U8}} *s, \textcolor{keyword}{const} \textcolor{keywordtype}{int} bytecount);}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00527}00527 \textcolor{preprocessor}{\#if defined(\_\_cplusplus)}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00528}00528 \}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00529}00529 \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{\Hypertarget{ldm_8h_source_l00530}00530 \textcolor{preprocessor}{\#endif}}

\end{DoxyCode}
