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.h541 struct nvme_ns_head { struct
594 static inline bool nvme_ns_head_multipath(struct nvme_ns_head *head) in nvme_ns_head_multipath() argument
620 struct nvme_ns_head *head;
637 static inline bool nvme_ns_has_pi(struct nvme_ns_head *head) in nvme_ns_has_pi()
770 static inline u64 nvme_sect_to_lba(struct nvme_ns_head *head, sector_t sector) in nvme_sect_to_lba()
778 static inline sector_t nvme_lba_to_sect(struct nvme_ns_head *head, u64 lba) in nvme_lba_to_sect()
968 struct nvme_ns_head *head) in nvme_is_unique_nsid()
1011 void nvme_get_ns_head(struct nvme_ns_head *head);
1012 bool nvme_tryget_ns_head(struct nvme_ns_head *head);
1013 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.c692 struct nvme_ns_head *head = in nvme_free_ns_head()
693 container_of(ref, struct nvme_ns_head, ref); in nvme_free_ns_head()
703 void nvme_get_ns_head(struct nvme_ns_head *head) in nvme_get_ns_head()
708 bool nvme_tryget_ns_head(struct nvme_ns_head *head) in nvme_tryget_ns_head()
713 void nvme_put_ns_head(struct nvme_ns_head *head) in nvme_put_ns_head()
1854 static bool nvme_init_integrity(struct nvme_ns_head *head, in nvme_init_integrity()
1953 static void nvme_configure_pi_elbas(struct nvme_ns_head *head, in nvme_configure_pi_elbas()
1982 struct nvme_ns_head *head, struct nvme_id_ns *id, in nvme_configure_metadata()
2101 struct nvme_ns_head *head = ns->head; in nvme_update_disk_info()
2336 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()