|
Linux Kernel
3.7.1
|
#include <posix-clock.h>
Data Fields | |
| struct posix_clock_operations | ops |
| struct cdev | cdev |
| struct kref | kref |
| struct rw_semaphore | rwsem |
| bool | zombie |
| void(* | release )(struct posix_clock *clk) |
struct posix_clock - represents a dynamic posix clock
: Functional interface to the clock : Character device instance for this clock : Reference count. : Protects the 'zombie' field from concurrent access. : If 'zombie' is true, then the hardware has disappeared. : A function to free the structure when the reference count reaches zero. May be NULL if structure is statically allocated.
Drivers should embed their struct posix_clock within a private structure, obtaining a reference to it during callbacks using container_of().
Definition at line 117 of file posix-clock.h.
Definition at line 119 of file posix-clock.h.
Definition at line 120 of file posix-clock.h.
Definition at line 118 of file posix-clock.h.
| void(* release)(struct posix_clock *clk) |
Definition at line 123 of file posix-clock.h.
| struct rw_semaphore rwsem |
Definition at line 121 of file posix-clock.h.
| bool zombie |
Definition at line 122 of file posix-clock.h.
1.8.2