Searched refs:to_block (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/kernel/printk/ |
H A D | printk_ringbuffer.c | 369 static struct prb_data_block *to_block(struct prb_data_ring *data_ring, in to_block() function 580 blk = to_block(data_ring, lpos_begin); in data_make_reusable() 1073 blk = to_block(data_ring, begin_lpos); in data_alloc() 1078 blk = to_block(data_ring, 0); in data_alloc() 1129 blk = to_block(data_ring, 0); in data_realloc() 1131 blk = to_block(data_ring, blk_lpos->begin); in data_realloc() 1144 blk = to_block(data_ring, blk_lpos->begin); in data_realloc() 1150 blk = to_block(data_ring, 0); in data_realloc() 1223 db = to_block(data_ring, blk_lpos->begin); in get_data() 1229 db = to_block(data_ring, 0); in get_data()
|
/openbmc/linux/drivers/edac/ |
H A D | edac_device_sysfs.c | 408 #define to_block(k) container_of(k, struct edac_device_block, kobj) macro 418 struct edac_device_block *block = to_block(kobj); in block_ue_count_show() 426 struct edac_device_block *block = to_block(kobj); in block_ce_count_show() 439 block = to_block(kobj); in edac_device_ctrl_block_release()
|
/openbmc/linux/arch/x86/kernel/cpu/mce/ |
H A D | amd.c | 1001 #define to_block(k) container_of(k, struct threshold_block, kobj) macro 1006 struct threshold_block *b = to_block(kobj); in show() 1018 struct threshold_block *b = to_block(kobj); in store() 1244 kfree(to_block(kobj)); in threshold_block_release()
|