/external/libnfc-nci/halimpl/bcm2079x/gki/common/ |
gki_buffer.c | 26 static void gki_add_to_pool_list(UINT8 pool_id); 27 static void gki_remove_from_pool_list(UINT8 pool_id); 496 ** Parameters pool_id - (input) pool ID to get a buffer out of. 502 void *GKI_getpoolbuf_debug (UINT8 pool_id, const char * _function_, int _line_) 504 void *GKI_getpoolbuf (UINT8 pool_id) 511 if (pool_id >= GKI_NUM_TOTAL_BUF_POOLS) 515 LOGD("GKI_getpoolbuf() requesting from %d func:%s(line=%d)", pool_id, _function_, _line_); 520 Q = &p_cb->freeq[pool_id]; 524 if(Q->p_first == 0 && gki_alloc_free_queue(pool_id) != TRUE) 554 LOGD("GKI_getpoolbuf() allocated, %x, %x (%d of %d used) %d", (UINT8*)p_hdr + BUFFER_HDR_SIZE, p_hdr, Q->cur_cnt, Q->total, p_cb->freeq[pool_id].total) [all...] |
gki_debug.c | 207 GKI_API void gki_print_used_bufs (FP_PRINT print, UINT8 pool_id) 218 if (pool_id >= GKI_NUM_TOTAL_BUF_POOLS && gki_cb.com.pool_start[pool_id] != 0) 224 p_start = gki_cb.com.pool_start[pool_id]; 225 buf_size = gki_cb.com.freeq[pool_id].size + BUFFER_PADDING_SIZE; 226 num_bufs = gki_cb.com.freeq[pool_id].total;
|
/external/libnfc-nci/src/gki/common/ |
gki_buffer.c | 26 static void gki_add_to_pool_list(UINT8 pool_id); 27 static void gki_remove_from_pool_list(UINT8 pool_id); 496 ** Parameters pool_id - (input) pool ID to get a buffer out of. 502 void *GKI_getpoolbuf_debug (UINT8 pool_id, const char * _function_, int _line_) 504 void *GKI_getpoolbuf (UINT8 pool_id) 511 if (pool_id >= GKI_NUM_TOTAL_BUF_POOLS) 515 LOGD("GKI_getpoolbuf() requesting from %d func:%s(line=%d)", pool_id, _function_, _line_); 520 Q = &p_cb->freeq[pool_id]; 524 if(Q->p_first == 0 && gki_alloc_free_queue(pool_id) != TRUE) 554 LOGD("GKI_getpoolbuf() allocated, %x, %x (%d of %d used) %d", (UINT8*)p_hdr + BUFFER_HDR_SIZE, p_hdr, Q->cur_cnt, Q->total, p_cb->freeq[pool_id].total) [all...] |
gki_debug.c | 207 GKI_API void gki_print_used_bufs (FP_PRINT print, UINT8 pool_id) 218 if (pool_id >= GKI_NUM_TOTAL_BUF_POOLS && gki_cb.com.pool_start[pool_id] != 0) 224 p_start = gki_cb.com.pool_start[pool_id]; 225 buf_size = gki_cb.com.freeq[pool_id].size + BUFFER_PADDING_SIZE; 226 num_bufs = gki_cb.com.freeq[pool_id].total;
|
/external/bluetooth/bluedroid/gki/common/ |
gki_buffer.c | 25 static void gki_add_to_pool_list(UINT8 pool_id); 26 static void gki_remove_from_pool_list(UINT8 pool_id); 452 ** Parameters pool_id - (input) pool ID to get a buffer out of. 457 void *GKI_getpoolbuf (UINT8 pool_id) 463 if (pool_id >= GKI_NUM_TOTAL_BUF_POOLS) 472 Q = &p_cb->freeq[pool_id]; 477 if(Q->p_first == 0 && gki_alloc_free_queue(pool_id) != TRUE) 506 return (GKI_getbuf(p_cb->freeq[pool_id].size)); 1066 ** Parameters pool_id - (input) pool ID to be set or changed 1073 UINT8 GKI_set_pool_permission(UINT8 pool_id, UINT8 permission [all...] |
gki_debug.c | 208 GKI_API void gki_print_used_bufs (FP_PRINT print, UINT8 pool_id) 219 if ((pool_id >= GKI_NUM_TOTAL_BUF_POOLS) || (gki_cb.com.pool_start[pool_id] != 0)) 225 p_start = gki_cb.com.pool_start[pool_id]; 226 buf_size = gki_cb.com.freeq[pool_id].size + BUFFER_PADDING_SIZE; 227 num_bufs = gki_cb.com.freeq[pool_id].total;
|
/external/jpeg/ |
jmemmgr.c | 186 print_mem_stats (j_common_ptr cinfo, int pool_id) 197 pool_id, mem->total_space_allocated); 199 for (lhdr_ptr = mem->large_list[pool_id]; lhdr_ptr != NULL; 205 for (shdr_ptr = mem->small_list[pool_id]; shdr_ptr != NULL; 257 alloc_small (j_common_ptr cinfo, int pool_id, size_t sizeofobject) 275 if (pool_id < 0 || pool_id >= JPOOL_NUMPOOLS) 276 ERREXIT1(cinfo, JERR_BAD_POOL_ID, pool_id); /* safety check */ 278 hdr_ptr = mem->small_list[pool_id]; 291 slop = first_pool_slop[pool_id]; [all...] |
jpeglib.h | [all...] |
/external/qemu/distrib/jpeg-6b/ |
jmemmgr.c | 186 print_mem_stats (j_common_ptr cinfo, int pool_id) 197 pool_id, mem->total_space_allocated); 199 for (lhdr_ptr = mem->large_list[pool_id]; lhdr_ptr != NULL; 205 for (shdr_ptr = mem->small_list[pool_id]; shdr_ptr != NULL; 257 alloc_small (j_common_ptr cinfo, int pool_id, size_t sizeofobject) 275 if (pool_id < 0 || pool_id >= JPOOL_NUMPOOLS) 276 ERREXIT1(cinfo, JERR_BAD_POOL_ID, pool_id); /* safety check */ 278 hdr_ptr = mem->small_list[pool_id]; 291 slop = first_pool_slop[pool_id]; [all...] |
jpeglib.h | [all...] |
/external/bluetooth/bluedroid/bta/hl/ |
bta_hl_utils.c | 95 ** Returns UINT8 pool_id 141 ** Returns UINT8 pool_id 147 UINT8 pool_id; local 151 pool_id = BTA_HL_LRG_DATA_POOL_ID; 155 pool_id = L2CAP_DEFAULT_ERM_POOL_ID; 159 APPL_TRACE_DEBUG3("bta_hl_set_user_rx_pool_id pool_id=%d max_tx_size=%d default_ertm_pool_size=%d", 160 pool_id, max_tx_size, GKI_get_pool_bufsize (OBX_FCR_TX_POOL_ID)); 163 return pool_id; 172 ** Returns UINT8 pool_id 178 UINT8 pool_id; local [all...] |
/external/bluetooth/bluedroid/stack/hid/ |
hidh_conn.c | 826 UINT8 pool_id; local 847 pool_id = HID_CONTROL_POOL_ID; 851 pool_id = HID_INTERRUPT_POOL_ID; 866 if((p_buf = (BT_HDR *)GKI_getpoolbuf (pool_id)) == NULL) 877 if((p_buf = (BT_HDR *)GKI_getpoolbuf (pool_id)) == NULL) [all...] |
/external/bluetooth/bluedroid/include/ |
gki_target.h | 251 POOL_ID 9 is a public pool meant for large buffer needs such as SDP_DB 260 /* Setting POOL_ID 9 as a public pool meant for large buffers such as SDP_DB */
|
/external/bluetooth/bluedroid/btif/co/ |
bta_dm_co.c | 251 cfg.pool_id = HCI_SCO_POOL_ID;
|