Lines Matching refs:reopen_state
184 static int throttle_reopen_prepare(BDRVReopenState *reopen_state, in throttle_reopen_prepare() argument
190 assert(reopen_state != NULL); in throttle_reopen_prepare()
191 assert(reopen_state->bs != NULL); in throttle_reopen_prepare()
193 ret = throttle_parse_options(reopen_state->options, &group, errp); in throttle_reopen_prepare()
194 reopen_state->opaque = group; in throttle_reopen_prepare()
198 static void throttle_reopen_commit(BDRVReopenState *reopen_state) in throttle_reopen_commit() argument
200 BlockDriverState *bs = reopen_state->bs; in throttle_reopen_commit()
202 char *group = reopen_state->opaque; in throttle_reopen_commit()
210 g_free(reopen_state->opaque); in throttle_reopen_commit()
211 reopen_state->opaque = NULL; in throttle_reopen_commit()
214 static void throttle_reopen_abort(BDRVReopenState *reopen_state) in throttle_reopen_abort() argument
216 g_free(reopen_state->opaque); in throttle_reopen_abort()
217 reopen_state->opaque = NULL; in throttle_reopen_abort()