Lines Matching refs:cb_info
1257 struct notifier_cb_info *cb_info = NULL; in update_notifier_cb() local
1262 cb_info = notifier_hnode_get_by_vmid_uuid(notify_id, dev->vm_id, in update_notifier_cb()
1265 cb_info = notifier_hnode_get_by_type(notify_id, type); in update_notifier_cb()
1267 cb_found = !!cb_info; in update_notifier_cb()
1273 cb_info = kzalloc(sizeof(*cb_info), GFP_KERNEL); in update_notifier_cb()
1274 if (!cb_info) in update_notifier_cb()
1277 cb_info->dev = dev; in update_notifier_cb()
1278 cb_info->cb_data = cb_data; in update_notifier_cb()
1280 cb_info->fwk_cb = cb; in update_notifier_cb()
1282 cb_info->cb = cb; in update_notifier_cb()
1284 hash_add(drv_info->notifier_hash, &cb_info->hnode, notify_id); in update_notifier_cb()
1286 hash_del(&cb_info->hnode); in update_notifier_cb()
1402 struct notifier_cb_info *cb_info = NULL; in handle_notif_callbacks() local
1410 cb_info = notifier_hnode_get_by_type(notify_id, type); in handle_notif_callbacks()
1413 if (cb_info && cb_info->cb) in handle_notif_callbacks()
1414 cb_info->cb(notify_id, cb_info->cb_data); in handle_notif_callbacks()
1424 struct notifier_cb_info *cb_info = NULL; in handle_fwk_notif_callbacks() local
1450 cb_info = notifier_hnode_get_by_vmid_uuid(notify_id, target, &uuid); in handle_fwk_notif_callbacks()
1453 if (cb_info && cb_info->fwk_cb) in handle_fwk_notif_callbacks()
1454 cb_info->fwk_cb(notify_id, cb_info->cb_data, buf); in handle_fwk_notif_callbacks()