Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/block/null_blk/
Dmain.c251 static inline struct nullb_device *to_nullb_device(struct config_item *item) in to_nullb_device() function
320 to_nullb_device(item)->NAME, page); \
327 struct nullb_device *dev = to_nullb_device(item); \
433 return nullb_device_bool_attr_show(to_nullb_device(item)->power, page); in nullb_device_power_show()
439 struct nullb_device *dev = to_nullb_device(item); in nullb_device_power_store()
475 struct nullb_device *t_dev = to_nullb_device(item); in nullb_device_badblocks_show()
483 struct nullb_device *t_dev = to_nullb_device(item); in nullb_device_badblocks_store()
529 struct nullb_device *dev = to_nullb_device(item); in nullb_device_zone_readonly_store()
538 struct nullb_device *dev = to_nullb_device(item); in nullb_device_zone_offline_store()
580 struct nullb_device *dev = to_nullb_device(item); in nullb_device_release()
[all …]