Lines Matching refs:ev
233 struct sctp_ulpevent *ev; in sctp_sf_do_4_C() local
258 ev = sctp_ulpevent_make_assoc_change(asoc, 0, SCTP_SHUTDOWN_COMP, in sctp_sf_do_4_C()
260 if (ev) in sctp_sf_do_4_C()
262 SCTP_ULPEVENT(ev)); in sctp_sf_do_4_C()
699 struct sctp_ulpevent *ev, *ai_ev = NULL; in sctp_sf_do_5_1D_ce() local
809 ev = sctp_ulpevent_make_assoc_change(new_asoc, 0, SCTP_COMM_UP, 0, in sctp_sf_do_5_1D_ce()
813 if (!ev) in sctp_sf_do_5_1D_ce()
848 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_5_1D_ce()
858 sctp_ulpevent_free(ev); in sctp_sf_do_5_1D_ce()
895 struct sctp_ulpevent *ev; in sctp_sf_do_5_1E_ca() local
936 ev = sctp_ulpevent_make_assoc_change(asoc, 0, SCTP_COMM_UP, in sctp_sf_do_5_1E_ca()
941 if (!ev) in sctp_sf_do_5_1E_ca()
944 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_5_1E_ca()
952 ev = sctp_ulpevent_make_adaptation_indication(asoc, GFP_ATOMIC); in sctp_sf_do_5_1E_ca()
953 if (!ev) in sctp_sf_do_5_1E_ca()
957 SCTP_ULPEVENT(ev)); in sctp_sf_do_5_1E_ca()
1719 struct sctp_ulpevent *ev; in sctp_sf_do_dupcook_a() local
1786 ev = sctp_ulpevent_make_assoc_change(asoc, 0, SCTP_RESTART, 0, in sctp_sf_do_dupcook_a()
1790 if (!ev) in sctp_sf_do_dupcook_a()
1795 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_dupcook_a()
1933 struct sctp_ulpevent *ev = NULL, *ai_ev = NULL; in sctp_sf_do_dupcook_d() local
1963 ev = sctp_ulpevent_make_assoc_change(asoc, 0, in sctp_sf_do_dupcook_d()
1968 if (!ev) in sctp_sf_do_dupcook_d()
1991 if (ev) in sctp_sf_do_dupcook_d()
1993 SCTP_ULPEVENT(ev)); in sctp_sf_do_dupcook_d()
2003 if (ev) in sctp_sf_do_dupcook_d()
2004 sctp_ulpevent_free(ev); in sctp_sf_do_dupcook_d()
2660 struct sctp_ulpevent *ev; in sctp_sf_do_9_2_shutdown() local
2696 ev = sctp_ulpevent_make_shutdown_event(asoc, 0, GFP_ATOMIC); in sctp_sf_do_9_2_shutdown()
2697 if (!ev) { in sctp_sf_do_9_2_shutdown()
2701 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_9_2_shutdown()
3357 struct sctp_ulpevent *ev; in sctp_sf_do_9_2_final() local
3371 ev = sctp_ulpevent_make_assoc_change(asoc, 0, SCTP_SHUTDOWN_COMP, in sctp_sf_do_9_2_final()
3373 if (!ev) in sctp_sf_do_9_2_final()
3384 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_9_2_final()
3406 sctp_ulpevent_free(ev); in sctp_sf_do_9_2_final()
4145 struct sctp_ulpevent *ev; in sctp_sf_eat_auth() local
4147 ev = sctp_ulpevent_make_authkey(asoc, ntohs(auth_hdr->shkey_id), in sctp_sf_eat_auth()
4150 if (!ev) in sctp_sf_eat_auth()
4154 SCTP_ULPEVENT(ev)); in sctp_sf_eat_auth()