/external/bluetooth/bluedroid/stack/gatt/ |
att_protocol.c | 51 if ((p_buf = (BT_HDR *)GKI_getbuf(sizeof(BT_HDR) + GATT_HDR_SIZE + L2CAP_MIN_OFFSET)) != NULL) 77 if ((p_buf = (BT_HDR *)GKI_getbuf((UINT16)(sizeof(BT_HDR) + 10 + L2CAP_MIN_OFFSET))) != NULL) 112 if ((p_buf = (BT_HDR *)GKI_getbuf(sizeof(BT_HDR) + L2CAP_MIN_OFFSET + 5)) != NULL) 141 if ((p_buf = (BT_HDR *)GKI_getbuf(sizeof(BT_HDR) + 8 + L2CAP_MIN_OFFSET)) != NULL) 171 if ((p_buf = (BT_HDR *)GKI_getbuf((UINT16)(sizeof(BT_HDR) + payload_size + L2CAP_MIN_OFFSET))) != NULL) 207 if ((p_buf = (BT_HDR *)GKI_getbuf((UINT16)(sizeof(BT_HDR) + num_handle * 2 + 1 + L2CAP_MIN_OFFSET))) != NULL) 239 if ((p_buf = (BT_HDR *)GKI_getbuf(sizeof(BT_HDR) + 5 + L2CAP_MIN_OFFSET)) != NULL) 275 if ((p_buf = (BT_HDR *)GKI_getbuf(sizeof(BT_HDR) + 1 + L2CAP_MIN_OFFSET)) != NULL) 301 if ((p_buf = (BT_HDR *)GKI_getbuf((UINT16)(sizeof(BT_HDR) + payload_size + L2CAP_MIN_OFFSET))) != NULL)
|
gatt_sr.c | 127 BT_HDR *p_buf = (BT_HDR *)GKI_getbuf((UINT16)sizeof(tGATTS_RSP)); 152 if ((p_buf = (BT_HDR *)GKI_getbuf(len)) == NULL) 472 if ((p_msg = (tGATTS_RSP *)GKI_getbuf(sizeof(tGATTS_RSP))) != NULL) 779 if ((p_msg = (BT_HDR *)GKI_getbuf(msg_len)) == NULL) 842 if ((p_msg = (BT_HDR *)GKI_getbuf(buf_len)) == NULL) [all...] |
/external/libnfc-nci/src/nfa/p2p/ |
nfa_p2p_api.c | 84 if ((p_msg = (tNFA_P2P_API_REG_SERVER *) GKI_getbuf (sizeof (tNFA_P2P_API_REG_SERVER))) != NULL) 132 if ((p_msg = (tNFA_P2P_API_REG_CLIENT *) GKI_getbuf (sizeof (tNFA_P2P_API_REG_CLIENT))) != NULL) 179 if ((p_msg = (tNFA_P2P_API_DEREG *) GKI_getbuf (sizeof (tNFA_P2P_API_DEREG))) != NULL) 239 else if ((p_msg = (tNFA_P2P_API_ACCEPT_CONN *) GKI_getbuf (sizeof (tNFA_P2P_API_ACCEPT_CONN))) != NULL) 294 if ((p_msg = (tNFA_P2P_API_REJECT_CONN *) GKI_getbuf (sizeof (tNFA_P2P_API_REJECT_CONN))) != NULL) 350 if ((p_msg = (tNFA_P2P_API_DISCONNECT *) GKI_getbuf (sizeof (tNFA_P2P_API_DISCONNECT))) != NULL) 406 else if ((p_msg = (tNFA_P2P_API_CONNECT *) GKI_getbuf (sizeof (tNFA_P2P_API_CONNECT))) != NULL) 467 else if ((p_msg = (tNFA_P2P_API_CONNECT *) GKI_getbuf (sizeof (tNFA_P2P_API_CONNECT))) != NULL) 544 else if ((p_msg = (tNFA_P2P_API_SEND_UI *) GKI_getbuf (sizeof(tNFA_P2P_API_SEND_UI))) != NULL) 738 else if ((p_msg = (tNFA_P2P_API_SEND_DATA *) GKI_getbuf (sizeof(tNFA_P2P_API_SEND_DATA))) != NULL [all...] |
/external/bluetooth/bluedroid/bta/ag/ |
bta_ag_rfc.c | 103 if ((p_buf = (BT_HDR *) GKI_getbuf(sizeof(BT_HDR))) != NULL) 176 if ((p_buf = (tBTA_AG_RFC *) GKI_getbuf(sizeof(tBTA_AG_RFC))) != NULL) 413 if ((p_buf = (tBTA_AG_RFC *) GKI_getbuf(sizeof(tBTA_AG_RFC))) != NULL)
|
bta_ag_sdp.c | 90 if ((p_buf = (tBTA_AG_DISC_RESULT *) GKI_getbuf(sizeof(tBTA_AG_DISC_RESULT))) != NULL) 455 p_scb->p_disc_db = (tSDP_DISCOVERY_DB *) GKI_getbuf(BTA_AG_DISC_BUF_SIZE);
|
bta_ag_at.c | 195 p_cb->p_cmd_buf = (char *) GKI_getbuf(p_cb->cmd_max_len);
|
/external/bluetooth/bluedroid/gki/common/ |
gki.h | 360 #define GKI_PUBLIC_POOL 0 /* General pool accessible to GKI_getbuf() */ 361 #define GKI_RESTRICTED_POOL 1 /* Inaccessible pool to GKI_getbuf() */ 409 GKI_API extern void *GKI_getbuf (UINT16);
|
/external/bluetooth/bluedroid/btif/src/ |
btif_profile_queue.c | 67 connect_node_t *p_node = GKI_getbuf(sizeof(connect_node_t));
|
/external/libnfc-nci/halimpl/bcm2079x/gki/common/ |
gki.h | 375 #define GKI_PUBLIC_POOL 0 /* General pool accessible to GKI_getbuf() */ 376 #define GKI_RESTRICTED_POOL 1 /* Inaccessible pool to GKI_getbuf() */ 422 #define GKI_getbuf(size) GKI_getbuf_debug(size, __FUNCTION__, __LINE__) 425 GKI_API extern void *GKI_getbuf (UINT16);
|
gki_buffer.c | 342 ** Function GKI_getbuf 359 void *GKI_getbuf (UINT16 size) 377 LOGD("GKI_getbuf() requesting %d func:%s(line=%d)", size, _function_, _line_); 409 GKI_TRACE_ERROR_0("GKI_getbuf() out of buffer"); 418 GKI_TRACE_ERROR_0("GKI_getbuf() fail alloc free queue"); 440 LOGD("GKI_getbuf() allocated, %x, %x (%d of %d used) %d", (UINT8*)p_hdr + BUFFER_HDR_SIZE, p_hdr, Q->cur_cnt, Q->total, p_cb->freeq[i].total); 450 GKI_TRACE_ERROR_0("GKI_getbuf() unable to allocate buffer!!!!!"); 452 LOGD("GKI_getbuf() unable to allocate buffer!!!!!"); 571 return (GKI_getbuf(p_cb->freeq[pool_id].size)); [all...] |
/external/libnfc-nci/src/gki/common/ |
gki.h | 378 #define GKI_PUBLIC_POOL 0 /* General pool accessible to GKI_getbuf() */ 379 #define GKI_RESTRICTED_POOL 1 /* Inaccessible pool to GKI_getbuf() */ 424 #define GKI_getbuf(size) GKI_getbuf_debug(size, __FUNCTION__, __LINE__) 427 GKI_API extern void *GKI_getbuf (UINT16);
|
gki_buffer.c | 342 ** Function GKI_getbuf 359 void *GKI_getbuf (UINT16 size) 377 LOGD("GKI_getbuf() requesting %d func:%s(line=%d)", size, _function_, _line_); 409 GKI_TRACE_ERROR_0("GKI_getbuf() out of buffer"); 418 GKI_TRACE_ERROR_0("GKI_getbuf() fail alloc free queue"); 440 LOGD("GKI_getbuf() allocated, %x, %x (%d of %d used) %d", (UINT8*)p_hdr + BUFFER_HDR_SIZE, p_hdr, Q->cur_cnt, Q->total, p_cb->freeq[i].total); 450 GKI_TRACE_ERROR_0("GKI_getbuf() unable to allocate buffer!!!!!"); 452 LOGD("GKI_getbuf() unable to allocate buffer!!!!!"); 571 return (GKI_getbuf(p_cb->freeq[pool_id].size)); [all...] |
/external/bluetooth/bluedroid/bta/pan/ |
bta_pan_act.c | 62 if ((p_buf = (tBTA_PAN_CONN *) GKI_getbuf(sizeof(tBTA_PAN_CONN))) != NULL) 135 if ((p_buf = (BT_HDR *) GKI_getbuf(sizeof(BT_HDR))) != NULL) 211 if ((p_event = (BT_HDR *) GKI_getbuf(sizeof(BT_HDR))) != NULL) 485 if ((p_buf = (tBTA_PAN_CONN *) GKI_getbuf(sizeof(tBTA_PAN_CONN))) != NULL) 658 if ((p_buf = (BT_HDR *) GKI_getbuf(sizeof(BT_HDR))) != NULL)
|
/external/bluetooth/bluedroid/stack/sdp/ |
sdp_db.c | 546 if ((p_buff = (UINT8 *) GKI_getbuf(sizeof(UINT8) * SDP_MAX_ATTR_LEN * 2)) == NULL) 629 if ((p_buff = (UINT8 *) GKI_getbuf(sizeof(UINT8) * SDP_MAX_ATTR_LEN * 2)) == NULL) 677 if ((p_buff = (UINT8 *) GKI_getbuf(sizeof(UINT8) * SDP_MAX_ATTR_LEN * 2)) == NULL) 716 if ((p_buff = (UINT8 *) GKI_getbuf(sizeof(UINT8) * SDP_MAX_ATTR_LEN * 2)) == NULL) 765 if ((p_buff = (UINT8 *) GKI_getbuf(sizeof(UINT8) * SDP_MAX_ATTR_LEN)) == NULL) 814 if ((p_buff = (UINT8 *) GKI_getbuf(sizeof(UINT8) * SDP_MAX_ATTR_LEN)) == NULL) 863 if ((p_buff = (UINT8 *) GKI_getbuf(sizeof(UINT8) * SDP_MAX_ATTR_LEN * 2)) == NULL) [all...] |
/external/bluetooth/bluedroid/bta/include/ |
bta_pan_ci.h | 92 ** functions GKI_getbuf() or GKI_getpoolbuf(). The buffer
|
/external/bluetooth/bluedroid/bta/sys/ |
ptim.c | 101 if ((p_msg = (BT_HDR *) GKI_getbuf(sizeof(BT_HDR))) != NULL)
|
/external/libnfc-nci/src/nfa/rw/ |
nfa_rw_main.c | 161 if ((p_msg = (tNFA_RW_MSG *) GKI_getbuf ((UINT16) sizeof(tNFA_RW_MSG))) != NULL)
|
/external/libnfc-nci/src/nfa/sys/ |
nfa_sys_ptim.c | 104 if ((p_msg = (BT_HDR *) GKI_getbuf (sizeof (BT_HDR))) != NULL)
|
/external/libnfc-nci/src/nfc/nfc/ |
nfc_task.c | 70 if ((p_msg = (BT_HDR *) GKI_getbuf (BT_HDR_SIZE)) != NULL) 192 if ((p_msg = (BT_HDR *) GKI_getbuf (BT_HDR_SIZE)) != NULL)
|
/external/bluetooth/bluedroid/bta/dm/ |
bta_dm_act.c | 292 if ((sys_enable_event = (tBTA_SYS_HW_MSG *) GKI_getbuf(sizeof(tBTA_SYS_HW_MSG))) != NULL) [all...] |
/external/bluetooth/bluedroid/stack/btu/ |
btu_task.c | 591 if ((p_msg = (BT_HDR *)GKI_getbuf(BT_HDR_SIZE)) != NULL) 646 if ((p_msg = (BT_HDR *)GKI_getbuf(BT_HDR_SIZE)) != NULL) 689 if ((p_msg = (BT_HDR *)GKI_getbuf(BT_HDR_SIZE)) != NULL)
|
/external/bluetooth/bluedroid/stack/mcap/ |
mca_cact.c | 119 p_pkt = (BT_HDR *)GKI_getbuf (MCA_CTRL_MTU); 167 p_pkt = (BT_HDR *)GKI_getbuf (MCA_CTRL_MTU); 406 p_buf = (BT_HDR *)GKI_getbuf (MCA_CTRL_MTU);
|
mca_api.c | 460 p_evt_data = (tMCA_CCB_MSG *)GKI_getbuf (sizeof(tMCA_CCB_MSG)); 635 p_evt_data = (tMCA_CCB_MSG *)GKI_getbuf (sizeof(tMCA_CCB_MSG)); 807 p_evt_data = (tMCA_CCB_MSG *)GKI_getbuf (sizeof(tMCA_CCB_MSG)); 850 p_evt_data = (tMCA_CCB_MSG *)GKI_getbuf (sizeof(tMCA_CCB_MSG)); [all...] |
/external/bluetooth/bluedroid/stack/srvc/ |
srvc_dis.c | 282 if ((p_str = (UINT8 *)GKI_getbuf((UINT16)(p_data->att_value.len + 1))) != NULL) 391 if ((dis_cb.dis_value.data_string[i - 1] = (UINT8 *)GKI_getbuf((UINT16)(p_info->data_str.len + 1))) != NULL)
|
/external/bluetooth/bluedroid/stack/avrc/ |
avrc_bld_ct.c | 148 p_pkt = (BT_HDR *)GKI_getbuf(len);
|