Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/block/null_blk/
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()