Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
spinlock_test.c File Reference
#include <linux/init.h>
#include <linux/kthread.h>
#include <linux/hrtimer.h>
#include <linux/fs.h>
#include <linux/debugfs.h>
#include <linux/export.h>
#include <linux/spinlock.h>

Go to the source code of this file.

Data Structures

struct  spin_multi_state
 
struct  spin_multi_per_thread
 

Functions

 DEFINE_SIMPLE_ATTRIBUTE (fops_ss, ss_get, NULL,"%llu\n")
 
 DEFINE_SIMPLE_ATTRIBUTE (fops_multi, multi_get, NULL,"%llu\n")
 
 device_initcall (spinlock_test)
 

Variables

struct dentrymips_debugfs_dir
 

Function Documentation

DEFINE_SIMPLE_ATTRIBUTE ( fops_ss  ,
ss_get  ,
NULL  ,
"%llu\n"   
)
DEFINE_SIMPLE_ATTRIBUTE ( fops_multi  ,
multi_get  ,
NULL  ,
"%llu\n"   
)
device_initcall ( spinlock_test  )

Variable Documentation

struct dentry* mips_debugfs_dir