Lines Matching refs:threshold_block

253 	struct threshold_block	*b;
273 static const char *bank4_names(const struct threshold_block *b) in bank4_names()
308 static int lvt_off_valid(struct threshold_block *b, int apic, u32 lo, u32 hi) in lvt_off_valid()
383 static void mce_threshold_block_init(struct threshold_block *b, int offset) in mce_threshold_block_init()
506 struct threshold_block b; in prepare_threshold_block()
907 static void log_and_reset_block(struct threshold_block *block) in log_and_reset_block()
936 struct threshold_block *first_block = NULL, *block = NULL, *tmp = NULL; in amd_threshold_interrupt()
963 ssize_t (*show) (struct threshold_block *, char *);
964 ssize_t (*store) (struct threshold_block *, const char *, size_t count);
968 static ssize_t show_ ## name(struct threshold_block *b, char *buf) \
976 store_interrupt_enable(struct threshold_block *b, const char *buf, size_t size) in SHOW_FIELDS()
998 store_threshold_limit(struct threshold_block *b, const char *buf, size_t size) in store_threshold_limit()
1021 static ssize_t show_error_count(struct threshold_block *b, char *buf) in show_error_count()
1053 #define to_block(k) container_of(k, struct threshold_block, kobj)
1058 struct threshold_block *b = to_block(kobj); in show()
1070 struct threshold_block *b = to_block(kobj); in store()
1089 static const char *get_name(unsigned int bank, struct threshold_block *b) in get_name()
1122 struct threshold_block *b = NULL; in allocate_threshold_blocks()
1143 b = kzalloc(sizeof(struct threshold_block), GFP_KERNEL); in allocate_threshold_blocks()
1202 struct threshold_block *pos = NULL; in __threshold_add_blocks()
1203 struct threshold_block *tmp = NULL; in __threshold_add_blocks()
1292 struct threshold_block *pos = NULL; in deallocate_threshold_block()
1293 struct threshold_block *tmp = NULL; in deallocate_threshold_block()
1311 struct threshold_block *pos = NULL; in __threshold_remove_blocks()
1312 struct threshold_block *tmp = NULL; in __threshold_remove_blocks()