rwsema_locked_list Struct Reference


Data Fields

list_head list
rw_semaphore lock

Detailed Description

List with a lock operator. The list is protected by a read/write semaphore.

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.


Field Documentation

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().


The documentation for this struct was generated from the following file:
Generated on Fri Mar 9 14:48:58 2007 for MOST Linux Drivers (Linux and RTAI) by  doxygen 1.5.0