Lines Matching refs:evt_entry

3318 	struct csio_evt_msg *evt_entry = NULL;  in csio_enqueue_evt()  local
3335 evt_entry = list_first_entry(&hw->evt_free_q, in csio_enqueue_evt()
3337 list_del_init(&evt_entry->list); in csio_enqueue_evt()
3340 evt_entry->type = type; in csio_enqueue_evt()
3341 memcpy((void *)evt_entry->data, evt_msg, len); in csio_enqueue_evt()
3342 list_add_tail(&evt_entry->list, &hw->evt_active_q); in csio_enqueue_evt()
3354 struct csio_evt_msg *evt_entry = NULL; in csio_enqueue_evt_lock() local
3379 evt_entry = list_first_entry(&hw->evt_free_q, in csio_enqueue_evt_lock()
3381 list_del_init(&evt_entry->list); in csio_enqueue_evt_lock()
3384 evt_entry->type = type; in csio_enqueue_evt_lock()
3390 memcpy((void *)((uintptr_t)evt_entry->data + off), in csio_enqueue_evt_lock()
3396 memcpy((void *)evt_entry->data, evt_msg, len); in csio_enqueue_evt_lock()
3398 list_add_tail(&evt_entry->list, &hw->evt_active_q); in csio_enqueue_evt_lock()
3407 csio_free_evt(struct csio_hw *hw, struct csio_evt_msg *evt_entry) in csio_free_evt() argument
3409 if (evt_entry) { in csio_free_evt()
3411 list_del_init(&evt_entry->list); in csio_free_evt()
3412 list_add_tail(&evt_entry->list, &hw->evt_free_q); in csio_free_evt()
3448 struct list_head *evt_entry, *next_entry; in csio_evtq_cleanup() local
3458 list_for_each_safe(evt_entry, next_entry, &hw->evt_free_q) { in csio_evtq_cleanup()
3459 kfree(evt_entry); in csio_evtq_cleanup()
3513 struct list_head *evt_entry, *next_entry; in csio_evtq_worker() local
3529 list_for_each_safe(evt_entry, next_entry, &evt_q) { in csio_evtq_worker()
3530 evt_msg = (struct csio_evt_msg *) evt_entry; in csio_evtq_worker()
3881 struct csio_evt_msg *evt_entry; in csio_hw_init() local
3929 evt_entry = kzalloc(sizeof(struct csio_evt_msg), GFP_KERNEL); in csio_hw_init()
3930 if (!evt_entry) { in csio_hw_init()
3935 list_add_tail(&evt_entry->list, &hw->evt_free_q); in csio_hw_init()