当前位置:网站首页>Traverse entrylist method correctly
Traverse entrylist method correctly
2022-07-02 12:46:00 【As the deer 】
InitializeListHead(&fdoData->pnpNotificatioEntryList);
PLIST_ENTRY nextEntry = NULL;
if (!IsListEmpty(&fdoData->pnpNotificatioEntryList))
{
for (PLIST_ENTRY List = fdoData->pnpNotificatioEntryList.Flink; List != &fdoData->pnpNotificatioEntryList; List = nextEntry)
{
nextEntry = List->Flink;
PPNP_NOTIFICATIO_ENTRY pnpntfy = CONTAINING_RECORD(List, PNP_NOTIFICATIO_ENTRY, ListEntry);
if (pnpntfy->Fetched == TRUE)
{
KeAcquireSpinLock(&fdoData->pnpSpinLockHandle, &oldIrql);
RemoveEntryList(&pnpntfy->ListEntry);
KeReleaseSpinLock(&fdoData->pnpSpinLockHandle, oldIrql);
FREENP(pnpntfy);
}
}
}
边栏推荐
- Sweetheart leader: Wang Xinling
- JDBC prevent SQL injection problems and solutions [preparedstatement]
- Do you know all the interface test interview questions?
- Redis bloom filter
- 8A 同步降压稳压器 TPS568230RJER_规格信息
- 计数类DP AcWing 900. 整数划分
- Leetcode - < dynamic planning special> Jianzhi offer 19, 49, 60
- 包管理工具
- Linear DP acwing 895 Longest ascending subsequence
- Floyd AcWing 854. Floyd finds the shortest path
猜你喜欢
JDBC 预防sql注入问题与解决方法[PreparedStatement]
js5day(事件监听,函数赋值给变量,回调函数,环境对象this,全选反选案例,tab栏案例)
Linear DP acwing 902 Shortest editing distance
Floyd AcWing 854. Floyd finds the shortest path
Js8day (rolling event (scroll family), offset family, client family, carousel map case (to be done))
防抖 节流
Interesting interview questions
Js6day (search, add and delete DOM nodes. Instantiation time, timestamp, timestamp cases, redrawing and reflow)
JS7day(事件对象,事件流,事件捕获和冒泡,阻止事件流动,事件委托,学生信息表案例)
async/await 异步函数
随机推荐
模块化 CommonJS ES Module
Interesting interview questions
接口测试面试题目,你都会了吗?
JS7day(事件对象,事件流,事件捕获和冒泡,阻止事件流动,事件委托,学生信息表案例)
AI mid stage technology research
Floyd AcWing 854. Floyd finds the shortest path
Hash table acwing 840 Simulated hash table
Oracle从入门到精通(第4版)
JDBC prevent SQL injection problems and solutions [preparedstatement]
Leetcode - Sword finger offer 51 Reverse pairs in an array
深拷貝 事件總線
包管理工具
async/await 异步函数
BOM DOM
Deep copy event bus
Fluent fluent library encapsulation
Visual studio efficient and practical extension tools and plug-ins
Mui WebView down refresh pull-up load implementation
Less than three months after the programmer was hired, the boss wanted to launch the app within one month. If he was dissatisfied, he was dismissed immediately
JS6day(DOM结点的查找、增加、删除。实例化时间,时间戳,时间戳的案例,重绘和回流)