threshold_block
struct threshold_block *b = to_block(kobj);
struct threshold_block *b = to_block(kobj);
static const char *get_name(unsigned int cpu, unsigned int bank, struct threshold_block *b)
struct threshold_block *b = NULL;
b = kzalloc_obj(struct threshold_block);
struct threshold_block *pos, *tmp;
struct threshold_block *b;
static const char *bank4_names(const struct threshold_block *b)
static bool lvt_off_valid(struct threshold_block *b, int apic, u32 lo, u32 hi)
struct threshold_block *block, *tmp;
static void mce_threshold_block_init(struct threshold_block *b, int offset)
struct threshold_block b;
ssize_t (*show) (struct threshold_block *, char *);
ssize_t (*store) (struct threshold_block *, const char *, size_t count);
static ssize_t show_ ## name(struct threshold_block *b, char *buf) \
store_interrupt_enable(struct threshold_block *b, const char *buf, size_t size)
store_threshold_limit(struct threshold_block *b, const char *buf, size_t size)
static ssize_t show_error_count(struct threshold_block *b, char *buf)
#define to_block(k) container_of(k, struct threshold_block, kobj)