/external/bluetooth/bluedroid/hci/src/ |
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));
|
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...] |
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/bluetooth/bluedroid/gki/common/ |
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,
|
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...] |
/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)
|
/external/libnfc-nci/halimpl/bcm2079x/gki/common/ |
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,
|
gki_buffer.c | 364 BUFFER_HDR_T *p_hdr; local 421 p_hdr = Q->p_first; 422 Q->p_first = p_hdr->p_next; 432 p_hdr->task_id = GKI_get_taskid(); 434 p_hdr->status = BUF_STATUS_UNLINKED; 435 p_hdr->p_next = NULL; 436 p_hdr->Type = 0; 438 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); 440 strncpy(p_hdr->_function, _function_, _GKI_MAX_FUNCTION_NAME_LEN) 506 BUFFER_HDR_T *p_hdr; local 587 BUFFER_HDR_T *p_hdr; local 652 BUFFER_HDR_T *p_hdr; local 709 BUFFER_HDR_T *p_hdr; local 773 BUFFER_HDR_T *p_hdr; local 812 BUFFER_HDR_T *p_hdr; local 867 BUFFER_HDR_T *p_hdr; local 921 BUFFER_HDR_T *p_hdr; local 1054 BUFFER_HDR_T *p_hdr; local 1241 BUFFER_HDR_T *p_hdr; local 1329 BUFFER_HDR_T *p_hdr = (BUFFER_HDR_T *) ((UINT8 *) p_buf - BUFFER_HDR_SIZE); local 1348 BUFFER_HDR_T *p_hdr; local [all...] |
/external/libnfc-nci/src/gki/common/ |
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,
|
gki_buffer.c | 364 BUFFER_HDR_T *p_hdr; local 421 p_hdr = Q->p_first; 422 Q->p_first = p_hdr->p_next; 432 p_hdr->task_id = GKI_get_taskid(); 434 p_hdr->status = BUF_STATUS_UNLINKED; 435 p_hdr->p_next = NULL; 436 p_hdr->Type = 0; 438 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); 440 strncpy(p_hdr->_function, _function_, _GKI_MAX_FUNCTION_NAME_LEN) 506 BUFFER_HDR_T *p_hdr; local 587 BUFFER_HDR_T *p_hdr; local 652 BUFFER_HDR_T *p_hdr; local 709 BUFFER_HDR_T *p_hdr; local 773 BUFFER_HDR_T *p_hdr; local 812 BUFFER_HDR_T *p_hdr; local 867 BUFFER_HDR_T *p_hdr; local 921 BUFFER_HDR_T *p_hdr; local 1054 BUFFER_HDR_T *p_hdr; local 1241 BUFFER_HDR_T *p_hdr; local 1329 BUFFER_HDR_T *p_hdr = (BUFFER_HDR_T *) ((UINT8 *) p_buf - BUFFER_HDR_SIZE); local 1348 BUFFER_HDR_T *p_hdr; local [all...] |
/external/libnfc-nci/src/nfa/ee/ |
nfa_ee_main.c | 319 BT_HDR *p_hdr; local 348 p_hdr = (BT_HDR *) &cbk; 352 nfa_ee_evt_hdlr (p_hdr);
|
/external/bluetooth/bluedroid/main/ |
bte_main.c | 602 BT_HDR *p_hdr = NULL; local 608 p_hdr = (BT_HDR *) GKI_getbuf ((UINT16) size); 610 if (p_hdr == NULL) 615 return ((char *) p_hdr);
|
/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))
|