Linux Kernel
3.7.1
|
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <assert.h>
#include <stdarg.h>
#include "genksyms.h"
Go to the source code of this file.
Macros | |
#define | HASH_BUCKETS 4096 |
#define | ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) |
Functions | |
struct symbol * | find_symbol (const char *name, enum symbol_type ns, int exact) |
struct symbol * | add_symbol (const char *name, enum symbol_type type, struct string_list *defn, int is_extern) |
void | free_node (struct string_list *node) |
void | free_list (struct string_list *s, struct string_list *e) |
struct string_list * | copy_node (struct string_list *node) |
struct string_list * | copy_list_range (struct string_list *start, struct string_list *end) |
void | export_symbol (const char *name) |
void | error_with_pos (const char *fmt,...) |
int | main (int argc, char **argv) |
Variables | |
int | cur_line = 1 |
char * | cur_filename |
char * | source_file |
int | in_source_file |
Definition at line 419 of file genksyms.c.
#define HASH_BUCKETS 4096 |
Definition at line 37 of file genksyms.c.
|
read |
Definition at line 322 of file genksyms.c.
|
read |
Definition at line 391 of file genksyms.c.
|
read |
Definition at line 380 of file genksyms.c.
Definition at line 714 of file genksyms.c.
Definition at line 645 of file genksyms.c.
Definition at line 167 of file genksyms.c.
void free_list | ( | struct string_list * | s, |
struct string_list * | e | ||
) |
Definition at line 342 of file genksyms.c.
void free_node | ( | struct string_list * | node | ) |
Definition at line 336 of file genksyms.c.
Definition at line 759 of file genksyms.c.
char* cur_filename |
Definition at line 43 of file genksyms.c.
int cur_line = 1 |
Definition at line 42 of file genksyms.c.
int in_source_file |
Definition at line 44 of file genksyms.c.
int n |
Definition at line 58 of file genksyms.c.
Definition at line 59 of file genksyms.c.
char * source_file |
Definition at line 43 of file genksyms.c.