Lines Matching refs:item

275 ng_hci_default_rcvmsg(node_p node, item_p item, hook_p lasthook)
281 NGI_GET_MSG(item, msg);
629 /* NG_RESPOND_MSG should take care of "item" and "rsp" */
630 NG_RESPOND_MSG(error, node, item, rsp);
642 ng_hci_upper_rcvmsg(node_p node, item_p item, hook_p lasthook)
647 switch (NGI_MSG(item)->header.typecookie) {
649 switch (NGI_MSG(item)->header.cmd) {
651 error = ng_hci_lp_con_req(unit, item, lasthook);
655 error = ng_hci_lp_discon_req(unit, item, lasthook);
659 error = ng_hci_lp_con_rsp(unit, item, lasthook);
663 error = ng_hci_lp_qos_req(unit, item, lasthook);
667 error = ng_hci_default_rcvmsg(node, item, lasthook);
673 error = ng_hci_default_rcvmsg(node, item, lasthook);
686 ng_hci_drv_rcvdata(hook_p hook, item_p item)
693 m = NGI_M(item); /* item still has mbuf, just peeking */
718 NG_FREE_ITEM(item);
720 NG_FWD_ITEM_HOOK(error, item, unit->acl);
733 NG_FREE_ITEM(item);
735 NG_FWD_ITEM_HOOK(error, item, unit->sco);
741 /* Detach mbuf, discard item and process event */
742 NGI_GET_M(item, m);
743 NG_FREE_ITEM(item);
754 NG_FREE_ITEM(item);
769 ng_hci_acl_rcvdata(hook_p hook, item_p item)
780 NGI_GET_M(item, m);
866 /* Queue item and schedule data transfer */
867 NGI_M(item) = m;
868 NG_BT_ITEMQ_ENQUEUE(&con->conq, item);
869 item = NULL;
874 if (item != NULL)
875 NG_FREE_ITEM(item);
888 ng_hci_sco_rcvdata(hook_p hook, item_p item)
899 NGI_GET_M(item, m);
985 /* Queue item and schedule data transfer */
986 NGI_M(item) = m;
987 NG_BT_ITEMQ_ENQUEUE(&con->conq, item);
988 item = NULL;
993 if (item != NULL)
994 NG_FREE_ITEM(item);
1007 ng_hci_raw_rcvdata(hook_p hook, item_p item)
1013 NGI_GET_M(item, m);
1014 NG_FREE_ITEM(item);