Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
rtmutex-tester.c File Reference
#include <linux/device.h>
#include <linux/kthread.h>
#include <linux/export.h>
#include <linux/sched.h>
#include <linux/spinlock.h>
#include <linux/timer.h>
#include <linux/freezer.h>
#include "rtmutex.h"

Go to the source code of this file.

Data Structures

struct  test_thread_data
 

Macros

#define MAX_RT_TEST_THREADS   8
 
#define MAX_RT_TEST_MUTEXES   8
 

Enumerations

enum  test_opcodes {
  RTTEST_NOP = 0, RTTEST_SCHEDOT, RTTEST_SCHEDRT, RTTEST_LOCK,
  RTTEST_LOCKNOWAIT, RTTEST_LOCKINT, RTTEST_LOCKINTNOWAIT, RTTEST_LOCKCONT,
  RTTEST_UNLOCK, RTTEST_SIGNAL = 11, RTTEST_RESETEVENT = 98, RTTEST_RESET = 99
}
 

Functions

void schedule_rt_mutex_test (struct rt_mutex *mutex)
 
 device_initcall (init_rttest)
 

Macro Definition Documentation

#define MAX_RT_TEST_MUTEXES   8

Definition at line 20 of file rtmutex-tester.c.

#define MAX_RT_TEST_THREADS   8

Definition at line 19 of file rtmutex-tester.c.

Enumeration Type Documentation

Enumerator:
RTTEST_NOP 
RTTEST_SCHEDOT 
RTTEST_SCHEDRT 
RTTEST_LOCK 
RTTEST_LOCKNOWAIT 
RTTEST_LOCKINT 
RTTEST_LOCKINTNOWAIT 
RTTEST_LOCKCONT 
RTTEST_UNLOCK 
RTTEST_SIGNAL 
RTTEST_RESETEVENT 
RTTEST_RESET 

Definition at line 37 of file rtmutex-tester.c.

Function Documentation

device_initcall ( init_rttest  )
void schedule_rt_mutex_test ( struct rt_mutex mutex)

Definition at line 137 of file rtmutex-tester.c.