Lines Matching refs:sub
53 #define DEBUGFS_FWSTATS_FILE(sub, name, fmt, struct_type) \ argument
54 static ssize_t sub## _ ##name## _read(struct file *file, \
64 stats->sub.name); \
67 static const struct file_operations sub## _ ##name## _ops = { \
68 .read = sub## _ ##name## _read, \
73 #define DEBUGFS_FWSTATS_FILE_ARRAY(sub, name, len, struct_type) \ argument
74 static ssize_t sub## _ ##name## _read(struct file *file, \
88 "[%d] = %d\n", i, stats->sub.name[i]); \
93 static const struct file_operations sub## _ ##name## _ops = { \
94 .read = sub## _ ##name## _read, \
99 #define DEBUGFS_FWSTATS_ADD(sub, name) \ argument
100 DEBUGFS_ADD(sub## _ ##name, stats)