Searched refs:NvmeNamespace (Results 1 – 6 of 6) sorted by relevance
/openbmc/qemu/hw/nvme/ |
H A D | ns.c | 30 void nvme_ns_init_format(NvmeNamespace *ns) in nvme_ns_init_format() 60 static int nvme_ns_init(NvmeNamespace *ns, Error **errp) in nvme_ns_init() 268 static void nvme_ns_init_zoned(NvmeNamespace *ns) in nvme_ns_init_zoned() 651 int nvme_ns_setup(NvmeNamespace *ns, Error **errp) in nvme_ns_setup() 680 void nvme_ns_drain(NvmeNamespace *ns) in nvme_ns_drain() 685 void nvme_ns_shutdown(NvmeNamespace *ns) in nvme_ns_shutdown() 693 void nvme_ns_cleanup(NvmeNamespace *ns) in nvme_ns_cleanup() 708 NvmeNamespace *ns = NVME_NS(dev); in nvme_ns_unrealize() 717 NvmeNamespace *ns = NVME_NS(dev); in nvme_ns_realize() 848 NvmeNamespace *ns = NVME_NS(obj); in nvme_ns_instance_init() [all …]
|
H A D | nvme.h | 43 typedef struct NvmeNamespace NvmeNamespace; typedef 223 typedef struct NvmeNamespace { struct 246 QTAILQ_ENTRY(NvmeNamespace) entry; argument 275 } NvmeNamespace; argument 301 static inline bool nvme_ns_ext(NvmeNamespace *ns) in nvme_ns_ext() 384 void nvme_ns_init_format(NvmeNamespace *ns); 386 void nvme_ns_drain(NvmeNamespace *ns); 387 void nvme_ns_shutdown(NvmeNamespace *ns); 388 void nvme_ns_cleanup(NvmeNamespace *ns); 416 struct NvmeNamespace *ns; [all …]
|
H A D | dif.h | 173 static inline size_t nvme_pi_tuple_size(NvmeNamespace *ns) in nvme_pi_tuple_size() 178 uint16_t nvme_check_prinfo(NvmeNamespace *ns, uint8_t prinfo, uint64_t slba, 180 uint16_t nvme_dif_mangle_mdata(NvmeNamespace *ns, uint8_t *mbuf, size_t mlen, 182 void nvme_dif_pract_generate_dif(NvmeNamespace *ns, uint8_t *buf, size_t len, 185 uint16_t nvme_dif_check(NvmeNamespace *ns, uint8_t *buf, size_t len,
|
H A D | dif.c | 19 uint16_t nvme_check_prinfo(NvmeNamespace *ns, uint8_t prinfo, uint64_t slba, in nvme_check_prinfo() 63 static void nvme_dif_pract_generate_dif_crc16(NvmeNamespace *ns, uint8_t *buf, in nvme_dif_pract_generate_dif_crc16() 153 static uint16_t nvme_dif_prchk_crc16(NvmeNamespace *ns, NvmeDifTuple *dif, in nvme_dif_prchk_crc16() 212 static uint16_t nvme_dif_prchk_crc64(NvmeNamespace *ns, NvmeDifTuple *dif, in nvme_dif_prchk_crc64() 279 static uint16_t nvme_dif_prchk(NvmeNamespace *ns, NvmeDifTuple *dif, in nvme_dif_prchk() 296 uint16_t nvme_dif_check(NvmeNamespace *ns, uint8_t *buf, size_t len, in nvme_dif_check() 407 NvmeNamespace *ns = req->ns; in nvme_dif_rw_cb() 427 NvmeNamespace *ns = req->ns; in nvme_dif_rw_check_cb() 487 NvmeNamespace *ns = req->ns; in nvme_dif_rw_mdata_in_cb() 518 NvmeNamespace *ns = req->ns; in nvme_dif_rw_mdata_out_cb() [all …]
|
H A D | ctrl.c | 3460 NvmeNamespace *ns; 4584 NvmeNamespace *ns; in nvme_io_cmd() 4901 NvmeNamespace *ns; in nvme_smart_info() 5575 NvmeNamespace *ns; in nvme_identify_ns() 5612 NvmeNamespace *ns; in nvme_identify_ctrl_list() 5685 NvmeNamespace *ns; in nvme_identify_ns_csi() 5721 NvmeNamespace *ns; in nvme_identify_nslist() 5768 NvmeNamespace *ns; in nvme_identify_nslist_csi() 5835 NvmeNamespace *ns; in nvme_identify_ns_descr_list() 6132 NvmeNamespace *ns; in nvme_get_feature() [all …]
|
H A D | subsys.c | 96 NvmeNamespace *ns = subsys->namespaces[nsid]; in nvme_subsys_register_ctrl()
|