Lines Matching refs:nullb_device
34 * Status flags for 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)
253 return item ? container_of(to_config_group(item), struct nullb_device, group) : NULL;
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,
370 * Keep previous and new queue numbers in nullb_device for reference in
392 static int nullb_apply_submit_queues(struct nullb_device *dev,
398 static int nullb_apply_poll_queues(struct nullb_device *dev,
439 struct nullb_device *dev = to_nullb_device(item);
475 struct nullb_device *t_dev = to_nullb_device(item);
483 struct nullb_device *t_dev = to_nullb_device(item);
529 struct nullb_device *dev = to_nullb_device(item);
538 struct nullb_device *dev = to_nullb_device(item);
580 struct nullb_device *dev = to_nullb_device(item);
598 static void nullb_add_fault_config(struct nullb_device *dev)
611 static void nullb_add_fault_config(struct nullb_device *dev)
620 struct nullb_device *dev;
638 struct nullb_device *dev = to_nullb_device(item);
694 static struct nullb_device *null_alloc_dev(void)
696 struct nullb_device *dev;
745 static void null_free_dev(struct nullb_device *dev)
939 static void null_free_device_storage(struct nullb_device *dev, bool is_cache)
1202 blk_status_t null_handle_discard(struct nullb_device *dev,
1247 struct nullb_device *dev = nullb->dev;
1345 struct nullb_device *dev = cmd->nq->dev;
1383 struct nullb_device *dev = cmd->nq->dev;
1399 struct nullb_device *dev = cmd->nq->dev;
1452 struct nullb_device *dev = cmd->nq->dev;
1470 struct nullb_device *dev = cmd->nq->dev;
1551 struct nullb_device *dev = cmd->nq->dev;
1559 struct nullb_device *dev = cmd->nq->dev;
1564 static bool should_init_hctx_fail(struct nullb_device *dev)
1581 static bool should_init_hctx_fail(struct nullb_device *dev)
1596 struct nullb_device *dev = nullb->dev;
1815 struct nullb_device *dev;
2009 static int null_validate_conf(struct nullb_device *dev)
2083 static int null_add_dev(struct nullb_device *dev)
2232 struct nullb_device *dev;
2250 struct nullb_device *dev = nullb->dev;