Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/nvme/host/
Dmultipath.c18 struct nvme_ns_head *h; in nvme_mpath_unfreeze()
28 struct nvme_ns_head *h; in nvme_mpath_wait_freeze()
38 struct nvme_ns_head *h; in nvme_mpath_start_freeze()
120 struct nvme_ns_head *head = ns->head; in nvme_mpath_clear_current_path()
152 struct nvme_ns_head *head = ns->head; in nvme_mpath_revalidate_paths()
181 static struct nvme_ns *__nvme_find_path(struct nvme_ns_head *head, int node) in __nvme_find_path()
220 static struct nvme_ns *nvme_next_ns(struct nvme_ns_head *head, in nvme_next_ns()
230 static struct nvme_ns *nvme_round_robin_path(struct nvme_ns_head *head, in nvme_round_robin_path()
279 inline struct nvme_ns *nvme_find_path(struct nvme_ns_head *head) in nvme_find_path()
295 static bool nvme_available_path(struct nvme_ns_head *head) in nvme_available_path()
[all …]
Dnvme.h400 struct nvme_ns_head { struct
427 static inline bool nvme_ns_head_multipath(struct nvme_ns_head *head) in nvme_ns_head_multipath() argument
449 struct nvme_ns_head *head;
717 bool nvme_tryget_ns_head(struct nvme_ns_head *head);
718 void nvme_put_ns_head(struct nvme_ns_head *head);
737 struct nvme_ns *nvme_find_path(struct nvme_ns_head *head);
750 int nvme_mpath_alloc_disk(struct nvme_ctrl *ctrl,struct nvme_ns_head *head);
752 void nvme_mpath_remove_disk(struct nvme_ns_head *head);
760 void nvme_mpath_shutdown_disk(struct nvme_ns_head *head);
791 struct nvme_ns_head *head) in nvme_mpath_alloc_disk()
[all …]
Dioctl.c374 void __user *argp, struct nvme_ns_head *head, int srcu_idx) in nvme_ns_head_ctrl_ioctl()
391 struct nvme_ns_head *head = bdev->bd_disk->private_data; in nvme_ns_head_ioctl()
419 struct nvme_ns_head *head = in nvme_ns_head_chr_ioctl()
420 container_of(cdev, struct nvme_ns_head, cdev); in nvme_ns_head_chr_ioctl()
Dcore.c567 struct nvme_ns_head *head = in nvme_free_ns_head()
568 container_of(ref, struct nvme_ns_head, ref); in nvme_free_ns_head()
577 bool nvme_tryget_ns_head(struct nvme_ns_head *head) in nvme_tryget_ns_head()
582 void nvme_put_ns_head(struct nvme_ns_head *head) in nvme_put_ns_head()
1968 struct nvme_ns_head *head = bdev->bd_disk->private_data; in nvme_send_ns_head_pr_command()
3125 static inline struct nvme_ns_head *dev_to_ns_head(struct device *dev) in dev_to_ns_head()
3138 struct nvme_ns_head *head = dev_to_ns_head(dev); in wwid_show()
3520 static struct nvme_ns_head *nvme_find_ns_head(struct nvme_subsystem *subsys, in nvme_find_ns_head()
3523 struct nvme_ns_head *h; in nvme_find_ns_head()
3538 struct nvme_ns_head *new) in __nvme_check_ids()
[all …]