Lines Matching defs:kref
55 struct kref kref;
770 * @kref: Pointer to a kref.
772 * Called from kref_put. Back cast the kref into an event structure address.
777 lpfc_bsg_event_free(struct kref *kref)
779 struct lpfc_bsg_event *evt = container_of(kref, struct lpfc_bsg_event,
780 kref);
804 * lpfc_bsg_event_ref - increments the kref for an event
810 kref_get(&evt->kref);
820 kref_put(&evt->kref, lpfc_bsg_event_free);
845 kref_init(&evt->kref);