Lines Matching refs:nullb_device

223 static struct nullb_device *null_alloc_dev(void);
224 static void null_free_dev(struct nullb_device *dev);
226 static int null_add_dev(struct nullb_device *dev);
227 static void null_free_device_storage(struct nullb_device *dev, bool is_cache);
229 static inline struct nullb_device *to_nullb_device(struct config_item *item) in to_nullb_device()
231 return item ? container_of(item, struct nullb_device, item) : NULL; in to_nullb_device()
304 int (*apply_fn)(struct nullb_device *dev, TYPE new_value) = APPLY;\
305 struct nullb_device *dev = to_nullb_device(item); \
323 static int nullb_apply_submit_queues(struct nullb_device *dev, in nullb_apply_submit_queues()
373 struct nullb_device *dev = to_nullb_device(item); in nullb_device_power_store()
408 struct nullb_device *t_dev = to_nullb_device(item); in nullb_device_badblocks_show()
416 struct nullb_device *t_dev = to_nullb_device(item); in nullb_device_badblocks_store()
488 struct nullb_device *dev = to_nullb_device(item); in nullb_device_release()
507 struct nullb_device *dev; in nullb_group_make_item()
521 struct nullb_device *dev = to_nullb_device(item); in nullb_group_drop_item()
571 static struct nullb_device *null_alloc_dev(void) in null_alloc_dev()
573 struct nullb_device *dev; in null_alloc_dev()
604 static void null_free_dev(struct nullb_device *dev) in null_free_dev()
801 static void null_free_device_storage(struct nullb_device *dev, bool is_cache) in null_free_device_storage()
1119 struct nullb_device *dev = nullb->dev; in null_transfer()
1232 struct nullb_device *dev = cmd->nq->dev; in null_handle_throttled()
1268 struct nullb_device *dev = cmd->nq->dev; in null_handle_memory_backed()
1281 struct nullb_device *dev = cmd->nq->dev; in nullb_zero_read_cmd_buffer()
1336 struct nullb_device *dev = cmd->nq->dev; in null_process_cmd()
1354 struct nullb_device *dev = cmd->nq->dev; in null_handle_cmd()
1556 struct nullb_device *dev; in null_del_dev()
1723 static int null_validate_conf(struct nullb_device *dev) in null_validate_conf()
1787 static int null_add_dev(struct nullb_device *dev) in null_add_dev()
1904 struct nullb_device *dev; in null_init()
1995 struct nullb_device *dev; in null_exit()