Lines Matching refs:threshold_block
329 struct threshold_block *b;
349 static const char *bank4_names(const struct threshold_block *b)
384 static int lvt_off_valid(struct threshold_block *b, int apic, u32 lo, u32 hi)
463 static void mce_threshold_block_init(struct threshold_block *b, int offset)
565 struct threshold_block b;
891 static void log_and_reset_block(struct threshold_block *block)
920 struct threshold_block *first_block = NULL, *block = NULL, *tmp = NULL;
956 ssize_t (*show) (struct threshold_block *, char *);
957 ssize_t (*store) (struct threshold_block *, const char *, size_t count);
961 static ssize_t show_ ## name(struct threshold_block *b, char *buf) \
969 store_interrupt_enable(struct threshold_block *b, const char *buf, size_t size)
992 store_threshold_limit(struct threshold_block *b, const char *buf, size_t size)
1016 static ssize_t show_error_count(struct threshold_block *b, char *buf)
1051 #define to_block(k) container_of(k, struct threshold_block, kobj)
1056 struct threshold_block *b = to_block(kobj);
1068 struct threshold_block *b = to_block(kobj);
1090 static const char *get_name(unsigned int cpu, unsigned int bank, struct threshold_block *b)
1124 struct threshold_block *b = NULL;
1145 b = kzalloc(sizeof(struct threshold_block), GFP_KERNEL);
1200 struct threshold_block *pos = NULL;
1201 struct threshold_block *tmp = NULL;
1299 struct threshold_block *pos, *tmp;
1311 struct threshold_block *pos = NULL;
1312 struct threshold_block *tmp = NULL;