Lines Matching refs:nvme_ns
471 struct nvme_ns __rcu *current_path[];
486 struct nvme_ns { struct
525 static inline bool nvme_ns_has_pi(struct nvme_ns *ns) in nvme_ns_has_pi() argument
659 static inline u64 nvme_sect_to_lba(struct nvme_ns *ns, sector_t sector) in nvme_sect_to_lba()
667 static inline sector_t nvme_lba_to_sect(struct nvme_ns *ns, u64 lba) in nvme_lba_to_sect()
800 blk_status_t nvme_setup_cmd(struct nvme_ns *ns, struct request *req);
887 struct nvme_ns *nvme_find_path(struct nvme_ns_head *head);
901 void nvme_mpath_add_disk(struct nvme_ns *ns, __le32 anagrpid);
908 bool nvme_mpath_clear_current_path(struct nvme_ns *ns);
909 void nvme_mpath_revalidate_paths(struct nvme_ns *ns);
917 struct nvme_ns *ns = req->q->queuedata; in nvme_trace_bio_complete()
945 static inline void nvme_mpath_add_disk(struct nvme_ns *ns, __le32 anagrpid) in nvme_mpath_add_disk()
951 static inline bool nvme_mpath_clear_current_path(struct nvme_ns *ns) in nvme_mpath_clear_current_path()
955 static inline void nvme_mpath_revalidate_paths(struct nvme_ns *ns) in nvme_mpath_revalidate_paths()
1007 int nvme_revalidate_zones(struct nvme_ns *ns);
1008 int nvme_ns_report_zones(struct nvme_ns *ns, sector_t sector,
1011 int nvme_update_zone_info(struct nvme_ns *ns, unsigned lbaf);
1012 blk_status_t nvme_setup_zone_mgmt_send(struct nvme_ns *ns, struct request *req,
1016 static inline blk_status_t nvme_setup_zone_mgmt_send(struct nvme_ns *ns, in nvme_setup_zone_mgmt_send()
1023 static inline int nvme_update_zone_info(struct nvme_ns *ns, unsigned lbaf) in nvme_update_zone_info()
1031 static inline struct nvme_ns *nvme_get_ns_from_dev(struct device *dev) in nvme_get_ns_from_dev()
1094 u32 nvme_command_effects(struct nvme_ctrl *ctrl, struct nvme_ns *ns,
1096 u32 nvme_passthru_start(struct nvme_ctrl *ctrl, struct nvme_ns *ns, u8 opcode);
1098 void nvme_passthru_end(struct nvme_ctrl *ctrl, struct nvme_ns *ns, u32 effects,
1101 struct nvme_ns *nvme_find_get_ns(struct nvme_ctrl *ctrl, unsigned nsid);
1102 void nvme_put_ns(struct nvme_ns *ns);