| /lib/liblwip/src/api/ |
| D | sockets.c | 561 void *buf = NULL; in lwip_recvfrom() local 580 buf = sock->lastdata; in lwip_recvfrom() 600 err = netconn_recv_tcp_pbuf(sock->conn, (struct pbuf **)&buf); in lwip_recvfrom() 602 err = netconn_recv(sock->conn, (struct netbuf **)&buf); in lwip_recvfrom() 605 err, buf)); in lwip_recvfrom() 625 LWIP_ASSERT("buf != NULL", buf != NULL); in lwip_recvfrom() 626 sock->lastdata = buf; in lwip_recvfrom() 630 p = (struct pbuf *)buf; in lwip_recvfrom() 632 p = ((struct netbuf *)buf)->p; in lwip_recvfrom() 675 addr = netbuf_fromaddr((struct netbuf *)buf); in lwip_recvfrom() [all …]
|
| D | api_msg.c | 82 struct netbuf *buf; in recv_raw() local 107 buf = (struct netbuf *)memp_malloc(MEMP_NETBUF); in recv_raw() 108 if (buf == NULL) { in recv_raw() 113 buf->p = q; in recv_raw() 114 buf->ptr = q; in recv_raw() 115 ip_addr_copy(buf->addr, *ip_current_src_addr()); in recv_raw() 116 buf->port = pcb->protocol; in recv_raw() 119 if (sys_mbox_trypost(&conn->recvmbox, buf) != ERR_OK) { in recv_raw() 120 netbuf_delete(buf); in recv_raw() 147 struct netbuf *buf; local [all …]
|
| D | netdb.c | 162 lwip_gethostbyname_r(const char *name, struct hostent *ret, char *buf, in lwip_gethostbyname_r() argument 183 if ((name == NULL) || (ret == NULL) || (buf == NULL)) { in lwip_gethostbyname_r() 196 h = (struct gethostbyname_r_helper*)LWIP_MEM_ALIGN(buf); in lwip_gethostbyname_r()
|
| /include/ |
| D | time.h | 20 char *asctime_r(const struct tm *tm, char *buf); 22 char *ctime_r(const time_t *timep, char *buf);
|
| D | stdio.h | 30 size_t fread(void *buf, size_t size, size_t nmemb, FILE *fh); 31 size_t fwrite(const void *buf, size_t size, size_t nmemb, FILE *fh);
|
| D | stdlib.h | 17 void free(void *buf);
|
| D | syscall.h | 30 int OSReadDir(uint64_t fd, char *buf, size_t length, uint64_t *offset);
|
| /sys/kern/ |
| D | printf.c | 35 char buf[64]; in printnum() local 36 char *p = buf; in printnum() 53 spaces = width - (p - buf); in printnum() 63 while (p != buf) { in printnum()
|
| D | loader.c | 131 Loader_Load(Thread *thr, VNode *vn, void *buf, uint64_t len) in Loader_Load() argument 138 ehdr = (const Elf64_Ehdr *)(buf); in Loader_Load() 139 phdr = (const Elf64_Phdr *)(buf + ehdr->e_phoff); in Loader_Load()
|
| D | debug.c | 253 char buf[DEBUG_MAX_LINE]; in Debug_Prompt() local 266 Console_Gets((char *)&buf, DEBUG_MAX_LINE); in Debug_Prompt() 269 nextArg = strtok_r(buf, " \t\r\n", &last); in Debug_Prompt()
|
| /lib/liblwip/src/core/ipv4/ |
| D | ip_addr.c | 276 char *ipaddr_ntoa_r(const ip_addr_t *addr, char *buf, int buflen) in ipaddr_ntoa_r() argument 289 rp = buf; in ipaddr_ntoa_r() 311 return buf; in ipaddr_ntoa_r()
|
| D | ip_frag.c | 618 static u8_t buf[LWIP_MEM_ALIGN_SIZE(IP_FRAG_MAX_MTU + MEM_ALIGNMENT - 1)]; variable 703 rambuf->payload = LWIP_MEM_ALIGN((void *)buf); in ip_frag()
|
| /lib/liblwip/src/include/ipv4/lwip/ |
| D | inet.h | 101 #define inet_ntoa_r(addr, buf, buflen) ipaddr_ntoa_r((ip_addr_t*)&(addr), buf, buflen) argument
|
| D | ip_addr.h | 238 char *ipaddr_ntoa_r(const ip_addr_t *addr, char *buf, int buflen);
|
| /sys/include/ |
| D | loader.h | 8 bool Loader_Load(Thread *thr, VNode *vn, void *buf, uint64_t len);
|
| /lib/liblwip/src/netif/ppp/ |
| D | randm.h | 73 void avGenRand(char *buf, u32_t bufLen);
|
| D | md5.h | 46 u32_t buf[4]; /* scratch buffer */ member
|
| /lib/liblwip/src/core/ |
| D | pbuf.c | 918 pbuf_copy_partial(struct pbuf *buf, void *dataptr, u16_t len, u16_t offset) in pbuf_copy_partial() argument 925 LWIP_ERROR("pbuf_copy_partial: invalid buf", (buf != NULL), return 0;); in pbuf_copy_partial() 930 if((buf == NULL) || (dataptr == NULL)) { in pbuf_copy_partial() 935 for(p = buf; len != 0 && p != NULL; p = p->next) { in pbuf_copy_partial() 966 pbuf_take(struct pbuf *buf, const void *dataptr, u16_t len) in pbuf_take() argument 973 LWIP_ERROR("pbuf_take: invalid buf", (buf != NULL), return 0;); in pbuf_take() 976 if ((buf == NULL) || (dataptr == NULL) || (buf->tot_len < len)) { in pbuf_take() 981 for(p = buf; total_copy_len != 0; p = p->next) { in pbuf_take()
|
| /sbin/newfs_o2fs/ |
| D | newfs_o2fs.c | 96 FlushBlock(uint64_t offset, const void *buf, size_t len) in FlushBlock() argument 101 pwrite(diskfd, buf, len, offset); in FlushBlock() 109 AppendBlock(const void *buf, size_t len) in AppendBlock() argument 113 FlushBlock(offset, buf, len); in AppendBlock()
|
| /lib/libc/ |
| D | syscall.c | 95 OSReadDir(uint64_t fd, char *buf, size_t length, uint64_t *offset) in OSReadDir() argument 97 return syscall(SYSCALL_READDIR, fd, buf, length, offset); in OSReadDir()
|
| /lib/liblwip/src/include/lwip/ |
| D | api.h | 235 err_t netconn_sendto(struct netconn *conn, struct netbuf *buf, 237 err_t netconn_send(struct netconn *conn, struct netbuf *buf);
|
| D | pbuf.h | 162 err_t pbuf_take(struct pbuf *buf, const void *dataptr, u16_t len);
|
| /sys/dev/ |
| D | e1000.c | 162 RXPOOL_Free(void *buf) in RXPOOL_Free() argument 164 Slab_Free(&rxPool, buf); in RXPOOL_Free()
|