Lines Matching refs:lr
65 LegacyReset *lr = LEGACY_RESET(obj); in legacy_reset_get_state() local
66 return &lr->reset_state; in legacy_reset_get_state()
71 LegacyReset *lr = LEGACY_RESET(obj); in legacy_reset_hold() local
73 if (type == RESET_TYPE_SNAPSHOT_LOAD && lr->skip_on_snapshot_load) { in legacy_reset_hold()
76 lr->func(lr->opaque); in legacy_reset_hold()
98 LegacyReset *lr = LEGACY_RESET(obj); in qemu_register_reset() local
100 lr->func = func; in qemu_register_reset()
101 lr->opaque = opaque; in qemu_register_reset()
108 LegacyReset *lr = LEGACY_RESET(obj); in qemu_register_reset_nosnapshotload() local
110 lr->func = func; in qemu_register_reset_nosnapshotload()
111 lr->opaque = opaque; in qemu_register_reset_nosnapshotload()
112 lr->skip_on_snapshot_load = true; in qemu_register_reset_nosnapshotload()
119 LegacyReset *lr; member
124 LegacyReset *lr; in find_legacy_reset_cb() local
128 lr = LEGACY_RESET(object_dynamic_cast(obj, TYPE_LEGACY_RESET)); in find_legacy_reset_cb()
129 if (lr && lr->func == fli->func && lr->opaque == fli->opaque) { in find_legacy_reset_cb()
130 fli->lr = lr; in find_legacy_reset_cb()
147 fli.lr = NULL; in find_legacy_reset()
150 return fli.lr; in find_legacy_reset()