| /components/drivers/usb/cherryusb/common/ |
| A D | usb_list.h | 43 n->next = l->next; in usb_slist_add_head() 44 l->next = n; in usb_slist_add_head() 62 if (!next) { in usb_slist_insert() 68 if (l->next == next) { in usb_slist_insert() 70 n->next = next; in usb_slist_insert() 81 while (tmp->next && tmp->next != n) { in usb_slist_remove() 87 tmp->next = tmp->next->next; in usb_slist_remove() 208 for (pos = (head)->next, next = pos->next; pos; \ 209 pos = next, next = pos->next) 256 n->next = l->next; in usb_dlist_insert_after() [all …]
|
| /components/net/lwip/lwip-1.4.1/src/core/ |
| A D | mem.c | 158 mem_size_t next; member 254 mem->next = nmem->next; in plug_holes() 265 pmem->next = mem->next; in plug_holes() 424 mem_size_t next; in mem_trim() local 426 next = mem2->next; in mem_trim() 435 mem2->next = next; in mem_trim() 439 mem->next = ptr2; in mem_trim() 462 mem2->next = mem->next; in mem_trim() 464 mem->next = ptr2; in mem_trim() 568 mem2->next = mem->next; in mem_malloc() [all …]
|
| A D | tcp_in.c | 184 prev->next = pcb->next; in tcp_input() 820 next = next->next; in tcp_oos_insert_segment() 830 cseg->next = next; in tcp_oos_insert_segment() 1272 next = next->next; in tcp_receive() 1388 for(next = pcb->ooseq; next != NULL; next = next->next) { in tcp_receive() 1453 if (next->next == NULL && in tcp_receive() 1459 next->next = tcp_seg_copy(&inseg); in tcp_receive() 1460 if (next->next != NULL) { in tcp_receive() 1475 TCPH_FLAGS_SET(next->next->tcphdr, TCPH_FLAGS(next->next->tcphdr) &~ TCP_FIN); in tcp_receive() 1479 pbuf_realloc(next->next->p, next->next->len); in tcp_receive() [all …]
|
| A D | timers.c | 276 timeout->next = NULL; in sys_timeout_debug() 293 timeout->next = next_timeout; in sys_timeout_debug() 298 if (t->next == NULL || t->next->time > timeout->time) { in sys_timeout_debug() 299 if (t->next != NULL) { in sys_timeout_debug() 302 timeout->next = t->next; in sys_timeout_debug() 303 t->next = timeout; in sys_timeout_debug() 334 next_timeout = t->next; in sys_untimeout() 336 prev_t->next = t->next; in sys_untimeout() 339 if (t->next != NULL) { in sys_untimeout() 340 t->next->time += t->time; in sys_untimeout() [all …]
|
| A D | raw.c | 111 prev->next = pcb->next; in raw_input() 112 pcb->next = raw_pcbs; in raw_input() 122 pcb = pcb->next; in raw_input() 306 raw_pcbs = raw_pcbs->next; in raw_remove() 309 for(pcb2 = raw_pcbs; pcb2 != NULL; pcb2 = pcb2->next) { in raw_remove() 311 if (pcb2->next != NULL && pcb2->next == pcb) { in raw_remove() 313 pcb2->next = pcb->next; in raw_remove() 344 pcb->next = raw_pcbs; in raw_new()
|
| A D | netif.c | 196 netif->next = netif_list; in netif_add() 263 netif_list = netif->next; in netif_remove() 269 tmpNetif->next = netif->next; in netif_remove() 352 struct tcp_pcb *next = pcb->next; in netif_set_ipaddr() local 355 pcb = next; in netif_set_ipaddr() 357 pcb = pcb->next; in netif_set_ipaddr() 708 for (last = r; last->next != NULL; last = last->next); in netif_loop_output() 713 netif->loop_last->next = r; in netif_loop_output() 769 in_end = in_end->next; in netif_poll() 781 in_end->next = NULL; in netif_poll() [all …]
|
| /components/net/lwip/lwip-2.0.3/src/core/ |
| A D | tcp_in.c | 238 prev->next = pcb->next; 989 next = next->next; 999 cseg->next = next; 1439 next = next->next; 1565 for (next = pcb->ooseq; next != NULL; next = next->next) { 1630 if (next->next == NULL && 1636 next->next = tcp_seg_copy(&inseg); 1637 if (next->next != NULL) { 1652 TCPH_FLAGS_SET(next->next->tcphdr, TCPH_FLAGS(next->next->tcphdr) & ~TCP_FIN); 1656 pbuf_realloc(next->next->p, next->next->len); [all …]
|
| A D | mem.c | 266 mem_size_t next; member 362 mem->next = nmem->next; in plug_holes() 373 pmem->next = mem->next; in plug_holes() 534 mem_size_t next; in mem_trim() local 536 next = mem2->next; in mem_trim() 545 mem2->next = next; in mem_trim() 549 mem->next = ptr2; in mem_trim() 572 mem2->next = mem->next; in mem_trim() 574 mem->next = ptr2; in mem_trim() 677 mem2->next = mem->next; in mem_malloc() [all …]
|
| A D | timeouts.c | 224 timeout->next = NULL; in sys_timeout_debug() 241 timeout->next = next_timeout; in sys_timeout_debug() 246 if (t->next == NULL || t->next->time > timeout->time) { in sys_timeout_debug() 247 if (t->next != NULL) { in sys_timeout_debug() 256 timeout->next = t->next; in sys_timeout_debug() 257 t->next = timeout; in sys_timeout_debug() 286 next_timeout = t->next; in sys_untimeout() 288 prev_t->next = t->next; in sys_untimeout() 291 if (t->next != NULL) { in sys_untimeout() 292 t->next->time += t->time; in sys_untimeout() [all …]
|
| A D | pbuf.c | 292 p->next = NULL; in pbuf_alloc() 330 r->next = q; in pbuf_alloc() 526 q = q->next; in pbuf_realloc() 553 q->next = NULL; in pbuf_realloc() 754 q = p->next; in pbuf_free() 807 p = p->next; in pbuf_clen() 848 for (p = h; p->next != NULL; p = p->next) { in pbuf_cat() 858 p->next = t; in pbuf_cat() 904 q = p->next; in pbuf_dechain() 1113 q = q->next; in pbuf_skip_const() [all …]
|
| /components/net/lwip/lwip-2.1.2/src/core/ |
| A D | tcp_in.c | 271 prev->next = pcb->next; 1072 next = next->next; 1082 cseg->next = next; 1517 next = next->next; 1677 for (next = pcb->ooseq; next != NULL; next = next->next) { 1756 if (next->next == NULL && 1778 TCPH_FLAGS_SET(next->next->tcphdr, TCPH_FLAGS(next->next->tcphdr) & ~TCP_FIN); 1782 pbuf_realloc(next->next->p, next->next->len); 1802 next = prev->next; 1811 for ( ; (next != NULL) && (sackend == next->tcphdr->seqno); next = next->next) { [all …]
|
| A D | mem.c | 351 mem_size_t next; member 492 mem->next = nmem->next; in plug_holes() 505 pmem->next = mem->next; in plug_holes() 756 mem_size_t next; in mem_trim() local 759 next = mem2->next; in mem_trim() 768 mem2->next = next; in mem_trim() 772 mem->next = ptr2; in mem_trim() 796 mem2->next = mem->next; in mem_trim() 798 mem->next = ptr2; in mem_trim() 907 mem2->next = mem->next; in mem_malloc() [all …]
|
| A D | timeouts.c | 194 timeout->next = NULL; in sys_timeout_abs() 210 timeout->next = next_timeout; in sys_timeout_abs() 213 for (t = next_timeout; t != NULL; t = t->next) { in sys_timeout_abs() 214 if ((t->next == NULL) || TIME_LESS_THAN(timeout->time, t->next->time)) { in sys_timeout_abs() 215 timeout->next = t->next; in sys_timeout_abs() 216 t->next = timeout; in sys_timeout_abs() 327 for (t = next_timeout, prev_t = NULL; t != NULL; prev_t = t, t = t->next) { in sys_untimeout() 332 next_timeout = t->next; in sys_untimeout() 334 prev_t->next = t->next; in sys_untimeout() 378 next_timeout = tmptimeout->next; in sys_check_timeouts() [all …]
|
| A D | pbuf.c | 181 p->next = NULL; in pbuf_init_alloced_pbuf() 430 q = q->next; in pbuf_realloc() 457 q->next = NULL; in pbuf_realloc() 679 p = p->next; in pbuf_free_header() 680 f->next = 0; in pbuf_free_header() 816 p = p->next; in pbuf_clen() 861 for (p = h; p->next != NULL; p = p->next) { in pbuf_cat() 871 p->next = t; in pbuf_cat() 917 q = p->next; in pbuf_dechain() 1160 q = q->next; in pbuf_skip_const() [all …]
|
| /components/dfs/dfs_v2/src/ |
| A D | dfs_pcache.c | 168 node = node->next; in dfs_pcache_release() 180 node = node->next; in dfs_pcache_release() 957 rt_list_t *next; in dfs_page_unmap() local 960 next = page->mmap_head.next; in dfs_page_unmap() 970 next = next->next; in dfs_page_unmap() 1134 while (*next) in _dfs_page_insert() 1232 rt_list_t *next = aspace->list_active.next; in dfs_page_insert() local 1779 rt_list_t *next = aspace->list_active.next; in dfs_aspace_clean() local 1782 while (next && next != &aspace->list_active) in dfs_aspace_clean() 1786 next = next->next; in dfs_aspace_clean() [all …]
|
| /components/finsh/ |
| A D | cmd.c | 139 node = node->next; in list_get_next() 193 next = list_get_next(next, &find_arg); in list_thread() 297 next = list_get_next(next, &find_arg); in list_sem() 365 next = list_get_next(next, &find_arg); in list_event() 431 next = list_get_next(next, &find_arg); in list_mutex() 506 next = list_get_next(next, &find_arg); in list_mailbox() 577 next = list_get_next(next, &find_arg); in list_msgqueue() 645 next = list_get_next(next, &find_arg); in list_memheap() 703 next = list_get_next(next, &find_arg); in list_mempool() 783 next = list_get_next(next, &find_arg); in list_timer() [all …]
|
| /components/net/lwip/lwip-2.0.3/src/core/ipv6/ |
| A D | mld6.c | 98 struct mld_group *next = group->next; /* avoid use-after-free below */ in mld6_stop() local 109 group = next; in mld6_stop() 126 group = group->next; in mld6_report_groups() 147 group = group->next; in mld6_lookfor_group() 200 if (tmpGroup->next == group) { in mld6_remove_group() 201 tmpGroup->next = group->next; in mld6_remove_group() 253 group = group->next; in mld6_input() 322 netif = netif->next; in mld6_joingroup() 395 netif = netif->next; in mld6_leavegroup() 476 group = group->next; in mld6_tmr() [all …]
|
| /components/net/lwip/lwip-1.4.1/src/core/snmp/ |
| A D | asn1_dec.c | 69 p = p->next; in snmp_asn1_dec_type() 161 p = p->next; in snmp_asn1_dec_length() 187 p = p->next; in snmp_asn1_dec_length() 219 p = p->next; in snmp_asn1_dec_length() 296 p = p->next; in snmp_asn1_dec_u32t() 315 p = p->next; in snmp_asn1_dec_u32t() 387 p = p->next; in snmp_asn1_dec_s32t() 413 p = p->next; in snmp_asn1_dec_s32t() 494 p = p->next; in snmp_asn1_dec_oid() 578 p = p->next; in snmp_asn1_dec_oid() [all …]
|
| A D | asn1_enc.c | 198 p = p->next; in snmp_asn1_enc_type() 240 p = p->next; in snmp_asn1_enc_length() 290 p = p->next; in snmp_asn1_enc_length() 332 p = p->next; in snmp_asn1_enc_u32t() 351 p = p->next; in snmp_asn1_enc_u32t() 366 p = p->next; in snmp_asn1_enc_u32t() 407 p = p->next; in snmp_asn1_enc_s32t() 422 p = p->next; in snmp_asn1_enc_s32t() 469 p = p->next; in snmp_asn1_enc_oid() 546 p = p->next; in snmp_asn1_enc_oid() [all …]
|
| A D | mib_structs.c | 104 nif = nif->next; in snmp_ifindextonetif() 124 nif = nif->next; in snmp_netiftoifindex() 164 ln->next = NULL; in snmp_mib_ln_alloc() 267 n->next = nn; in snmp_mib_node_insert() 282 n = n->next; in snmp_mib_node_insert() 347 n = n->next; in snmp_mib_node_find() 408 rn->head = n->next; in snmp_mib_node_delete() 409 if (n->next != NULL) in snmp_mib_node_delete() 427 n->prev->next = n->next; in snmp_mib_node_delete() 437 return next; in snmp_mib_node_delete() [all …]
|
| /components/net/lwip-dhcpd/ |
| A D | dhcp_server_raw.c | 109 struct dhcp_client_node *next; member 120 struct dhcp_server *next; member 272 node->next = dhcpserver->node_list; in dhcp_client_alloc() 574 node_prev->next = node->next; in dhcp_server_recv() 643 dhcp_server->next = lw_dhcp_server; in dhcp_server_start() 691 netif = netif->next; in dhcpd_start() 757 struct dhcp_client_node *node, *next; in dhcpd_stop() local 773 netif = netif->next; in dhcpd_stop() 807 while (server_node->next && server_node->next != dhcp_server) in dhcpd_stop() 813 server_node->next = server_node->next->next; in dhcpd_stop() [all …]
|
| /components/net/lwip/lwip-1.4.1/src/include/lwip/ |
| A D | tcp_impl.h | 340 tcp_tmp_pcb = tcp_tmp_pcb->next) { \ 344 (npcb)->next = *(pcbs); \ 354 *(pcbs) = (*pcbs)->next; \ 357 tcp_tmp_pcb->next = (npcb)->next; \ 361 (npcb)->next = NULL; \ 370 (npcb)->next = *pcbs; \ 378 (*(pcbs)) = (*pcbs)->next; \ 383 tcp_tmp_pcb = tcp_tmp_pcb->next) { \ 384 if(tcp_tmp_pcb->next == (npcb)) { \ 385 tcp_tmp_pcb->next = (npcb)->next; \ [all …]
|
| /components/net/lwip/lwip-2.0.3/src/include/lwip/priv/ |
| A D | tcp_priv.h | 348 tcp_tmp_pcb = tcp_tmp_pcb->next) { \ 352 (npcb)->next = *(pcbs); \ 363 *(pcbs) = (*pcbs)->next; \ 366 tcp_tmp_pcb->next = (npcb)->next; \ 370 (npcb)->next = NULL; \ 379 (npcb)->next = *pcbs; \ 387 (*(pcbs)) = (*pcbs)->next; \ 393 tcp_tmp_pcb = tcp_tmp_pcb->next) { \ 394 if(tcp_tmp_pcb->next == (npcb)) { \ 395 tcp_tmp_pcb->next = (npcb)->next; \ [all …]
|
| /components/libc/posix/io/epoll/ |
| A D | epoll.c | 96 while (list->next != RT_NULL) in epoll_close_fdlist() 98 fre_node = list->next; in epoll_close_fdlist() 101 list->next = fre_node->next; in epoll_close_fdlist() 442 while (fdlist->next != RT_NULL) in epoll_ctl_add() 444 if (fdlist->next->fd == fd) in epoll_ctl_add() 449 fdlist = fdlist->next; in epoll_ctl_add() 465 fdlist->next = ep->fdlist->next; in epoll_ctl_add() 466 ep->fdlist->next = fdlist; in epoll_ctl_add() 521 fdlist->next = fdlist->next->next; in epoll_ctl_del() 566 while (fdlist->next != RT_NULL) in epoll_ctl_mod() [all …]
|
| /components/net/lwip/lwip-1.4.1/src/core/ipv4/ |
| A D | igmp.c | 177 group = group->next; in igmp_dump_group_list() 227 struct igmp_group *next; in igmp_stop() local 231 next = group->next; in igmp_stop() 240 prev->next = next; in igmp_stop() 256 group = next; in igmp_stop() 277 group = group->next; in igmp_report_groups() 298 group = group->next; in igmp_lookfor_group() 367 tmpGroup->next = group->next; in igmp_remove_group() 571 netif = netif->next; in igmp_joingroup() 644 netif = netif->next; in igmp_leavegroup() [all …]
|