Searched refs:nvme_ns_head (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/nvme/host/ |
H A D | multipath.c | 58 struct nvme_ns_head *h; in nvme_mpath_unfreeze() 68 struct nvme_ns_head *h; in nvme_mpath_wait_freeze() 78 struct nvme_ns_head *h; in nvme_mpath_start_freeze() 190 struct nvme_ns_head *head = ns->head; in nvme_mpath_clear_current_path() 223 struct nvme_ns_head *head = ns->head; in nvme_mpath_revalidate_paths() 257 static struct nvme_ns *__nvme_find_path(struct nvme_ns_head *head, int node) in __nvme_find_path() 298 static struct nvme_ns *nvme_next_ns(struct nvme_ns_head *head, in nvme_next_ns() 308 static struct nvme_ns *nvme_round_robin_path(struct nvme_ns_head *head) in nvme_round_robin_path() 356 static struct nvme_ns *nvme_queue_depth_path(struct nvme_ns_head *head) in nvme_queue_depth_path() 399 static struct nvme_ns *nvme_numa_path(struct nvme_ns_head *head) in nvme_numa_path() [all …]
|
H A D | nvme.h | 468 struct nvme_ns_head { struct 496 static inline bool nvme_ns_head_multipath(struct nvme_ns_head *head) in nvme_ns_head_multipath() argument 519 struct nvme_ns_head *head; 870 struct nvme_ns_head *head) in nvme_is_unique_nsid() 898 bool nvme_tryget_ns_head(struct nvme_ns_head *head); 899 void nvme_put_ns_head(struct nvme_ns_head *head); 930 struct nvme_ns *nvme_find_path(struct nvme_ns_head *head); 943 int nvme_mpath_alloc_disk(struct nvme_ctrl *ctrl,struct nvme_ns_head *head); 945 void nvme_mpath_remove_disk(struct nvme_ns_head *head); 954 void nvme_mpath_shutdown_disk(struct nvme_ns_head *head); [all …]
|
H A D | ioctl.c | 808 void __user *argp, struct nvme_ns_head *head, int srcu_idx, in nvme_ns_head_ctrl_ioctl() 826 struct nvme_ns_head *head = bdev->bd_disk->private_data; in nvme_ns_head_ioctl() 861 struct nvme_ns_head *head = in nvme_ns_head_chr_ioctl() 862 container_of(cdev, struct nvme_ns_head, cdev); in nvme_ns_head_chr_ioctl() 886 struct nvme_ns_head *head = container_of(cdev, struct nvme_ns_head, cdev); in nvme_ns_head_chr_uring_cmd()
|
H A D | sysfs.c | 38 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 D | pr.c | 55 struct nvme_ns_head *head = bdev->bd_disk->private_data; in nvme_send_ns_head_pr_command()
|
H A D | core.c | 605 struct nvme_ns_head *head = in nvme_free_ns_head() 606 container_of(ref, struct nvme_ns_head, ref); in nvme_free_ns_head() 615 bool nvme_tryget_ns_head(struct nvme_ns_head *head) in nvme_tryget_ns_head() 620 void nvme_put_ns_head(struct nvme_ns_head *head) in nvme_put_ns_head() 3276 static struct nvme_ns_head *nvme_find_ns_head(struct nvme_ctrl *ctrl, in nvme_find_ns_head() 3279 struct nvme_ns_head *h; in nvme_find_ns_head() 3304 struct nvme_ns_head *h; in nvme_subsys_check_duplicate_ids() 3389 static struct nvme_ns_head *nvme_alloc_ns_head(struct nvme_ctrl *ctrl, in nvme_alloc_ns_head() 3392 struct nvme_ns_head *head; in nvme_alloc_ns_head() 3474 struct nvme_ns_head *head = NULL; in nvme_init_ns_head()
|