Lines Matching refs:nvme_ns_head
469 struct nvme_ns_head { struct
517 static inline bool nvme_ns_head_multipath(struct nvme_ns_head *head) in nvme_ns_head_multipath() argument
540 struct nvme_ns_head *head;
556 static inline bool nvme_ns_has_pi(struct nvme_ns_head *head) in nvme_ns_has_pi()
682 static inline u64 nvme_sect_to_lba(struct nvme_ns_head *head, sector_t sector) in nvme_sect_to_lba()
690 static inline sector_t nvme_lba_to_sect(struct nvme_ns_head *head, u64 lba) in nvme_lba_to_sect()
874 struct nvme_ns_head *head) in nvme_is_unique_nsid()
917 bool nvme_tryget_ns_head(struct nvme_ns_head *head);
918 void nvme_put_ns_head(struct nvme_ns_head *head);
952 struct nvme_ns *nvme_find_path(struct nvme_ns_head *head);
965 int nvme_mpath_alloc_disk(struct nvme_ctrl *ctrl,struct nvme_ns_head *head);
966 void nvme_mpath_add_sysfs_link(struct nvme_ns_head *ns);
969 void nvme_mpath_put_disk(struct nvme_ns_head *head);
978 void nvme_mpath_remove_disk(struct nvme_ns_head *head);
1002 static inline bool nvme_mpath_queue_if_no_path(struct nvme_ns_head *head) in nvme_mpath_queue_if_no_path()
1021 struct nvme_ns_head *head) in nvme_mpath_alloc_disk()
1028 static inline void nvme_mpath_put_disk(struct nvme_ns_head *head) in nvme_mpath_put_disk()
1047 static inline void nvme_mpath_remove_disk(struct nvme_ns_head *head) in nvme_mpath_remove_disk()
1095 static inline bool nvme_mpath_queue_if_no_path(struct nvme_ns_head *head) in nvme_mpath_queue_if_no_path()