| /f-stack/freebsd/net/altq/ |
| H A D | altq_hfsc.c | 314 for (; cl != NULL; cl = hfsc_nextclass(cl)) { in hfsc_clear_interface() 346 for (cl = hif->hif_rootclass; cl != NULL; cl = hfsc_nextclass(cl)) in hfsc_purge() 636 cl = cl->cl_children; in hfsc_nextclass() 638 cl = cl->cl_siblings; in hfsc_nextclass() 642 cl = cl->cl_siblings; in hfsc_nextclass() 927 cl->cl_e = rtsc_y2x(&cl->cl_eligible, cl->cl_cumul); in init_ed() 936 cl->cl_e = rtsc_y2x(&cl->cl_eligible, cl->cl_cumul); in update_ed() 957 for ( ; cl->cl_parent != NULL; cl = cl->cl_parent) { in init_vf() 1046 for (; cl->cl_parent != NULL; cl = cl->cl_parent) { in update_vf() 1075 cl->cl_vt = rtsc_y2x(&cl->cl_virtual, cl->cl_total) in update_vf() [all …]
|
| H A D | altq_priq.c | 368 return (cl); in priq_class_create() 402 acc_discard_filters(&cl->cl_pif->pif_classifier, cl, 0); in priq_class_destroy() 463 cl = NULL; in priq_enqueue() 534 return rio_addq((rio_t *)cl->cl_red, cl->cl_q, m, in priq_addq() 539 return red_addq(cl->cl_red, cl->cl_q, m, cl->cl_pktattr); in priq_addq() 543 return codel_addq(cl->cl_codel, cl->cl_q, m); in priq_addq() 545 if (qlen(cl->cl_q) >= qlimit(cl->cl_q)) { in priq_addq() 563 return rio_getq((rio_t *)cl->cl_red, cl->cl_q); in priq_getq() 567 return red_getq(cl->cl_red, cl->cl_q); in priq_getq() 571 return codel_getq(cl->cl_codel, cl->cl_q); in priq_getq() [all …]
|
| H A D | altq_rmclass.c | 257 cl->avgidle_ = cl->maxidle_; in rmc_newclass() 321 cl->peer_ = cl; in rmc_newclass() 379 cl->avgidle_ = cl->maxidle_; in rmc_modclass() 441 cl = cl->peer_; in rmc_wrr_set_weights() 851 if (!cl->sleeping_ && (qlen(cl->q_) > cl->qthresh_)) in rmc_satisfied() 1027 cl = cl->peer_; in _rmc_wrr_dequeue_next() 1091 ifd->active_[cl->pri_] = cl; in _rmc_wrr_dequeue_next() 1152 cl = cl->peer_; in _rmc_prr_dequeue_next() 1323 cl->avgidle_ = cl->maxidle_; in rmc_update_class_util() 1380 cl = cl->parent_; in rmc_update_class_util() [all …]
|
| H A D | altq_fairq.c | 208 if (cl == NULL) in fairq_add_queue() 296 if ((cl = pif->pif_classes[pri]) != NULL && cl->cl_head) in fairq_purge() 339 if (cl->cl_head) in fairq_class_create() 428 return (cl); in fairq_class_create() 439 if (cl->cl_head) in fairq_class_destroy() 581 best_cl = cl; in fairq_dequeue() 662 return red_addq(cl->cl_red, &b->queue, m, cl->cl_pktattr); in fairq_addq() 720 cl->cl_bw_delta -= cl->cl_bw_delta >> 3; in fairq_getq() 721 cl->cl_bw_bytes -= cl->cl_bw_bytes >> 3; in fairq_getq() 769 bw = cl->cl_bw_bytes * machclk_freq / cl->cl_bw_delta; in fairq_pollq() [all …]
|
| H A D | altq_cbq.c | 105 struct rm_class *cl; in clh_to_clp() local 116 return (cl); in clh_to_clp() 120 return (cl); in clh_to_clp() 128 struct rm_class *cl; in cbq_clear_interface() local 275 struct rm_class *cl; in cbq_add_queue() local 364 if (cl == NULL) in cbq_add_queue() 369 cl->stats_.depth = cl->depth_; in cbq_add_queue() 474 cl = NULL; in cbq_enqueue() 477 if (cl == NULL) { in cbq_enqueue() 479 if (cl == NULL) { in cbq_enqueue() [all …]
|
| /f-stack/dpdk/lib/librte_cmdline/ |
| H A D | cmdline.c | 72 strlcpy(cl->prompt, prompt, sizeof(cl->prompt)); in cmdline_set_prompt() 95 free(cl); in cmdline_new() 99 cl->rdl.opaque = cl; in cmdline_new() 101 rdline_newline(&cl->rdl, cl->prompt); in cmdline_new() 117 if (!cl) in cmdline_free() 122 if (cl->s_out != cl->s_in && cl->s_out > 2) in cmdline_free() 124 free(cl); in cmdline_free() 169 rdline_newline(&cl->rdl, cl->prompt); in cmdline_in() 182 if (!cl) in cmdline_quit() 194 if (!cl) in cmdline_poll() [all …]
|
| H A D | cmdline_os_windows.c | 21 terminal_adjust(struct cmdline *cl) in terminal_adjust() argument 26 ZeroMemory(&cl->oldterm, sizeof(cl->oldterm)); in terminal_adjust() 31 cl->oldterm.is_console_input = 1; in terminal_adjust() 32 cl->oldterm.input_mode = mode; in terminal_adjust() 48 cl->oldterm.output_mode = mode; in terminal_adjust() 124 cl->repeat_count = 1; in cmdline_poll_char_file() 125 cl->repeated_char = c; in cmdline_poll_char_file() 157 if (cl->repeat_count > 0) { in cmdline_read_char() 158 *c = cl->repeated_char; in cmdline_read_char() 159 cl->repeat_count--; in cmdline_read_char() [all …]
|
| H A D | cmdline_os_unix.c | 12 terminal_adjust(struct cmdline *cl) in terminal_adjust() argument 16 tcgetattr(0, &cl->oldterm); in terminal_adjust() 18 memcpy(&term, &cl->oldterm, sizeof(term)); in terminal_adjust() 26 terminal_restore(const struct cmdline *cl) in terminal_restore() argument 28 tcsetattr(fileno(stdin), TCSANOW, &cl->oldterm); in terminal_restore() 32 cmdline_poll_char(struct cmdline *cl) in cmdline_poll_char() argument 36 pfd.fd = cl->s_in; in cmdline_poll_char() 44 cmdline_read_char(struct cmdline *cl, char *c) in cmdline_read_char() argument 46 return read(cl->s_in, c, 1); in cmdline_read_char()
|
| H A D | cmdline_socket.c | 43 struct cmdline *cl; in cmdline_stdin_new() local 45 cl = cmdline_new(ctx, prompt, 0, 1); in cmdline_stdin_new() 47 if (cl != NULL) in cmdline_stdin_new() 48 terminal_adjust(cl); in cmdline_stdin_new() 50 return cl; in cmdline_stdin_new() 54 cmdline_stdin_exit(struct cmdline *cl) in cmdline_stdin_exit() argument 56 if (cl == NULL) in cmdline_stdin_exit() 59 terminal_restore(cl); in cmdline_stdin_exit()
|
| H A D | cmdline.h | 48 void cmdline_set_prompt(struct cmdline *cl, const char *prompt); 49 void cmdline_free(struct cmdline *cl); 50 void cmdline_printf(const struct cmdline *cl, const char *fmt, ...) 52 int cmdline_in(struct cmdline *cl, const char *buf, int size); 57 cmdline_get_rdline(struct cmdline *cl); 71 int cmdline_poll(struct cmdline *cl); 73 void cmdline_interact(struct cmdline *cl); 74 void cmdline_quit(struct cmdline *cl);
|
| /f-stack/app/nginx-1.16.1/src/stream/ |
| H A D | ngx_stream_write_filter_module.c | 95 for (cl = *out; cl; cl = cl->next) { in ngx_stream_write_filter() 102 cl->buf->start, cl->buf->pos, in ngx_stream_write_filter() 103 cl->buf->last - cl->buf->pos, in ngx_stream_write_filter() 145 if (cl->buf->flush || cl->buf->recycled) { in ngx_stream_write_filter() 174 cl->buf->start, cl->buf->pos, in ngx_stream_write_filter() 175 cl->buf->last - cl->buf->pos, in ngx_stream_write_filter() 217 if (cl->buf->flush || cl->buf->recycled) { in ngx_stream_write_filter() 240 for (cl = *out; cl; /* void */) { in ngx_stream_write_filter() 242 cl = cl->next; in ngx_stream_write_filter() 270 for (cl = *out; cl && cl != chain; /* void */) { in ngx_stream_write_filter() [all …]
|
| /f-stack/app/nginx-1.16.1/src/http/ |
| H A D | ngx_http_write_filter_module.c | 71 for (cl = r->out; cl; cl = cl->next) { in ngx_http_write_filter() 78 cl->buf->start, cl->buf->pos, in ngx_http_write_filter() 79 cl->buf->last - cl->buf->pos, in ngx_http_write_filter() 121 if (cl->buf->flush || cl->buf->recycled) { in ngx_http_write_filter() 150 cl->buf->start, cl->buf->pos, in ngx_http_write_filter() 151 cl->buf->last - cl->buf->pos, in ngx_http_write_filter() 193 if (cl->buf->flush || cl->buf->recycled) { in ngx_http_write_filter() 233 for (cl = r->out; cl; /* void */) { in ngx_http_write_filter() 235 cl = cl->next; in ngx_http_write_filter() 330 for (cl = r->out; cl && cl != chain; /* void */) { in ngx_http_write_filter() [all …]
|
| H A D | ngx_http_request_body.c | 495 for (cl = rb->bufs; cl; /* void */) { in ngx_http_write_request_body() 497 cl->buf->pos = cl->buf->last; in ngx_http_write_request_body() 500 cl = cl->next; in ngx_http_write_request_body() 881 for (cl = in; cl; cl = cl->next) { in ngx_http_request_body_length_filter() 904 size = cl->buf->last - cl->buf->pos; in ngx_http_request_body_length_filter() 907 cl->buf->pos = cl->buf->last; in ngx_http_request_body_length_filter() 959 for (cl = in; cl; cl = cl->next) { in ngx_http_request_body_chunked_filter() 1015 size = cl->buf->last - cl->buf->pos; in ngx_http_request_body_chunked_filter() 1025 cl->buf->pos = cl->buf->last; in ngx_http_request_body_chunked_filter() 1095 for (cl = rb->bufs; cl; cl = cl->next) { in ngx_http_request_body_save_filter() [all …]
|
| /f-stack/app/nginx-1.16.1/src/core/ |
| H A D | ngx_buf.c | 54 if (cl) { in ngx_alloc_chain_link() 64 return cl; in ngx_alloc_chain_link() 133 for (cl = *chain; cl; cl = cl->next) { in ngx_chain_add_copy() 180 return cl; in ngx_chain_get_free_buf() 195 for (cl = *busy; cl->next; cl = cl->next) { /* void */ } in ngx_chain_update_chains() 216 cl->buf->pos = cl->buf->start; in ngx_chain_update_chains() 217 cl->buf->last = cl->buf->start; in ngx_chain_update_chains() 235 cl = *in; in ngx_chain_coalesce_file() 239 size = cl->buf->file_last - cl->buf->file_pos; in ngx_chain_coalesce_file() 257 cl = cl->next; in ngx_chain_coalesce_file() [all …]
|
| H A D | ngx_output_chain.c | 337 for (cl = *chain; cl; cl = cl->next) { in ngx_output_chain_add_copy() 338 ll = &cl->next; in ngx_output_chain_add_copy() 373 cl->buf = b; in ngx_output_chain_add_copy() 386 cl->next = NULL; in ngx_output_chain_add_copy() 387 *ll = cl; in ngx_output_chain_add_copy() 388 ll = &cl->next; in ngx_output_chain_add_copy() 748 for (cl = ctx->out; cl; cl = cl->next) { in ngx_chain_writer() 750 if (ngx_buf_size(cl->buf) == 0 && !ngx_buf_special(cl->buf)) { in ngx_chain_writer() 806 for (cl = ctx->out; cl && cl != chain; /* void */) { in ngx_chain_writer() 807 ln = cl; in ngx_chain_writer() [all …]
|
| /f-stack/app/nginx-1.16.1/src/event/ |
| H A D | ngx_event_pipe.c | 383 for (cl = p->busy; cl; cl = cl->next) { in ngx_event_pipe_read_upstream() 396 for (cl = p->out; cl; cl = cl->next) { in ngx_event_pipe_read_upstream() 409 for (cl = p->in; cl; cl = cl->next) { in ngx_event_pipe_read_upstream() 422 for (cl = p->free_raw_bufs; cl; cl = cl->next) { in ngx_event_pipe_read_upstream() 473 for (cl = p->free_raw_bufs; cl; cl = cl->next) { in ngx_event_pipe_read_upstream() 535 for (cl = p->busy; cl; cl = cl->next) { in ngx_event_pipe_write_to_downstream() 543 for (cl = p->out; cl; cl = cl->next) { in ngx_event_pipe_write_to_downstream() 565 for (cl = p->in; cl; cl = cl->next) { in ngx_event_pipe_write_to_downstream() 600 for (cl = p->busy; cl; cl = cl->next) { in ngx_event_pipe_write_to_downstream() 699 for (cl = p->free; cl; cl = cl->next) { in ngx_event_pipe_write_to_downstream() [all …]
|
| /f-stack/dpdk/examples/vm_power_manager/ |
| H A D | vm_power_cli.c | 31 struct cmdline *cl, in cmd_quit_parsed() argument 37 cmdline_quit(cl); in cmd_quit_parsed() 71 cmdline_printf(cl, "ACTIVE\n"); in cmd_show_vm_parsed() 73 cmdline_printf(cl, "INACTIVE\n"); in cmd_show_vm_parsed() 86 cmdline_printf(cl, "DISABLED\n"); in cmd_show_vm_parsed() 92 cmdline_printf(cl, "UNKNOWN\n"); in cmd_show_vm_parsed() 304 __rte_unused struct cmdline *cl, in cmd_set_query_parsed() argument 541 struct cmdline *cl; in run_cli() local 544 if (cl == NULL) in run_cli() 547 cmdline_interact(cl); in run_cli() [all …]
|
| /f-stack/app/nginx-1.16.1/src/os/unix/ |
| H A D | ngx_solaris_sendfilev_chain.c | 55 ngx_chain_t *cl; in ngx_solaris_sendfilev_chain() local 91 for (cl = in; cl && send < limit; cl = cl->next) { in ngx_solaris_sendfilev_chain() 93 if (ngx_buf_special(cl->buf)) { in ngx_solaris_sendfilev_chain() 97 if (ngx_buf_in_memory_only(cl->buf)) { in ngx_solaris_sendfilev_chain() 100 size = cl->buf->last - cl->buf->pos; in ngx_solaris_sendfilev_chain() 106 if (prev == cl->buf->pos) { in ngx_solaris_sendfilev_chain() 128 size = cl->buf->file_last - cl->buf->file_pos; in ngx_solaris_sendfilev_chain() 141 if (fd == cl->buf->file->fd && fprev == cl->buf->file_pos) { in ngx_solaris_sendfilev_chain() 151 fd = cl->buf->file->fd; in ngx_solaris_sendfilev_chain() 158 file = cl->buf; in ngx_solaris_sendfilev_chain() [all …]
|
| /f-stack/freebsd/crypto/openssl/i386/ |
| H A D | rc5-586.S | 26 roll %cl,%edi 31 roll %cl,%esi 36 roll %cl,%edi 41 roll %cl,%esi 46 roll %cl,%edi 51 roll %cl,%esi 56 roll %cl,%edi 61 roll %cl,%esi 66 roll %cl,%edi 71 roll %cl,%esi [all …]
|
| /f-stack/freebsd/netpfil/ipfw/ |
| H A D | dn_sched_qfq.c | 324 i = qfq_calc_index(cl->inv_w, cl->lmax); in qfq_new_queue() 338 if (cl->inv_w) { in qfq_free_queue() 529 cl->S = cl->F; in qfq_update_class() 537 cl->F = cl->S + (uint64_t)len * cl->inv_w; in qfq_update_class() 647 cl->S = q->V; in qfq_update_start() 649 cl->S = cl->F; in qfq_update_start() 664 _q, cl->inv_w, cl->grp->index); in qfq_enqueue() 674 grp = cl->grp; in qfq_enqueue() 677 cl->F = cl->S + (uint64_t)(m->m_pkthdr.len) * cl->inv_w; in qfq_enqueue() 705 ND("S %llx F %llx V %llx", cl->S, cl->F, q->V); in qfq_enqueue() [all …]
|
| /f-stack/dpdk/app/test-cmdline/ |
| H A D | commands.c | 29 struct cmdline *cl, in cmd_quit_parsed() argument 32 cmdline_quit(cl); in cmd_quit_parsed() 60 struct cmdline *cl, in cmd_single_parsed() argument 91 struct cmdline *cl, in cmd_single_long_parsed() argument 124 struct cmdline *cl, in cmd_autocomplete_1_parsed() argument 157 struct cmdline *cl, in cmd_autocomplete_2_parsed() argument 188 struct cmdline *cl, in cmd_num_parsed() argument 220 struct cmdline *cl, in cmd_ambig_1_parsed() argument 256 struct cmdline *cl, in cmd_ambig_2_parsed() argument 294 struct cmdline *cl, in cmd_get_history_bufsize_parsed() argument [all …]
|
| /f-stack/app/nginx-1.16.1/src/http/modules/ |
| H A D | ngx_http_gzip_filter_module.c | 387 cl = NULL; in ngx_http_gzip_body_filter() 573 for (cl = ctx->in; cl; cl = cl->next) { in ngx_http_gzip_filter_buffer() 574 buffered += cl->buf->last - cl->buf->pos; in ngx_http_gzip_filter_buffer() 614 *ll = cl; in ngx_http_gzip_filter_buffer() 684 cl->buf = b; in ngx_http_gzip_filter_gzheader() 686 ctx->out = cl; in ngx_http_gzip_filter_gzheader() 722 cl = ctx->in; in ngx_http_gzip_filter_add_data() 891 cl->buf = b; in ngx_http_gzip_filter_deflate() 959 cl->next = NULL; in ngx_http_gzip_filter_deflate_end() 981 cl->buf = b; in ngx_http_gzip_filter_deflate_end() [all …]
|
| /f-stack/dpdk/examples/multi_process/hotplug_mp/ |
| H A D | commands.c | 20 struct cmdline *cl, in cmd_help_parsed() argument 23 cmdline_printf(cl, in cmd_help_parsed() 50 struct cmdline *cl, in cmd_quit_parsed() argument 53 cmdline_quit(cl); in cmd_quit_parsed() 76 struct cmdline *cl, in cmd_list_parsed() argument 82 cmdline_printf(cl, "list all etherdev\n"); in cmd_list_parsed() 114 struct cmdline *cl, in cmd_dev_attach_parsed() argument 123 cmdline_printf(cl, "cannot parse devargs\n"); in cmd_dev_attach_parsed() 161 struct cmdline *cl, in cmd_dev_detach_parsed() argument 170 cmdline_printf(cl, "cannot parse devargs\n"); in cmd_dev_detach_parsed() [all …]
|
| /f-stack/dpdk/examples/vm_power_manager/guest_cli/ |
| H A D | vm_power_cli_guest.c | 116 __rte_unused struct cmdline *cl, in cmd_quit_parsed() argument 124 cmdline_quit(cl); in cmd_quit_parsed() 181 __rte_unused struct cmdline *cl, in cmd_query_freq_list_parsed() argument 202 cmdline_printf(cl, "Enabled core not found.\n"); in cmd_query_freq_list_parsed() 291 __rte_unused struct cmdline *cl, in cmd_query_caps_list_parsed() argument 312 cmdline_printf(cl, "Enabled core not found.\n"); in cmd_query_caps_list_parsed() 507 ret = send_policy(&policy, cl); in cmd_send_policy_parsed() 544 struct cmdline *cl; in run_cli() local 547 if (cl == NULL) in run_cli() 550 cmdline_interact(cl); in run_cli() [all …]
|
| /f-stack/app/nginx-1.16.1/src/http/v2/ |
| H A D | ngx_http_v2_filter_module.c | 1133 *ll = cl; in ngx_http_v2_create_headers_frame() 1502 cl = NULL; in ngx_http_v2_send_chain() 1658 return cl; in ngx_http_v2_filter_get_shadow() 1734 first = cl; in ngx_http_v2_filter_get_data_frame() 1839 if (cl->buf->pos != cl->buf->last) { in ngx_http_v2_headers_frame_handler() 1864 cl = ln; in ngx_http_v2_headers_frame_handler() 1893 if (cl->buf->pos != cl->buf->last) { in ngx_http_v2_push_frame_handler() 1918 cl = ln; in ngx_http_v2_push_frame_handler() 1949 if (cl->buf->pos != cl->buf->last) { in ngx_http_v2_data_frame_handler() 1966 cl = ln; in ngx_http_v2_data_frame_handler() [all …]
|