Searched refs:to_block (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/kernel/printk/ |
D | printk_ringbuffer.c | 369 static struct prb_data_block *to_block(struct prb_data_ring *data_ring, in to_block() function 576 blk = to_block(data_ring, lpos_begin); in data_make_reusable() 1071 blk = to_block(data_ring, begin_lpos); in data_alloc() 1076 blk = to_block(data_ring, 0); in data_alloc() 1127 blk = to_block(data_ring, 0); in data_realloc() 1129 blk = to_block(data_ring, blk_lpos->begin); in data_realloc() 1142 blk = to_block(data_ring, blk_lpos->begin); in data_realloc() 1148 blk = to_block(data_ring, 0); in data_realloc() 1221 db = to_block(data_ring, blk_lpos->begin); in get_data() 1227 db = to_block(data_ring, 0); in get_data()
|
/Linux-v5.10/drivers/edac/ |
D | edac_device_sysfs.c | 407 #define to_block(k) container_of(k, struct edac_device_block, kobj) macro 417 struct edac_device_block *block = to_block(kobj); in block_ue_count_show() 425 struct edac_device_block *block = to_block(kobj); in block_ce_count_show() 438 block = to_block(kobj); in edac_device_ctrl_block_release()
|
/Linux-v5.10/arch/x86/kernel/cpu/mce/ |
D | amd.c | 1161 #define to_block(k) container_of(k, struct threshold_block, kobj) macro 1166 struct threshold_block *b = to_block(kobj); in show() 1178 struct threshold_block *b = to_block(kobj); in store() 1404 kfree(to_block(kobj)); in threshold_block_release()
|