static void iothread_set_poll_max_ns(Object *obj, Visitor *v,

        const char *name, void *opaque, Error **errp)

{

    IOThread *iothread = IOTHREAD(obj);

    Error *local_err = NULL;

    int64_t value;



    visit_type_int64(v, name, &value, &local_err);

    if (local_err) {

        goto out;

    }



    if (value < 0) {

        error_setg(&local_err, "poll_max_ns value must be in range "

                   "[0, %"PRId64"]", INT64_MAX);

        goto out;

    }



    iothread->poll_max_ns = value;



    if (iothread->ctx) {

        aio_context_set_poll_params(iothread->ctx, value, &local_err);

    }



out:

    error_propagate(errp, local_err);

}

static void iothread_set_poll_max_ns(Object *obj, Visitor *v,

        const char *name, void *opaque, Error **errp)

{

    IOThread *iothread = IOTHREAD(obj);

    Error *local_err = NULL;

    int64_t value;



    visit_type_int64(v, name, &value, &local_err);

    if (local_err) {

        goto out;

    }



    if (value < 0) {

        error_setg(&local_err, "poll_max_ns value must be in range "

                   "[0, %"PRId64"]", INT64_MAX);

        goto out;

    }



    iothread->poll_max_ns = value;



    if (iothread->ctx) {

        aio_context_set_poll_params(iothread->ctx, value, &local_err);

    }



out:

    error_propagate(errp, local_err);

}

        aio_context_set_poll_params(iothread->ctx, value, &local_err);
static void FUNC_0(Object *VAR_0, Visitor *VAR_1,

        const char *VAR_2, void *VAR_3, Error **VAR_4)

{

    IOThread *iothread = IOTHREAD(VAR_0);

    Error *local_err = NULL;

    int64_t value;



    visit_type_int64(VAR_1, VAR_2, &value, &local_err);

    if (local_err) {

        goto out;

    }



    if (value < 0) {

        error_setg(&local_err, "poll_max_ns value must be in range "

                   "[0, %"PRId64"]", INT64_MAX);

        goto out;

    }



    iothread->poll_max_ns = value;



    if (iothread->ctx) {

        aio_context_set_poll_params(iothread->ctx, value, &local_err);

    }



out:

    error_propagate(VAR_4, local_err);

}

static void FUNC_0(Object *VAR_0, Visitor *VAR_1,
const char *VAR_2, void *VAR_3, Error **VAR_4)
{ IOThread *iothread = IOTHREAD(VAR_0); Error *local_err = NULL; int64_t value; visit_type_int64(VAR_1, VAR_2, &value, &local_err); if (local_err) { goto out; } if (value < 0) { error_setg(&local_err, "poll_max_ns value must be in range "
"[0, %"PRId64"]", INT64_MAX); goto out; } iothread->poll_max_ns = value; if (iothread->ctx) { aio_context_set_poll_params(iothread->ctx, value, &local_err); } out:
error_propagate(VAR_4, local_err); }