Lines Matching defs:events
76 struct list_head events;
90 struct list_head events; /* list of pending events. */
162 while (!list_empty(&ctx->events)) {
164 uevent = list_entry(ctx->events.next,
191 INIT_LIST_HEAD(&ctx->events);
375 list_add_tail(&uevent->file_list, &ctx->file->events);
376 list_add_tail(&uevent->ctx_list, &ctx->events);
404 while (list_empty(&file->events)) {
411 !list_empty(&file->events)))
417 uevent = list_entry(file->events.next, struct ib_ucm_event, file_list);
551 /* No new events will be generated after destroying the cm_id. */
553 /* Cleanup events not yet reported to the user. */
1141 if (!list_empty(&file->events))
1163 INIT_LIST_HEAD(&file->events);