qcacmn: Add API to iterate list from a given node
Add QDF API to iterate linked list starting from a specific node. Change-Id: I1bf7137213eefa434c983a8d10aa8e1398fa586e CRs-Fixed: 3029986
This commit is contained in:

committed by
Madan Koyyalamudi

父節點
ce3c421e62
當前提交
76ba042a40
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014-2018 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2014-2021 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -104,6 +104,9 @@ static inline void qdf_list_create(__qdf_list_t *list, uint32_t max_size)
|
||||
#define qdf_list_for_each_del(list_ptr, cursor, next, node_field) \
|
||||
__qdf_list_for_each_del(list_ptr, cursor, next, node_field)
|
||||
|
||||
#define qdf_list_for_each_from(list_ptr, cursor, node_field) \
|
||||
__qdf_list_for_each_from(list_ptr, cursor, node_field)
|
||||
|
||||
/**
|
||||
* qdf_init_list_head() - initialize list head
|
||||
* @list_head: pointer to list head
|
||||
|
Reference in New Issue
Block a user