Home
last modified time | relevance | path

Searched refs:arg (Results 26 – 50 of 59) sorted by relevance

123

/lib/liblwip/src/netif/ppp/
Dpap.c213 upap_timeout(void *arg) in upap_timeout() argument
215 upap_state *u = (upap_state *) arg; in upap_timeout()
241 upap_reqtimeout(void *arg) in upap_reqtimeout() argument
243 upap_state *u = (upap_state *) arg; in upap_reqtimeout()
615 void *arg in upap_printpkt() argument
621 LWIP_UNUSED_ARG(arg); in upap_printpkt()
Dppp.c220 void (*linkStatusCB)(void *ctx, int errCode, void *arg);
242 static void pppInputThread(void *arg);
961 pppIOCtl(int pd, int cmd, void *arg) in pppIOCtl() argument
971 if (arg) { in pppIOCtl()
972 *(int *)arg = (int)(pc->if_up); in pppIOCtl()
978 if (arg) { in pppIOCtl()
979 pc->errCode = *(int *)arg; in pppIOCtl()
985 if (arg) { in pppIOCtl()
986 *(int *)arg = (int)(pc->errCode); in pppIOCtl()
993 if (arg) { in pppIOCtl()
[all …]
Dauth.c748 check_idle(void *arg) in check_idle() argument
753 LWIP_UNUSED_ARG(arg); in check_idle()
771 connect_time_expired(void *arg) in connect_time_expired() argument
773 LWIP_UNUSED_ARG(arg); in connect_time_expired()
1283 auth_script_done(void *arg)
/sys/dev/x86/
Dsercons.h4 void Serial_Interrupt(void *arg);
Dide.c76 int IDE_Read(Disk *disk, void *buf, SGArray *sga, DiskCB, void *arg);
77 int IDE_Write(Disk *disk, void *buf, SGArray *sga, DiskCB, void *arg);
78 int IDE_Flush(Disk *disk, void *buf, SGArray *sga, DiskCB, void *arg);
271 IDE_Read(Disk *disk, void *buf, SGArray *sga, DiskCB cb, void *arg) in IDE_Read() argument
293 IDE_Write(Disk *disk, void *buf, SGArray *sga, DiskCB cb, void *arg) in IDE_Write() argument
315 IDE_Flush(Disk *disk, void *buf, SGArray *sga, DiskCB cb, void *arg) in IDE_Flush() argument
/sys/kern/
Dthread.c136 Thread_KThreadCreate(void (*f)(void *), void *arg) in Thread_KThreadCreate() argument
142 Thread_SetupKThread(thr, f, (uintptr_t)arg, 0, 0); in Thread_KThreadCreate()
148 Thread_UThreadCreate(Thread *oldThr, uint64_t rip, uint64_t arg) in Thread_UThreadCreate() argument
180 Thread_SetupUThread(thr, rip, arg); in Thread_UThreadCreate()
/sys/amd64/
Dthread.c75 Thread_SetupUThread(Thread *thr, uintptr_t rip, uintptr_t arg) in Thread_SetupUThread() argument
78 thr->ustack, arg); in Thread_SetupUThread()
Dirq.c30 h->cb(h->arg); in IRQ_Handler()
/lib/liblwip/src/core/
Ddns.c180 void *arg; member
674 (*pEntry->found)(pEntry->name, NULL, pEntry->arg); in dns_check_entry()
733 dns_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p, ip_addr_t *addr, u16_t port) in dns_recv() argument
742 LWIP_UNUSED_ARG(arg); in dns_recv()
817 (*pEntry->found)(pEntry->name, &pEntry->ipaddr, pEntry->arg); in dns_recv()
839 (*pEntry->found)(pEntry->name, NULL, pEntry->arg); in dns_recv()
904 pEntry->arg = callback_arg; in dns_enqueue()
Dtcp_out.c354 tcp_write(struct tcp_pcb *pcb, const void *arg, u16_t len, u8_t apiflags) in tcp_write() argument
381 (void *)pcb, arg, len, (u16_t)apiflags)); in tcp_write()
383 arg != NULL, return ERR_ARG;); in tcp_write()
485 …TCP_DATA_COPY2(concat_p->payload, (u8_t*)arg + pos, seglen, &concat_chksum, &concat_chksum_swapped… in tcp_write()
498 tcp_seg_add_chksum(~inet_chksum((u8_t*)arg + pos, seglen), seglen, in tcp_write()
503 concat_p->payload = (u8_t*)arg + pos; in tcp_write()
541 … TCP_DATA_COPY2((char *)p->payload + optlen, (u8_t*)arg + pos, seglen, &chksum, &chksum_swapped); in tcp_write()
558 chksum = ~inet_chksum((u8_t*)arg + pos, seglen); in tcp_write()
561 p2->payload = (u8_t*)arg + pos; in tcp_write()
632 TCP_DATA_COPY((char *)p->payload + p->len, arg, oversize_used, last_unsent); in tcp_write()
Dtcp.c494 tcp_accept_null(void *arg, struct tcp_pcb *pcb, err_t err) in tcp_accept_null() argument
496 LWIP_UNUSED_ARG(arg); in tcp_accept_null()
1197 tcp_recv_null(void *arg, struct tcp_pcb *pcb, struct pbuf *p, err_t err) in tcp_recv_null() argument
1199 LWIP_UNUSED_ARG(arg); in tcp_recv_null()
1376 tcp_arg(struct tcp_pcb *pcb, void *arg) in tcp_arg() argument
1380 pcb->callback_arg = arg; in tcp_arg()
/sys/include/
Dirq.h10 void *arg; member
/sys/amd64/include/
Dmp.h18 int MP_CrossCall(CrossCallCB cb, void *arg);
/sys/dev/
De1000.c271 E1000_Interrupt(void *arg) in E1000_Interrupt() argument
273 E1000Dev *dev = (E1000Dev *)arg; in E1000_Interrupt()
317 E1000_Dequeue(NIC *nic, MBuf *mbuf, NICCB cb, void *arg) in E1000_Dequeue() argument
360 E1000_Enqueue(NIC *nic, MBuf *mbuf, NICCB cb, void *arg) in E1000_Enqueue() argument
477 ethDev->irqHandle.arg = ethDev; in E1000_Configure()
/lib/liblwip/src/include/lwip/
Dtcp_impl.h207 #define TCP_EVENT_ERR(errf,arg,err) lwip_tcp_event((arg), NULL, \ argument
258 #define TCP_EVENT_ERR(errf,arg,err) \
261 (errf)((arg),(err)); \
458 err_t tcp_recv_null(void *arg, struct tcp_pcb *pcb, struct pbuf *p, err_t err);
Draw.h60 typedef u8_t (*raw_recv_fn)(void *arg, struct raw_pcb *pcb, struct pbuf *p,
Dsys.h89 typedef void (*lwip_thread_fn)(void *arg);
224 sys_thread_t sys_thread_new(const char *name, lwip_thread_fn thread, void *arg, int stacksize, int …
Dapi_msg.h165 void do_gethostbyname(void *arg);
Dudp.h87 typedef void (*udp_recv_fn)(void *arg, struct udp_pcb *pcb, struct pbuf *p,
/lib/libc/
Dsyscall.c107 OSThreadCreate(uint64_t rip, uint64_t arg) in OSThreadCreate() argument
109 return syscall(SYSCALL_THREADCREATE, rip, arg); in OSThreadCreate()
/include/
Dpthread.h21 void *(*start_routine)(void *), void *arg);
Dsyscall.h33 int OSThreadCreate(uint64_t rip, uint64_t arg);
/lib/liblwip/doc/
Drawapi.txt89 - void tcp_arg(struct tcp_pcb *pcb, void *arg)
93 connection control block, and the "arg" argument is the argument
154 err_t (* accept)(void *arg, struct tcp_pcb *newpcb,
161 u16_t port, err_t (* connected)(void *arg,
215 err_t (* sent)(void *arg, struct tcp_pcb *tpcb,
233 err_t (* recv)(void *arg, struct tcp_pcb *tpcb,
261 err_t (* poll)(void *arg, struct tcp_pcb *tpcb),
298 - void tcp_err(struct tcp_pcb *pcb, void (* err)(void *arg,
354 void (* recv)(void *arg, struct udp_pcb *upcb,
/lib/liblwip/src/api/
Dsockets.c176 static void lwip_getsockopt_internal(void *arg);
177 static void lwip_setsockopt_internal(void *arg);
1655 lwip_getsockopt_internal(void *arg) argument
1665 LWIP_ASSERT("arg != NULL", arg != NULL);
1667 data = (struct lwip_setgetsockopt_data*)arg;
2072 lwip_setsockopt_internal(void *arg) argument
2082 LWIP_ASSERT("arg != NULL", arg != NULL);
2084 data = (struct lwip_setgetsockopt_data*)arg;
/lib/liblwip/src/arch/
Dsys_arch.c128 sys_thread_new(const char *name, lwip_thread_fn function, void *arg, int stacksize, int prio) in sys_thread_new() argument
141 arg); in sys_thread_new()

123