Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
posix_clock Struct Reference

#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)
 

Detailed Description

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.

Field Documentation

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.

Definition at line 121 of file posix-clock.h.

bool zombie

Definition at line 122 of file posix-clock.h.


The documentation for this struct was generated from the following file: