Searched refs:rcvr (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/net/sctp/
H A Dinput.c112 struct sctp_ep_common *rcvr; sctp_rcv() local
180 rcvr = asoc ? &asoc->base : &ep->base; sctp_rcv()
181 sk = rcvr->sk; sctp_rcv()
198 rcvr = &ep->base; sctp_rcv()
230 chunk->rcvr = rcvr; sctp_rcv()
247 if (sk != rcvr->sk) { sctp_rcv()
248 /* Our cached sk is different from the rcvr->sk. This is sctp_rcv()
256 sk = rcvr->sk; sctp_rcv()
270 sctp_inq_push(&chunk->rcvr->inqueue, chunk); sctp_rcv()
306 struct sctp_inq *inqueue = &chunk->rcvr->inqueue; sctp_backlog_rcv()
307 struct sctp_ep_common *rcvr = NULL; sctp_backlog_rcv() local
310 rcvr = chunk->rcvr; sctp_backlog_rcv()
312 /* If the rcvr is dead then the association or endpoint sctp_backlog_rcv()
316 if (rcvr->dead) { sctp_backlog_rcv()
321 if (unlikely(rcvr->sk != sk)) { sctp_backlog_rcv()
333 sk = rcvr->sk; sctp_backlog_rcv()
355 if (SCTP_EP_TYPE_ASSOCIATION == rcvr->type) sctp_backlog_rcv()
356 sctp_association_put(sctp_assoc(rcvr)); sctp_backlog_rcv()
357 else if (SCTP_EP_TYPE_SOCKET == rcvr->type) sctp_backlog_rcv()
358 sctp_endpoint_put(sctp_ep(rcvr)); sctp_backlog_rcv()
368 struct sctp_ep_common *rcvr = chunk->rcvr; sctp_add_backlog() local
377 if (SCTP_EP_TYPE_ASSOCIATION == rcvr->type) sctp_add_backlog()
378 sctp_association_hold(sctp_assoc(rcvr)); sctp_add_backlog()
379 else if (SCTP_EP_TYPE_SOCKET == rcvr->type) sctp_add_backlog()
380 sctp_endpoint_hold(sctp_ep(rcvr)); sctp_add_backlog()
H A Dinqueue.c82 if (chunk->rcvr->dead) { sctp_inq_push()
/linux-4.1.27/drivers/char/ipmi/
H A Dipmi_msghandler.c525 struct cmd_rcvr *rcvr, *rcvr2; clean_up_interface_data() local
542 list_for_each_entry_safe(rcvr, rcvr2, &list, link) clean_up_interface_data()
543 kfree(rcvr); clean_up_interface_data()
1052 struct cmd_rcvr *rcvr; ipmi_destroy_user() local
1083 list_for_each_entry_rcu(rcvr, &intf->cmd_rcvrs, link) { ipmi_destroy_user()
1084 if (rcvr->user == user) { ipmi_destroy_user()
1085 list_del_rcu(&rcvr->link); ipmi_destroy_user()
1086 rcvr->next = rcvrs; ipmi_destroy_user()
1087 rcvrs = rcvr; ipmi_destroy_user()
1093 rcvr = rcvrs; ipmi_destroy_user()
1094 rcvrs = rcvr->next; ipmi_destroy_user()
1095 kfree(rcvr); ipmi_destroy_user()
1289 struct cmd_rcvr *rcvr; find_cmd_rcvr() local
1291 list_for_each_entry_rcu(rcvr, &intf->cmd_rcvrs, link) { find_cmd_rcvr()
1292 if ((rcvr->netfn == netfn) && (rcvr->cmd == cmd) find_cmd_rcvr()
1293 && (rcvr->chans & (1 << chan))) find_cmd_rcvr()
1294 return rcvr; find_cmd_rcvr()
1304 struct cmd_rcvr *rcvr; is_cmd_rcvr_exclusive() local
1306 list_for_each_entry_rcu(rcvr, &intf->cmd_rcvrs, link) { is_cmd_rcvr_exclusive()
1307 if ((rcvr->netfn == netfn) && (rcvr->cmd == cmd) is_cmd_rcvr_exclusive()
1308 && (rcvr->chans & chans)) is_cmd_rcvr_exclusive()
1320 struct cmd_rcvr *rcvr; ipmi_register_for_cmd() local
1324 rcvr = kmalloc(sizeof(*rcvr), GFP_KERNEL); ipmi_register_for_cmd()
1325 if (!rcvr) ipmi_register_for_cmd()
1327 rcvr->cmd = cmd; ipmi_register_for_cmd()
1328 rcvr->netfn = netfn; ipmi_register_for_cmd()
1329 rcvr->chans = chans; ipmi_register_for_cmd()
1330 rcvr->user = user; ipmi_register_for_cmd()
1342 list_add_rcu(&rcvr->link, &intf->cmd_rcvrs); ipmi_register_for_cmd()
1347 kfree(rcvr); ipmi_register_for_cmd()
1359 struct cmd_rcvr *rcvr; ipmi_unregister_for_cmd() local
1367 rcvr = find_cmd_rcvr(intf, netfn, cmd, i); ipmi_unregister_for_cmd()
1368 if (rcvr == NULL) ipmi_unregister_for_cmd()
1370 if (rcvr->user == user) { ipmi_unregister_for_cmd()
1372 rcvr->chans &= ~chans; ipmi_unregister_for_cmd()
1373 if (rcvr->chans == 0) { ipmi_unregister_for_cmd()
1374 list_del_rcu(&rcvr->link); ipmi_unregister_for_cmd()
1375 rcvr->next = rcvrs; ipmi_unregister_for_cmd()
1376 rcvrs = rcvr; ipmi_unregister_for_cmd()
1384 rcvr = rcvrs; ipmi_unregister_for_cmd()
1385 rcvrs = rcvr->next; ipmi_unregister_for_cmd()
1386 kfree(rcvr); ipmi_unregister_for_cmd()
3083 struct cmd_rcvr *rcvr; handle_ipmb_get_msg_cmd() local
3108 rcvr = find_cmd_rcvr(intf, netfn, cmd, chan); handle_ipmb_get_msg_cmd()
3109 if (rcvr) { handle_ipmb_get_msg_cmd()
3110 user = rcvr->user; handle_ipmb_get_msg_cmd()
3271 struct cmd_rcvr *rcvr; handle_lan_get_msg_cmd() local
3296 rcvr = find_cmd_rcvr(intf, netfn, cmd, chan); handle_lan_get_msg_cmd()
3297 if (rcvr) { handle_lan_get_msg_cmd()
3298 user = rcvr->user; handle_lan_get_msg_cmd()
3371 struct cmd_rcvr *rcvr; handle_oem_get_msg_cmd() local
3404 rcvr = find_cmd_rcvr(intf, netfn, cmd, chan); handle_oem_get_msg_cmd()
3405 if (rcvr) { handle_oem_get_msg_cmd()
3406 user = rcvr->user; handle_oem_get_msg_cmd()
/linux-4.1.27/drivers/tty/serial/
H A Datmel_serial.c1807 /* enable xmit & rcvr */ atmel_startup()
/linux-4.1.27/include/net/sctp/
H A Dstructs.h607 struct sctp_ep_common *rcvr; member in struct:sctp_chunk

Completed in 210 milliseconds