Home
last modified time | relevance | path

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

/external/syslinux/core/lwip/src/core/
Dmemp.c66 struct memp { struct
67 struct memp *next; argument
101 #define MEMP_SIZE (LWIP_MEM_ALIGN_SIZE(sizeof(struct memp)) + MEMP_SANITY_REGION_BEFORE_AL…
117 static struct memp *memp_tab[MEMP_MAX];
185 struct memp *m, *n; in memp_sanity()
216 memp_overflow_check_element_overflow(struct memp *p, u16_t memp_type) in memp_overflow_check_element_overflow()
249 memp_overflow_check_element_underflow(struct memp *p, u16_t memp_type) in memp_overflow_check_element_underflow()
283 struct memp *p; in memp_overflow_check_all()
285 p = (struct memp *)LWIP_MEM_ALIGN(memp_memory); in memp_overflow_check_all()
290 p = (struct memp*)((u8_t*)p + MEMP_SIZE + memp_sizes[i] + MEMP_SANITY_REGION_AFTER_ALIGNED); in memp_overflow_check_all()
[all …]
Dstats.c61 lwip_stats.memp[i].name = memp_names[i]; in stats_init()
/external/elfutils/libdw/
Ddwarf_end.c83 struct libdw_memblock *memp = dwarf->mem_tail; in dwarf_end() local
85 while (memp->prev != NULL) in dwarf_end()
87 struct libdw_memblock *prevp = memp->prev; in dwarf_end()
88 free (memp); in dwarf_end()
89 memp = prevp; in dwarf_end()
/external/ltp/testcases/kernel/hotplug/memory_hotplug/
Dsegment.c261 char *memp; in map_anon_segment() local
267memp = (char *)mmap(0, segp->seg_length, segp->seg_prot, flags | MAP_ANONYMOUS, 0, /* fd -- ignore… in map_anon_segment()
270 if (memp == MAP_FAILED) { in map_anon_segment()
279 memp, memp + segp->seg_length - 1); in map_anon_segment()
281 segp->seg_start = memp; in map_anon_segment()
368 char *memp; in map_file_segment() local
400 memp = (char *)mmap(0, segp->seg_length, in map_file_segment()
403 if (memp == MAP_FAILED) { in map_file_segment()
412 memp, memp + segp->seg_length - 1); in map_file_segment()
414 segp->seg_start = memp; in map_file_segment()
[all …]
Dmemtoy.c325 void touch_memory(bool rw, unsigned long *memp, size_t memlen) in touch_memory() argument
332 memend = memp + memlen / sizeof(unsigned long); in touch_memory()
334 rw ? "Writing" : "Reading", memp, memend); in touch_memory()
336 for (pp = memp; pp < memend; pp += longs_in_page) { in touch_memory()
/external/syslinux/core/lwip/src/include/lwip/
Dstats.h142 struct stats_mem memp[MEMP_MAX]; member
246 #define MEMP_STATS_AVAIL(x, i, y) lwip_stats.memp[i].x = y
247 #define MEMP_STATS_INC(x, i) STATS_INC(memp[i].x)
248 #define MEMP_STATS_DEC(x, i) STATS_DEC(memp[i].x)
249 #define MEMP_STATS_INC_USED(x, i) STATS_INC_USED(memp[i], 1)
250 #define MEMP_STATS_DISPLAY(i) stats_display_memp(&lwip_stats.memp[i], i)
/external/pcre/dist2/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()
/external/clang/test/Analysis/
DNewDelete-checker-test.cpp196 const int *memp; member
220 St.memp = new int(2); in testConstEscapeMember()
221 escapeVoidPtr(St.memp); in testConstEscapeMember()
/external/elfutils/src/
Dar.c1360 for (struct armem *memp = all; memp != NULL; memp = memp->next) in do_oper_insert() local
1362 memp->off = cur_off; in do_oper_insert()
1364 if (memp->mem == NULL) in do_oper_insert()
1369 if (elf_rand (elf, memp->old_off) == 0 in do_oper_insert()
1381 arlib_add_symbols (memp->elf, arfname, memp->name, cur_off); in do_oper_insert()
1383 cur_off += (((memp->size + 1) & ~((off_t) 1)) in do_oper_insert()
/external/syslinux/core/lwip/
DUPGRADING85 * Netdb uses a memp pool for allocating memory when getaddrinfo() is called,
88 * DNS_LOCAL_HOSTLIST_IS_DYNAMIC uses a memp pool instead of the heap, so
91 * Snmp-agent uses a memp pools instead of the heap, so MEMP_NUM_SNMP_* have
111 * Added const char* name to mem- and memp-stats for easier debugging.
DCHANGELOG46 * opt.h, memp_std.h, memp.c, ppp_oe.h/.c: PPPoE now uses its own MEMP pool
124 * stats.c/.h: Added const char* name to mem- and memp-stats for easier
183 * opt.h, memp_std.h, dns.h, netdb.c, memp.c: Let netdb use a memp pool
210 * snmp: Use memp pools for snmp instead of the heap; added 4 new pools.
222 * opt.h, memp.c: patch #6822 (Add option to place memory pools in
230 * tcpip.c, init.c, memp.c, sys.c, memp_std.h, sys.h, tcpip.h
876 * opt.h, memp.h/.c: added MEMP_MEM_MALLOC to use mem_malloc/mem_free instead
1007 * memp.c, mem.c, memp.h, mem_std.h: bug #26213 "Problem with memory allocation
1009 regions); memp pools for MEM_USE_POOLS were too small
1376 * ip_frag.c, memp.c, mib2.c, ip_frag.h, memp_std.h, opt.h: Changed IP_REASSEMBLY
[all …]
/external/clang/test/CodeGenCXX/
Dmangle-unnamed.cpp33 int a(ptr A::*memp) { static int x; return ++x; } in a()