Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/block/
Dnull_blk_main.c197 static inline struct nullb_device *to_nullb_device(struct config_item *item) in to_nullb_device() function
266 to_nullb_device(item)->NAME, page); \
272 if (test_bit(NULLB_DEV_FL_CONFIGURED, &to_nullb_device(item)->flags)) \
275 &to_nullb_device(item)->NAME, page, count); \
299 return nullb_device_bool_attr_show(to_nullb_device(item)->power, page); in nullb_device_power_show()
305 struct nullb_device *dev = to_nullb_device(item); in nullb_device_power_store()
339 struct nullb_device *t_dev = to_nullb_device(item); in nullb_device_badblocks_show()
347 struct nullb_device *t_dev = to_nullb_device(item); in nullb_device_badblocks_store()
415 struct nullb_device *dev = to_nullb_device(item); in nullb_device_release()
448 struct nullb_device *dev = to_nullb_device(item); in nullb_group_drop_item()