Lines Matching refs:fevt
224 struct fnic_event *fevt = NULL; in fnic_fcoe_evlist_free() local
234 list_for_each_entry_safe(fevt, next, &fnic->evlist, list) { in fnic_fcoe_evlist_free()
235 list_del(&fevt->list); in fnic_fcoe_evlist_free()
236 kfree(fevt); in fnic_fcoe_evlist_free()
244 struct fnic_event *fevt = NULL; in fnic_handle_event() local
254 list_for_each_entry_safe(fevt, next, &fnic->evlist, list) { in fnic_handle_event()
256 list_del(&fevt->list); in fnic_handle_event()
257 kfree(fevt); in fnic_handle_event()
271 list_del(&fevt->list); in fnic_handle_event()
272 switch (fevt->event) { in fnic_handle_event()
285 "Unknown event 0x%x\n", fevt->event); in fnic_handle_event()
288 kfree(fevt); in fnic_handle_event()
541 struct fnic_event *fevt; in fnic_event_enq() local
544 fevt = kmalloc(sizeof(*fevt), GFP_ATOMIC); in fnic_event_enq()
545 if (!fevt) in fnic_event_enq()
548 fevt->fnic = fnic; in fnic_event_enq()
549 fevt->event = ev; in fnic_event_enq()
552 list_add_tail(&fevt->list, &fnic->evlist); in fnic_event_enq()