src/devices/block/drivers/block-verity/block-verity-test.cc
// Bind the block verity driver to the ramdisk.
Bind the block verity driver to the ramdisk.
Bind the block verity driver to the ramdisk .
zx_status_t BindVerityDriver(zx::unowned_channel ramdisk_chan) {
  zx_status_t rc;
  auto resp = ::llcpp::fuchsia::device::Controller::Call::Bind(
      std::move(ramdisk_chan), ::fidl::unowned_str(kDriverLib, strlen(kDriverLib)));
  rc = resp.status();
  if (rc == ZX_OK) {
    if (resp->result.is_err()) {
      rc = resp->result.err();
    }
  }
  return rc;
}
zx_status_t BindVerityDriver ( zx :: unowned_channel ramdisk_chan ) { zx_status_t rc ; auto resp = :: llcpp :: fuchsia :: device :: Controller :: Call :: Bind ( std :: move ( ramdisk_chan ) , :: fidl :: unowned_str ( kDriverLib , strlen ( kDriverLib ) ) ) ; rc = resp . status ( ) ; if ( rc == ZX_OK ) { if ( resp -> result . is_err ( ) ) { rc = resp -> result . err ( ) ; } } return rc ; }
Bind the block verity driver to the ramdisk.
Bind the block verity driver to the ramdisk .