Home
last modified time | relevance | path

Searched refs:next (Results 1 – 25 of 90) sorted by relevance

1234

/lk-master/top/include/lk/
A Dlist.h21 struct list_node *next; member
43 item->next = list->next; in list_add_head()
45 list->next->prev = item; in list_add_head()
46 list->next = item; in list_add_head()
53 item->next = list; in list_add_tail()
62 item->prev->next = item->next; in list_delete()
108 return list->next; in list_peek_head()
198 else if (item->next->next != list) in list_next_wrap()
199 return item->next->next; in list_next_wrap()
216 for(node = (list)->next; node != (list); node = node->next)
[all …]
/lk-master/external/lib/lwip/core/
A Dmem.c158 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 Dtcp_in.c184 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 Dtimers.c276 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 Draw.c111 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 Dnetif.c189 netif->next = netif_list; in netif_add()
256 netif_list = netif->next; in netif_remove()
262 tmpNetif->next = netif->next; in netif_remove()
345 struct tcp_pcb *next = pcb->next; in netif_set_ipaddr() local
348 pcb = next; in netif_set_ipaddr()
350 pcb = pcb->next; in netif_set_ipaddr()
666 for (last = r; last->next != NULL; last = last->next); in netif_loop_output()
671 netif->loop_last->next = r; in netif_loop_output()
727 in_end = in_end->next; in netif_poll()
739 in_end->next = NULL; in netif_poll()
[all …]
A Dpbuf.c246 p->next = NULL; in pbuf_alloc()
284 r->next = q; in pbuf_alloc()
463 q = q->next; in pbuf_realloc()
486 q->next = NULL; in pbuf_realloc()
657 q = p->next; in pbuf_free()
711 p = p->next; in pbuf_clen()
753 for (p = h; p->next != NULL; p = p->next) { in pbuf_cat()
763 p->next = t; in pbuf_cat()
808 q = p->next; in pbuf_dechain()
1085 q = q->next; in pbuf_get_at()
[all …]
A Dmemp.c67 struct memp *next; member
190 for (h = t->next; (t != NULL) && (h != NULL); t = t->next, in memp_sanity()
191 h = (((h->next != NULL) && (h->next->next != NULL)) ? h->next->next : NULL)) { in memp_sanity()
361 memp->next = memp_tab[i]; in memp_init()
408 memp_tab[type] = memp->next; in memp_malloc()
410 memp->next = NULL; in memp_malloc()
460 memp->next = memp_tab[type]; in memp_free()
A Dtcp.c815 pcb = pcb->next; in tcp_slowtmr()
955 prev->next = pcb->next; in tcp_slowtmr()
970 pcb = pcb->next; in tcp_slowtmr()
981 pcb = pcb->next; in tcp_slowtmr()
1023 prev->next = pcb->next; in tcp_slowtmr()
1030 pcb = pcb->next; in tcp_slowtmr()
1034 pcb = pcb->next; in tcp_slowtmr()
1067 next = pcb->next; in tcp_fasttmr()
1078 pcb = next; in tcp_fasttmr()
1131 struct tcp_seg *next = seg->next; in tcp_segs_free() local
[all …]
A Dtcp_out.c170 seg->next = NULL; in tcp_create_segment()
604 prev_seg->next = seg; in tcp_write()
792 for (useg = pcb->unsent; useg->next != NULL; useg = useg->next); in tcp_enqueue_flags()
793 useg->next = seg; in tcp_enqueue_flags()
937 for (; useg->next != NULL; useg = useg->next); in tcp_output()
1000 seg->next = NULL; in tcp_output()
1021 useg->next = seg; in tcp_output()
1248 for (seg = pcb->unacked; seg->next != NULL; seg = seg->next); in tcp_rexmit_rto()
1250 seg->next = pcb->unsent; in tcp_rexmit_rto()
1294 seg->next = *cur_seg; in tcp_rexmit()
[all …]
A Dudp.c109 for(pcb = udp_pcbs; pcb != NULL; pcb = pcb->next) { in udp_new_port()
128 ipcb = ipcb->next; in udp_new_port()
229 for (pcb = udp_pcbs; pcb != NULL; pcb = pcb->next) {
274 prev->next = pcb->next;
275 pcb->next = udp_pcbs;
777 for (ipcb = udp_pcbs; ipcb != NULL; ipcb = ipcb->next) {
825 pcb->next = udp_pcbs;
900 pcb->next = udp_pcbs;
954 udp_pcbs = udp_pcbs->next;
959 if (pcb2->next != NULL && pcb2->next == pcb) {
[all …]
/lk-master/external/lib/lwip/core/snmp/
A Dasn1_dec.c69 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 Dasn1_enc.c198 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 Dmib_structs.c104 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 …]
/lk-master/external/lib/lwip/include/lwip/
A Dtcp_impl.h340 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 …]
/lk-master/external/lib/lwip/core/ipv4/
A Digmp.c177 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 …]
A Dip_frag.c134 r = r->next; in ip_reass_tmr()
141 r = r->next; in ip_reass_tmr()
167 LWIP_ASSERT("prev->next == ipr", prev->next == ipr); in ip_reass_free_complete_datagram()
248 if (r->next != NULL) { in ip_reass_remove_oldest_datagram()
251 r = r->next; in ip_reass_remove_oldest_datagram()
291 ipr->next = reassdatagrams; in ip_reass_enqueue_new_datagram()
310 reassdatagrams = ipr->next; in ip_reass_dequeue_datagram()
314 prev->next = ipr->next; in ip_reass_dequeue_datagram()
520 for (ipr = reassdatagrams; ipr != NULL; ipr = ipr->next) { in ip_reass()
778 p = p->next; in ip_frag()
[all …]
/lk-master/external/platform/pico/rp2_common/pico_stdio/
A Dstdio.c98 for (stdio_driver_t *driver = drivers; driver; driver = driver->next) { in stdio_put_string()
117 for (stdio_driver_t *driver = drivers; driver; driver = driver->next) { in stdio_get_until()
161 for (stdio_driver_t *d = drivers; d; d = d->next) { in stdio_set_driver_enabled()
164 prev->next = d->next; in stdio_set_driver_enabled()
165 driver->next = NULL; in stdio_set_driver_enabled()
172 if (prev) prev->next = driver; in stdio_set_driver_enabled()
178 for (stdio_driver_t *d = drivers; d; d = d->next) { in stdio_flush()
190 for (stdio_driver_t *d = drivers; d; d = d->next) { in stdio_stack_buffer_flush()
/lk-master/external/lib/lwip/netif/
A Dslipif.c135 for (q = p; q != NULL; q = q->next) { in slipif_output()
248 if (priv->p->next != NULL && priv->p->next->len > 0) { in slipif_rxbyte()
250 priv->p = priv->p->next; in slipif_rxbyte()
418 while ((q->len != q->tot_len) && (q->next != NULL)) { in slipif_process_rxqueue()
419 q = q->next; in slipif_process_rxqueue()
421 priv->rxpackets = q->next; in slipif_process_rxqueue()
422 q->next = NULL; in slipif_process_rxqueue()
453 while(q->next != NULL) { in slipif_rxbyte_enqueue()
454 q = q->next; in slipif_rxbyte_enqueue()
456 q->next = p; in slipif_rxbyte_enqueue()
/lk-master/dev/virtio/block/
A Dvirtio-block.c168 int next; in virtio_block_irq_driver_callback() local
174 next = desc->next; in virtio_block_irq_driver_callback()
177 next = -1; in virtio_block_irq_driver_callback()
182 if (next < 0) in virtio_block_irq_driver_callback()
184 i = next; in virtio_block_irq_driver_callback()
223 desc = virtio_desc_index_to_desc(dev, 0, desc->next); in virtio_block_read_write()
268 next_desc->next = desc->next; in virtio_block_read_write()
269 desc->next = next_i; in virtio_block_read_write()
279 desc = virtio_desc_index_to_desc(dev, 0, desc->next); in virtio_block_read_write()
/lk-master/platform/lpc43xx/
A Dudc.c66 struct usb_request *next; member
71 udc_endpoint_t *next; member
116 ept->next = usb->ept_list; in _udc_endpoint_alloc()
238 req->next = 0; in udc_request_queue()
245 ept->last->next = req; in udc_request_queue()
270 if (req->next) { in handle_ept_complete()
326 gadget = gadget->next; in notify_gadgets()
565 while (last->next) { in udc_register_gadget()
566 last = last->next; in udc_register_gadget()
568 last->next = gadget; in udc_register_gadget()
[all …]
A Dudc-common.c25 desc->next = 0; in udc_descriptor_alloc()
49 desc = desc->next; in udc_descriptor_find()
56 desc->next = desc_list; in udc_descriptor_register()
144 for (gadget = gadgetlist; gadget; gadget = gadget->next) { in udc_create_descriptors()
161 for (gadget = gadgetlist; gadget; gadget = gadget->next) { in udc_create_descriptors()
/lk-master/lib/unittest/
A Dall_tests.c26 DEBUG_ASSERT(elem->next == NULL); in unittest_register_test_case()
27 elem->next = test_case_list; in unittest_register_test_case()
47 current = current->next; in run_all_tests()
/lk-master/dev/virtio/net/
A Dvirtio-net.c224 LTRACEF("saving pointer to pkt in index %u and %u\n", i, desc->next); in virtio_net_queue_tx_pktbuf()
226 DEBUG_ASSERT(ndev->pending_tx_packet[desc->next] == NULL); in virtio_net_queue_tx_pktbuf()
228 ndev->pending_tx_packet[desc->next] = p2; in virtio_net_queue_tx_pktbuf()
236 desc = virtio_desc_index_to_desc(vdev, RING_TX, desc->next); in virtio_net_queue_tx_pktbuf()
326 int next; in virtio_net_irq_driver_callback() local
330 next = desc->next; in virtio_net_irq_driver_callback()
333 next = -1; in virtio_net_irq_driver_callback()
367 if (next < 0) in virtio_net_irq_driver_callback()
369 i = next; in virtio_net_irq_driver_callback()
/lk-master/app/mdebug/
A Dswo-uart1.c43 struct swo_txn *next; member
73 txwr = txn = txn->next; in lpc43xx_DMA_IRQ()
93 TXN[n].next = TXN + (n + 1); in swo_init()
97 TXN[n-1].next = TXN; in swo_init()

Completed in 53 milliseconds

1234