Searched refs:to_block (Results  1 – 3 of 3) sorted by relevance
| /Linux-v5.15/kernel/printk/ | 
| D | printk_ringbuffer.c | 369 static struct prb_data_block *to_block(struct prb_data_ring *data_ring,  in to_block()  function 577 		blk = to_block(data_ring, lpos_begin);  in data_make_reusable() 1070 	blk = to_block(data_ring, begin_lpos);  in data_alloc() 1075 		blk = to_block(data_ring, 0);  in data_alloc() 1126 			blk = to_block(data_ring, 0);  in data_realloc() 1128 			blk = to_block(data_ring, blk_lpos->begin);  in data_realloc() 1141 	blk = to_block(data_ring, blk_lpos->begin);  in data_realloc() 1147 		blk = to_block(data_ring, 0);  in data_realloc() 1220 		db = to_block(data_ring, blk_lpos->begin);  in get_data() 1226 		db = to_block(data_ring, 0);  in get_data()
  | 
| /Linux-v5.15/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.15/arch/x86/kernel/cpu/mce/ | 
| D | amd.c | 1174 #define to_block(k)	container_of(k, struct threshold_block, kobj)  macro 1179 	struct threshold_block *b = to_block(kobj);  in show() 1191 	struct threshold_block *b = to_block(kobj);  in store() 1417 	kfree(to_block(kobj));  in threshold_block_release()
  |