Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
error.c File Reference
#include <linux/module.h>
#include <linux/list.h>
#include <linux/jhash.h>
#include <linux/errno.h>
#include <net/9p/9p.h>

Go to the source code of this file.

Data Structures

struct  errormap
 

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 

: length of string : hash-table list for string lookup

#define ERRHASHSZ   32
 
int p9_error_init (void)
 
 EXPORT_SYMBOL (p9_error_init)
 
int p9_errstr2errno (char *errstr, int len)
 
 EXPORT_SYMBOL (p9_errstr2errno)
 

Macro Definition Documentation

#define ERRHASHSZ   32

Definition at line 53 of file error.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 30 of file error.c.

Function Documentation

EXPORT_SYMBOL ( p9_error_init  )
EXPORT_SYMBOL ( p9_errstr2errno  )
int p9_error_init ( void  )

p9_error_init - preload mappings into hash list

Definition at line 193 of file error.c.

int p9_errstr2errno ( char errstr,
int  len 
)

errstr2errno - convert error string to error number : error string : length of error string

Definition at line 221 of file error.c.