Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
harddog_kern.c File Reference
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/fs.h>
#include <linux/mm.h>
#include <linux/miscdevice.h>
#include <linux/watchdog.h>
#include <linux/reboot.h>
#include <linux/mutex.h>
#include <linux/init.h>
#include <linux/spinlock.h>
#include <asm/uaccess.h>
#include "mconsole.h"

Go to the source code of this file.

Functions

 MODULE_LICENSE ("GPL")
 
int start_watchdog (int *in_fd_ret, int *out_fd_ret, char *sock)
 
void stop_watchdog (int in_fd, int out_fd)
 
int ping_watchdog (int fd)
 
 module_init (harddog_init)
 
 module_exit (harddog_exit)
 

Function Documentation

module_exit ( harddog_exit  )
module_init ( harddog_init  )
MODULE_LICENSE ( "GPL"  )
int ping_watchdog ( int  fd)

Definition at line 112 of file harddog_user.c.

int start_watchdog ( int in_fd_ret,
int out_fd_ret,
char sock 
)

Definition at line 30 of file harddog_user.c.

void stop_watchdog ( int  in_fd,
int  out_fd 
)

Definition at line 106 of file harddog_user.c.