Lines Matching refs:threshold_block
231 struct threshold_block { struct
359 struct threshold_block *b;
365 static const char *bank4_names(const struct threshold_block *b) in bank4_names()
400 static bool lvt_off_valid(struct threshold_block *b, int apic, u32 lo, u32 hi) in lvt_off_valid()
482 struct threshold_block *block, *tmp; in threshold_restart_bank()
509 static void mce_threshold_block_init(struct threshold_block *b, int offset) in mce_threshold_block_init()
569 struct threshold_block b; in prepare_threshold_block()
895 ssize_t (*show) (struct threshold_block *, char *);
896 ssize_t (*store) (struct threshold_block *, const char *, size_t count);
900 static ssize_t show_ ## name(struct threshold_block *b, char *buf) \
908 store_interrupt_enable(struct threshold_block *b, const char *buf, size_t size) in SHOW_FIELDS()
931 store_threshold_limit(struct threshold_block *b, const char *buf, size_t size) in store_threshold_limit()
955 static ssize_t show_error_count(struct threshold_block *b, char *buf) in show_error_count()
990 #define to_block(k) container_of(k, struct threshold_block, kobj)
995 struct threshold_block *b = to_block(kobj); in show()
1007 struct threshold_block *b = to_block(kobj); in store()
1029 static const char *get_name(unsigned int cpu, unsigned int bank, struct threshold_block *b) in get_name()
1070 struct threshold_block *b = NULL; in allocate_threshold_blocks()
1091 b = kzalloc_obj(struct threshold_block); in allocate_threshold_blocks()
1187 struct threshold_block *pos, *tmp; in threshold_remove_bank()