Lines Matching defs:hdr

369 static int nvme_trans_copy_to_user(struct sg_io_hdr *hdr, void *from,  in nvme_trans_copy_to_user()
410 static int nvme_trans_copy_from_user(struct sg_io_hdr *hdr, void *to, in nvme_trans_copy_from_user()
452 static int nvme_trans_completion(struct sg_io_hdr *hdr, u8 status, u8 sense_key, in nvme_trans_completion()
486 static int nvme_trans_status_code(struct sg_io_hdr *hdr, int nvme_sc) in nvme_trans_status_code()
672 struct sg_io_hdr *hdr, u8 *inq_response, in nvme_trans_standard_inquiry_page()
738 struct sg_io_hdr *hdr, u8 *inq_response, in nvme_trans_supported_vpd_pages()
761 struct sg_io_hdr *hdr, u8 *inq_response, in nvme_trans_unit_serial_page()
779 static int nvme_trans_device_id_page(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_device_id_page()
860 static int nvme_trans_ext_inq_page(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_ext_inq_page()
944 static int nvme_trans_bdev_limits_page(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_bdev_limits_page()
964 static int nvme_trans_bdev_char_page(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_bdev_char_page()
994 static int nvme_trans_log_supp_pages(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_log_supp_pages()
1023 struct sg_io_hdr *hdr, int alloc_len) in nvme_trans_log_info_exceptions()
1089 static int nvme_trans_log_temperature(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_log_temperature()
1196 static int nvme_trans_fill_blk_desc(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_fill_blk_desc()
1257 struct sg_io_hdr *hdr, u8 *resp, in nvme_trans_fill_control_page()
1279 struct sg_io_hdr *hdr, in nvme_trans_fill_caching_page()
1311 struct sg_io_hdr *hdr, u8 *resp, in nvme_trans_fill_pow_cnd_page()
1327 struct sg_io_hdr *hdr, u8 *resp, in nvme_trans_fill_inf_exc_page()
1343 static int nvme_trans_fill_all_pages(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_fill_all_pages()
1386 struct sg_io_hdr *hdr, u8 *cmd, in nvme_trans_mode_page_create()
1485 static int nvme_trans_power_state(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_power_state()
1569 static int nvme_trans_send_fw_cmd(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_send_fw_cmd()
1686 static int nvme_trans_modesel_get_mp(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_modesel_get_mp()
1734 static int nvme_trans_modesel_data(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_modesel_data()
1806 struct sg_io_hdr *hdr) in nvme_trans_fmt_set_blk_size_count()
1856 static int nvme_trans_fmt_get_parm_header(struct sg_io_hdr *hdr, u8 len, in nvme_trans_fmt_get_parm_header()
1916 static int nvme_trans_fmt_send_cmd(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_fmt_send_cmd()
2038 static inline u32 nvme_trans_io_get_num_cmds(struct sg_io_hdr *hdr, in nvme_trans_io_get_num_cmds()
2064 static int nvme_trans_do_nvme_io(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_do_nvme_io()
2166 static int nvme_trans_io(struct nvme_ns *ns, struct sg_io_hdr *hdr, u8 is_write, in nvme_trans_io()
2247 static int nvme_trans_inquiry(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_inquiry()
2316 static int nvme_trans_log_sense(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_log_sense()
2363 static int nvme_trans_mode_select(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_mode_select()
2399 static int nvme_trans_mode_sense(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_mode_sense()
2469 static int nvme_trans_read_capacity(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_read_capacity()
2525 static int nvme_trans_report_luns(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_report_luns()
2611 static int nvme_trans_request_sense(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_request_sense()
2662 struct sg_io_hdr *hdr, in nvme_trans_security_protocol()
2670 static int nvme_trans_start_stop(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_start_stop()
2719 struct sg_io_hdr *hdr, u8 *cmd) in nvme_trans_synchronize_cache()
2741 static int nvme_trans_format_unit(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_format_unit()
2801 struct sg_io_hdr *hdr, in nvme_trans_test_unit_ready()
2817 static int nvme_trans_write_buffer(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_write_buffer()
2890 static int nvme_trans_unmap(struct nvme_ns *ns, struct sg_io_hdr *hdr, in nvme_trans_unmap()
2947 static int nvme_scsi_translate(struct nvme_ns *ns, struct sg_io_hdr *hdr) in nvme_scsi_translate()
3044 struct sg_io_hdr hdr; in nvme_sg_io() local