Home
last modified time | relevance | path

Searched refs:nvme_ns_head (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-6.6/drivers/nvme/host/
H A 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 *hea
[all...]
H A Dnvme.h448 struct nvme_ns_head { struct
475 static inline bool nvme_ns_head_multipath(struct nvme_ns_head *head) in nvme_ns_head_multipath()
498 struct nvme_ns_head *head;
827 struct nvme_ns_head *head) in nvme_is_unique_nsid()
855 bool nvme_tryget_ns_head(struct nvme_ns_head *head);
856 void nvme_put_ns_head(struct nvme_ns_head *head);
887 struct nvme_ns *nvme_find_path(struct nvme_ns_head *head);
900 int nvme_mpath_alloc_disk(struct nvme_ctrl *ctrl,struct nvme_ns_head *head);
902 void nvme_mpath_remove_disk(struct nvme_ns_head *head);
911 void nvme_mpath_shutdown_disk(struct nvme_ns_head *hea
[all...]
H A Dioctl.c803 void __user *argp, struct nvme_ns_head *head, int srcu_idx,
821 struct nvme_ns_head *head = bdev->bd_disk->private_data; in nvme_ns_head_ioctl()
856 struct nvme_ns_head *head = in nvme_ns_head_chr_ioctl()
857 container_of(cdev, struct nvme_ns_head, cdev); in nvme_ns_head_chr_ioctl()
881 struct nvme_ns_head *head = container_of(cdev, struct nvme_ns_head, cdev); in nvme_ns_head_chr_uring_cmd()
H A 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()
H A Dpr.c55 struct nvme_ns_head *head = bdev->bd_disk->private_data; in nvme_send_ns_head_pr_command()
H A 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()
3269 static struct nvme_ns_head *nvme_find_ns_head(struct nvme_ctrl *ctrl, in nvme_find_ns_head()
3272 struct nvme_ns_head *h; in nvme_find_ns_head()
3297 struct nvme_ns_head *h; in nvme_subsys_check_duplicate_ids()
3382 static struct nvme_ns_head *nvme_alloc_ns_head(struct nvme_ctrl *ctrl, in nvme_alloc_ns_head()
3385 struct nvme_ns_head *head; in nvme_alloc_ns_head()
3467 struct nvme_ns_head *hea in nvme_init_ns_head()
[all...]
/kernel/linux/linux-5.10/drivers/nvme/host/
H A 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()
117 struct nvme_ns_head *head = ns->head; in nvme_mpath_clear_current_path()
162 static struct nvme_ns *__nvme_find_path(struct nvme_ns_head *head, int node) in __nvme_find_path()
201 static struct nvme_ns *nvme_next_ns(struct nvme_ns_head *head, in nvme_next_ns()
211 static struct nvme_ns *nvme_round_robin_path(struct nvme_ns_head *head, in nvme_round_robin_path()
260 inline struct nvme_ns *nvme_find_path(struct nvme_ns_head *head) in nvme_find_path()
276 static bool nvme_available_path(struct nvme_ns_head *head) in nvme_available_path()
296 struct nvme_ns_head *hea in nvme_ns_head_submit_bio()
[all...]
H A Dnvme.h411 struct nvme_ns_head { struct
452 struct nvme_ns_head *head;
717 struct nvme_ns_head **head, int *srcu_idx);
718 void nvme_put_ns_from_disk(struct nvme_ns_head *head, int idx);
736 int nvme_mpath_alloc_disk(struct nvme_ctrl *ctrl,struct nvme_ns_head *head);
738 void nvme_mpath_remove_disk(struct nvme_ns_head *head);
746 struct nvme_ns *nvme_find_path(struct nvme_ns_head *head);
751 struct nvme_ns_head *head = ns->head; in nvme_mpath_check_last_path()
792 struct nvme_ns_head *head) in nvme_mpath_alloc_disk()
800 static inline void nvme_mpath_remove_disk(struct nvme_ns_head *hea in nvme_mpath_add_disk()
[all...]
H A Dcore.c478 struct nvme_ns_head *head = in nvme_free_ns_head()
479 container_of(ref, struct nvme_ns_head, ref); in nvme_free_ns_head()
488 static void nvme_put_ns_head(struct nvme_ns_head *head) in nvme_put_ns_head()
1679 struct nvme_ns_head **head, int *srcu_idx) in nvme_get_ns_from_disk()
1698 void nvme_put_ns_from_disk(struct nvme_ns_head *head, int idx) in nvme_put_ns_from_disk()
1715 struct nvme_ns_head *head, in nvme_handle_ctrl_ioctl()
1742 struct nvme_ns_head *head = NULL; in nvme_ioctl()
2225 struct nvme_ns_head *head = NULL; in nvme_pr_command()
2341 struct nvme_ns_head *head = bdev->bd_disk->private_data; in nvme_ns_head_open()
3375 static inline struct nvme_ns_head *dev_to_ns_hea
[all...]
H A Dzns.c228 struct nvme_ns_head *head = NULL; in nvme_report_zones()

Completed in 21 milliseconds