Lines Matching refs:nullb_device
191 static struct nullb_device *null_alloc_dev(void);
192 static void null_free_dev(struct nullb_device *dev);
194 static int null_add_dev(struct nullb_device *dev);
195 static void null_free_device_storage(struct nullb_device *dev, bool is_cache);
197 static inline struct nullb_device *to_nullb_device(struct config_item *item) in to_nullb_device()
199 return item ? container_of(item, struct nullb_device, item) : NULL; in to_nullb_device()
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()
434 struct nullb_device *dev; in nullb_group_make_item()
448 struct nullb_device *dev = to_nullb_device(item); in nullb_group_drop_item()
497 static struct nullb_device *null_alloc_dev(void) in null_alloc_dev()
499 struct nullb_device *dev; in null_alloc_dev()
526 static void null_free_dev(struct nullb_device *dev) in null_free_dev()
744 static void null_free_device_storage(struct nullb_device *dev, bool is_cache) in null_free_device_storage()
1162 struct nullb_device *dev = cmd->nq->dev; in cmd_report_zone()
1181 struct nullb_device *dev = cmd->nq->dev; in null_handle_cmd()
1482 struct nullb_device *dev = nullb->dev; in null_del_dev()
1661 static void null_validate_conf(struct nullb_device *dev) in null_validate_conf()
1715 static int null_add_dev(struct nullb_device *dev) in null_add_dev()
1855 struct nullb_device *dev; in null_init()
1942 struct nullb_device *dev; in null_exit()