Lines Matching refs:threshold_block
51 struct threshold_block {
63 static struct threshold_block threshold_defaults = {
70 struct threshold_block *blocks;
90 struct threshold_block *b;
257 ssize_t (*show) (struct threshold_block *, char *);
258 ssize_t (*store) (struct threshold_block *, const char *, size_t count);
262 static ssize_t show_ ## name(struct threshold_block *b, char *buf) \
270 store_interrupt_enable(struct threshold_block *b, const char *buf, size_t size)
290 store_threshold_limit(struct threshold_block *b, const char *buf, size_t size)
314 struct threshold_block *tb;
321 struct threshold_block *b = tbcc->tb;
328 static ssize_t show_error_count(struct threshold_block *b, char *buf)
336 static ssize_t store_error_count(struct threshold_block *b,
363 #define to_block(k) container_of(k, struct threshold_block, kobj)
368 struct threshold_block *b = to_block(kobj);
380 struct threshold_block *b = to_block(kobj);
404 struct threshold_block *b = NULL;
425 b = kzalloc(sizeof(struct threshold_block), GFP_KERNEL);
600 struct threshold_block *pos = NULL;
601 struct threshold_block *tmp = NULL;