Searched refs:pm_cb_ref (Results 1 – 1 of 1) sorted by relevance
18 static struct pm_callback_handle *pm_cb_ref; variable55 ref = realloc(pm_cb_ref, sizeof(*ref) * (count + 1)); in register_pm_cb()64 pm_cb_ref = ref; in register_pm_cb()77 if (pm_cb_ref[n].callback == pm_hdl->callback && in unregister_pm_cb()78 pm_cb_ref[n].handle == pm_hdl->handle && in unregister_pm_cb()79 pm_cb_ref[n].order == pm_hdl->order) in unregister_pm_cb()84 memmove(pm_cb_ref + n, pm_cb_ref + n + 1, in unregister_pm_cb()85 (pm_cb_count - n) * sizeof(*pm_cb_ref)); in unregister_pm_cb()129 hdl = pm_cb_ref + pm_cb_count - 1; in call_callbacks()131 hdl = pm_cb_ref; in call_callbacks()