/dragonfly/sys/net/altq/ |
H A D | altq_hfsc.c | 352 for (; cl != NULL; cl = hfsc_nextclass(cl)) { in hfsc_clear_interface() 393 for (cl = hif->hif_rootclass; cl != NULL; cl = hfsc_nextclass(cl)) { in hfsc_purge() 653 cl = cl->cl_children; in hfsc_nextclass() 655 cl = cl->cl_siblings; in hfsc_nextclass() 659 cl = cl->cl_siblings; in hfsc_nextclass() 970 cl->cl_e = rtsc_y2x(&cl->cl_eligible, cl->cl_cumul); in init_ed() 979 cl->cl_e = rtsc_y2x(&cl->cl_eligible, cl->cl_cumul); in update_ed() 1000 for ( ; cl->cl_parent != NULL; cl = cl->cl_parent) { in init_vf() 1089 for (; cl->cl_parent != NULL; cl = cl->cl_parent) { in update_vf() 1118 cl->cl_vt = rtsc_y2x(&cl->cl_virtual, cl->cl_total) in update_vf() [all …]
|
H A D | altq_rmclass.c | 258 cl->avgidle_ = cl->maxidle_; in rmc_newclass() 312 cl->peer_ = cl; in rmc_newclass() 367 cl->avgidle_ = cl->maxidle_; in rmc_modclass() 428 cl = cl->peer_; in rmc_wrr_set_weights() 843 if (!cl->sleeping_ && (qlen(cl->q_) > cl->qthresh_)) in rmc_satisfied() 1017 cl = cl->peer_; in _rmc_wrr_dequeue_next() 1081 ifd->active_[cl->pri_] = cl; in _rmc_wrr_dequeue_next() 1156 cl = cl->peer_; in _rmc_prr_dequeue_next() 1342 cl->avgidle_ = cl->maxidle_; in rmc_update_class_util() 1399 cl = cl->parent_; in rmc_update_class_util() [all …]
|
H A D | altq_fairq.c | 216 if (cl == NULL) in fairq_add_queue_locked() 369 if ((cl = pif->pif_classes[pri]) != NULL && cl->cl_head) in fairq_purge() 416 cl = kmalloc(sizeof(*cl), M_ALTQ, M_WAITOK | M_ZERO); in fairq_class_create() 420 cl->cl_buckets = kmalloc(sizeof(*cl->cl_buckets) * in fairq_class_create() 484 return (cl); in fairq_class_create() 495 if (cl->cl_head) in fairq_class_destroy() 567 cl = NULL; in fairq_enqueue() 773 return red_addq(cl->cl_red, &b->queue, m, cl->cl_pktattr); in fairq_addq() 829 cl->cl_bw_delta = cl->cl_bw_delta * 16 / f; in fairq_getq() 830 cl->cl_bw_bytes = cl->cl_bw_bytes * 16 / f; in fairq_getq() [all …]
|
H A D | altq_priq.c | 155 if (cl == NULL) in priq_add_queue_locked() 308 if ((cl = pif->pif_classes[pri]) != NULL && !qempty(cl->cl_q)) in priq_purge() 344 cl = kmalloc(sizeof(*cl), M_ALTQ, M_WAITOK | M_ZERO); in priq_class_create() 398 return (cl); in priq_class_create() 471 cl = NULL; in priq_enqueue() 553 return rio_addq((rio_t *)cl->cl_red, cl->cl_q, m, in priq_addq() 558 return red_addq(cl->cl_red, cl->cl_q, m, cl->cl_pktattr); in priq_addq() 560 if (qlen(cl->cl_q) >= qlimit(cl->cl_q)) { in priq_addq() 578 return rio_getq((rio_t *)cl->cl_red, cl->cl_q); in priq_getq() 582 return red_getq(cl->cl_red, cl->cl_q); in priq_getq() [all …]
|
H A D | altq_cbq.c | 118 struct rm_class *cl; in clh_to_clp() local 129 return (cl); in clh_to_clp() 133 return (cl); in clh_to_clp() 141 struct rm_class *cl; in cbq_clear_interface() local 293 struct rm_class *cl; in cbq_add_queue_locked() local 379 if (cl == NULL) in cbq_add_queue_locked() 384 cl->stats_.depth = cl->depth_; in cbq_add_queue_locked() 548 cl = NULL; in cbq_enqueue() 549 if (cl == NULL) { in cbq_enqueue() 551 if (cl == NULL) { in cbq_enqueue() [all …]
|
/dragonfly/lib/libc/citrus/ |
H A D | citrus_lookup.c | 100 _region_init(key, cl->cl_key, cl->cl_keylen); in seq_next_db() 109 if (cl->cl_dbidx >= cl->cl_dbnum) in seq_next_db() 124 cl->cl_keylen = strlen(cl->cl_key); in seq_lookup_db() 158 cl->cl_dbnum = _db_get_num_entries(cl->cl_db); in seq_open_db() 234 cl->cl_keylen = strlen(cl->cl_key); in seq_lookup_plain() 235 _memstream_bind(&cl->cl_plainms, &cl->cl_plainr); in seq_lookup_plain() 278 cl = malloc(sizeof(*cl)); in _citrus_lookup_seq_open() 311 return ((*cl->cl_next)(cl, key, data)); in _citrus_lookup_seq_next() 319 return ((*cl->cl_lookup)(cl, key, data)); in _citrus_lookup_seq_lookup() 326 return ((*cl->cl_num_entries)(cl)); in _citrus_lookup_get_number_of_entries() [all …]
|
/dragonfly/sys/kern/ |
H A D | tty_subr.c | 68 n = cl->c_ccmax - cl->c_cchead; in clist_alloc_cblocks() 118 --cl->c_cc; in clist_getc() 177 if (cl->c_cc == cl->c_ccmax) in clist_putc() 179 i = cl->c_cchead + cl->c_cc; in clist_putc() 183 ++cl->c_cc; in clist_putc() 200 count = cl->c_ccmax - cl->c_cc; /* space available */ in clist_btoq() 205 i = cl->c_cchead + cl->c_cc; /* clist write index */ in clist_btoq() 239 cp = &cl->c_data[cl->c_cchead]; in clist_nextc() 250 i += cl->c_ccmax - cl->c_cchead; in clist_nextc() 263 if (cp == &cl->c_data[cl->c_ccmax]) in clist_nextc() [all …]
|
/dragonfly/sbin/fsck_msdosfs/ |
H A D | fat.c | 211 return (fat->fatbuf + ((cl + (cl >> 1)))); in fat_get_fat12_ptr() 223 if ((cl & 1) == 1) in fat_get_fat12_next() 248 if ((cl & 1) == 0) { in fat_set_fat12_next() 440 addr = cl << 2; in fat_get_fat32_cached_ptr() 553 return (cl >= CLUST_FIRST && cl < boot->NumClusters); in valid_cl() 724 cl_t cl, nextcl; in readfat() local 877 for (cl = CLUST_FIRST; cl < boot->NumClusters; cl++) { in readfat() 898 cl, in readfat() 909 cl, nextcl); in readfat() 932 rsrvdcltype(cl_t cl) in rsrvdcltype() argument [all …]
|
/dragonfly/usr.sbin/sysvipcd/ |
H A D | sysvipcd.c | 130 struct client *cl; in daemon_add_client() local 135 cl = malloc(sizeof(*cl)); in daemon_add_client() 136 if (!cl) { in daemon_add_client() 141 cl->undoid = -1; in daemon_add_client() 174 free(cl); in daemon_add_client() 179 _hash_insert(clientshash, cl->pid, cl); in daemon_add_client() 193 close(cl->sock); in daemon_remove_client() 201 semexit(cl->undoid); in daemon_remove_client() 202 shmexit(cl); in daemon_remove_client() 206 free(cl); in daemon_remove_client() [all …]
|
/dragonfly/contrib/gcc-4.7/gcc/ |
H A D | ira-lives.c | 195 && (curr_reg_pressure[cl] > ira_available_class_regs[cl])) in inc_register_pressure() 197 if (curr_bb_node->reg_pressure[cl] < curr_reg_pressure[cl]) in inc_register_pressure() 198 curr_bb_node->reg_pressure[cl] = curr_reg_pressure[cl]; in inc_register_pressure() 224 && curr_reg_pressure[cl] <= ira_available_class_regs[cl]) in dec_register_pressure() 238 && curr_reg_pressure[cl] <= ira_available_class_regs[cl]) in dec_register_pressure() 733 cl = NO_REGS; in single_reg_class() 835 if ((cl != NO_REGS && next_cl != cl) in single_reg_class() 847 if ((cl != NO_REGS && next_cl != cl) in single_reg_class() 858 return cl; in single_reg_class() 1091 if (curr_bb_node->reg_pressure[cl] < curr_reg_pressure[cl]) in process_bb_node_lives() [all …]
|
H A D | ira.c | 457 for (cl = (int) N_REG_CLASSES - 1; cl >= 0; cl--) in setup_class_hard_regs() 580 for (cl = (int) N_REG_CLASSES - 1; cl >= 0; cl--) in setup_class_subset_and_memory_move_costs() 608 for (cl = (int) N_REG_CLASSES - 1; cl >= 0; cl--) in setup_class_subset_and_memory_move_costs() 800 for (cl = 0; cl < N_REG_CLASSES; cl++) in setup_pressure_classes() 882 for (cl = 0; cl < LIM_REG_CLASSES; cl++) in setup_pressure_classes() 999 for (cl = 0; cl < N_REG_CLASSES; cl++) in setup_allocno_and_important_classes() 1026 for (cl = 0; cl < N_REG_CLASSES; cl++) in setup_allocno_and_important_classes() 1059 for (cl = 0; cl < N_REG_CLASSES; cl++) in setup_class_translate_array() 1075 for (cl = 0; cl < N_REG_CLASSES; cl++) in setup_class_translate_array() 1404 for (cl = 0; cl < N_REG_CLASSES; cl++) in setup_reg_class_nregs() [all …]
|
H A D | tree-ssa-coalesce.c | 173 if (cl->sorted == NULL) in pop_best_coalesce() 179 node = cl->sorted[--(cl->num_sorted)]; in pop_best_coalesce() 245 free (cl->sorted); in delete_coalesce_list() 247 free (cl); in delete_coalesce_list() 424 cl->num_sorted = num; in sort_coalesce_list() 434 cl->sorted[x++] = p; in sort_coalesce_list() 444 if (cl->sorted[0]->cost > cl->sorted[1]->cost) in sort_coalesce_list() 446 p = cl->sorted[0]; in sort_coalesce_list() 447 cl->sorted[0] = cl->sorted[1]; in sort_coalesce_list() 448 cl->sorted[1] = p; in sort_coalesce_list() [all …]
|
H A D | genmodes.c | 127 switch (cl) in vector_class() 169 m->cl = cl; in new_mode() 177 modes[cl] = m; in new_mode() 178 n_modes[cl]++; in new_mode() 311 switch (m->cl) in complete_mode() 347 (m->cl == MODE_FLOAT || m->cl == MODE_DECIMAL_FLOAT) in complete_mode() 396 if (m->cl == MODE_COMPLEX_INT || m->cl == MODE_COMPLEX_FLOAT) in complete_mode() 416 int cl; in complete_all_modes() local 628 if (m->cl != MODE_FLOAT && m->cl != MODE_DECIMAL_FLOAT) in reset_float_format() 1229 switch (m->cl) in emit_mode_adjustments() [all …]
|
/dragonfly/contrib/gmp/mpn/generic/ |
H A D | addmul_1.c | 39 cl = 0; in mpn_addmul_1() 45 lpl += cl; in mpn_addmul_1() 46 cl = (lpl < cl) + hpl; in mpn_addmul_1() 50 cl += lpl < rl; in mpn_addmul_1() 55 return cl; in mpn_addmul_1() 74 cl = 0; in mpn_addmul_1() 85 cl = c1 + c2 + c3; in mpn_addmul_1() 91 return prev_hpl + cl; in mpn_addmul_1() 110 cl = 0; in mpn_addmul_1() 119 cl = xw >> GMP_NUMB_BITS; in mpn_addmul_1() [all …]
|
H A D | submul_1.c | 34 mp_limb_t ul, cl, hpl, lpl, rl; in mpn_submul_1() local 39 cl = 0; in mpn_submul_1() 45 lpl += cl; in mpn_submul_1() 46 cl = (lpl < cl) + hpl; in mpn_submul_1() 50 cl += lpl > rl; in mpn_submul_1() 55 return cl; in mpn_submul_1() 74 cl = 0; in mpn_submul_1() 85 cl = c1 + c2 + c3; in mpn_submul_1() 91 return prev_hpl + cl; in mpn_submul_1() 110 cl = 0; in mpn_submul_1() [all …]
|
H A D | mul_1.c | 32 mp_limb_t ul, cl, hpl, lpl; in mpn_mul_1() local 37 cl = 0; in mpn_mul_1() 43 lpl += cl; in mpn_mul_1() 44 cl = (lpl < cl) + hpl; in mpn_mul_1() 50 return cl; in mpn_mul_1() 60 mp_limb_t shifted_vl, ul, lpl, hpl, prev_hpl, xw, cl, xl; in mpn_mul_1() local 68 cl = 0; in mpn_mul_1() 76 xw = prev_hpl + lpl + cl; in mpn_mul_1() 77 cl = xw >> GMP_NUMB_BITS; in mpn_mul_1() 84 return prev_hpl + cl; in mpn_mul_1()
|
/dragonfly/contrib/gcc-8.0/gcc/ |
H A D | ira-lives.c | 193 && (curr_reg_pressure[cl] > ira_class_hard_regs_num[cl])) in inc_register_pressure() 195 if (curr_bb_node->reg_pressure[cl] < curr_reg_pressure[cl]) in inc_register_pressure() 196 curr_bb_node->reg_pressure[cl] = curr_reg_pressure[cl]; in inc_register_pressure() 222 && curr_reg_pressure[cl] <= ira_class_hard_regs_num[cl]) in dec_register_pressure() 236 && curr_reg_pressure[cl] <= ira_class_hard_regs_num[cl]) in dec_register_pressure() 761 cl = NO_REGS; in single_reg_class() 794 cl = next_cl; in single_reg_class() 807 cl = next_cl; in single_reg_class() 810 return cl; in single_reg_class() 1072 if (curr_bb_node->reg_pressure[cl] < curr_reg_pressure[cl]) in process_bb_node_lives() [all …]
|
H A D | tree-ssa-coalesce.c | 221 ptr = cl->cost_one_list; in pop_cost_one_pair() 244 if (cl->sorted == NULL) in pop_best_coalesce() 250 node = cl->sorted[--(cl->num_sorted)]; in pop_best_coalesce() 286 delete cl->list; in delete_coalesce_list() 287 cl->list = NULL; in delete_coalesce_list() 288 free (cl->sorted); in delete_coalesce_list() 290 free (cl); in delete_coalesce_list() 463 cl->num_sorted = num; in sort_coalesce_list() 473 cl->sorted[x++] = p; in sort_coalesce_list() 521 node = cl->sorted[x]; in dump_coalesce_list() [all …]
|
H A D | hsa-regalloc.c | 238 gcc_assert (cl == 0); in rewrite_code_bb() 279 if (classes[cl].used_num < classes[cl].max_num) in try_alloc_reg() 282 classes[cl].used_num++; in try_alloc_reg() 283 if (classes[cl].used_num > classes[cl].max_used) in try_alloc_reg() 284 classes[cl].max_used = classes[cl].used_num; in try_alloc_reg() 304 classes[cl].used_num--; in free_reg() 388 gcc_assert (!active[cl].is_empty ()); in spill_at_interval() 389 hsa_op_reg *cand = active[cl][0]; in spill_at_interval() 394 active[cl].ordered_remove (0); in spill_at_interval() 611 active[cl].quick_insert (place, reg); in linear_scan_regalloc() [all …]
|
H A D | ira.c | 472 for (cl = (int) N_REG_CLASSES - 1; cl >= 0; cl--) in setup_class_hard_regs() 801 for (cl = 0; cl < N_REG_CLASSES; cl++) in setup_pressure_classes() 886 for (cl = 0; cl < LIM_REG_CLASSES; cl++) in setup_pressure_classes() 935 for (cl = 0; cl < N_REG_CLASSES; cl++) in setup_uniform_class_p() 1037 for (cl = 0; cl < N_REG_CLASSES; cl++) in setup_allocno_and_important_classes() 1062 for (cl = 0; cl < N_REG_CLASSES; cl++) in setup_allocno_and_important_classes() 1096 for (cl = 0; cl < N_REG_CLASSES; cl++) in setup_class_translate_array() 1112 for (cl = 0; cl < N_REG_CLASSES; cl++) in setup_class_translate_array() 1382 for (cl = 0; cl < N_REG_CLASSES; cl++) in print_uniform_and_important_classes() 1477 for (cl = 0; cl < N_REG_CLASSES; cl++) in setup_reg_class_nregs() [all …]
|
/dragonfly/lib/libc/rpc/ |
H A D | clnt_generic.c | 313 if (cl == NULL) { in clnt_tp_create_timed() 319 if (cl->cl_netid == NULL) in clnt_tp_create_timed() 321 if (cl->cl_tp == NULL) in clnt_tp_create_timed() 326 CLNT_DESTROY(cl); in clnt_tp_create_timed() 333 return (cl); in clnt_tp_create_timed() 349 CLIENT *cl; /* client handle */ in clnt_tli_create() local 406 if (cl == NULL) in clnt_tli_create() 410 cl->cl_tp = strdup(nconf->nc_device); in clnt_tli_create() 412 cl->cl_netid = ""; in clnt_tli_create() 413 cl->cl_tp = ""; in clnt_tli_create() [all …]
|
H A D | clnt_dg.c | 261 cl->cl_ops = clnt_dg_ops(); in clnt_dg_create() 264 cl->cl_tp = NULL; in clnt_dg_create() 265 cl->cl_netid = NULL; in clnt_dg_create() 268 return (cl); in clnt_dg_create() 274 if (cl) { in clnt_dg_create() 275 mem_free(cl, sizeof (CLIENT)); in clnt_dg_create() 704 clnt_dg_destroy(CLIENT *cl) in clnt_dg_destroy() argument 722 if (cl->cl_netid && cl->cl_netid[0]) in clnt_dg_destroy() 723 mem_free(cl->cl_netid, strlen(cl->cl_netid) +1); in clnt_dg_destroy() 724 if (cl->cl_tp && cl->cl_tp[0]) in clnt_dg_destroy() [all …]
|
/dragonfly/crypto/libressl/crypto/whrlpool/ |
H A D | wp-elf-x86_64.S | 71 movb %al,%cl 78 movb %al,%cl 85 movb %bl,%cl 92 movb %bl,%cl 99 movb %al,%cl 106 movb %al,%cl 113 movb %bl,%cl 120 movb %bl,%cl 127 movb %al,%cl 134 movb %al,%cl [all …]
|
/dragonfly/usr.bin/evtranalyze/ |
H A D | svg.c | 142 if (cl) { in svg_rect_init() 143 xml_attribute_init(&rect->cl, "class", cl); in svg_rect_init() 154 svg_rect_new(const char *cl) in svg_rect_new() argument 160 svg_rect_init(r, cl); in svg_rect_new() 198 if (cl) { in svg_text_init() 199 xml_attribute_init(&text->cl, "class", cl); in svg_text_init() 206 svg_text_new(const char *cl) in svg_text_new() argument 212 svg_text_init(text, cl); in svg_text_new() 256 if (cl) { in svg_line_init() 257 xml_attribute_init(&line->cl, "class", cl); in svg_line_init() [all …]
|
/dragonfly/crypto/libressl/crypto/rc4/ |
H A D | rc4-elf-x86_64.S | 25 movb -4(%rdi),%cl 43 addb %al,%cl 61 addb %al,%cl 69 addb %bl,%cl 77 addb %al,%cl 85 addb %bl,%cl 93 addb %al,%cl 101 addb %bl,%cl 109 addb %al,%cl 118 addb %bl,%cl [all …]
|