Home
last modified time | relevance | path

Searched refs:memp (Results 1 - 14 of 14) sorted by relevance

/third_party/lwip/src/core/
H A Dmemp.c48 #include "lwip/memp.h"
98 * Check that memp-lists don't form a circle, using "Floyd's cycle-finding algorithm".
103 struct memp *t, *h; in memp_sanity()
121 * Check if a memp element was victim of an overflow or underflow
124 * @param p the memp element to check
128 memp_overflow_check_element(struct memp *p, const struct memp_desc *desc) in memp_overflow_check_element()
134 * Initialize the restricted area of on memp 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_ALIG in memp_overflow_check_all()
250 struct memp *memp; do_memp_malloc_pool() local
342 void *memp; memp_malloc() local
361 struct memp *memp; do_memp_free_pool() local
[all...]
/third_party/ltp/testcases/kernel/hotplug/memory_hotplug/
H A Dsegment.c258 char *memp; in map_anon_segment() local
264 memp = (char *)mmap(0, segp->seg_length, segp->seg_prot, flags | MAP_ANONYMOUS, 0, /* fd -- ignored */ 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, mem in map_file_segment()
677 unsigned long *memp; segment_touch() local
[all...]
H A 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/elfutils/libdw/
H A 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/lwip/src/include/lwip/priv/
H A Dmemp_priv.h53 /* MEMP_SIZE: save space for struct memp and for sanity check */
54 #define MEMP_SIZE (LWIP_MEM_ALIGN_SIZE(sizeof(struct memp)) + MEM_SANITY_REGION_BEFORE_ALIGNED)
60 * We don't need to preserve the struct memp while not allocated, so we
69 struct memp { struct
70 struct memp *next;
129 struct memp **tab;
/third_party/lwip/src/include/lwip/
H A Dstats.h43 #include "lwip/memp.h"
271 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)
H A Dmemp.h51 /** Create the list of all memory pools managed by memp. MEMP_MAX represents a NULL pool at the end */
100 static struct memp *memp_tab_ ## name; \
/third_party/pcre2/pcre2/src/
H A 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/elfutils/src/
H A Dar.c1359 for (struct armem *memp = all; memp != NULL; memp = memp->next) in do_oper_insert()
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 in do_oper_insert()
[all...]
/third_party/lwip/test/unit/
H A Dlwip_unittests.c50 fail_unless(lwip_stats.memp[i]->used == 0); in lwip_check_ensure_no_alloc()
/third_party/libcoap/include/coap3/
H A Dcoap_mem.h129 #include <lwip/memp.h>
136 /* It would be nice to check that size equals the size given at the memp
138 * sourcing the custom memp pools and becoming dependent of its syntax
/third_party/lwip/src/
H A DFilelists.mk39 $(LWIPDIR)/core/memp.c \
/third_party/libcoap/examples/lwip/
H A DMakefile128 icmp.c raw.c ip4_frag.c sys_arch.c ethernet.c ip.c mem.c memp.c
/third_party/libcoap/src/
H A Dcoap_net.c115 #include <lwip/memp.h>

Completed in 13 milliseconds