4#if defined(__name) && defined(__type)
40 vsf_pool_item_init_evt_handler_t *handler_fn)
43 (vsf_pool_t *)this_ptr, (
uintptr_t)buffer_ptr,
#define VSF_CAL_ALIGN_OF(__TYPE)
Definition __compiler.h:188
#define VSF_CAL_SECTION(__SEC)
Definition __compiler.h:181
#define VSF_STR(__STRING)
Definition __type.h:140
#define vsf_max(__a, __b)
Definition __type.h:151
struct VSF_MCONNECT(VSF_FLASH_CFG_IMP_PREFIX, _flash_t)
Definition flash.c:53
#define __type
Definition hci_transport_aic8800.c:553
#define __name
Definition hci_transport_aic8800.c:552
uint32_t uintptr_t
Definition stdint.h:38
unsigned int uint_fast32_t
Definition stdint.h:27
unsigned short uint_fast16_t
Definition stdint.h:25
Definition vsf_arch_abstraction.h:54
uintptr_t vsf_pool_alloc(vsf_pool_t *obj_ptr)
try to fetch a memory block from the target pool !
Definition vsf_pool.c:232
vsf_protect_region_t * vsf_pool_get_region(vsf_pool_t *obj_ptr)
get the address of the code region used by this pool !
Definition vsf_pool.c:413
bool vsf_pool_add_buffer_ex(vsf_pool_t *obj_ptr, uintptr_t buffer_ptr, uint32_t buffer_size, uint32_t item_size, vsf_pool_item_init_evt_handler_t *item_init_fn)
add memory to pool !
Definition vsf_pool.c:301
bool vsf_pool_add_buffer(vsf_pool_t *this_ptr, uintptr_t buffer_ptr, uint32_t buffer_size, uint32_t item_size)
add memory to pool !
Definition vsf_pool.c:194
uint_fast16_t vsf_pool_get_count(vsf_pool_t *obj_ptr)
get the number of memory blocks available in the target pool !
Definition vsf_pool.c:371
void vsf_pool_free(vsf_pool_t *obj_ptr, uintptr_t pItem)
return a memory block to the target pool !
Definition vsf_pool.c:352
void vsf_pool_init(vsf_pool_t *obj_ptr, uint32_t item_size, uint_fast16_t align, vsf_pool_cfg_t *cfg_ptr)
initialise target pool !
Definition vsf_pool.c:132
uint32_t uint_fast16_t align
Definition vsf_pool.h:548
#define vsf_pool(__name)
Definition vsf_pool.h:258
#define vsf_pool_item(__name)
Definition vsf_pool.h:259
vsf_pool_cfg_t
Definition vsf_pool.h:539
#define __implement_vsf_pool_tag(__name)
Definition vsf_pool.h:152
uintptr_t item_ptr
Definition vsf_pool.h:476