Lines Matching defs:key
102 p_event->pfn_aged_callback(p_event->key,
243 CL_DBG("cl_event_wheel_dump: Found event key:<0x%"
245 p_event->key, p_event->aging_time);
269 " key:<0x%" PRIx64 ">\n", p_event->key);
290 IN const uint64_t key,
307 /* Make sure such a key does not exists */
308 p_map_item = cl_qmap_get(&p_event_wheel->events_map, key);
310 CL_DBG("cl_event_wheel_reg: Already exists key:0x%"
311 PRIx64 "\n", key);
331 p_event->key = key;
337 CL_DBG("cl_event_wheel_reg: Registering event key:0x%" PRIx64
338 " aging in %u [msec]\n", p_event->key,
396 cl_qmap_insert(&p_event_wheel->events_map, key, &(p_event->map_item));
405 cl_event_wheel_unreg(IN cl_event_wheel_t * const p_event_wheel, IN uint64_t key)
410 CL_DBG("cl_event_wheel_unreg: " "Removing key:0x%" PRIx64 "\n", key);
413 p_map_item = cl_qmap_get(&p_event_wheel->events_map, key);
427 CL_DBG("cl_event_wheel_unreg: Removed key:0x%" PRIx64 "\n",
428 key);
433 CL_DBG("cl_event_wheel_unreg: did not find key:0x%" PRIx64
434 "\n", key);
442 IN uint64_t key)
449 /* try to find the key in the map */
450 CL_DBG("cl_event_wheel_num_regs: Looking for key:0x%"
451 PRIx64 "\n", key);
454 p_map_item = cl_qmap_get(&p_event_wheel->events_map, key);
485 printf("Event key:0x%" PRIx64 " Context:%s NumRegs:%u\n",
486 p_event->key, (char *)p_event->context,
501 printf("Event key:0x%" PRIx64 " Context:%s NumRegs:%u\n",
502 p_event->key, (char *)p_event->context,
513 void __test_event_aging(uint64_t key, void *context)
516 printf("Aged key: 0x%" PRIx64 " Context:%s\n", key, (char *)context);
522 /* uint64_t key; */
531 cl_event_wheel_reg(&event_wheel, 1, /* key */
536 cl_event_wheel_reg(&event_wheel, 2, /* key */
541 cl_event_wheel_reg(&event_wheel, 3, /* key */
549 cl_event_wheel_reg(&event_wheel, 2, /* key */
558 cl_event_wheel_unreg(&event_wheel, 3); /* key */