Home
last modified time | relevance | path

Searched refs:t_dev (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/block/null_blk/
H A Dmain.c408 struct nullb_device *t_dev = to_nullb_device(item); in nullb_device_badblocks_show() local
410 return badblocks_show(&t_dev->badblocks, page, 0); in nullb_device_badblocks_show()
416 struct nullb_device *t_dev = to_nullb_device(item); in nullb_device_badblocks_store() local
444 cmpxchg(&t_dev->badblocks.shift, -1, 0); in nullb_device_badblocks_store()
446 ret = badblocks_set(&t_dev->badblocks, start, in nullb_device_badblocks_store()
449 ret = badblocks_clear(&t_dev->badblocks, start, in nullb_device_badblocks_store()
/kernel/linux/linux-6.6/drivers/block/null_blk/
H A Dmain.c475 struct nullb_device *t_dev = to_nullb_device(item); in nullb_device_badblocks_show() local
477 return badblocks_show(&t_dev->badblocks, page, 0); in nullb_device_badblocks_show()
483 struct nullb_device *t_dev = to_nullb_device(item); in nullb_device_badblocks_store() local
511 cmpxchg(&t_dev->badblocks.shift, -1, 0); in nullb_device_badblocks_store()
513 ret = badblocks_set(&t_dev->badblocks, start, in nullb_device_badblocks_store()
516 ret = badblocks_clear(&t_dev->badblocks, start, in nullb_device_badblocks_store()

Completed in 6 milliseconds