2
0
mirror of https://github.com/openvswitch/ovs synced 2025-10-25 15:07:05 +00:00

list: Rename struct list to struct ovs_list

struct list is a common name and can't be used in public headers.

Signed-off-by: Thomas Graf <tgraf@noironetworks.com>
Acked-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
Thomas Graf
2014-12-15 14:10:38 +01:00
parent 8c7be52d10
commit ca6ba70092
70 changed files with 333 additions and 331 deletions

View File

@@ -26,7 +26,8 @@
* To be RCU-friendly, the struct rculist instances must be freed via
* ovsrcu_postpone().
*
* The API is almost the same as for struct list, with the following exeptions:
* The API is almost the same as for struct ovs_list, with the following
* exeptions:
*
* - The 'prev' pointer may not be accessed by the user.
* - The 'next' pointer should be accessed via rculist_next() by readers, and
@@ -42,7 +43,7 @@
* write operation to the list element, hopefully crashing the program if
* the list node was freed or re-used too early.
*
* The following functions are variations of the struct list functions with
* The following functions are variations of the struct ovs_list functions with
* similar names, but are now restricted to the writer use:
*
* - rculist_back_protected()
@@ -57,7 +58,7 @@
/* A non-existing mutex to make it more difficult for an user to accidentally
* keep using the 'prev' pointer. This may be helpful when porting code from
* struct list to rculist. */
* struct ovs_list to rculist. */
extern struct ovs_mutex rculist_fake_mutex;
/* Doubly linked list head or element. */