Lines Matching refs:nullb_device

244 static struct nullb_device *null_alloc_dev(void);
245 static void null_free_dev(struct nullb_device *dev);
247 static int null_add_dev(struct nullb_device *dev);
249 static void null_free_device_storage(struct nullb_device *dev, bool is_cache);
251 static inline struct nullb_device *to_nullb_device(struct config_item *item) in to_nullb_device()
253 return item ? container_of(item, struct nullb_device, item) : NULL; in to_nullb_device()
326 int (*apply_fn)(struct nullb_device *dev, TYPE new_value) = APPLY;\
327 struct nullb_device *dev = to_nullb_device(item); \
345 static int nullb_update_nr_hw_queues(struct nullb_device *dev, in nullb_update_nr_hw_queues()
392 static int nullb_apply_submit_queues(struct nullb_device *dev, in nullb_apply_submit_queues()
398 static int nullb_apply_poll_queues(struct nullb_device *dev, in nullb_apply_poll_queues()
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()
560 struct nullb_device *dev = to_nullb_device(item); in nullb_device_release()
579 struct nullb_device *dev; in nullb_group_make_item()
596 struct nullb_device *dev = to_nullb_device(item); in nullb_group_drop_item()
652 static struct nullb_device *null_alloc_dev(void) in null_alloc_dev()
654 struct nullb_device *dev; in null_alloc_dev()
696 static void null_free_dev(struct nullb_device *dev) in null_free_dev()
890 static void null_free_device_storage(struct nullb_device *dev, bool is_cache) in null_free_device_storage()
1168 blk_status_t null_handle_discard(struct nullb_device *dev, in null_handle_discard()
1213 struct nullb_device *dev = nullb->dev; in null_transfer()
1311 struct nullb_device *dev = cmd->nq->dev; in null_handle_throttled()
1349 struct nullb_device *dev = cmd->nq->dev; in null_handle_memory_backed()
1365 struct nullb_device *dev = cmd->nq->dev; in nullb_zero_read_cmd_buffer()
1419 struct nullb_device *dev = cmd->nq->dev; in null_process_cmd()
1437 struct nullb_device *dev = cmd->nq->dev; in null_handle_cmd()
1539 struct nullb_device *dev = nullb->dev; in null_map_queues()
1752 struct nullb_device *dev; in null_del_dev()
1946 static int null_validate_conf(struct nullb_device *dev) in null_validate_conf()
2015 static int null_add_dev(struct nullb_device *dev) in null_add_dev()
2171 struct nullb_device *dev; in null_create_dev()
2189 struct nullb_device *dev = nullb->dev; in null_destroy_dev()