Home
last modified time | relevance | path

Searched refs:memp (Results 1 – 23 of 23) sorted by relevance

/third_party/lwip/src/core/
Dmemp.c103 struct memp *t, *h; in memp_sanity()
128 memp_overflow_check_element(struct memp *p, const struct memp_desc *desc) in memp_overflow_check_element()
137 memp_overflow_init_element(struct memp *p, const struct memp_desc *desc) in memp_overflow_init_element()
152 struct memp *p; in memp_overflow_check_all()
157 p = (struct memp *)LWIP_MEM_ALIGN(memp_pools[i]->base); in memp_overflow_check_all()
160 …p = LWIP_ALIGNMENT_CAST(struct memp *, ((u8_t *)p + MEMP_SIZE + memp_pools[i]->size + MEM_SANITY_R… in memp_overflow_check_all()
181 struct memp *memp; in memp_init_pool()
184 memp = (struct memp *)LWIP_MEM_ALIGN(desc->base); in memp_init_pool()
187 memset(memp, 0, (size_t)desc->num * (MEMP_SIZE + desc->size in memp_init_pool()
195 memp->next = *desc->tab; in memp_init_pool()
[all …]
/third_party/elfutils/libdw/
Ddwarf_end.c104 struct libdw_memblock *memp = dwarf->mem_tails[i]; in dwarf_end() local
105 while (memp != NULL) in dwarf_end()
107 struct libdw_memblock *prevp = memp->prev; in dwarf_end()
108 free (memp); in dwarf_end()
109 memp = prevp; in dwarf_end()
/third_party/ltp/testcases/kernel/hotplug/memory_hotplug/
Dsegment.c258 char *memp; in map_anon_segment() local
264memp = (char *)mmap(0, segp->seg_length, segp->seg_prot, flags | MAP_ANONYMOUS, 0, /* fd -- ignore… in map_anon_segment()
267 if (memp == MAP_FAILED) { in map_anon_segment()
276 memp, memp + segp->seg_length - 1); in map_anon_segment()
278 segp->seg_start = memp; in map_anon_segment()
365 char *memp; in map_file_segment() local
397 memp = (char *)mmap(0, segp->seg_length, in map_file_segment()
400 if (memp == MAP_FAILED) { in map_file_segment()
409 memp, memp + segp->seg_length - 1); in map_file_segment()
411 segp->seg_start = memp; in map_file_segment()
[all …]
Dmemtoy.c322 void touch_memory(bool rw, unsigned long *memp, size_t memlen) in touch_memory() argument
329 memend = memp + memlen / sizeof(unsigned long); in touch_memory()
331 rw ? "Writing" : "Reading", memp, memend); in touch_memory()
333 for (pp = memp; pp < memend; pp += longs_in_page) { in touch_memory()
/third_party/lwip/src/include/lwip/priv/
Dmemp_priv.h54 #define MEMP_SIZE (LWIP_MEM_ALIGN_SIZE(sizeof(struct memp)) + MEM_SANITY_REGION_BEFORE_ALI…
69 struct memp { struct
70 struct memp *next; argument
129 struct memp **tab;
/third_party/pcre2/pcre2/src/
Dpcre2_substring.c378 pcre2_memctl *memp; in pcre2_substring_list_get() local
397 memp = PRIV(memctl_malloc)(size, (pcre2_memctl *)match_data); in pcre2_substring_list_get()
398 if (memp == NULL) return PCRE2_ERROR_NOMEMORY; in pcre2_substring_list_get()
400 *listptr = listp = (PCRE2_UCHAR **)((char *)memp + sizeof(pcre2_memctl)); in pcre2_substring_list_get()
/third_party/lwip/
DUPGRADING111 * Added LWIP_MEMPOOL_* (declare/init/alloc/free) to declare private memp pools
112 that share memp.c code but do not have to be made global via lwippools.h
114 * added hook LWIP_HOOK_MEMP_AVAILABLE() to get informed when a memp pool was empty and an item
119 * LWIP_DECLARE_MEMORY_ALIGNED() may be used to declare aligned memory buffers (mem/memp)
141 * Moved and reordered stats (mainly memp/mib2)
219 * Netdb uses a memp pool for allocating memory when getaddrinfo() is called,
222 * DNS_LOCAL_HOSTLIST_IS_DYNAMIC uses a memp pool instead of the heap, so
225 * Snmp-agent uses a memp pools instead of the heap, so MEMP_NUM_SNMP_* have
245 * Added const char* name to mem- and memp-stats for easier debugging.
DCHANGELOG221 * select: allocate select_cb from memp for LWIP_MPU_COMPATIBLE = 1 (bug #51990)
581 * opt.h, memp.c: added hook LWIP_HOOK_MEMP_AVAILABLE() to get informed when
582 a memp pool was empty and an item is now available
754 * memp.h/.c: fixed bug #48442 (memp stats don't work for MEMP_MEM_MALLOC)
1140 * memp.c: fixed bug #41188 Alignment error in memp_init() when MEMP_SEPARATE_POOLS==1
1176 * memp.c: fixed bug #37166: memp_sanity check loops itself
1190 * memp.c: fixed bug #36412: memp.c does not compile when
1288 * memp.c: fixed bug #37166: memp_sanity check loops itself
1544 * opt.h, memp_std.h, memp.c, ppp_oe.h/.c: PPPoE now uses its own MEMP pool
1622 * stats.c/.h: Added const char* name to mem- and memp-stats for easier
[all …]
DBUILD.gn48 "src/core/memp.c",
D0053-cleancode-improve-lwipopts.h-readability.patch15 src/core/memp.c | 4 +-
26 src/include/lwip/memp.h | 10 +-
546 diff --git a/src/core/memp.c b/src/core/memp.c
548 --- a/src/core/memp.c
549 +++ b/src/core/memp.c
1401 diff --git a/src/include/lwip/memp.h b/src/include/lwip/memp.h
1403 --- a/src/include/lwip/memp.h
1404 +++ b/src/include/lwip/memp.h
1429 PER_THREAD struct memp *memp_tab_ ## name = NULL; \
D0001-add-makefile.patch105 +SRC = inet_chksum.c init.c ip.c mem.c memp.c netif.c pbuf.c \
Dlwip.gni41 "$LWIPDIR/core/memp.c",
D0060-lwip-add-udp-multicast.patch108 SRC = def.c inet_chksum.c init.c ip.c mem.c memp.c netif.c pbuf.c \
D0002-adapt-lstack.patch22 src/core/memp.c | 4 +
41 src/include/lwip/memp.h | 17 ++
1582 +#include "lwip/memp.h"
2030 -SRC = inet_chksum.c init.c ip.c mem.c memp.c netif.c pbuf.c \
2034 +SRC = def.c inet_chksum.c init.c ip.c mem.c memp.c netif.c pbuf.c \
2196 diff --git a/src/core/memp.c b/src/core/memp.c
2198 --- a/src/core/memp.c
2199 +++ b/src/core/memp.c
3972 diff --git a/src/include/lwip/memp.h b/src/include/lwip/memp.h
3974 --- a/src/include/lwip/memp.h
[all …]
D0080-enable-ipv6.patch67 SRC = def.c inet_chksum.c init.c ip.c mem.c memp.c netif.c pbuf.c \
Dlwip.spec215 - cleancode: refactor memp
/third_party/lwip/src/include/lwip/
Dstats.h271 struct stats_mem *memp[MEMP_MAX]; member
403 #define MEMP_STATS_DEC(x, i) STATS_DEC(memp[i]->x)
404 #define MEMP_STATS_DISPLAY(i) stats_display_memp(lwip_stats.memp[i], i)
405 #define MEMP_STATS_GET(x, i) STATS_GET(memp[i]->x)
Dmemp.h100 static struct memp *memp_tab_ ## name; \
/third_party/elfutils/src/
Dar.c1359 for (struct armem *memp = all; memp != NULL; memp = memp->next) in do_oper_insert() local
1361 memp->off = cur_off; in do_oper_insert()
1363 if (memp->mem == NULL) in do_oper_insert()
1368 if (elf_rand (elf, memp->old_off) == 0 in do_oper_insert()
1380 arlib_add_symbols (memp->elf, arfname, memp->name, cur_off); in do_oper_insert()
1382 cur_off += (((memp->size + 1) & ~((off_t) 1)) in do_oper_insert()
/third_party/lwip/test/unit/
Dlwip_unittests.c50 fail_unless(lwip_stats.memp[i]->used == 0); in lwip_check_ensure_no_alloc()
/third_party/lwip/src/
DFilelists.mk39 $(LWIPDIR)/core/memp.c \
DFilelists.cmake41 ${LWIP_DIR}/src/core/memp.c
/third_party/libcoap/examples/lwip/
DMakefile128 icmp.c raw.c ip4_frag.c sys_arch.c ethernet.c ip.c mem.c memp.c