Go to the source code of this file.
|
#define | DEBUGFS_FORMAT_BUFFER_SIZE 256 |
|
#define | DEBUGFS_READONLY_FILE(name, fmt, value...) |
|
#define | DEBUGFS_ADD(name, parent) |
|
#define | DEBUGFS_ADD_PREFIX(prefix, name, parent) |
|
#define | DEBUGFS_FWSTATS_FILE(sub, name, fmt, struct_type) |
|
#define | DEBUGFS_FWSTATS_FILE_ARRAY(sub, name, len, struct_type) |
|
#define | DEBUGFS_FWSTATS_ADD(sub, name) DEBUGFS_ADD(sub## _ ##name, stats) |
|
#define DEBUGFS_FORMAT_BUFFER_SIZE 256 |
#define DEBUGFS_FWSTATS_FILE |
( |
|
sub, |
|
|
|
name, |
|
|
|
fmt, |
|
|
|
struct_type |
|
) |
| |
Value:
char __user *userbuf, \
size_t count, loff_t *ppos) \
\
stats->sub.name); \
} \
\
.read = sub##
_ ##
name## _read, \
};
Definition at line 71 of file debugfs.h.
#define DEBUGFS_FWSTATS_FILE_ARRAY |
( |
|
sub, |
|
|
|
name, |
|
|
|
len, |
|
|
|
struct_type |
|
) |
| |
Value:
char __user *userbuf, \
size_t count, loff_t *ppos) \
res =
snprintf(buf,
sizeof(buf),
"%s[%d] = %d\n", \
buf, i, stats->sub.name[i]); \
\
} \
\
.read = sub##
_ ##
name## _read, \
};
Definition at line 91 of file debugfs.h.
#define DEBUGFS_READONLY_FILE |
( |
|
name, |
|
|
|
fmt, |
|
|
|
value... |
|
) |
| |
Value:
size_t count, loff_t *ppos) \
} \
\
};
Definition at line 39 of file debugfs.h.