Lines Matching defs:dev

11 static inline unsigned int null_zone_no(struct nullb_device *dev, sector_t sect)  in null_zone_no()
16 int null_init_zoned_dev(struct nullb_device *dev, struct request_queue *q) in null_init_zoned_dev()
128 struct nullb_device *dev = nullb->dev; in null_register_zoned_dev() local
148 void null_free_zoned_dev(struct nullb_device *dev) in null_free_zoned_dev()
155 static inline void null_lock_zone(struct nullb_device *dev, unsigned int zno) in null_lock_zone()
162 static inline void null_unlock_zone(struct nullb_device *dev, unsigned int zno) in null_unlock_zone()
174 struct nullb_device *dev = nullb->dev; in null_report_zones() local
213 struct nullb_device *dev = nullb->dev; in null_zone_valid_read_len() local
228 static blk_status_t null_close_zone(struct nullb_device *dev, struct blk_zone *zone) in null_close_zone()
259 static void null_close_first_imp_zone(struct nullb_device *dev) in null_close_first_imp_zone()
271 static blk_status_t null_check_active(struct nullb_device *dev) in null_check_active()
283 static blk_status_t null_check_open(struct nullb_device *dev) in null_check_open()
314 static blk_status_t null_check_zone_resources(struct nullb_device *dev, struct blk_zone *zone) in null_check_zone_resources()
336 struct nullb_device *dev = cmd->nq->dev; in null_zone_write() local
432 static blk_status_t null_open_zone(struct nullb_device *dev, struct blk_zone *zone) in null_open_zone()
468 static blk_status_t null_finish_zone(struct nullb_device *dev, struct blk_zone *zone) in null_finish_zone()
506 static blk_status_t null_reset_zone(struct nullb_device *dev, struct blk_zone *zone) in null_reset_zone()
539 struct nullb_device *dev = cmd->nq->dev; in null_zone_mgmt() local
592 struct nullb_device *dev = cmd->nq->dev; in null_process_zoned_cmd() local