Home
last modified time | relevance | path

Searched refs:nvme_ns_head (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.6/drivers/nvme/host/
Dmultipath.c55 struct nvme_ns_head *h; in nvme_mpath_unfreeze()
65 struct nvme_ns_head *h; in nvme_mpath_wait_freeze()
75 struct nvme_ns_head *h; in nvme_mpath_start_freeze()
176 struct nvme_ns_head *head = ns->head; in nvme_mpath_clear_current_path()
207 struct nvme_ns_head *head = ns->head; in nvme_mpath_revalidate_paths()
240 static struct nvme_ns *__nvme_find_path(struct nvme_ns_head *head, int node) in __nvme_find_path()
279 static struct nvme_ns *nvme_next_ns(struct nvme_ns_head *head, in nvme_next_ns()
289 static struct nvme_ns *nvme_round_robin_path(struct nvme_ns_head *head, in nvme_round_robin_path()
338 inline struct nvme_ns *nvme_find_path(struct nvme_ns_head *head) in nvme_find_path()
354 static bool nvme_available_path(struct nvme_ns_head *head) in nvme_available_path()
[all …]
Dnvme.h437 struct nvme_ns_head { struct
464 static inline bool nvme_ns_head_multipath(struct nvme_ns_head *head) in nvme_ns_head_multipath() argument
487 struct nvme_ns_head *head;
816 struct nvme_ns_head *head) in nvme_is_unique_nsid()
844 bool nvme_tryget_ns_head(struct nvme_ns_head *head);
845 void nvme_put_ns_head(struct nvme_ns_head *head);
876 struct nvme_ns *nvme_find_path(struct nvme_ns_head *head);
889 int nvme_mpath_alloc_disk(struct nvme_ctrl *ctrl,struct nvme_ns_head *head);
891 void nvme_mpath_remove_disk(struct nvme_ns_head *head);
900 void nvme_mpath_shutdown_disk(struct nvme_ns_head *head);
[all …]
Dioctl.c799 void __user *argp, struct nvme_ns_head *head, int srcu_idx, in nvme_ns_head_ctrl_ioctl()
817 struct nvme_ns_head *head = bdev->bd_disk->private_data; in nvme_ns_head_ioctl()
852 struct nvme_ns_head *head = in nvme_ns_head_chr_ioctl()
853 container_of(cdev, struct nvme_ns_head, cdev); in nvme_ns_head_chr_ioctl()
877 struct nvme_ns_head *head = container_of(cdev, struct nvme_ns_head, cdev); in nvme_ns_head_chr_uring_cmd()
Dsysfs.c38 static inline struct nvme_ns_head *dev_to_ns_head(struct device *dev) in dev_to_ns_head()
51 struct nvme_ns_head *head = dev_to_ns_head(dev); in wwid_show()
Dpr.c55 struct nvme_ns_head *head = bdev->bd_disk->private_data; in nvme_send_ns_head_pr_command()
Dcore.c626 struct nvme_ns_head *head = in nvme_free_ns_head()
627 container_of(ref, struct nvme_ns_head, ref); in nvme_free_ns_head()
636 bool nvme_tryget_ns_head(struct nvme_ns_head *head) in nvme_tryget_ns_head()
641 void nvme_put_ns_head(struct nvme_ns_head *head) in nvme_put_ns_head()
3247 static struct nvme_ns_head *nvme_find_ns_head(struct nvme_ctrl *ctrl, in nvme_find_ns_head()
3250 struct nvme_ns_head *h; in nvme_find_ns_head()
3275 struct nvme_ns_head *h; in nvme_subsys_check_duplicate_ids()
3360 static struct nvme_ns_head *nvme_alloc_ns_head(struct nvme_ctrl *ctrl, in nvme_alloc_ns_head()
3363 struct nvme_ns_head *head; in nvme_alloc_ns_head()
3445 struct nvme_ns_head *head = NULL; in nvme_init_ns_head()