Lines Matching refs:ev
229 struct sctp_ulpevent *ev; in sctp_sf_do_4_C() local
254 ev = sctp_ulpevent_make_assoc_change(asoc, 0, SCTP_SHUTDOWN_COMP, in sctp_sf_do_4_C()
256 if (ev) in sctp_sf_do_4_C()
258 SCTP_ULPEVENT(ev)); in sctp_sf_do_4_C()
663 struct sctp_ulpevent *ev, *ai_ev = NULL; in sctp_sf_do_5_1D_ce() local
798 ev = sctp_ulpevent_make_assoc_change(new_asoc, 0, SCTP_COMM_UP, 0, in sctp_sf_do_5_1D_ce()
802 if (!ev) in sctp_sf_do_5_1D_ce()
837 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_5_1D_ce()
847 sctp_ulpevent_free(ev); in sctp_sf_do_5_1D_ce()
884 struct sctp_ulpevent *ev; in sctp_sf_do_5_1E_ca() local
925 ev = sctp_ulpevent_make_assoc_change(asoc, 0, SCTP_COMM_UP, in sctp_sf_do_5_1E_ca()
930 if (!ev) in sctp_sf_do_5_1E_ca()
933 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_5_1E_ca()
941 ev = sctp_ulpevent_make_adaptation_indication(asoc, GFP_ATOMIC); in sctp_sf_do_5_1E_ca()
942 if (!ev) in sctp_sf_do_5_1E_ca()
946 SCTP_ULPEVENT(ev)); in sctp_sf_do_5_1E_ca()
1708 struct sctp_ulpevent *ev; in sctp_sf_do_dupcook_a() local
1773 ev = sctp_ulpevent_make_assoc_change(asoc, 0, SCTP_RESTART, 0, in sctp_sf_do_dupcook_a()
1777 if (!ev) in sctp_sf_do_dupcook_a()
1782 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_dupcook_a()
1902 struct sctp_ulpevent *ev = NULL, *ai_ev = NULL; in sctp_sf_do_dupcook_d() local
1929 ev = sctp_ulpevent_make_assoc_change(asoc, 0, in sctp_sf_do_dupcook_d()
1934 if (!ev) in sctp_sf_do_dupcook_d()
1957 if (ev) in sctp_sf_do_dupcook_d()
1959 SCTP_ULPEVENT(ev)); in sctp_sf_do_dupcook_d()
1969 if (ev) in sctp_sf_do_dupcook_d()
1970 sctp_ulpevent_free(ev); in sctp_sf_do_dupcook_d()
2621 struct sctp_ulpevent *ev; in sctp_sf_do_9_2_shutdown() local
2656 ev = sctp_ulpevent_make_shutdown_event(asoc, 0, GFP_ATOMIC); in sctp_sf_do_9_2_shutdown()
2657 if (!ev) { in sctp_sf_do_9_2_shutdown()
2661 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_9_2_shutdown()
3315 struct sctp_ulpevent *ev; in sctp_sf_do_9_2_final() local
3329 ev = sctp_ulpevent_make_assoc_change(asoc, 0, SCTP_SHUTDOWN_COMP, in sctp_sf_do_9_2_final()
3331 if (!ev) in sctp_sf_do_9_2_final()
3342 sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); in sctp_sf_do_9_2_final()
3364 sctp_ulpevent_free(ev); in sctp_sf_do_9_2_final()
4120 struct sctp_ulpevent *ev; in sctp_sf_eat_auth() local
4122 ev = sctp_ulpevent_make_authkey(asoc, ntohs(auth_hdr->shkey_id), in sctp_sf_eat_auth()
4125 if (!ev) in sctp_sf_eat_auth()
4129 SCTP_ULPEVENT(ev)); in sctp_sf_eat_auth()