|
Linux Kernel
3.7.1
|
#include <stdio.h>#include <stdlib.h>#include <sys/types.h>#include <dirent.h>#include <strings.h>#include <string.h>#include <unistd.h>#include <stdarg.h>#include <getopt.h>#include <regex.h>#include <errno.h>Go to the source code of this file.
Data Structures | |
| struct | slabinfo |
| struct | aliasinfo |
Macros | |
| #define | MAX_SLABS 500 |
| #define | MAX_ALIASES 500 |
| #define | MAX_NODES 1024 |
Functions | |
| int | main (int argc, char *argv[]) |
Variables | |
| struct slabinfo | slabinfo [MAX_SLABS] |
| struct aliasinfo | aliasinfo [MAX_ALIASES] |
| int | slabs = 0 |
| int | actual_slabs = 0 |
| int | aliases = 0 |
| int | alias_targets = 0 |
| int | highest_node = 0 |
| char | buffer [4096] |
| int | show_empty = 0 |
| int | show_report = 0 |
| int | show_alias = 0 |
| int | show_slab = 0 |
| int | skip_zero = 1 |
| int | show_numa = 0 |
| int | show_track = 0 |
| int | show_first_alias = 0 |
| int | validate = 0 |
| int | shrink = 0 |
| int | show_inverted = 0 |
| int | show_single_ref = 0 |
| int | show_totals = 0 |
| int | sort_size = 0 |
| int | sort_active = 0 |
| int | set_debug = 0 |
| int | show_ops = 0 |
| int | show_activity = 0 |
| int | sanity = 0 |
| int | redzone = 0 |
| int | poison = 0 |
| int | tracking = 0 |
| int | tracing = 0 |
| int | page_size |
| regex_t | pattern |
| int | line = 0 |
| struct option | opts [] |
| #define MAX_ALIASES 500 |
Definition at line 24 of file slabinfo.c.
| #define MAX_NODES 1024 |
Definition at line 25 of file slabinfo.c.
| #define MAX_SLABS 500 |
Definition at line 23 of file slabinfo.c.
Definition at line 1291 of file slabinfo.c.
| int actual_slabs = 0 |
Definition at line 57 of file slabinfo.c.
| int alias_targets = 0 |
Definition at line 59 of file slabinfo.c.
| int aliases = 0 |
Definition at line 58 of file slabinfo.c.
Definition at line 62 of file slabinfo.c.
| int highest_node = 0 |
Definition at line 60 of file slabinfo.c.
Definition at line 295 of file slabinfo.c.
Definition at line 1270 of file slabinfo.c.
| int page_size |
Definition at line 90 of file slabinfo.c.
| regex_t pattern |
Definition at line 92 of file slabinfo.c.
| int poison = 0 |
Definition at line 86 of file slabinfo.c.
| int redzone = 0 |
Definition at line 85 of file slabinfo.c.
| int sanity = 0 |
Definition at line 84 of file slabinfo.c.
| int set_debug = 0 |
Definition at line 79 of file slabinfo.c.
| int show_activity = 0 |
Definition at line 81 of file slabinfo.c.
| int show_alias = 0 |
Definition at line 66 of file slabinfo.c.
| int show_empty = 0 |
Definition at line 64 of file slabinfo.c.
| int show_first_alias = 0 |
Definition at line 71 of file slabinfo.c.
| int show_inverted = 0 |
Definition at line 74 of file slabinfo.c.
| int show_numa = 0 |
Definition at line 69 of file slabinfo.c.
| int show_ops = 0 |
Definition at line 80 of file slabinfo.c.
| int show_report = 0 |
Definition at line 65 of file slabinfo.c.
| int show_single_ref = 0 |
Definition at line 75 of file slabinfo.c.
| int show_slab = 0 |
Definition at line 67 of file slabinfo.c.
| int show_totals = 0 |
Definition at line 76 of file slabinfo.c.
| int show_track = 0 |
Definition at line 70 of file slabinfo.c.
| int shrink = 0 |
Definition at line 73 of file slabinfo.c.
| int skip_zero = 1 |
Definition at line 68 of file slabinfo.c.
| int slabs = 0 |
Definition at line 56 of file slabinfo.c.
| int sort_active = 0 |
Definition at line 78 of file slabinfo.c.
| int sort_size = 0 |
Definition at line 77 of file slabinfo.c.
| int tracing = 0 |
Definition at line 88 of file slabinfo.c.
| int tracking = 0 |
Definition at line 87 of file slabinfo.c.
| int validate = 0 |
Definition at line 72 of file slabinfo.c.
1.8.2