Lines Matching refs:nullb_device
227 static struct nullb_device *null_alloc_dev(void);
228 static void null_free_dev(struct nullb_device *dev);
230 static int null_add_dev(struct nullb_device *dev);
231 static void null_free_device_storage(struct nullb_device *dev, bool is_cache);
233 static inline struct nullb_device *to_nullb_device(struct config_item *item) in to_nullb_device()
235 return item ? container_of(item, struct nullb_device, item) : NULL; in to_nullb_device()
308 int (*apply_fn)(struct nullb_device *dev, TYPE new_value) = APPLY;\
309 struct nullb_device *dev = to_nullb_device(item); \
327 static int nullb_apply_submit_queues(struct nullb_device *dev, in nullb_apply_submit_queues()
379 struct nullb_device *dev = to_nullb_device(item); in nullb_device_power_store()
414 struct nullb_device *t_dev = to_nullb_device(item); in nullb_device_badblocks_show()
422 struct nullb_device *t_dev = to_nullb_device(item); in nullb_device_badblocks_store()
496 struct nullb_device *dev = to_nullb_device(item); in nullb_device_release()
515 struct nullb_device *dev; in nullb_group_make_item()
529 struct nullb_device *dev = to_nullb_device(item); in nullb_group_drop_item()
579 static struct nullb_device *null_alloc_dev(void) in null_alloc_dev()
581 struct nullb_device *dev; in null_alloc_dev()
614 static void null_free_dev(struct nullb_device *dev) in null_free_dev()
811 static void null_free_device_storage(struct nullb_device *dev, bool is_cache) in null_free_device_storage()
1089 blk_status_t null_handle_discard(struct nullb_device *dev, in null_handle_discard()
1134 struct nullb_device *dev = nullb->dev; in null_transfer()
1232 struct nullb_device *dev = cmd->nq->dev; in null_handle_throttled()
1270 struct nullb_device *dev = cmd->nq->dev; in null_handle_memory_backed()
1286 struct nullb_device *dev = cmd->nq->dev; in nullb_zero_read_cmd_buffer()
1341 struct nullb_device *dev = cmd->nq->dev; in null_process_cmd()
1359 struct nullb_device *dev = cmd->nq->dev; in null_handle_cmd()
1577 struct nullb_device *dev; in null_del_dev()
1745 static int null_validate_conf(struct nullb_device *dev) in null_validate_conf()
1809 static int null_add_dev(struct nullb_device *dev) in null_add_dev()
1936 struct nullb_device *dev; in null_init()
2033 struct nullb_device *dev; in null_exit()