Home
last modified time | relevance | path

Searched refs:to_block (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/kernel/printk/
Dprintk_ringbuffer.c369 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()
/Linux-v6.1/drivers/edac/
Dedac_device_sysfs.c406 #define to_block(k) container_of(k, struct edac_device_block, kobj) macro
416 struct edac_device_block *block = to_block(kobj); in block_ue_count_show()
424 struct edac_device_block *block = to_block(kobj); in block_ce_count_show()
437 block = to_block(kobj); in edac_device_ctrl_block_release()
/Linux-v6.1/arch/x86/kernel/cpu/mce/
Damd.c998 #define to_block(k) container_of(k, struct threshold_block, kobj) macro
1003 struct threshold_block *b = to_block(kobj); in show()
1015 struct threshold_block *b = to_block(kobj); in store()
1241 kfree(to_block(kobj)); in threshold_block_release()