/external/bluetooth/bluedroid/hci/src/ |
utils.c | 96 HC_BUFFER_HDR_T *p_hdr; local 98 p_hdr = (HC_BUFFER_HDR_T *) ((uint8_t *) p_buf - BT_HC_BUFFER_HDR_SIZE); 107 p_last_hdr->p_next = p_hdr; 115 p_hdr->p_next = NULL; 147 HC_BUFFER_HDR_T *p_hdr; local 155 p_hdr=(HC_BUFFER_HDR_T *)((uint8_t *)p_q->p_first-BT_HC_BUFFER_HDR_SIZE); 157 if (p_hdr->p_next) 158 p_q->p_first = ((uint8_t *)p_hdr->p_next + BT_HC_BUFFER_HDR_SIZE); 167 p_hdr->p_next = NULL; 168 return ((uint8_t *)p_hdr + BT_HC_BUFFER_HDR_SIZE) 184 HC_BUFFER_HDR_T *p_hdr; local [all...] |
bt_hw.c | 125 HC_BT_HDR *p_hdr = NULL; local 128 p_hdr = (HC_BT_HDR *) bt_hc_cbacks->alloc(size); 130 return (p_hdr); 146 HC_BT_HDR *p_hdr = (HC_BT_HDR *) p_buf; local 149 bt_hc_cbacks->dealloc((TRANSAC) p_buf, (char *) (p_hdr+1));
|
hci_h4.c | 351 HC_BT_HDR *p_hdr = p_cb->acl_rx_q.p_first; local 353 while (p_hdr != NULL) 355 p = (uint8_t *)(p_hdr + 1); 360 p_return_buf = p_hdr; 363 p_hdr = utils_getnext(p_hdr); [all...] |
hci_mct.c | 346 HC_BT_HDR *p_hdr = p_cb->acl_rx_q.p_first; local 348 while (p_hdr != NULL) 350 p = (uint8_t *)(p_hdr + 1); 355 p_return_buf = p_hdr; 358 p_hdr = utils_getnext(p_hdr); [all...] |
/external/libnfc-nci/halimpl/bcm2079x/gki/common/ |
gki_buffer.c | 364 BUFFER_HDR_T *p_hdr; local 423 p_hdr = Q->p_first; 424 Q->p_first = p_hdr->p_next; 434 p_hdr->task_id = GKI_get_taskid(); 436 p_hdr->status = BUF_STATUS_UNLINKED; 437 p_hdr->p_next = NULL; 438 p_hdr->Type = 0; 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); 442 strncpy(p_hdr->_function, _function_, _GKI_MAX_FUNCTION_NAME_LEN) 508 BUFFER_HDR_T *p_hdr; local 589 BUFFER_HDR_T *p_hdr; local 654 BUFFER_HDR_T *p_hdr; local 711 BUFFER_HDR_T *p_hdr; local 775 BUFFER_HDR_T *p_hdr; local 814 BUFFER_HDR_T *p_hdr; local 869 BUFFER_HDR_T *p_hdr; local 923 BUFFER_HDR_T *p_hdr; local 1056 BUFFER_HDR_T *p_hdr; local 1243 BUFFER_HDR_T *p_hdr; local 1331 BUFFER_HDR_T *p_hdr = (BUFFER_HDR_T *) ((UINT8 *) p_buf - BUFFER_HDR_SIZE); local 1350 BUFFER_HDR_T *p_hdr; local [all...] |
gki_debug.c | 212 BUFFER_HDR_T *p_hdr; local 230 p_hdr = (BUFFER_HDR_T *)p_start; 231 magic = (UINT32 *)((UINT8 *)p_hdr + buf_size - sizeof(UINT32)); 232 p = (UINT16 *) p_hdr; 234 if (p_hdr->status != BUF_STATUS_FREE) 237 i, p_hdr, 238 p_hdr->q_id, 239 GKI_map_taskname(p_hdr->task_id), 240 p_hdr->status,
|
/external/libnfc-nci/src/gki/common/ |
gki_buffer.c | 364 BUFFER_HDR_T *p_hdr; local 423 p_hdr = Q->p_first; 424 Q->p_first = p_hdr->p_next; 434 p_hdr->task_id = GKI_get_taskid(); 436 p_hdr->status = BUF_STATUS_UNLINKED; 437 p_hdr->p_next = NULL; 438 p_hdr->Type = 0; 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); 442 strncpy(p_hdr->_function, _function_, _GKI_MAX_FUNCTION_NAME_LEN) 508 BUFFER_HDR_T *p_hdr; local 589 BUFFER_HDR_T *p_hdr; local 654 BUFFER_HDR_T *p_hdr; local 711 BUFFER_HDR_T *p_hdr; local 775 BUFFER_HDR_T *p_hdr; local 814 BUFFER_HDR_T *p_hdr; local 869 BUFFER_HDR_T *p_hdr; local 923 BUFFER_HDR_T *p_hdr; local 1056 BUFFER_HDR_T *p_hdr; local 1243 BUFFER_HDR_T *p_hdr; local 1331 BUFFER_HDR_T *p_hdr = (BUFFER_HDR_T *) ((UINT8 *) p_buf - BUFFER_HDR_SIZE); local 1350 BUFFER_HDR_T *p_hdr; local [all...] |
gki_debug.c | 212 BUFFER_HDR_T *p_hdr; local 230 p_hdr = (BUFFER_HDR_T *)p_start; 231 magic = (UINT32 *)((UINT8 *)p_hdr + buf_size - sizeof(UINT32)); 232 p = (UINT16 *) p_hdr; 234 if (p_hdr->status != BUF_STATUS_FREE) 237 i, p_hdr, 238 p_hdr->q_id, 239 GKI_map_taskname(p_hdr->task_id), 240 p_hdr->status,
|
/external/bluetooth/bluedroid/gki/common/ |
gki_buffer.c | 372 BUFFER_HDR_T *p_hdr; local 414 p_hdr = Q->p_first; 415 Q->p_first = p_hdr->p_next; 425 p_hdr->task_id = GKI_get_taskid(); 427 p_hdr->status = BUF_STATUS_UNLINKED; 428 p_hdr->p_next = NULL; 429 p_hdr->Type = 0; 431 return ((void *) ((UINT8 *)p_hdr + BUFFER_HDR_SIZE)); 460 BUFFER_HDR_T *p_hdr; local 481 p_hdr = Q->p_first 524 BUFFER_HDR_T *p_hdr; local 585 BUFFER_HDR_T *p_hdr; local 642 BUFFER_HDR_T *p_hdr; local 706 BUFFER_HDR_T *p_hdr; local 745 BUFFER_HDR_T *p_hdr; local 800 BUFFER_HDR_T *p_hdr; local 854 BUFFER_HDR_T *p_hdr; local 988 BUFFER_HDR_T *p_hdr; local 1170 BUFFER_HDR_T *p_hdr; local 1258 BUFFER_HDR_T *p_hdr = (BUFFER_HDR_T *) ((UINT8 *) p_buf - BUFFER_HDR_SIZE); local 1277 BUFFER_HDR_T *p_hdr; local [all...] |
gki_debug.c | 213 BUFFER_HDR_T *p_hdr; local 231 p_hdr = (BUFFER_HDR_T *)p_start; 232 magic = (UINT32 *)((UINT8 *)p_hdr + buf_size - sizeof(UINT32)); 233 p = (UINT16 *) p_hdr; 235 if (p_hdr->status != BUF_STATUS_FREE) 238 i, p_hdr, 239 p_hdr->q_id, 240 GKI_map_taskname(p_hdr->task_id), 241 p_hdr->status,
|
/external/e2fsprogs/lib/ext2fs/ |
ext3_extents.h | 67 struct ext3_extent_header *p_hdr; member in struct:ext3_ext_path 98 ((__path__)->p_hdr->eh_entries < (__path__)->p_hdr->eh_max)
|
/system/extras/ext4_utils/ |
ext4_extents.h | 61 struct ext4_extent_header *p_hdr; member in struct:ext4_ext_path 80 #define EXT_HAS_FREE_INDEX(__path__) (le16_to_cpu((__path__)->p_hdr->eh_entries) < le16_to_cpu((__path__)->p_hdr->eh_max))
|
/external/bluetooth/bluedroid/main/ |
bte_main.c | 632 BT_HDR *p_hdr = NULL; local 638 p_hdr = (BT_HDR *) GKI_getbuf ((UINT16) size); 640 if (p_hdr == NULL) 645 return ((char *) p_hdr);
|
/external/libnfc-nci/src/nfa/ee/ |
nfa_ee_main.c | 314 BT_HDR *p_hdr; local 343 p_hdr = (BT_HDR *) &cbk; 347 nfa_ee_evt_hdlr (p_hdr);
|
/external/bluetooth/bluedroid/stack/include/ |
btu.h | 41 typedef void (*tBTU_EVENT_CALLBACK)(BT_HDR *p_hdr);
|
/external/libnfc-nci/src/nfa/p2p/ |
nfa_p2p_main.c | 710 static BOOLEAN nfa_p2p_evt_hdlr (BT_HDR *p_hdr) 715 tNFA_P2P_MSG *p_msg = (tNFA_P2P_MSG *)p_hdr;
|