Lines Matching refs:nvme_ns
443 struct nvme_ns __rcu *current_path[];
457 struct nvme_ns { struct
495 static inline bool nvme_ns_has_pi(struct nvme_ns *ns) in nvme_ns_has_pi() argument
598 static inline u64 nvme_sect_to_lba(struct nvme_ns *ns, sector_t sector) in nvme_sect_to_lba()
606 static inline sector_t nvme_lba_to_sect(struct nvme_ns *ns, u64 lba) in nvme_lba_to_sect()
712 blk_status_t nvme_setup_cmd(struct nvme_ns *ns, struct request *req);
787 struct nvme_ns *nvme_find_path(struct nvme_ns_head *head);
797 bool nvme_mpath_set_disk_name(struct nvme_ns *ns, char *disk_name, int *flags);
801 void nvme_mpath_add_disk(struct nvme_ns *ns, struct nvme_id_ns *id);
808 bool nvme_mpath_clear_current_path(struct nvme_ns *ns);
809 void nvme_mpath_revalidate_paths(struct nvme_ns *ns);
815 struct nvme_ns *ns = req->q->queuedata; in nvme_trace_bio_complete()
830 static inline bool nvme_mpath_set_disk_name(struct nvme_ns *ns, char *disk_name, in nvme_mpath_set_disk_name()
846 static inline void nvme_mpath_add_disk(struct nvme_ns *ns, in nvme_mpath_add_disk()
853 static inline bool nvme_mpath_clear_current_path(struct nvme_ns *ns) in nvme_mpath_clear_current_path()
857 static inline void nvme_mpath_revalidate_paths(struct nvme_ns *ns) in nvme_mpath_revalidate_paths()
900 int nvme_revalidate_zones(struct nvme_ns *ns);
901 int nvme_ns_report_zones(struct nvme_ns *ns, sector_t sector,
904 int nvme_update_zone_info(struct nvme_ns *ns, unsigned lbaf);
905 blk_status_t nvme_setup_zone_mgmt_send(struct nvme_ns *ns, struct request *req,
909 static inline blk_status_t nvme_setup_zone_mgmt_send(struct nvme_ns *ns, in nvme_setup_zone_mgmt_send()
916 static inline int nvme_update_zone_info(struct nvme_ns *ns, unsigned lbaf) in nvme_update_zone_info()
924 static inline struct nvme_ns *nvme_get_ns_from_dev(struct device *dev) in nvme_get_ns_from_dev()
948 u32 nvme_command_effects(struct nvme_ctrl *ctrl, struct nvme_ns *ns,
952 struct nvme_ns *nvme_find_get_ns(struct nvme_ctrl *ctrl, unsigned nsid);
953 void nvme_put_ns(struct nvme_ns *ns);