Lines Matching refs:nullb_device

273 static struct nullb_device *null_alloc_dev(void);
274 static void null_free_dev(struct nullb_device *dev);
276 static int null_add_dev(struct nullb_device *dev);
278 static void null_free_device_storage(struct nullb_device *dev, bool is_cache);
280 static inline struct nullb_device *to_nullb_device(struct config_item *item) in to_nullb_device()
282 return item ? container_of(to_config_group(item), struct nullb_device, group) : NULL; in to_nullb_device()
355 int (*apply_fn)(struct nullb_device *dev, TYPE new_value) = APPLY;\
356 struct nullb_device *dev = to_nullb_device(item); \
374 static int nullb_update_nr_hw_queues(struct nullb_device *dev, in nullb_update_nr_hw_queues()
421 static int nullb_apply_submit_queues(struct nullb_device *dev, in nullb_apply_submit_queues()
433 static int nullb_apply_poll_queues(struct nullb_device *dev, in nullb_apply_poll_queues()
487 struct nullb_device *dev = to_nullb_device(item); in nullb_device_power_store()
527 struct nullb_device *t_dev = to_nullb_device(item); in nullb_device_badblocks_show()
535 struct nullb_device *t_dev = to_nullb_device(item); in nullb_device_badblocks_store()
581 struct nullb_device *dev = to_nullb_device(item); in nullb_device_zone_readonly_store()
590 struct nullb_device *dev = to_nullb_device(item); in nullb_device_zone_offline_store()
639 struct nullb_device *dev = to_nullb_device(item); in nullb_device_release()
657 static void nullb_add_fault_config(struct nullb_device *dev) in nullb_add_fault_config()
670 static void nullb_add_fault_config(struct nullb_device *dev) in nullb_add_fault_config()
679 struct nullb_device *dev; in nullb_group_make_group()
697 struct nullb_device *dev = to_nullb_device(item); in nullb_group_drop_item()
767 static struct nullb_device *null_alloc_dev(void) in null_alloc_dev()
769 struct nullb_device *dev; in null_alloc_dev()
824 static void null_free_dev(struct nullb_device *dev) in null_free_dev()
933 static void null_free_device_storage(struct nullb_device *dev, bool is_cache) in null_free_device_storage()
1196 blk_status_t null_handle_discard(struct nullb_device *dev, in null_handle_discard()
1241 struct nullb_device *dev = nullb->dev; in null_transfer()
1307 struct nullb_device *dev = cmd->nq->dev; in null_handle_throttled()
1340 struct nullb_device *dev = cmd->nq->dev; in null_handle_badblocks()
1365 struct nullb_device *dev = cmd->nq->dev; in null_handle_memory_backed()
1376 struct nullb_device *dev = cmd->nq->dev; in nullb_zero_read_cmd_buffer()
1416 struct nullb_device *dev = cmd->nq->dev; in null_process_cmd()
1435 struct nullb_device *dev = cmd->nq->dev; in null_handle_cmd()
1488 struct nullb_device *dev = cmd->nq->dev; in should_timeout_request()
1496 struct nullb_device *dev = cmd->nq->dev; in should_requeue_request()
1501 static bool should_init_hctx_fail(struct nullb_device *dev) in should_init_hctx_fail()
1518 static bool should_init_hctx_fail(struct nullb_device *dev) in should_init_hctx_fail()
1533 struct nullb_device *dev = nullb->dev; in null_map_queues()
1750 struct nullb_device *dev; in null_del_dev()
1876 static int null_validate_conf(struct nullb_device *dev) in null_validate_conf()
1946 static int null_add_dev(struct nullb_device *dev) in null_add_dev()
2088 struct nullb_device *dev; in null_create_dev()
2108 struct nullb_device *dev = nullb->dev; in null_destroy_dev()