Home
last modified time | relevance | path

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

12

/mOS-networking-stack/samples/lighttpd-1.4.32/src/
H A Dchunk.c43 c->next = NULL; in chunk_init()
86 c = c->next; in chunkqueue_free()
92 c = c->next; in chunkqueue_free()
108 cq->unused = c->next; in chunkqueue_get_unused_chunk()
109 c->next = NULL; in chunkqueue_get_unused_chunk()
117 c->next = cq->first; in chunkqueue_prepend_chunk()
129 cq->last->next = c; in chunkqueue_append_chunk()
145 for (c = cq->first; c; c = c->next) { in chunkqueue_reset()
327 for (c = cq->first; c; c = c->next) { in chunkqueue_length()
386 cq->first = c->next; in chunkqueue_remove_finished_chunks()
[all …]
H A Dlemon.c411 new->next = *app;
965 for(ap=stp->ap; ap && ap->next; ap=ap->next){
966 for(nap=ap->next; nap && nap->sp==ap->sp; nap=nap->next){
1135 cfp->next = 0;
1163 cfp->next = 0;
1577 char **next;
3647 for(ap2=ap->next; ap2; ap2=ap2->next){
3670 for(ap=ap->next; ap; ap=ap->next){
3839 np = np->next;
3890 np = np->next;
[all …]
H A Dmod_scgi.c398 f->next = NULL; in scgi_process_init()
1952 for (p = proc; p->next && p->next->load < proc->load; p = p->next); in scgi_proclist_sort_up()
1973 if (proc->prev) proc->prev->next = proc->next; in scgi_proclist_sort_up()
1974 if (proc->next) proc->next->prev = proc->prev; in scgi_proclist_sort_up()
1978 proc->next = p->next; in scgi_proclist_sort_up()
1980 if (p->next) p->next->prev = proc; in scgi_proclist_sort_up()
2044 if (proc->prev) proc->prev->next = proc->next; in scgi_proclist_sort_down()
2045 if (proc->next) proc->next->prev = proc->prev; in scgi_proclist_sort_down()
2985 if (fp->next) fp->next->prev = NULL; in TRIGGER_FUNC()
3034 if (proc->next) proc->next->prev = proc->prev; in TRIGGER_FUNC()
[all …]
H A Dnetwork_freebsd_sendfile.c37 for(c = cq->first; (max_bytes > 0) && (NULL != c); c = c->next) { in network_write_chunkqueue_freebsdsendfile()
56 … = 0, tc = c; tc && tc->type == MEM_CHUNK && num_chunks < UIO_MAXIOV; num_chunks++, tc = tc->next); in network_write_chunkqueue_freebsdsendfile()
58 for(tc = c, i = 0; i < num_chunks; tc = tc->next, i++) { in network_write_chunkqueue_freebsdsendfile()
107 for(i = 0, tc = c; i < num_chunks; i++, tc = tc->next) { in network_write_chunkqueue_freebsdsendfile()
115 c = c->next; in network_write_chunkqueue_freebsdsendfile()
H A Dnetwork_solaris_sendfilev.c44 for(c = cq->first; (max_bytes > 0) && (NULL != c); c = c->next) { in network_write_chunkqueue_solarissendfilev()
66 … = 0, tc = c; tc && tc->type == MEM_CHUNK && num_chunks < UIO_MAXIOV; num_chunks++, tc = tc->next); in network_write_chunkqueue_solarissendfilev()
68 for(tc = c, i = 0; i < num_chunks; tc = tc->next, i++) { in network_write_chunkqueue_solarissendfilev()
113 for(i = 0, tc = c; i < num_chunks; i++, tc = tc->next) { in network_write_chunkqueue_solarissendfilev()
121 c = c->next; in network_write_chunkqueue_solarissendfilev()
H A Dnetwork_linux_sendfile.c33 for(c = cq->first; (max_bytes > 0) && (NULL != c); c = c->next) { in network_write_chunkqueue_linuxsendfile()
54 tc = tc->next, num_chunks++); in network_write_chunkqueue_linuxsendfile()
56 for (tc = c, i = 0; i < num_chunks; tc = tc->next, i++) { in network_write_chunkqueue_linuxsendfile()
102 for(i = 0, tc = c; i < num_chunks; i++, tc = tc->next) { in network_write_chunkqueue_linuxsendfile()
110 c = c->next; in network_write_chunkqueue_linuxsendfile()
H A Dnetwork_writev.c36 for(c = cq->first; (max_bytes > 0) && (NULL != c); c = c->next) { in network_write_chunkqueue_writev()
72 … = 0, tc = c; tc && tc->type == MEM_CHUNK && num_chunks < max_chunks; num_chunks++, tc = tc->next); in network_write_chunkqueue_writev()
76 for(tc = c, i = 0; i < num_chunks; tc = tc->next, i++) { in network_write_chunkqueue_writev()
125 for(i = 0, tc = c; i < num_chunks; i++, tc = tc->next) { in network_write_chunkqueue_writev()
133 c = c->next; in network_write_chunkqueue_writev()
H A Ddata_config.c110 if (ds->next) { in data_config_print()
114 ds->next->print((data_unset *)ds->next, depth); in data_config_print()
H A Dnetwork_mtcp_writev.c36 for(c = cq->first; (max_bytes > 0) && (NULL != c); c = c->next) {
72 … = 0, tc = c; tc && tc->type == MEM_CHUNK && num_chunks < max_chunks; num_chunks++, tc = tc->next);
76 for(tc = c, i = 0; i < num_chunks; tc = tc->next, i++) {
125 for(i = 0, tc = c; i < num_chunks; i++, tc = tc->next) {
133 c = c->next;
349 for(c = cq->first; (max_bytes > 0) && (NULL != c); c = c->next) { in network_write_chunkqueue_mtcp_writev()
H A Dconnections.c940 cq->first = c->next;
943 c->next = cq->unused;
948 } else if (c->next && c->next->mem->used == 0) {
953 fc = c->next;
954 c->next = fc->next;
956 fc->next = cq->unused;
961 if (c->next == NULL) {
965 c = c->next;
967 c = c->next;
987 for (c = cq->first; c; c = c->next) {
[all …]
H A Dchunk.h35 struct chunk *next; member
H A Dconfigfile-glue.c516 if (dc->next) { in config_check_cond_cached()
522 for (c = dc->next; c; c = c->next) { in config_check_cond_cached()
H A Dmod_fastcgi.c84 struct fcgi_proc *prev, *next; /* see first */ member
532 f->next = NULL; in fastcgi_process_init()
540 fastcgi_process_free(f->next); in fastcgi_process_free()
721 for (proc = host->first; proc; proc = proc->next) { in FREE_FUNC()
732 for (proc = host->unused_procs; proc; proc = proc->next) { in FREE_FUNC()
1404 proc->next = host->first; in SETDEFAULTS_FUNC()
2407 for (c = hctx->rb->first; c; c = c->next) { in fastcgi_get_packet()
2472 for (c = hctx->rb->first; c && toread; c = c->next) { in fastcgi_get_packet()
2707 for (proc = host->first; proc; proc = proc->next) { in fcgi_restart_dead_procs()
2914 proc = proc->next); in fcgi_write_request()
[all …]
H A Darray.h126 data_config *next; member
H A Dnetwork_write.c30 for(c = cq->first; (max_bytes > 0) && (NULL != c); c = c->next) { in network_write_chunkqueue_write()
/mOS-networking-stack/core/src/bpf/
H A Dsf_optimize.c573 struct valnode *next; member
708 s = s->next;
746 next = this_op(s->next);
747 if (next == 0)
749 last = next;
796 add = this_op(next->next);
1252 for (s = b->stmts; s && s->next; s = s->next)
1503 for (ep = ep->next; ep != 0; ep = ep->next)
1598 for (ep = ep->next; ep != 0; ep = ep->next)
1881 x = x->next;
[all …]
/mOS-networking-stack/core/src/
H A Daddr_pool.c219 struct addr_entry *walk, *next; in FetchAddress() local
230 next = TAILQ_NEXT(walk, addr_link); in FetchAddress()
234 walk = next; in FetchAddress()
240 walk = next; in FetchAddress()
251 walk = next; in FetchAddress()
299 struct addr_entry *walk, *next; in FreeAddress() local
321 next = TAILQ_NEXT(walk, addr_link); in FreeAddress()
327 walk = next; in FreeAddress()
H A Dtimer.c356 tcp_stream *walk, *next; in RearrangeRTOStore() local
361 walk != NULL; walk = next) { in RearrangeRTOStore()
362 next = TAILQ_NEXT(walk, sndvar->timer_link); in RearrangeRTOStore()
383 tcp_stream *walk, *next; in CheckRtmTimeout() local
403 walk != NULL; walk = next) { in CheckRtmTimeout()
407 next = TAILQ_NEXT(walk, sndvar->timer_link); in CheckRtmTimeout()
443 tcp_stream *walk, *next; in CheckTimewaitExpire() local
451 walk != NULL; walk = next) { in CheckTimewaitExpire()
454 next = TAILQ_NEXT(walk, sndvar->timer_link); in CheckTimewaitExpire()
496 tcp_stream *walk, *next; in CheckConnectionTimeout() local
[all …]
H A Dtcp_out.c576 tcp_stream *next, *last; in WriteTCPControlList() local
592 next = TAILQ_NEXT(cur_stream, sndvar->control_link); in WriteTCPControlList()
615 cur_stream = next; in WriteTCPControlList()
626 tcp_stream *next, *last; in WriteTCPDataList() local
640 next = TAILQ_NEXT(cur_stream, sndvar->send_link); in WriteTCPDataList()
705 cur_stream = next; in WriteTCPDataList()
716 tcp_stream *next, *last; in WriteTCPACKList() local
730 next = TAILQ_NEXT(cur_stream, sndvar->ack_link); in WriteTCPACKList()
817 cur_stream = next; in WriteTCPACKList()
H A Dscalable_event.c59 struct devent *next; /* next pointer */ member
78 de->next = NULL; in dforest_store()
86 while (p->next) in dforest_store()
87 p = p->next; in dforest_store()
88 p->next = de; in dforest_store()
105 p = p->next) { in dforest_search()
H A Dtcp_stream.c44 static __thread unsigned long next = 1; variable
49 next = next * 1103515245 + 12345; in posix_seq_rand()
50 return ((unsigned)(next/65536) % 32768); in posix_seq_rand()
55 next = seed % 32768; in posix_seq_srand()
/mOS-networking-stack/util/
H A Drss.c225 static unsigned long next = 2192123; variable
227 next = next * 1103515245 + 12345; in myrand()
228 return next/65536; in myrand()
346 if (seed > 0) next = seed; in main()
/mOS-networking-stack/core/src/include/
H A Dnetmap_user.h383 struct win_netmap_fd_list *next; member
399 for (curr = win_netmap_fd_list_head; curr; curr = curr->next) { in win_insert_fd_record()
405 curr->next = win_netmap_fd_list_head; in win_insert_fd_record()
416 for (; curr ; prev = curr, curr = curr->next) { in win_remove_fd_record()
421 win_netmap_fd_list_head = curr->next; in win_remove_fd_record()
423 prev->next = curr->next; in win_remove_fd_record()
436 for (curr = win_netmap_fd_list_head; curr; curr = curr->next) { in win_get_netmap_handle()
H A Dtcp_ring_buffer.h36 struct fragment_ctx *next; member
/mOS-networking-stack/core/src/include/bpf/
H A Dgencode.h203 struct slist *next; member
232 struct edge *next; /* link list of incoming edges for a node */ member

12