Lines Matching refs:threshold_block

69 	struct threshold_block	*b;
82 static const char *bank4_names(const struct threshold_block *b) in bank4_names()
117 static int lvt_off_valid(struct threshold_block *b, int apic, u32 lo, u32 hi) in lvt_off_valid()
187 static void mce_threshold_block_init(struct threshold_block *b, int offset) in mce_threshold_block_init()
211 struct threshold_block b; in mce_amd_feature_init()
341 ssize_t (*show) (struct threshold_block *, char *);
342 ssize_t (*store) (struct threshold_block *, const char *, size_t count);
346 static ssize_t show_ ## name(struct threshold_block *b, char *buf) \
354 store_interrupt_enable(struct threshold_block *b, const char *buf, size_t size) in SHOW_FIELDS()
376 store_threshold_limit(struct threshold_block *b, const char *buf, size_t size) in store_threshold_limit()
399 static ssize_t show_error_count(struct threshold_block *b, char *buf) in show_error_count()
431 #define to_block(k) container_of(k, struct threshold_block, kobj)
436 struct threshold_block *b = to_block(kobj); in show()
448 struct threshold_block *b = to_block(kobj); in store()
470 struct threshold_block *b = NULL; in allocate_threshold_blocks()
491 b = kzalloc(sizeof(struct threshold_block), GFP_KERNEL); in allocate_threshold_blocks()
555 struct threshold_block *pos = NULL; in __threshold_add_blocks()
556 struct threshold_block *tmp = NULL; in __threshold_add_blocks()
667 struct threshold_block *pos = NULL; in deallocate_threshold_block()
668 struct threshold_block *tmp = NULL; in deallocate_threshold_block()
686 struct threshold_block *pos = NULL; in __threshold_remove_blocks()
687 struct threshold_block *tmp = NULL; in __threshold_remove_blocks()