Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
usb_mon.h File Reference
#include <linux/list.h>
#include <linux/slab.h>
#include <linux/kref.h>

Go to the source code of this file.

Data Structures

struct  mon_bus
 
struct  mon_reader
 

Macros

#define TAG   "usbmon"
 

Functions

void mon_reader_add (struct mon_bus *mbus, struct mon_reader *r)
 
void mon_reader_del (struct mon_bus *mbus, struct mon_reader *r)
 
struct mon_busmon_bus_lookup (unsigned int num)
 
int mon_text_add (struct mon_bus *mbus, const struct usb_bus *ubus)
 
void mon_text_del (struct mon_bus *mbus)
 
int mon_bin_add (struct mon_bus *mbus, const struct usb_bus *ubus)
 
void mon_bin_del (struct mon_bus *mbus)
 
int __init mon_text_init (void)
 
void mon_text_exit (void)
 
int __init mon_bin_init (void)
 
void mon_bin_exit (void)
 

Variables

struct mutex mon_lock
 
struct file_operations mon_fops_stat
 
struct mon_bus mon_bus0
 

Macro Definition Documentation

#define TAG   "usbmon"

Definition at line 15 of file usb_mon.h.

Function Documentation

int mon_bin_add ( struct mon_bus mbus,
const struct usb_bus *  ubus 
)

Definition at line 1330 of file mon_bin.c.

void mon_bin_del ( struct mon_bus mbus)

Definition at line 1348 of file mon_bin.c.

void mon_bin_exit ( void  )

Definition at line 1384 of file mon_bin.c.

int __init mon_bin_init ( void  )

Definition at line 1353 of file mon_bin.c.

struct mon_bus* mon_bus_lookup ( unsigned int  num)
read

Definition at line 328 of file mon_main.c.

void mon_reader_add ( struct mon_bus mbus,
struct mon_reader r 
)

Definition at line 35 of file mon_main.c.

void mon_reader_del ( struct mon_bus mbus,
struct mon_reader r 
)

Definition at line 64 of file mon_main.c.

int mon_text_add ( struct mon_bus mbus,
const struct usb_bus *  ubus 
)

Definition at line 666 of file mon_text.c.

void mon_text_del ( struct mon_bus mbus)

Definition at line 721 of file mon_text.c.

void mon_text_exit ( void  )

Definition at line 758 of file mon_text.c.

int __init mon_text_init ( void  )

Definition at line 741 of file mon_text.c.

Variable Documentation

struct mon_bus mon_bus0

Definition at line 27 of file mon_main.c.

struct file_operations mon_fops_stat

Definition at line 60 of file mon_stat.c.

struct mutex mon_lock