FreeBSD kernel CAM code
|
#include <dev/nvme/nvme.h>
Go to the source code of this file.
Functions | |
void | nvme_ns_cmd (struct ccb_nvmeio *nvmeio, uint8_t cmd, uint32_t nsid, uint32_t cdw10, uint32_t cdw11, uint32_t cdw12, uint32_t cdw13, uint32_t cdw14, uint32_t cdw15) |
int | nvme_identify_match (caddr_t identbuffer, caddr_t table_entry) |
void | nvme_print_ident (const struct nvme_controller_data *, const struct nvme_namespace_data *, struct sbuf *) |
const char * | nvme_op_string (const struct nvme_command *, int admin) |
const char * | nvme_cmd_string (const struct nvme_command *, char *, size_t) |
void | nvme_cmd_sbuf (const struct nvme_command *, struct sbuf *sb) |
int | nvme_command_sbuf (struct ccb_nvmeio *nvmeio, struct sbuf *sb) |
const void * | nvme_get_identify_cntrl (struct cam_periph *) |
const void * | nvme_get_identify_ns (struct cam_periph *) |
void nvme_cmd_sbuf | ( | const struct nvme_command * | cmd, |
struct sbuf * | sb | ||
) |
Definition at line 170 of file nvme_all.c.
Referenced by nvme_cmd_string(), and nvme_command_sbuf().
const char * nvme_cmd_string | ( | const struct nvme_command * | cmd, |
char * | cmd_string, | ||
size_t | len | ||
) |
Definition at line 146 of file nvme_all.c.
References nvme_cmd_sbuf().
Referenced by nvme_proto_debug_out().
int nvme_command_sbuf | ( | struct ccb_nvmeio * | nvmeio, |
struct sbuf * | sb | ||
) |
Definition at line 189 of file nvme_all.c.
References ccb_nvmeio::ccb_h, ccb_nvmeio::cmd, ccb_hdr::func_code, nvme_cmd_sbuf(), nvme_op_string(), and XPT_NVME_ADMIN.
Referenced by cam_error_string().
const void * nvme_get_identify_cntrl | ( | struct cam_periph * | periph | ) |
Definition at line 200 of file nvme_all.c.
References cam_path::device, cam_ed::nvme_cdata, and cam_periph::path.
Referenced by ndaregister().
const void * nvme_get_identify_ns | ( | struct cam_periph * | periph | ) |
Definition at line 210 of file nvme_all.c.
References cam_path::device, cam_ed::nvme_data, and cam_periph::path.
Referenced by ndaregister().
int nvme_identify_match | ( | caddr_t | identbuffer, |
caddr_t | table_entry | ||
) |
Definition at line 83 of file nvme_all.c.
void nvme_ns_cmd | ( | struct ccb_nvmeio * | nvmeio, |
uint8_t | cmd, | ||
uint32_t | nsid, | ||
uint32_t | cdw10, | ||
uint32_t | cdw11, | ||
uint32_t | cdw12, | ||
uint32_t | cdw13, | ||
uint32_t | cdw14, | ||
uint32_t | cdw15 | ||
) |
Definition at line 67 of file nvme_all.c.
References ccb_nvmeio::cmd.
Referenced by nvme_probe_start().
const char * nvme_op_string | ( | const struct nvme_command * | cmd, |
int | admin | ||
) |
Definition at line 133 of file nvme_all.c.
References nvme_opc2str.
Referenced by nvme_command_sbuf(), and nvme_proto_debug_out().
void nvme_print_ident | ( | const struct nvme_controller_data * | cdata, |
const struct nvme_namespace_data * | data, | ||
struct sbuf * | sb | ||
) |
Definition at line 89 of file nvme_all.c.
References CAM_STRVIS_FLAG_NONASCII_SPC, and cam_strvis_sbuf().
Referenced by nvme_proto_announce().