struct timespec finish_time;
ssize_t result;
struct vfs_aio_state vfs_aio_state;
- SMBPROFILE_BYTES_ASYNC_STATE(profile_bytes);
- SMBPROFILE_BYTES_ASYNC_STATE(profile_bytes_x);
+ SMBPROFILE_BYTES_ASYNC_STATE_X(profile_bytes, profile_bytes_x);
};
static void vfs_ceph_aio_start(struct vfs_ceph_aio_state *state)
state->off,
state->len);
- SMBPROFILE_BYTES_ASYNC_END(state->profile_bytes);
- SMBPROFILE_BYTES_ASYNC_END(state->profile_bytes_x);
+ SMBPROFILE_BYTES_ASYNC_END_X(state->profile_bytes,
+ state->profile_bytes_x);
if (tevent_req_is_unix_error(req, &vfs_aio_state->error)) {
goto out;
state->off,
state->len);
- SMBPROFILE_BYTES_ASYNC_END(state->profile_bytes);
- SMBPROFILE_BYTES_ASYNC_END(state->profile_bytes_x);
+ SMBPROFILE_BYTES_ASYNC_END_X(state->profile_bytes,
+ state->profile_bytes_x);
if (tevent_req_is_unix_error(req, &vfs_aio_state->error)) {
goto out;
state->len,
state->result);
- SMBPROFILE_BYTES_ASYNC_END(state->profile_bytes);
- SMBPROFILE_BYTES_ASYNC_END(state->profile_bytes_x);
+ SMBPROFILE_BYTES_ASYNC_END_X(state->profile_bytes,
+ state->profile_bytes_x);
if (tevent_req_is_unix_error(req, &vfs_aio_state->error)) {
goto out;