/vbox/src/VBox/Devices/Network/lwip/src/core/ |
H A D | stats.c | 40 #include "lwip/mem.h" 84 stats_display_mem(struct stats_mem *mem, char *name) argument 87 LWIP_PLATFORM_DIAG(("avail: %"MEM_SIZE_F"\n\t", mem->avail)); 88 LWIP_PLATFORM_DIAG(("used: %"MEM_SIZE_F"\n\t", mem->used)); 89 LWIP_PLATFORM_DIAG(("max: %"MEM_SIZE_F"\n\t", mem->max)); 90 LWIP_PLATFORM_DIAG(("err: %"MEM_SIZE_F"\n", mem->err)); 107 stats_display_mem(&lwip_stats.mem, "HEAP");
|
H A D | memp.c | 158 void *mem; local 182 mem = (u8_t *)memp + MEMP_SIZE; 190 mem = NULL; 199 return mem; 203 memp_free(memp_t type, void *mem) argument 210 if (mem == NULL) { 214 memp = (struct memp *)((u8_t *)mem - MEMP_SIZE);
|
H A D | mem.c | 44 #include "lwip/mem.h" 53 struct mem { struct 68 static struct mem *ram_end; 71 static u8_t ram[MEM_SIZE + sizeof(struct mem) + MEM_ALIGNMENT]; 75 static struct mem ram_heap[1 + ( (MEM_SIZE + sizeof(struct mem) - 1) / sizeof(struct mem))]; 80 #define SIZEOF_STRUCT_MEM (unsigned int)MEM_ALIGN_SIZE(sizeof(struct mem)) 82 #define SIZEOF_STRUCT_MEM (sizeof(struct mem) + \ 83 (((sizeof(struct mem) 92 plug_holes(struct mem *mem) argument 127 struct mem *mem; local 157 struct mem *mem; local 200 struct mem *mem, *mem2; local 256 struct mem *mem, *mem2; local 330 struct mem *mem, *mem2; local [all...] |
/vbox/src/libs/libxml2-2.6.31/doc/examples/ |
H A D | parse4.c | 22 * @mem: array to store the packet 25 * read at most @size bytes from the document and store it in @mem 30 readPacket(char *mem, int size) { argument 33 res = fread(mem, 1, size, desc);
|
/vbox/src/VBox/Devices/Network/lwip-new/src/core/ |
H A D | stats.c | 45 #include "lwip/mem.h" 65 lwip_stats.mem.name = "MEM"; 113 stats_display_mem(struct stats_mem *mem, const char *name) argument 116 LWIP_PLATFORM_DIAG(("avail: %"U32_F"\n\t", (u32_t)mem->avail)); 117 LWIP_PLATFORM_DIAG(("used: %"U32_F"\n\t", (u32_t)mem->used)); 118 LWIP_PLATFORM_DIAG(("max: %"U32_F"\n\t", (u32_t)mem->max)); 119 LWIP_PLATFORM_DIAG(("err: %"U32_F"\n", (u32_t)mem->err)); 124 stats_display_memp(struct stats_mem *mem, int index) argument 131 stats_display_mem(mem, memp_names[index]);
|
H A D | mem.c | 61 #include "lwip/mem.h" 156 struct mem { struct 173 #define SIZEOF_STRUCT_MEM LWIP_MEM_ALIGN_SIZE(sizeof(struct mem)) 181 /** the heap. we need one struct mem at the end and some room for alignment */ 189 static struct mem *ram_end; 191 static struct mem *lfree; 227 * one empty struct mem pointing to another empty struct mem. 229 * @param mem this points to a struct mem whic 236 plug_holes(struct mem *mem) argument 276 struct mem *mem; local 313 struct mem *mem; local 373 struct mem *mem, *mem2; local 497 struct mem *mem, *mem2; local [all...] |
H A D | memp.c | 501 * @param type the pool where to put mem 502 * @param mem the memp element to free 505 memp_free(memp_t type, void *mem) argument 510 if (mem == NULL) { 513 LWIP_ASSERT("memp_free: mem properly aligned", 514 ((mem_ptr_t)mem % MEM_ALIGNMENT) == 0); 517 VALGRIND_MEMPOOL_FREE(&memp_tab[type], mem); 519 memp = (struct memp *)(void *)((u8_t*)mem - MEMP_SIZE);
|
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/ath/ath9k/ |
H A D | ath9k.c | 99 void *mem; local 141 mem = ioremap(pdev->membase, 0x10000); 142 if (!mem) { 161 sc->mem = mem; 176 DBG("ath9k: %s mem=0x%lx, irq=%d\n", 177 hw_name, (unsigned long)mem, pdev->irq); 184 iounmap(mem); 193 void *mem = sc->mem; local [all...] |
/vbox/src/libs/zlib-1.2.6/examples/ |
H A D | enough.c | 149 Each element in the array is further indexed by the (mem, rem) doublet, 150 where mem is the amount of inflate table space used so far, and rem is the 153 not. Since the ranges for mem and rem are not known a priori, each bit 155 states. mem and rem are used to calculate a single index in a triangular 156 array. Since the range of mem is expected in the default case to be about 158 memory usage, with eight times the range for mem than for rem. See the 253 has a variable size bit vector indexed by (mem,rem). The bit vector is 254 lengthened if needed to allow setting the (mem,rem) bit. */ 255 local int beenhere(int syms, int len, int left, int mem, int rem) argument 263 /* point to vector for (syms,left,len), bit in vector for (mem,re 319 examine(int syms, int len, int left, int mem, int rem) argument [all...] |
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.3.0.0/ |
H A D | xf86pciBus.h | 75 resPtr mem; member in struct:pciBusRec
|
H A D | xf86int10.h | 31 struct _int10Mem* mem; member in struct:__anon7622 119 #define MEM_RB(name, addr) (*name->mem->rb)(name, addr) 120 #define MEM_RW(name, addr) (*name->mem->rw)(name, addr) 121 #define MEM_RL(name, addr) (*name->mem->rl)(name, addr) 122 #define MEM_WB(name, addr, val) (*name->mem->wb)(name, addr, val) 123 #define MEM_WW(name, addr, val) (*name->mem->ww)(name, addr, val) 124 #define MEM_WL(name, addr, val) (*name->mem->wl)(name, addr, val)
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.4.2/ |
H A D | xf86pciBus.h | 75 resPtr mem; member in struct:pciBusRec
|
H A D | xf86int10.h | 31 struct _int10Mem* mem; member in struct:__anon7987 107 #define MEM_RB(name, addr) (*name->mem->rb)(name, addr) 108 #define MEM_RW(name, addr) (*name->mem->rw)(name, addr) 109 #define MEM_RL(name, addr) (*name->mem->rl)(name, addr) 110 #define MEM_WB(name, addr, val) (*name->mem->wb)(name, addr, val) 111 #define MEM_WW(name, addr, val) (*name->mem->ww)(name, addr, val) 112 #define MEM_WL(name, addr, val) (*name->mem->wl)(name, addr, val)
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.1.0/ |
H A D | xf86pciBus.h | 76 resPtr mem; member in struct:pciBusRec
|
/vbox/src/VBox/Devices/Network/lwip/src/api/ |
H A D | api_lib.c | 267 void *mem; local 285 while (sys_arch_mbox_fetch(conn->recvmbox, &mem, 1) != SYS_ARCH_TIMEOUT) { 287 if(mem != NULL) 288 pbuf_free((struct pbuf *)mem); 290 netbuf_delete((struct netbuf *)mem); 300 while (sys_arch_mbox_fetch(conn->acceptmbox, &mem, 1) != SYS_ARCH_TIMEOUT) { 301 netconn_delete((struct netconn *)mem);
|
/vbox/src/VBox/Devices/Network/lwip/src/include/lwip/ |
H A D | stats.h | 38 #include "lwip/mem.h" 95 struct stats_mem mem; member in struct:stats_
|
/vbox/src/VBox/Devices/Network/slirp/bsd/kern/ |
H A D | kern_mbuf.c | 444 mbuf_jumbo_free(void *mem, int size, u_int8_t flags) argument 447 contigfree(mem, size, M_JUMBOFRAME); 460 mb_ctor_mbuf(void *mem, int size, void *arg, int how) argument 462 mb_ctor_mbuf(PNATState pData, void *mem, int size, void *arg, int how) 477 trash_ctor(mem, size, arg, how); 482 m = (struct mbuf *)mem; 525 mb_dtor_mbuf(void *mem, int size, void *arg) argument 527 mb_dtor_mbuf(PNATState pData, void *mem, int size, void *arg) 536 m = (struct mbuf *)mem; 544 trash_dtor(mem, siz 556 mb_dtor_pack(void *mem, int size, void *arg) argument 601 mb_ctor_clust(void *mem, int size, void *arg, int how) argument 665 mb_dtor_clust(void *mem, int size, void *arg) argument 693 mb_zinit_pack(void *mem, int size, int how) argument 719 mb_zfini_pack(void *mem, int size) argument 743 mb_ctor_pack(void *mem, int size, void *arg, int how) argument [all...] |
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/image/ |
H A D | bzimage.c | 250 char *mem; local 270 /* Look for "mem=" */ 271 if ( ( mem = strstr ( cmdline, "mem=" ) ) ) { 272 mem += 4; 273 bzimg->mem_limit = strtoul ( mem, &mem, 0 ); 274 switch ( *mem ) { 289 DBGC ( image, "bzImage %p strange \"mem=\" " 290 "terminator '%c'\n", image, *mem ); [all...] |
/vbox/src/VBox/Additions/x11/x11include/4.3/programs/Xserver/hw/xfree86/common/ |
H A D | xf86pciBus.h | 49 resPtr mem; member in struct:pciBusRec
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.0.1/ |
H A D | xf86pciBus.h | 76 resPtr mem; member in struct:pciBusRec
|
/vbox/src/libs/zlib-1.2.6/test/ |
H A D | infcover.c | 71 local void *mem_alloc(void *mem, unsigned count, unsigned size) argument 75 struct mem_zone *zone = mem; 112 local void mem_free(void *mem, void *ptr) argument 115 struct mem_zone *zone = mem;
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.16.0/ |
H A D | xf86int10.h | 31 struct _int10Mem *mem; member in struct:__anon6948 110 #define MEM_RB(name, addr) (*name->mem->rb)(name, addr) 111 #define MEM_RW(name, addr) (*name->mem->rw)(name, addr) 112 #define MEM_RL(name, addr) (*name->mem->rl)(name, addr) 113 #define MEM_WB(name, addr, val) (*name->mem->wb)(name, addr, val) 114 #define MEM_WW(name, addr, val) (*name->mem->ww)(name, addr, val) 115 #define MEM_WL(name, addr, val) (*name->mem->wl)(name, addr, val)
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.17.1/ |
H A D | xf86int10.h | 31 struct _int10Mem *mem; member in struct:__anon7259 110 #define MEM_RB(name, addr) (*name->mem->rb)(name, addr) 111 #define MEM_RW(name, addr) (*name->mem->rw)(name, addr) 112 #define MEM_RL(name, addr) (*name->mem->rl)(name, addr) 113 #define MEM_WB(name, addr, val) (*name->mem->wb)(name, addr, val) 114 #define MEM_WW(name, addr, val) (*name->mem->ww)(name, addr, val) 115 #define MEM_WL(name, addr, val) (*name->mem->wl)(name, addr, val)
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.5.3/ |
H A D | xf86int10.h | 31 struct _int10Mem* mem; member in struct:__anon8305 107 #define MEM_RB(name, addr) (*name->mem->rb)(name, addr) 108 #define MEM_RW(name, addr) (*name->mem->rw)(name, addr) 109 #define MEM_RL(name, addr) (*name->mem->rl)(name, addr) 110 #define MEM_WB(name, addr, val) (*name->mem->wb)(name, addr, val) 111 #define MEM_WW(name, addr, val) (*name->mem->ww)(name, addr, val) 112 #define MEM_WL(name, addr, val) (*name->mem->wl)(name, addr, val)
|
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.6.5/ |
H A D | xf86int10.h | 31 struct _int10Mem* mem; member in struct:__anon8618 107 #define MEM_RB(name, addr) (*name->mem->rb)(name, addr) 108 #define MEM_RW(name, addr) (*name->mem->rw)(name, addr) 109 #define MEM_RL(name, addr) (*name->mem->rl)(name, addr) 110 #define MEM_WB(name, addr, val) (*name->mem->wb)(name, addr, val) 111 #define MEM_WW(name, addr, val) (*name->mem->ww)(name, addr, val) 112 #define MEM_WL(name, addr, val) (*name->mem->wl)(name, addr, val)
|