Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
ts_fsm.c File Reference
#include <linux/module.h>
#include <linux/types.h>
#include <linux/string.h>
#include <linux/ctype.h>
#include <linux/textsearch.h>
#include <linux/textsearch_fsm.h>

Go to the source code of this file.

Data Structures

struct  ts_fsm
 

Macros

#define _A   0x100 /* ascii */
 
#define _W   0x200 /* wildcard */
 
#define GET_NEXT_BLOCK()
 
#define TOKEN_MISMATCH()
 
#define end_of_data()   unlikely(block_idx >= block_len && !GET_NEXT_BLOCK())
 

Functions

 MODULE_LICENSE ("GPL")
 
 module_init (init_fsm)
 
 module_exit (exit_fsm)
 

Macro Definition Documentation

#define _A   0x100 /* ascii */

Definition at line 43 of file ts_fsm.c.

#define _W   0x200 /* wildcard */

Definition at line 44 of file ts_fsm.c.

#define end_of_data ( )    unlikely(block_idx >= block_len && !GET_NEXT_BLOCK())
#define GET_NEXT_BLOCK ( )
Value:
({ consumed += block_idx; \
block_idx = 0; \
block_len = conf->get_next_block(consumed, &data, conf, state); })
#define TOKEN_MISMATCH ( )
Value:
do { \
if (strict) \
goto no_match; \
block_idx++; \
goto startover; \
} while(0)

Function Documentation

module_exit ( exit_fsm  )
module_init ( init_fsm  )
MODULE_LICENSE ( "GPL"  )