Home
last modified time | relevance | path

Searched refs:om_tmp (Results 1 – 5 of 5) sorted by relevance

/device/soc/winnermicro/wm800/board/src/bt/blehost/porting/w800/src/
Dos_mbuf.c279 struct os_mbuf *om_tmp = om; in os_mbuf_free_chain() local
283 while (om_tmp != NULL) { in os_mbuf_free_chain()
284 next = SLIST_NEXT(om_tmp, om_next); in os_mbuf_free_chain()
285 rc = os_mbuf_free(om_tmp); in os_mbuf_free_chain()
290 om_tmp = next; in os_mbuf_free_chain()
700 struct os_mbuf *om_tmp = om; in os_mbuf_prepend() local
708 int leading = min(len_tmp, OS_MBUF_LEADINGSPACE(om_tmp)); in os_mbuf_prepend()
709 om_tmp->om_data -= leading; in os_mbuf_prepend()
710 om_tmp->om_len += leading; in os_mbuf_prepend()
712 if (OS_MBUF_IS_PKTHDR(om_tmp)) { in os_mbuf_prepend()
[all …]
/device/soc/winnermicro/wm800/board/src/bt/blehost/nimble/host/src/
Dble_hs_hci.c432 struct os_mbuf *om_tmp = om; in ble_hs_hci_acl_hdr_prepend() local
436 put_le16(&hci_hdr.hdh_len, OS_MBUF_PKTHDR(om_tmp)->omp_len); in ble_hs_hci_acl_hdr_prepend()
437 om2 = os_mbuf_prepend(om_tmp, sizeof hci_hdr); in ble_hs_hci_acl_hdr_prepend()
442 om_tmp = om2; in ble_hs_hci_acl_hdr_prepend()
443 om_tmp = os_mbuf_pullup(om_tmp, sizeof hci_hdr); in ble_hs_hci_acl_hdr_prepend()
444 if (om_tmp == NULL) { in ble_hs_hci_acl_hdr_prepend()
448 memcpy_s(om_tmp->om_data, sizeof(om_tmp->om_data), &hci_hdr, sizeof hci_hdr); in ble_hs_hci_acl_hdr_prepend()
453 return om_tmp; in ble_hs_hci_acl_hdr_prepend()
Dble_monitor.c331 const struct os_mbuf *om_tmp; in ble_monitor_send_om() local
333 om_tmp = om; in ble_monitor_send_om()
334 while (om_tmp) { in ble_monitor_send_om()
335 length += om_tmp->om_len; in ble_monitor_send_om()
336 om_tmp = SLIST_NEXT(om_tmp, om_next); in ble_monitor_send_om()
Dble_hs_hci_evt.c766 struct os_mbuf *om_tmp = om; in ble_hs_hci_evt_acl_process() local
773 rc = ble_hs_hci_util_data_hdr_strip(om_tmp, &hci_hdr); in ble_hs_hci_evt_acl_process()
785 ble_hs_log_mbuf(om_tmp); in ble_hs_hci_evt_acl_process()
790 if (hci_hdr.hdh_len != OS_MBUF_PKTHDR(om_tmp)->omp_len) { in ble_hs_hci_evt_acl_process()
804 rc = ble_l2cap_rx(conn, &hci_hdr, om_tmp, &rx_cb, &reject_cid); in ble_hs_hci_evt_acl_process()
805 om_tmp = NULL; in ble_hs_hci_evt_acl_process()
832 os_mbuf_free_chain(om_tmp); in ble_hs_hci_evt_acl_process()
Dble_att_svr.c570 struct os_mbuf *om_tmp = om; in ble_att_svr_tx_rsp() local
588 BLE_HS_DBG_ASSERT(om_tmp != NULL); in ble_att_svr_tx_rsp()
589 ble_att_inc_tx_stat(om_tmp->om_data[0]); in ble_att_svr_tx_rsp()
590 ble_att_truncate_to_mtu(chan, om_tmp); in ble_att_svr_tx_rsp()
591 hs_status_tmp = ble_l2cap_tx(conn, chan, om_tmp); in ble_att_svr_tx_rsp()
592 om_tmp = NULL; in ble_att_svr_tx_rsp()
606 if (om_tmp == NULL) { in ble_att_svr_tx_rsp()
607 om_tmp = ble_hs_mbuf_l2cap_pkt(); in ble_att_svr_tx_rsp()
609 os_mbuf_adj(om_tmp, OS_MBUF_PKTLEN(om_tmp)); in ble_att_svr_tx_rsp()
612 if (om_tmp != NULL) { in ble_att_svr_tx_rsp()
[all …]