Searched refs:blkconf (Results 1 – 4 of 4) sorted by relevance
/openbmc/qemu/hw/nvme/ |
H A D | ns.c | 50 npdg = ns->blkconf.discard_granularity / ns->lbasz; in nvme_ns_init_format() 52 ret = bdrv_get_info(blk_bs(ns->blkconf.blk), &bdi); in nvme_ns_init_format() 94 ds = 31 - clz32(ns->blkconf.logical_block_size); in nvme_ns_init() 156 if (!blkconf_blocksizes(&ns->blkconf, errp)) { in nvme_ns_init_blk() 165 if (ns->blkconf.discard_granularity == -1) { in nvme_ns_init_blk() 166 ns->blkconf.discard_granularity = in nvme_ns_init_blk() 170 ns->size = blk_getlength(ns->blkconf.blk); in nvme_ns_init_blk() 545 if (!ns->blkconf.blk) { in nvme_ns_check_constraints() 682 blk_drain(ns->blkconf.blk); in nvme_ns_drain() 687 blk_flush(ns->blkconf.blk); in nvme_ns_shutdown() [all …]
|
H A D | dif.c | 352 BlockBackend *blk = ns->blkconf.blk; in nvme_dif_mangle_mdata() 408 BlockBackend *blk = ns->blkconf.blk; in nvme_dif_rw_cb() 493 BlockBackend *blk = ns->blkconf.blk; in nvme_dif_rw_mdata_in_cb() 522 BlockBackend *blk = ns->blkconf.blk; in nvme_dif_rw_mdata_out_cb() 542 BlockBackend *blk = ns->blkconf.blk; in nvme_dif_rw() 655 req->aiocb = blk_aio_preadv(ns->blkconf.blk, offset, &ctx->data.iov, 0, in nvme_dif_rw() 701 req->aiocb = blk_aio_pwritev(ns->blkconf.blk, offset, &ctx->data.iov, 0, in nvme_dif_rw()
|
H A D | ctrl.c | 2161 BlockBackend *blk = ns->blkconf.blk; in nvme_rw_complete_cb() 2186 BlockBackend *blk = ns->blkconf.blk; in nvme_rw_cb() 2236 BlockBackend *blk = ns->blkconf.blk; in nvme_verify_cb() 2296 BlockBackend *blk = ns->blkconf.blk; in nvme_verify_mdata_in_cb() 2342 BlockBackend *blk = ns->blkconf.blk; in nvme_compare_mdata_cb() 2423 BlockBackend *blk = ns->blkconf.blk; in nvme_compare_data_cb() 2652 BlockBackend *blk = ns->blkconf.blk; in nvme_verify() 3396 BlockBackend *blk = ns->blkconf.blk; in nvme_compare() 3590 BlockBackend *blk = ns->blkconf.blk; in nvme_read() 3702 BlockBackend *blk = ns->blkconf.blk; in nvme_do_write() [all …]
|
H A D | nvme.h | 225 BlockConf blkconf; member
|