Searched refs:nullb_device (Results 1 – 3 of 3) sorted by relevance
29 struct nullb_device *dev;35 struct nullb_device { struct69 struct nullb_device *dev; argument88 int null_zone_init(struct nullb_device *dev);89 void null_zone_exit(struct nullb_device *dev);95 static inline int null_zone_init(struct nullb_device *dev) in null_zone_init()99 static inline void null_zone_exit(struct nullb_device *dev) {} in null_zone_exit()
8 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()46 void null_zone_exit(struct nullb_device *dev) in null_zone_exit()51 static void null_zone_fill_bio(struct nullb_device *dev, struct bio *bio, in null_zone_fill_bio()89 struct nullb_device *dev = nullb->dev; in null_zone_report()104 struct nullb_device *dev = cmd->nq->dev; in null_zone_write()137 struct nullb_device *dev = cmd->nq->dev; in null_zone_reset()
191 static struct nullb_device *null_alloc_dev(void);192 static void null_free_dev(struct nullb_device *dev);194 static int null_add_dev(struct nullb_device *dev);195 static void null_free_device_storage(struct nullb_device *dev, bool is_cache);197 static inline struct nullb_device *to_nullb_device(struct config_item *item) in to_nullb_device()199 return item ? container_of(item, struct nullb_device, item) : NULL; in to_nullb_device()305 struct nullb_device *dev = to_nullb_device(item); in nullb_device_power_store()339 struct nullb_device *t_dev = to_nullb_device(item); in nullb_device_badblocks_show()347 struct nullb_device *t_dev = to_nullb_device(item); in nullb_device_badblocks_store()415 struct nullb_device *dev = to_nullb_device(item); in nullb_device_release()[all …]