Lines Matching refs:cb_info
1139 struct notifier_cb_info *cb_info = NULL; in update_notifier_cb() local
1142 cb_info = notifier_hash_node_get(notify_id, type); in update_notifier_cb()
1143 cb_found = !!cb_info; in update_notifier_cb()
1149 cb_info = kzalloc(sizeof(*cb_info), GFP_KERNEL); in update_notifier_cb()
1150 if (!cb_info) in update_notifier_cb()
1153 cb_info->type = type; in update_notifier_cb()
1154 cb_info->cb = cb; in update_notifier_cb()
1155 cb_info->cb_data = cb_data; in update_notifier_cb()
1157 hash_add(drv_info->notifier_hash, &cb_info->hnode, notify_id); in update_notifier_cb()
1159 hash_del(&cb_info->hnode); in update_notifier_cb()
1253 struct notifier_cb_info *cb_info = NULL; in handle_notif_callbacks() local
1261 cb_info = notifier_hash_node_get(notify_id, type); in handle_notif_callbacks()
1264 if (cb_info && cb_info->cb) in handle_notif_callbacks()
1265 cb_info->cb(notify_id, cb_info->cb_data); in handle_notif_callbacks()