Lines Matching refs:nullb_device
196 static struct nullb_device *null_alloc_dev(void);
197 static void null_free_dev(struct nullb_device *dev);
199 static int null_add_dev(struct nullb_device *dev);
200 static void null_free_device_storage(struct nullb_device *dev, bool is_cache);
202 static inline struct nullb_device *to_nullb_device(struct config_item *item) in to_nullb_device()
204 return item ? container_of(item, struct nullb_device, item) : NULL; in to_nullb_device()
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()
442 struct nullb_device *dev; in nullb_group_make_item()
456 struct nullb_device *dev = to_nullb_device(item); in nullb_group_drop_item()
505 static struct nullb_device *null_alloc_dev(void) in null_alloc_dev()
507 struct nullb_device *dev; in null_alloc_dev()
535 static void null_free_dev(struct nullb_device *dev) in null_free_dev()
731 static void null_free_device_storage(struct nullb_device *dev, bool is_cache) in null_free_device_storage()
1138 struct nullb_device *dev = cmd->nq->dev; in null_handle_throttled()
1174 struct nullb_device *dev = cmd->nq->dev; in null_handle_memory_backed()
1214 struct nullb_device *dev = cmd->nq->dev; in null_handle_cmd()
1385 struct nullb_device *dev = nullb->dev; in null_del_dev()
1571 static void null_validate_conf(struct nullb_device *dev) in null_validate_conf()
1625 static int null_add_dev(struct nullb_device *dev) in null_add_dev()
1748 struct nullb_device *dev; in null_init()
1844 struct nullb_device *dev; in null_exit()