Home
last modified time | relevance | path

Searched refs:BUFFER_HDR_T (Results 1 – 2 of 2) sorted by relevance

/system/nfc/src/gki/common/
Dgki_buffer.cc47 BUFFER_HDR_T* hdr; in gki_init_free_queue()
48 BUFFER_HDR_T* hdr1 = nullptr; in gki_init_free_queue()
72 hdr = (BUFFER_HDR_T*)p_mem; in gki_init_free_queue()
81 hdr = (BUFFER_HDR_T*)((uint8_t*)hdr + act_size); in gki_init_free_queue()
255 BUFFER_HDR_T* p_hdr; in GKI_getbuf()
263 size_t total_sz = size + sizeof(BUFFER_HDR_T); in GKI_getbuf()
264 p_hdr = (BUFFER_HDR_T*)GKI_os_malloc(total_sz); in GKI_getbuf()
393 BUFFER_HDR_T* p_hdr; in GKI_getpoolbuf()
450 BUFFER_HDR_T* p_hdr; in GKI_freebuf()
453 p_hdr = (BUFFER_HDR_T*)((uint8_t*)p_buf - BUFFER_HDR_SIZE); in GKI_freebuf()
[all …]
Dgki_common.h60 } BUFFER_HDR_T; typedef
63 BUFFER_HDR_T* p_first; /* first buffer in the queue */
64 BUFFER_HDR_T* p_last; /* last buffer in the queue */
76 #define BUFFER_HDR_SIZE (sizeof(BUFFER_HDR_T))
78 #define BUFFER_PADDING_SIZE (sizeof(BUFFER_HDR_T) + sizeof(uint32_t))
229 BUFFER_HDR_T* OSTaskQFirst[GKI_MAX_TASKS]
232 BUFFER_HDR_T* OSTaskQLast[GKI_MAX_TASKS]