pub(crate) unsafe fn crosvm_client_balloon_stats_impl(
    socket_path: *const c_char,
    timeout_ms: Option<Duration>,
    stats: *mut BalloonStatsFfi,
    actual: *mut u64,
) -> bool
Expand description

§Safety

This function is safe when the caller ensures the socket_path raw pointer can be safely passed to CStr::from_ptr(). stats should be a pointer to a BalloonStatsFfi valid for writes that is not modified for the duration of this call, and actual should be a pointer to a u64 valid for writes that is not modified for the duration of this call.