Home
last modified time | relevance | path

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

/linux/kernel/printk/
H A Dprintk_ringbuffer.c374 static struct prb_data_block *to_block(struct prb_data_ring *data_ring, in to_block() function
598 blk = to_block(data_ring, lpos_begin); in data_make_reusable()
1115 blk = to_block(data_ring, begin_lpos); in data_alloc()
1120 blk = to_block(data_ring, 0); in data_alloc()
1178 blk = to_block(data_ring, 0); in data_realloc()
1180 blk = to_block(data_ring, blk_lpos->begin); in data_realloc()
1203 blk = to_block(data_ring, blk_lpos->begin); in data_realloc()
1209 blk = to_block(data_ring, 0); in data_realloc()
1289 db = to_block(data_ring, blk_lpos->begin); in get_data()
1296 db = to_block(data_ring, 0); in get_data()
/linux/drivers/edac/
H A Dedac_device_sysfs.c408 #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()
/linux/arch/x86/kernel/cpu/mce/
H A Damd.c990 #define to_block(k) container_of(k, struct threshold_block, kobj) macro
995 struct threshold_block *b = to_block(kobj); in show()
1007 struct threshold_block *b = to_block(kobj); in store()
1182 kfree(to_block(kobj)); in threshold_block_release()