Lines Matching full:struct
64 (cpu_to_le32((1 << 16) | (offsetof(struct nvmf_connect_data, x))))
66 (cpu_to_le32(offsetof(struct nvmf_connect_command, x)))
68 struct nvmet_pr_registrant {
72 struct list_head entry;
73 struct rcu_head rcu;
76 struct nvmet_pr {
80 struct nvmet_pr_registrant __rcu *holder;
89 struct semaphore pr_sem;
90 struct list_head registrant_list;
93 struct nvmet_pr_per_ctrl_ref {
94 struct percpu_ref ref;
95 struct completion free_done;
96 struct completion confirm_done;
100 struct nvmet_ns {
101 struct percpu_ref ref;
102 struct file *bdev_file;
103 struct block_device *bdev;
104 struct file *file;
115 struct nvmet_subsys *subsys;
118 struct config_group device_group;
119 struct config_group group;
121 struct completion disable_done;
124 struct pci_dev *p2p_dev;
129 struct nvmet_pr pr;
130 struct xarray pr_per_ctrl_refs;
133 static inline struct nvmet_ns *to_nvmet_ns(struct config_item *item) in to_nvmet_ns()
135 return container_of(to_config_group(item), struct nvmet_ns, group); in to_nvmet_ns()
138 static inline struct device *nvmet_ns_dev(struct nvmet_ns *ns) in nvmet_ns_dev()
143 struct nvmet_cq {
144 struct nvmet_ctrl *ctrl;
150 struct nvmet_sq {
151 struct nvmet_ctrl *ctrl;
152 struct percpu_ref ref;
153 struct nvmet_cq *cq;
160 struct delayed_work auth_expired_work;
172 struct key *tls_key;
174 struct completion free_done;
175 struct completion confirm_done;
178 struct nvmet_ana_group {
179 struct config_group group;
180 struct nvmet_port *port;
184 static inline struct nvmet_ana_group *to_ana_group(struct config_item *item) in to_ana_group()
186 return container_of(to_config_group(item), struct nvmet_ana_group, in to_ana_group()
191 * struct nvmet_port - Common structure to keep port
199 struct nvmet_port {
200 struct list_head entry;
201 struct nvmf_disc_rsp_page_entry disc_addr;
202 struct config_group group;
203 struct config_group subsys_group;
204 struct list_head subsystems;
205 struct config_group referrals_group;
206 struct list_head referrals;
207 struct list_head global_entry;
208 struct config_group ana_groups_group;
209 struct nvmet_ana_group ana_default_group;
211 struct key *keyring;
216 const struct nvmet_fabrics_ops *tr_ops;
220 static inline struct nvmet_port *to_nvmet_port(struct config_item *item) in to_nvmet_port()
222 return container_of(to_config_group(item), struct nvmet_port, in to_nvmet_port()
226 static inline struct nvmet_port *ana_groups_to_port( in ana_groups_to_port()
227 struct config_item *item) in ana_groups_to_port()
229 return container_of(to_config_group(item), struct nvmet_port, in ana_groups_to_port()
233 static inline u8 nvmet_port_disc_addr_treq_secure_channel(struct nvmet_port *port) in nvmet_port_disc_addr_treq_secure_channel()
238 static inline bool nvmet_port_secure_channel_required(struct nvmet_port *port) in nvmet_port_secure_channel_required()
243 struct nvmet_pr_log_mgr {
244 struct mutex lock;
247 DECLARE_KFIFO(log_queue, struct nvme_pr_log, NVMET_PR_LOG_QUEUE_SIZE);
250 struct nvmet_ctrl {
251 struct nvmet_subsys *subsys;
252 struct nvmet_sq **sqs;
253 struct nvmet_cq **cqs;
259 struct mutex lock;
268 struct nvmet_port *port;
272 struct nvmet_req *async_event_cmds[NVMET_ASYNC_EVENTS];
274 struct list_head async_events;
275 struct work_struct async_event_work;
277 struct list_head subsys_entry;
278 struct kref ref;
279 struct delayed_work ka_work;
280 struct work_struct fatal_err_work;
282 const struct nvmet_fabrics_ops *ops;
290 struct device *p2p_client;
291 struct radix_tree_root p2p_ns_map;
293 struct dentry *debugfs_dir;
297 struct nvme_error_slot slots[NVMET_ERROR_LOG_SLOTS];
301 struct nvme_dhchap_key *host_key;
302 struct nvme_dhchap_key *ctrl_key;
304 struct crypto_kpp *dh_tfm;
310 struct key *tls_key;
312 struct nvmet_pr_log_mgr pr_log_mgr;
315 struct nvmet_subsys {
318 struct mutex lock;
319 struct kref ref;
321 struct xarray namespaces;
327 struct list_head ctrls;
329 struct list_head hosts;
332 struct dentry *debugfs_dir;
342 struct config_group group;
344 struct config_group namespaces_group;
345 struct config_group allowed_hosts_group;
354 struct nvme_ctrl *passthru_ctrl;
356 struct config_group passthru_group;
367 static inline struct nvmet_subsys *to_subsys(struct config_item *item) in to_subsys()
369 return container_of(to_config_group(item), struct nvmet_subsys, group); in to_subsys()
372 static inline struct nvmet_subsys *namespaces_to_subsys( in namespaces_to_subsys()
373 struct config_item *item) in namespaces_to_subsys()
375 return container_of(to_config_group(item), struct nvmet_subsys, in namespaces_to_subsys()
379 struct nvmet_host {
380 struct config_group group;
389 static inline struct nvmet_host *to_host(struct config_item *item) in to_host()
391 return container_of(to_config_group(item), struct nvmet_host, group); in to_host()
394 static inline char *nvmet_host_name(struct nvmet_host *host) in nvmet_host_name()
399 struct nvmet_host_link {
400 struct list_head entry;
401 struct nvmet_host *host;
404 struct nvmet_subsys_link {
405 struct list_head entry;
406 struct nvmet_subsys *subsys;
409 struct nvmet_req;
410 struct nvmet_fabrics_ops {
411 struct module *owner;
417 void (*queue_response)(struct nvmet_req *req);
418 int (*add_port)(struct nvmet_port *port);
419 void (*remove_port)(struct nvmet_port *port);
420 void (*delete_ctrl)(struct nvmet_ctrl *ctrl);
421 void (*disc_traddr)(struct nvmet_req *req,
422 struct nvmet_port *port, char *traddr);
423 ssize_t (*host_traddr)(struct nvmet_ctrl *ctrl,
425 u16 (*install_queue)(struct nvmet_sq *nvme_sq);
426 void (*discovery_chg)(struct nvmet_port *port);
427 u8 (*get_mdts)(const struct nvmet_ctrl *ctrl);
428 u16 (*get_max_queue_size)(const struct nvmet_ctrl *ctrl);
431 u16 (*create_sq)(struct nvmet_ctrl *ctrl, u16 sqid, u16 cqid, u16 flags,
433 u16 (*delete_sq)(struct nvmet_ctrl *ctrl, u16 sqid);
434 u16 (*create_cq)(struct nvmet_ctrl *ctrl, u16 cqid, u16 flags,
436 u16 (*delete_cq)(struct nvmet_ctrl *ctrl, u16 cqid);
437 u16 (*set_feature)(const struct nvmet_ctrl *ctrl, u8 feat,
439 u16 (*get_feature)(const struct nvmet_ctrl *ctrl, u8 feat,
446 struct nvmet_req {
447 struct nvme_command *cmd;
448 struct nvme_completion *cqe;
449 struct nvmet_sq *sq;
450 struct nvmet_cq *cq;
451 struct nvmet_ns *ns;
452 struct scatterlist *sg;
453 struct scatterlist *metadata_sg;
454 struct bio_vec inline_bvec[NVMET_MAX_INLINE_BIOVEC];
456 struct {
457 struct bio inline_bio;
459 struct {
461 struct kiocb iocb;
462 struct bio_vec *bvec;
463 struct work_struct work;
465 struct {
466 struct bio inline_bio;
467 struct request *rq;
468 struct work_struct work;
472 struct {
473 struct bio inline_bio;
474 struct work_struct zmgmt_work;
477 struct {
478 struct work_struct abort_work;
487 struct nvmet_port *port;
489 void (*execute)(struct nvmet_req *req);
490 const struct nvmet_fabrics_ops *ops;
492 struct pci_dev *p2p_dev;
493 struct device *p2p_client;
496 struct nvmet_pr_per_ctrl_ref *pc_ref;
500 extern struct kmem_cache *nvmet_bvec_cache;
501 extern struct workqueue_struct *buffered_io_wq;
502 extern struct workqueue_struct *zbd_wq;
503 extern struct workqueue_struct *nvmet_wq;
505 static inline void nvmet_set_result(struct nvmet_req *req, u32 result) in nvmet_set_result()
514 nvmet_data_dir(struct nvmet_req *req) in nvmet_data_dir()
519 struct nvmet_async_event {
520 struct list_head entry;
526 static inline void nvmet_clear_aen_bit(struct nvmet_req *req, u32 bn) in nvmet_clear_aen_bit()
534 static inline bool nvmet_aen_bit_disabled(struct nvmet_ctrl *ctrl, u32 bn) in nvmet_aen_bit_disabled()
541 void nvmet_get_feat_kato(struct nvmet_req *req);
542 void nvmet_get_feat_async_event(struct nvmet_req *req);
543 u16 nvmet_set_feat_kato(struct nvmet_req *req);
544 u16 nvmet_set_feat_async_event(struct nvmet_req *req, u32 mask);
545 void nvmet_execute_async_event(struct nvmet_req *req);
546 void nvmet_start_keep_alive_timer(struct nvmet_ctrl *ctrl);
547 void nvmet_stop_keep_alive_timer(struct nvmet_ctrl *ctrl);
549 u16 nvmet_parse_connect_cmd(struct nvmet_req *req);
550 u32 nvmet_connect_cmd_data_len(struct nvmet_req *req);
551 void nvmet_bdev_set_limits(struct block_device *bdev, struct nvme_id_ns *id);
552 u16 nvmet_bdev_parse_io_cmd(struct nvmet_req *req);
553 u16 nvmet_file_parse_io_cmd(struct nvmet_req *req);
554 u16 nvmet_bdev_zns_parse_io_cmd(struct nvmet_req *req);
555 u32 nvmet_admin_cmd_data_len(struct nvmet_req *req);
556 u16 nvmet_parse_admin_cmd(struct nvmet_req *req);
557 u32 nvmet_discovery_cmd_data_len(struct nvmet_req *req);
558 u16 nvmet_parse_discovery_cmd(struct nvmet_req *req);
559 u16 nvmet_parse_fabrics_admin_cmd(struct nvmet_req *req);
560 u32 nvmet_fabrics_admin_cmd_data_len(struct nvmet_req *req);
561 u16 nvmet_parse_fabrics_io_cmd(struct nvmet_req *req);
562 u32 nvmet_fabrics_io_cmd_data_len(struct nvmet_req *req);
564 bool nvmet_req_init(struct nvmet_req *req, struct nvmet_sq *sq,
565 const struct nvmet_fabrics_ops *ops);
566 void nvmet_req_uninit(struct nvmet_req *req);
567 size_t nvmet_req_transfer_len(struct nvmet_req *req);
568 bool nvmet_check_transfer_len(struct nvmet_req *req, size_t len);
569 bool nvmet_check_data_len_lte(struct nvmet_req *req, size_t data_len);
570 void nvmet_req_complete(struct nvmet_req *req, u16 status);
571 int nvmet_req_alloc_sgls(struct nvmet_req *req);
572 void nvmet_req_free_sgls(struct nvmet_req *req);
574 void nvmet_execute_set_features(struct nvmet_req *req);
575 void nvmet_execute_get_features(struct nvmet_req *req);
576 void nvmet_execute_keep_alive(struct nvmet_req *req);
578 u16 nvmet_check_cqid(struct nvmet_ctrl *ctrl, u16 cqid, bool create);
579 u16 nvmet_check_io_cqid(struct nvmet_ctrl *ctrl, u16 cqid, bool create);
580 void nvmet_cq_init(struct nvmet_cq *cq);
581 void nvmet_cq_setup(struct nvmet_ctrl *ctrl, struct nvmet_cq *cq, u16 qid,
583 u16 nvmet_cq_create(struct nvmet_ctrl *ctrl, struct nvmet_cq *cq, u16 qid,
585 void nvmet_cq_destroy(struct nvmet_cq *cq);
586 bool nvmet_cq_get(struct nvmet_cq *cq);
587 void nvmet_cq_put(struct nvmet_cq *cq);
588 bool nvmet_cq_in_use(struct nvmet_cq *cq);
589 u16 nvmet_check_sqid(struct nvmet_ctrl *ctrl, u16 sqid, bool create);
590 void nvmet_sq_setup(struct nvmet_ctrl *ctrl, struct nvmet_sq *sq, u16 qid,
592 u16 nvmet_sq_create(struct nvmet_ctrl *ctrl, struct nvmet_sq *sq,
593 struct nvmet_cq *cq, u16 qid, u16 size);
594 void nvmet_sq_destroy(struct nvmet_sq *sq);
595 int nvmet_sq_init(struct nvmet_sq *sq, struct nvmet_cq *cq);
597 void nvmet_ctrl_fatal_error(struct nvmet_ctrl *ctrl);
599 void nvmet_update_cc(struct nvmet_ctrl *ctrl, u32 new);
601 struct nvmet_alloc_ctrl_args {
602 struct nvmet_port *port;
603 struct nvmet_sq *sq;
607 const struct nvmet_fabrics_ops *ops;
608 struct device *p2p_client;
615 struct nvmet_ctrl *nvmet_alloc_ctrl(struct nvmet_alloc_ctrl_args *args);
616 struct nvmet_ctrl *nvmet_ctrl_find_get(const char *subsysnqn,
618 struct nvmet_req *req);
619 void nvmet_ctrl_put(struct nvmet_ctrl *ctrl);
620 u16 nvmet_check_ctrl_status(struct nvmet_req *req);
621 ssize_t nvmet_ctrl_host_traddr(struct nvmet_ctrl *ctrl,
624 struct nvmet_subsys *nvmet_subsys_alloc(const char *subsysnqn,
626 void nvmet_subsys_put(struct nvmet_subsys *subsys);
627 void nvmet_subsys_del_ctrls(struct nvmet_subsys *subsys);
629 u16 nvmet_req_find_ns(struct nvmet_req *req);
630 void nvmet_put_namespace(struct nvmet_ns *ns);
631 int nvmet_ns_enable(struct nvmet_ns *ns);
632 void nvmet_ns_disable(struct nvmet_ns *ns);
633 struct nvmet_ns *nvmet_ns_alloc(struct nvmet_subsys *subsys, u32 nsid);
634 void nvmet_ns_free(struct nvmet_ns *ns);
636 void nvmet_send_ana_event(struct nvmet_subsys *subsys,
637 struct nvmet_port *port);
638 void nvmet_port_send_ana_event(struct nvmet_port *port);
640 int nvmet_register_transport(const struct nvmet_fabrics_ops *ops);
641 void nvmet_unregister_transport(const struct nvmet_fabrics_ops *ops);
643 void nvmet_port_del_ctrls(struct nvmet_port *port,
644 struct nvmet_subsys *subsys);
646 int nvmet_enable_port(struct nvmet_port *port);
647 void nvmet_disable_port(struct nvmet_port *port);
649 void nvmet_referral_enable(struct nvmet_port *parent, struct nvmet_port *port);
650 void nvmet_referral_disable(struct nvmet_port *parent, struct nvmet_port *port);
652 u16 nvmet_copy_to_sgl(struct nvmet_req *req, off_t off, const void *buf,
654 u16 nvmet_copy_from_sgl(struct nvmet_req *req, off_t off, void *buf,
656 u16 nvmet_zero_sgl(struct nvmet_req *req, off_t off, size_t len);
658 u32 nvmet_get_log_page_len(struct nvme_command *cmd);
659 u64 nvmet_get_log_page_offset(struct nvme_command *cmd);
661 extern struct list_head *nvmet_ports;
662 void nvmet_port_disc_changed(struct nvmet_port *port,
663 struct nvmet_subsys *subsys);
664 void nvmet_subsys_disc_changed(struct nvmet_subsys *subsys,
665 struct nvmet_host *host);
666 void nvmet_add_async_event(struct nvmet_ctrl *ctrl, u8 event_type,
698 extern struct nvmet_subsys *nvmet_disc_subsys;
699 extern struct rw_semaphore nvmet_config_sem;
703 extern struct rw_semaphore nvmet_ana_sem;
705 bool nvmet_host_allowed(struct nvmet_subsys *subsys, const char *hostnqn);
707 int nvmet_bdev_ns_enable(struct nvmet_ns *ns);
708 int nvmet_file_ns_enable(struct nvmet_ns *ns);
709 void nvmet_bdev_ns_disable(struct nvmet_ns *ns);
710 void nvmet_file_ns_disable(struct nvmet_ns *ns);
711 u16 nvmet_bdev_flush(struct nvmet_req *req);
712 u16 nvmet_file_flush(struct nvmet_req *req);
713 void nvmet_ns_changed(struct nvmet_subsys *subsys, u32 nsid);
714 void nvmet_bdev_ns_revalidate(struct nvmet_ns *ns);
715 void nvmet_file_ns_revalidate(struct nvmet_ns *ns);
716 bool nvmet_ns_revalidate(struct nvmet_ns *ns);
717 u16 blk_to_nvme_status(struct nvmet_req *req, blk_status_t blk_sts);
719 bool nvmet_bdev_zns_enable(struct nvmet_ns *ns);
720 void nvmet_execute_identify_ctrl_zns(struct nvmet_req *req);
721 void nvmet_execute_identify_ns_zns(struct nvmet_req *req);
722 void nvmet_bdev_execute_zone_mgmt_recv(struct nvmet_req *req);
723 void nvmet_bdev_execute_zone_mgmt_send(struct nvmet_req *req);
724 void nvmet_bdev_execute_zone_append(struct nvmet_req *req);
726 static inline u32 nvmet_rw_data_len(struct nvmet_req *req) in nvmet_rw_data_len()
732 static inline u32 nvmet_rw_metadata_len(struct nvmet_req *req) in nvmet_rw_metadata_len()
740 static inline u32 nvmet_dsm_len(struct nvmet_req *req) in nvmet_dsm_len()
743 sizeof(struct nvme_dsm_range); in nvmet_dsm_len()
746 static inline struct nvmet_subsys *nvmet_req_subsys(struct nvmet_req *req) in nvmet_req_subsys()
751 static inline bool nvmet_is_disc_subsys(struct nvmet_subsys *subsys) in nvmet_is_disc_subsys()
756 static inline bool nvmet_is_pci_ctrl(struct nvmet_ctrl *ctrl) in nvmet_is_pci_ctrl()
762 void nvmet_passthru_subsys_free(struct nvmet_subsys *subsys);
763 int nvmet_passthru_ctrl_enable(struct nvmet_subsys *subsys);
764 void nvmet_passthru_ctrl_disable(struct nvmet_subsys *subsys);
765 u16 nvmet_parse_passthru_admin_cmd(struct nvmet_req *req);
766 u16 nvmet_parse_passthru_io_cmd(struct nvmet_req *req);
767 static inline bool nvmet_is_passthru_subsys(struct nvmet_subsys *subsys) in nvmet_is_passthru_subsys()
772 static inline void nvmet_passthru_subsys_free(struct nvmet_subsys *subsys) in nvmet_passthru_subsys_free()
775 static inline void nvmet_passthru_ctrl_disable(struct nvmet_subsys *subsys) in nvmet_passthru_ctrl_disable()
778 static inline u16 nvmet_parse_passthru_admin_cmd(struct nvmet_req *req) in nvmet_parse_passthru_admin_cmd()
782 static inline u16 nvmet_parse_passthru_io_cmd(struct nvmet_req *req) in nvmet_parse_passthru_io_cmd()
786 static inline bool nvmet_is_passthru_subsys(struct nvmet_subsys *subsys) in nvmet_is_passthru_subsys()
792 static inline bool nvmet_is_passthru_req(struct nvmet_req *req) in nvmet_is_passthru_req()
797 void nvmet_passthrough_override_cap(struct nvmet_ctrl *ctrl);
799 u16 errno_to_nvme_status(struct nvmet_req *req, int errno);
800 u16 nvmet_report_invalid_opcode(struct nvmet_req *req);
843 static inline bool nvmet_ns_has_pi(struct nvmet_ns *ns) in nvmet_ns_has_pi()
847 return ns->pi_type && ns->metadata_size == sizeof(struct t10_pi_tuple); in nvmet_ns_has_pi()
850 static inline __le64 nvmet_sect_to_lba(struct nvmet_ns *ns, sector_t sect) in nvmet_sect_to_lba()
855 static inline sector_t nvmet_lba_to_sect(struct nvmet_ns *ns, __le64 lba) in nvmet_lba_to_sect()
860 static inline bool nvmet_use_inline_bvec(struct nvmet_req *req) in nvmet_use_inline_bvec()
866 static inline void nvmet_req_bio_put(struct nvmet_req *req, struct bio *bio) in nvmet_req_bio_put()
875 static inline key_serial_t nvmet_queue_tls_keyid(struct nvmet_sq *sq) in nvmet_queue_tls_keyid()
879 static inline void nvmet_sq_put_tls_key(struct nvmet_sq *sq) in nvmet_sq_put_tls_key()
887 static inline key_serial_t nvmet_queue_tls_keyid(struct nvmet_sq *sq) { return 0; } in nvmet_queue_tls_keyid()
888 static inline void nvmet_sq_put_tls_key(struct nvmet_sq *sq) {} in nvmet_sq_put_tls_key()
891 u32 nvmet_auth_send_data_len(struct nvmet_req *req);
892 void nvmet_execute_auth_send(struct nvmet_req *req);
893 u32 nvmet_auth_receive_data_len(struct nvmet_req *req);
894 void nvmet_execute_auth_receive(struct nvmet_req *req);
895 int nvmet_auth_set_key(struct nvmet_host *host, const char *secret,
897 int nvmet_auth_set_host_hash(struct nvmet_host *host, const char *hash);
898 u8 nvmet_setup_auth(struct nvmet_ctrl *ctrl, struct nvmet_sq *sq);
899 void nvmet_auth_sq_init(struct nvmet_sq *sq);
900 void nvmet_destroy_auth(struct nvmet_ctrl *ctrl);
901 void nvmet_auth_sq_free(struct nvmet_sq *sq);
902 int nvmet_setup_dhgroup(struct nvmet_ctrl *ctrl, u8 dhgroup_id);
903 bool nvmet_check_auth_status(struct nvmet_req *req);
904 int nvmet_auth_host_hash(struct nvmet_req *req, u8 *response,
906 int nvmet_auth_ctrl_hash(struct nvmet_req *req, u8 *response,
908 static inline bool nvmet_has_auth(struct nvmet_ctrl *ctrl, struct nvmet_sq *sq) in nvmet_has_auth()
912 int nvmet_auth_ctrl_exponential(struct nvmet_req *req,
914 int nvmet_auth_ctrl_sesskey(struct nvmet_req *req,
916 void nvmet_auth_insert_psk(struct nvmet_sq *sq);
918 static inline u8 nvmet_setup_auth(struct nvmet_ctrl *ctrl, in nvmet_setup_auth()
919 struct nvmet_sq *sq) in nvmet_setup_auth()
923 static inline void nvmet_auth_sq_init(struct nvmet_sq *sq) in nvmet_auth_sq_init()
926 static inline void nvmet_destroy_auth(struct nvmet_ctrl *ctrl) {}; in nvmet_destroy_auth()
927 static inline void nvmet_auth_sq_free(struct nvmet_sq *sq) {}; in nvmet_auth_sq_free()
928 static inline bool nvmet_check_auth_status(struct nvmet_req *req) in nvmet_check_auth_status()
932 static inline bool nvmet_has_auth(struct nvmet_ctrl *ctrl, in nvmet_has_auth()
933 struct nvmet_sq *sq) in nvmet_has_auth()
938 static inline void nvmet_auth_insert_psk(struct nvmet_sq *sq) {}; in nvmet_auth_insert_psk()
941 int nvmet_pr_init_ns(struct nvmet_ns *ns);
942 u16 nvmet_parse_pr_cmd(struct nvmet_req *req);
943 u16 nvmet_pr_check_cmd_access(struct nvmet_req *req);
944 int nvmet_ctrl_init_pr(struct nvmet_ctrl *ctrl);
945 void nvmet_ctrl_destroy_pr(struct nvmet_ctrl *ctrl);
946 void nvmet_pr_exit_ns(struct nvmet_ns *ns);
947 void nvmet_execute_get_log_page_resv(struct nvmet_req *req);
948 u16 nvmet_set_feat_resv_notif_mask(struct nvmet_req *req, u32 mask);
949 u16 nvmet_get_feat_resv_notif_mask(struct nvmet_req *req);
950 u16 nvmet_pr_get_ns_pc_ref(struct nvmet_req *req);
951 static inline void nvmet_pr_put_ns_pc_ref(struct nvmet_pr_per_ctrl_ref *pc_ref) in nvmet_pr_put_ns_pc_ref()
960 struct nvmet_feat_irq_coalesce {
965 struct nvmet_feat_irq_config {
970 struct nvmet_feat_arbitration {