Lines Matching defs:threshold_block
233 struct threshold_block {
361 struct threshold_block *b;
367 static const char *bank4_names(const struct threshold_block *b)
402 static bool lvt_off_valid(struct threshold_block *b, int apic, u32 lo, u32 hi)
484 struct threshold_block *block, *tmp;
511 static void mce_threshold_block_init(struct threshold_block *b, int offset)
571 struct threshold_block b;
910 ssize_t (*show) (struct threshold_block *, char *);
911 ssize_t (*store) (struct threshold_block *, const char *, size_t count);
915 static ssize_t show_ ## name(struct threshold_block *b, char *buf) \
923 store_interrupt_enable(struct threshold_block *b, const char *buf, size_t size)
946 store_threshold_limit(struct threshold_block *b, const char *buf, size_t size)
970 static ssize_t show_error_count(struct threshold_block *b, char *buf)
1005 #define to_block(k) container_of(k, struct threshold_block, kobj)
1010 struct threshold_block *b = to_block(kobj);
1022 struct threshold_block *b = to_block(kobj);
1044 static const char *get_name(unsigned int cpu, unsigned int bank, struct threshold_block *b)
1085 struct threshold_block *b = NULL;
1106 b = kzalloc_obj(struct threshold_block);
1202 struct threshold_block *pos, *tmp;