Data Fields | |
list_head | list |
rw_semaphore | lock |
Before you read any data from the list, call down_read(). After reading the data, call up_read(). For write, call down_write() or up_write() respectively. If you use the list in an interrupt service routine, call the _irqsave() variants.
Definition at line 139 of file most-common.h.
struct list_head rwsema_locked_list::list |
the list header
Definition at line 141 of file most-common.h.
Referenced by most_base_seq_show(), most_deregister_high_driver(), most_register_high_driver(), most_register_low_driver(), probe(), and remove().
struct rw_semaphore rwsema_locked_list::lock |
the rwlock to protect the list
Definition at line 142 of file most-common.h.
Referenced by most_base_seq_show(), most_deregister_high_driver(), most_deregister_low_driver(), most_register_high_driver(), most_register_low_driver(), probe(), and remove().