Home
last modified time | relevance | path

Searched refs:nullb_device (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/block/
Dnull_blk.h32 struct nullb_device *dev;
38 struct nullb_device { struct
73 struct nullb_device *dev; argument
92 int null_zone_init(struct nullb_device *dev);
93 void null_zone_exit(struct nullb_device *dev);
100 static inline int null_zone_init(struct nullb_device *dev) in null_zone_init()
105 static inline void null_zone_exit(struct nullb_device *dev) {} in null_zone_exit()
Dnull_blk_zoned.c8 static inline unsigned int null_zone_no(struct nullb_device *dev, sector_t sect) in null_zone_no()
13 int null_zone_init(struct nullb_device *dev) in null_zone_init()
64 void null_zone_exit(struct nullb_device *dev) in null_zone_exit()
73 struct nullb_device *dev = nullb->dev; in null_zone_report()
90 struct nullb_device *dev = cmd->nq->dev; in null_zone_write()
123 struct nullb_device *dev = cmd->nq->dev; in null_zone_reset()
Dnull_blk_main.c196 static struct nullb_device *null_alloc_dev(void);
197 static void null_free_dev(struct nullb_device *dev);
199 static int null_add_dev(struct nullb_device *dev);
200 static void null_free_device_storage(struct nullb_device *dev, bool is_cache);
202 static inline struct nullb_device *to_nullb_device(struct config_item *item) in to_nullb_device()
204 return item ? container_of(item, struct nullb_device, item) : NULL; in to_nullb_device()
311 struct nullb_device *dev = to_nullb_device(item); in nullb_device_power_store()
346 struct nullb_device *t_dev = to_nullb_device(item); in nullb_device_badblocks_show()
354 struct nullb_device *t_dev = to_nullb_device(item); in nullb_device_badblocks_store()
423 struct nullb_device *dev = to_nullb_device(item); in nullb_device_release()
[all …]