Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/block/
Dnull_blk_main.c202 static inline struct nullb_device *to_nullb_device(struct config_item *item) in to_nullb_device() function
271 to_nullb_device(item)->NAME, page); \
277 if (test_bit(NULLB_DEV_FL_CONFIGURED, &to_nullb_device(item)->flags)) \
280 &to_nullb_device(item)->NAME, page, count); \
305 return nullb_device_bool_attr_show(to_nullb_device(item)->power, page); in nullb_device_power_show()
311 struct nullb_device *dev = to_nullb_device(item); in nullb_device_power_store()
346 struct nullb_device *t_dev = to_nullb_device(item); in nullb_device_badblocks_show()
354 struct nullb_device *t_dev = to_nullb_device(item); in nullb_device_badblocks_store()
423 struct nullb_device *dev = to_nullb_device(item); in nullb_device_release()
456 struct nullb_device *dev = to_nullb_device(item); in nullb_group_drop_item()