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.cc49 BUFFER_HDR_T* hdr; in gki_init_free_queue()
50 BUFFER_HDR_T* hdr1 = nullptr; in gki_init_free_queue()
74 hdr = (BUFFER_HDR_T*)p_mem; in gki_init_free_queue()
83 hdr = (BUFFER_HDR_T*)((uint8_t*)hdr + act_size); in gki_init_free_queue()
257 BUFFER_HDR_T* p_hdr; in GKI_getbuf()
271 size_t total_sz = size + sizeof(BUFFER_HDR_T) in GKI_getbuf()
277 p_hdr = (BUFFER_HDR_T*)GKI_os_malloc(total_sz); in GKI_getbuf()
423 BUFFER_HDR_T* p_hdr; in GKI_getpoolbuf()
480 BUFFER_HDR_T* p_hdr; in GKI_freebuf()
490 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]