Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
dso-test-data.c File Reference
#include "util.h"
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <string.h>
#include "symbol.h"

Go to the source code of this file.

Data Structures

struct  test_data_offset
 

Macros

#define TEST_ASSERT_VAL(text, cond)
 
#define TEST_FILE_SIZE   (DSO__DATA_CACHE_SIZE * 20)
 

Functions

int dso__test_data (void)
 

Variables

struct test_data_offset offsets []
 

Macro Definition Documentation

#define TEST_ASSERT_VAL (   text,
  cond 
)
Value:
do { \
if (!(cond)) { \
pr_debug("FAILED %s:%d %s\n", __FILE__, __LINE__, text); \
return -1; \
} \
} while (0)

Definition at line 11 of file dso-test-data.c.

#define TEST_FILE_SIZE   (DSO__DATA_CACHE_SIZE * 20)

Definition at line 44 of file dso-test-data.c.

Function Documentation

int dso__test_data ( void  )

Definition at line 97 of file dso-test-data.c.

Variable Documentation

Definition at line 52 of file dso-test-data.c.