Home
last modified time | relevance | path

Searched refs:p_mem (Results 1 – 4 of 4) sorted by relevance

/system/nfc/src/gki/ulinux/
Dgki_ulinux.cc968 void GKI_register_mempool(void* p_mem) { in GKI_register_mempool() argument
969 gki_cb.com.p_user_mempool = p_mem; in GKI_register_mempool()
1006 void GKI_os_free(void* p_mem) { in GKI_os_free() argument
1007 if (p_mem != nullptr) free(p_mem); in GKI_os_free()
1150 void GKI_shiftdown(uint8_t* p_mem, uint32_t len, uint32_t shift_amount) { in GKI_shiftdown() argument
1151 uint8_t* ps = p_mem + len - 1; in GKI_shiftdown()
/system/nfc/src/gki/common/
Dgki_buffer.cc48 void* p_mem) { in gki_init_free_queue() argument
62 if (p_mem) { in gki_init_free_queue()
63 p_cb->pool_start[id] = (uint8_t*)p_mem; in gki_init_free_queue()
64 p_cb->pool_end[id] = (uint8_t*)p_mem + (act_size * total); in gki_init_free_queue()
75 if (p_mem) { in gki_init_free_queue()
76 hdr = (BUFFER_HDR_T*)p_mem; in gki_init_free_queue()
102 void* p_mem = GKI_os_malloc((Q->size + BUFFER_PADDING_SIZE) * Q->total); in gki_alloc_free_queue() local
103 if (p_mem) { in gki_alloc_free_queue()
105 gki_init_free_queue(id, Q->size, Q->total, p_mem); in gki_alloc_free_queue()
Dgki.h369 extern void GKI_shiftdown(uint8_t* p_mem, uint32_t len, uint32_t shift_amount);
392 extern void GKI_register_mempool(void* p_mem);
/system/nfc/src/nfc/ndef/
Dndef_utils.cc43 static void shiftdown(uint8_t* p_mem, uint32_t len, uint32_t shift_amount) { in shiftdown() argument
44 uint8_t* ps = p_mem + len - 1; in shiftdown()