Home
last modified time | relevance | path

Searched refs:blk_fd (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/contrib/vhost-user-blk/
H A Dvhost-user-blk.c39 int blk_fd; member
222 fdatasync(vdev_blk->blk_fd); in vub_flush()
445 if (vdev_blk->blk_fd >= 0) { in vub_set_config()
446 close(vdev_blk->blk_fd); in vub_set_config()
447 vdev_blk->blk_fd = -1; in vub_set_config()
453 vdev_blk->blk_fd = -1; in vub_set_config()
456 vdev_blk->blk_fd = fd; in vub_set_config()
511 if (vdev_blk->blk_fd >= 0) { in vub_free()
512 close(vdev_blk->blk_fd); in vub_free()
560 vdev_blk->blk_fd = vub_open(blk_file, 0); in vub_new()
[all …]