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.c109 struct nvme_ns_head *h; in nvme_mpath_unfreeze()
119 struct nvme_ns_head *h; in nvme_mpath_wait_freeze()
129 struct nvme_ns_head *h; in nvme_mpath_start_freeze()
243 struct nvme_ns_head *head = ns->head; in nvme_mpath_clear_current_path()
276 struct nvme_ns_head *head = ns->head; in nvme_mpath_revalidate_paths()
311 static struct nvme_ns *__nvme_find_path(struct nvme_ns_head *head, int node) in __nvme_find_path()
352 static struct nvme_ns *nvme_next_ns(struct nvme_ns_head *head, in nvme_next_ns()
362 static struct nvme_ns *nvme_round_robin_path(struct nvme_ns_head *head) in nvme_round_robin_path()
410 static struct nvme_ns *nvme_queue_depth_path(struct nvme_ns_head *head) in nvme_queue_depth_path()
453 static struct nvme_ns *nvme_numa_path(struct nvme_ns_head *head) in nvme_numa_path()
[all …]
H A Dnvme.h524 struct nvme_ns_head { struct
572 static inline bool nvme_ns_head_multipath(struct nvme_ns_head *head) in nvme_ns_head_multipath() argument
595 struct nvme_ns_head *head;
611 static inline bool nvme_ns_has_pi(struct nvme_ns_head *head) in nvme_ns_has_pi()
744 static inline u64 nvme_sect_to_lba(struct nvme_ns_head *head, sector_t sector) in nvme_sect_to_lba()
752 static inline sector_t nvme_lba_to_sect(struct nvme_ns_head *head, u64 lba) in nvme_lba_to_sect()
936 struct nvme_ns_head *head) in nvme_is_unique_nsid()
979 bool nvme_tryget_ns_head(struct nvme_ns_head *head);
980 void nvme_put_ns_head(struct nvme_ns_head *head);
1014 struct nvme_ns *nvme_find_path(struct nvme_ns_head *head);
[all …]
H A Dioctl.c694 void __user *argp, struct nvme_ns_head *head, int srcu_idx, in nvme_ns_head_ctrl_ioctl()
712 struct nvme_ns_head *head = bdev->bd_disk->private_data; in nvme_ns_head_ioctl()
747 struct nvme_ns_head *head = in nvme_ns_head_chr_ioctl()
748 container_of(cdev, struct nvme_ns_head, cdev); in nvme_ns_head_chr_ioctl()
772 struct nvme_ns_head *head = container_of(cdev, struct nvme_ns_head, cdev); in nvme_ns_head_chr_uring_cmd()
H A Dsysfs.c63 static inline struct nvme_ns_head *dev_to_ns_head(struct device *dev) in dev_to_ns_head()
75 struct nvme_ns_head *head = dev_to_ns_head(dev); in nvme_io_passthru_err_log_enabled_show()
83 struct nvme_ns_head *head = dev_to_ns_head(dev); in nvme_io_passthru_err_log_enabled_store()
106 struct nvme_ns_head *head = dev_to_ns_head(dev); in wwid_show()
186 static int ns_head_update_nuse(struct nvme_ns_head *head) in ns_head_update_nuse()
234 struct nvme_ns_head *head = dev_to_ns_head(dev); in nuse_show()
H A Dcore.c667 struct nvme_ns_head *head = in nvme_free_ns_head()
668 container_of(ref, struct nvme_ns_head, ref); in nvme_free_ns_head()
678 bool nvme_tryget_ns_head(struct nvme_ns_head *head) in nvme_tryget_ns_head()
683 void nvme_put_ns_head(struct nvme_ns_head *head) in nvme_put_ns_head()
1820 static bool nvme_init_integrity(struct nvme_ns_head *head, in nvme_init_integrity()
1938 static void nvme_configure_pi_elbas(struct nvme_ns_head *head, in nvme_configure_pi_elbas()
1967 struct nvme_ns_head *head, struct nvme_id_ns *id, in nvme_configure_metadata()
2083 struct nvme_ns_head *head = ns->head; in nvme_update_disk_info()
2265 struct nvme_ns_head *head = ns->head; in nvme_query_fdp_info()
3768 static struct nvme_ns_head *nvme_find_ns_head(struct nvme_ctrl *ctrl, in nvme_find_ns_head()
[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()