Lines Matching defs:hdr

233 static int nvme_trans_copy_to_user(struct sg_io_hdr *hdr, void *from,  in nvme_trans_copy_to_user()
268 static int nvme_trans_copy_from_user(struct sg_io_hdr *hdr, void *to, in nvme_trans_copy_from_user()
302 static int nvme_trans_completion(struct sg_io_hdr *hdr, u8 status, u8 sense_key, in nvme_trans_completion()
341 static int nvme_trans_status_code(struct sg_io_hdr *hdr, int nvme_sc) in nvme_trans_status_code()
524 struct sg_io_hdr *hdr, u8 *inq_response, in nvme_trans_standard_inquiry_page()
568 struct sg_io_hdr *hdr, u8 *inq_response, in nvme_trans_supported_vpd_pages()
588 struct sg_io_hdr *hdr, u8 *inq_response, in nvme_trans_unit_serial_page()
603 static int nvme_trans_device_id_page(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_device_id_page()
669 static int nvme_trans_ext_inq_page(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_ext_inq_page()
734 static int nvme_trans_bdev_limits_page(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_bdev_limits_page()
754 static int nvme_trans_bdev_char_page(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_bdev_char_page()
784 static int nvme_trans_log_supp_pages(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_log_supp_pages()
813 struct sg_io_hdr *hdr, int alloc_len) in nvme_trans_log_info_exceptions()
859 static int nvme_trans_log_temperature(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_log_temperature()
946 static int nvme_trans_fill_blk_desc(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_fill_blk_desc()
990 struct sg_io_hdr *hdr, u8 *resp, in nvme_trans_fill_control_page()
1012 struct sg_io_hdr *hdr, in nvme_trans_fill_caching_page()
1039 struct sg_io_hdr *hdr, u8 *resp, in nvme_trans_fill_pow_cnd_page()
1053 struct sg_io_hdr *hdr, u8 *resp, in nvme_trans_fill_inf_exc_page()
1067 static int nvme_trans_fill_all_pages(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_fill_all_pages()
1105 struct sg_io_hdr *hdr, u8 *cmd, in nvme_trans_mode_page_create()
1205 static int nvme_trans_power_state(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_power_state()
1264 static int nvme_trans_send_activate_fw_cmd(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_send_activate_fw_cmd()
1278 static int nvme_trans_send_download_fw_cmd(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_send_download_fw_cmd()
1362 static int nvme_trans_modesel_get_mp(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_modesel_get_mp()
1400 static int nvme_trans_modesel_data(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_modesel_data()
1472 struct sg_io_hdr *hdr) in nvme_trans_fmt_set_blk_size_count()
1508 static int nvme_trans_fmt_get_parm_header(struct sg_io_hdr *hdr, u8 len, in nvme_trans_fmt_get_parm_header()
1568 static int nvme_trans_fmt_send_cmd(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_fmt_send_cmd()
1621 static inline u32 nvme_trans_io_get_num_cmds(struct sg_io_hdr *hdr, in nvme_trans_io_get_num_cmds()
1647 static int nvme_trans_do_nvme_io(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_do_nvme_io()
1721 static int nvme_trans_io(struct nvme_ns *ns, struct sg_io_hdr *hdr, u8 is_write, in nvme_trans_io()
1827 static int nvme_trans_inquiry(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_inquiry()
1896 static int nvme_trans_log_sense(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_log_sense()
1941 static int nvme_trans_mode_select(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_mode_select()
1971 static int nvme_trans_mode_sense(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_mode_sense()
2035 static int nvme_trans_read_capacity(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_read_capacity()
2076 static int nvme_trans_report_luns(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_report_luns()
2143 static int nvme_trans_request_sense(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_request_sense()
2193 struct sg_io_hdr *hdr, in nvme_trans_security_protocol()
2202 struct sg_io_hdr *hdr) in nvme_trans_synchronize_cache()
2215 static int nvme_trans_start_stop(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_start_stop()
2242 static int nvme_trans_format_unit(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_format_unit()
2295 struct sg_io_hdr *hdr, in nvme_trans_test_unit_ready()
2308 static int nvme_trans_write_buffer(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_write_buffer()
2374 static int nvme_trans_unmap(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_unmap()
2429 static int nvme_scsi_translate(struct nvme_ns *ns, struct sg_io_hdr *hdr) in nvme_scsi_translate()
2529 struct sg_io_hdr hdr; in nvme_sg_io() local