Home
last modified time | relevance | path

Searched refs:mem_size_t (Results 1 – 3 of 3) sorted by relevance

/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/
Dmem.h50 typedef size_t mem_size_t; typedef
55 typedef u16_t mem_size_t;
64 typedef u32_t mem_size_t;
67 typedef u16_t mem_size_t;
73 void *mem_trim(void *mem, mem_size_t size);
74 void *mem_malloc(mem_size_t size);
75 void *mem_calloc(mem_size_t count, mem_size_t size);
Dstats.h126 mem_size_t avail;
127 mem_size_t used;
128 mem_size_t max;
444 #define MEM_STATS_INC_USED(x, y) STATS_INC_USED(mem, y, mem_size_t)
445 #define MEM_STATS_DEC_USED(x, y) lwip_stats.mem.x = (mem_size_t)((lwip_stats.mem.x) - (y))
/device/soc/esp/esp32/components/esp_lwip/lwip/src/core/
Dpbuf.c279 mem_size_t alloc_len = (mem_size_t)(LWIP_MEM_ALIGN_SIZE(SIZEOF_STRUCT_PBUF) + payload_len); in pbuf_alloc()
448 q = (struct pbuf *)mem_trim(q, (mem_size_t)(((u8_t *)q->payload - (u8_t *)q) + rem_len)); in pbuf_realloc()