Home
last modified time | relevance | path

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

/linux/drivers/nvme/host/
H A Dmultipath.c119 struct nvme_ns_head *h; in nvme_mpath_unfreeze()
129 struct nvme_ns_head *h; in nvme_mpath_wait_freeze()
139 struct nvme_ns_head *h; in nvme_mpath_start_freeze()
244 struct nvme_ns_head *head = ns->head; in nvme_mpath_clear_current_path()
271 void nvme_mpath_revalidate_paths(struct nvme_ns_head *head) in nvme_mpath_revalidate_paths()
292 int nvme_mpath_revalidate_zones(struct nvme_ns_head *head) in nvme_mpath_revalidate_zones()
327 static struct nvme_ns *__nvme_find_path(struct nvme_ns_head *head, int node) in __nvme_find_path()
369 static struct nvme_ns *nvme_next_ns(struct nvme_ns_head *head, in nvme_next_ns()
380 static struct nvme_ns *nvme_round_robin_path(struct nvme_ns_head *head) in nvme_round_robin_path()
429 static struct nvme_ns *nvme_queue_depth_path(struct nvme_ns_head *head) in nvme_queue_depth_path()
[all …]
H A Dnvme.h543 struct nvme_ns_head { struct
597 static inline bool nvme_ns_head_multipath(struct nvme_ns_head *head) in nvme_ns_head_multipath() argument
623 struct nvme_ns_head *head;
640 static inline bool nvme_ns_has_pi(struct nvme_ns_head *head) in nvme_ns_has_pi()
773 static inline u64 nvme_sect_to_lba(struct nvme_ns_head *head, sector_t sector) in nvme_sect_to_lba()
781 static inline sector_t nvme_lba_to_sect(struct nvme_ns_head *head, u64 lba) in nvme_lba_to_sect()
971 struct nvme_ns_head *head) in nvme_is_unique_nsid()
1014 void nvme_get_ns_head(struct nvme_ns_head *head);
1015 bool nvme_tryget_ns_head(struct nvme_ns_head *head);
1016 void nvme_put_ns_head(struct nvme_ns_head *head);
[all …]
H A Dioctl.c730 void __user *argp, struct nvme_ns_head *head, int srcu_idx, in nvme_ns_head_ctrl_ioctl()
748 struct nvme_ns_head *head = bdev->bd_disk->private_data; in nvme_ns_head_ioctl()
783 struct nvme_ns_head *head = in nvme_ns_head_chr_ioctl()
784 container_of(cdev, struct nvme_ns_head, cdev); in nvme_ns_head_chr_ioctl()
808 struct nvme_ns_head *head = container_of(cdev, struct nvme_ns_head, cdev); in nvme_ns_head_chr_uring_cmd()
H A Dsysfs.c64 static inline struct nvme_ns_head *dev_to_ns_head(struct device *dev) in dev_to_ns_head()
76 struct nvme_ns_head *head = dev_to_ns_head(dev); in nvme_io_passthru_err_log_enabled_show()
84 struct nvme_ns_head *head = dev_to_ns_head(dev); in nvme_io_passthru_err_log_enabled_store()
107 struct nvme_ns_head *head = dev_to_ns_head(dev); in wwid_show()
187 static int ns_head_update_nuse(struct nvme_ns_head *head) in ns_head_update_nuse()
235 struct nvme_ns_head *head = dev_to_ns_head(dev); in nuse_show()
H A Dcore.c690 struct nvme_ns_head *head = in nvme_free_ns_head()
691 container_of(ref, struct nvme_ns_head, ref); in nvme_free_ns_head()
701 void nvme_get_ns_head(struct nvme_ns_head *head) in nvme_get_ns_head()
706 bool nvme_tryget_ns_head(struct nvme_ns_head *head) in nvme_tryget_ns_head()
711 void nvme_put_ns_head(struct nvme_ns_head *head) in nvme_put_ns_head()
1852 static bool nvme_init_integrity(struct nvme_ns_head *head, in nvme_init_integrity()
1951 static void nvme_configure_pi_elbas(struct nvme_ns_head *head, in nvme_configure_pi_elbas()
1980 struct nvme_ns_head *head, struct nvme_id_ns *id, in nvme_configure_metadata()
2099 struct nvme_ns_head *head = ns->head; in nvme_update_disk_info()
2334 struct nvme_ns_head *head = ns->head; in nvme_query_fdp_info()
[all …]
H A Dzns.c154 struct nvme_ns_head *head = ns->head; in nvme_zone_parse_entry()
H A Dpr.c55 struct nvme_ns_head *head = bdev->bd_disk->private_data; in nvme_send_ns_head_pr_command()