/openbmc/linux/net/ipv4/ |
H A D | tcp_htcp.c | 62 ca->undo_maxRTT = ca->maxRTT; in htcp_reset() 63 ca->undo_old_maxB = ca->old_maxB; in htcp_reset() 74 ca->maxRTT = ca->undo_maxRTT; in htcp_cwnd_undo() 93 if (ca->maxRTT < ca->minRTT) in measure_rtt() 94 ca->maxRTT = ca->minRTT; in measure_rtt() 134 ca->minB = ca->maxB = ca->Bi = cur_Bi; in measure_achieved_throughput() 137 if (ca->Bi > ca->maxB) in measure_achieved_throughput() 138 ca->maxB = ca->Bi; in measure_achieved_throughput() 139 if (ca->minB > ca->maxB) in measure_achieved_throughput() 140 ca->minB = ca->maxB; in measure_achieved_throughput() [all …]
|
H A D | tcp_nv.c | 127 ca->nv_reset = 0; in tcpnv_reset() 129 ca->nv_rtt_cnt = 0; in tcpnv_reset() 130 ca->nv_last_rtt = 0; in tcpnv_reset() 163 ca->nv_catchup = 0; in tcpnv_init() 172 if (ca->nv_lower_bound_rtt > 0 && val < ca->nv_lower_bound_rtt) in nv_get_bounded_rtt() 174 else if (ca->nv_base_rtt > 0 && val > ca->nv_base_rtt) in nv_get_bounded_rtt() 223 ca->nv_reset = 1; in tcpnv_state() 325 ca->nv_min_rtt = ca->nv_min_rtt_new; in tcpnv_acked() 333 ca->nv_min_cwnd = max(ca->nv_min_cwnd / 2, NV_MIN_CWND); in tcpnv_acked() 351 ca->nv_min_cwnd = min(ca->nv_min_cwnd in tcpnv_acked() [all …]
|
H A D | tcp_cdg.c | 145 ca->delay_min = min_not_zero(ca->delay_min, ca->rtt.min); in tcp_cdg_hystart_update() 192 s32 gmin = ca->rtt.min - ca->rtt_prev.min; in tcp_cdg_grad() 193 s32 gmax = ca->rtt.max - ca->rtt_prev.max; in tcp_cdg_grad() 197 ca->gsum.min += gmin - ca->gradients[ca->tail].min; in tcp_cdg_grad() 198 ca->gsum.max += gmax - ca->gradients[ca->tail].max; in tcp_cdg_grad() 199 ca->gradients[ca->tail].min = gmin; in tcp_cdg_grad() 200 ca->gradients[ca->tail].max = gmax; in tcp_cdg_grad() 278 ca->rtt_prev = ca->rtt; in tcp_cdg_cong_avoid() 296 ca->shadow_wnd = max(ca->shadow_wnd, ca->shadow_wnd + incr); in tcp_cdg_cong_avoid() 356 memset(ca, 0, sizeof(*ca)); in tcp_cdg_cwnd_event() [all …]
|
H A D | tcp_cubic.c | 110 ca->found = 0; in bictcp_reset() 123 ca->round_start = ca->last_ack = bictcp_clock_us(sk); in bictcp_hystart_reset() 133 bictcp_reset(ca); in cubictcp_init() 229 if (ca->epoch_start && tcp_jiffies32 == ca->last_time) in bictcp_update() 241 ca->bic_K = 0; in bictcp_update() 249 ca->bic_origin_point = ca->last_max_cwnd; in bictcp_update() 296 if (ca->last_max_cwnd == 0 && ca->cnt > 20) in bictcp_update() 307 ca->tcp_cwnd++; in bictcp_update() 321 ca->cnt = max(ca->cnt, 2U); in bictcp_update() 434 if (ca->curr_rtt > ca->delay_min + in hystart_update() [all …]
|
H A D | tcp_cong.c | 61 return ca; in tcp_ca_find_autoload() 80 if (!ca->ssthresh || !ca->undo_cwnd || in tcp_validate_congestion_control() 81 !(ca->cong_avoid || ca->cong_control)) { in tcp_validate_congestion_control() 100 ca->key = jhash(ca->name, sizeof(ca->name), strlen(ca->name)); in tcp_register_congestion_control() 154 ca->key = jhash(ca->name, sizeof(ca->name), strlen(ca->name)); in tcp_update_congestion_control() 193 if (ca) { in tcp_ca_get_key_by_name() 209 if (ca) in tcp_ca_get_name_by_key() 226 if (unlikely(!bpf_try_module_get(ca, ca->owner))) in tcp_assign_congestion_control() 292 } else if (!bpf_try_module_get(ca, ca->owner)) { in tcp_set_default_congestion_control() 398 if (ca) in tcp_set_allowed_congestion_control() [all …]
|
H A D | tcp_illinois.c | 63 ca->cnt_rtt = 0; in rtt_reset() 64 ca->sum_rtt = 0; in rtt_reset() 76 ca->max_rtt = 0; in tcp_illinois_init() 78 ca->acked = 0; in tcp_illinois_init() 79 ca->rtt_low = 0; in tcp_illinois_init() 80 ca->rtt_above = 0; in tcp_illinois_init() 109 ++ca->cnt_rtt; in tcp_illinois_acked() 116 return ca->max_rtt - ca->base_rtt; in max_delay() 155 ca->rtt_low = 0; in alpha() 234 ca->alpha = alpha(ca, da, dm); in update_params() [all …]
|
H A D | tcp_bic.c | 62 ca->cnt = 0; in bictcp_reset() 63 ca->last_max_cwnd = 0; in bictcp_reset() 64 ca->last_cwnd = 0; in bictcp_reset() 65 ca->last_time = 0; in bictcp_reset() 66 ca->epoch_start = 0; in bictcp_reset() 74 bictcp_reset(ca); in bictcp_init() 89 ca->last_cwnd = cwnd; in bictcp_update() 97 ca->cnt = cwnd; in bictcp_update() 132 ca->cnt = 20; in bictcp_update() 135 ca->cnt = (ca->cnt << ACK_RATIO_SHIFT) / ca->delayed_ack; in bictcp_update() [all …]
|
H A D | tcp_hybla.c | 41 ca->rho = ca->rho_3ls >> 3; in hybla_recalc_param() 42 ca->rho2_7ls = (ca->rho_3ls * ca->rho_3ls) << 1; in hybla_recalc_param() 43 ca->rho2 = ca->rho2_7ls >> 7; in hybla_recalc_param() 51 ca->rho = 0; in hybla_init() 52 ca->rho2 = 0; in hybla_init() 53 ca->rho_3ls = 0; in hybla_init() 54 ca->rho2_7ls = 0; in hybla_init() 56 ca->hybla_en = true; in hybla_init() 106 if (!ca->hybla_en) { in hybla_cong_avoid() 111 if (ca->rho == 0) in hybla_cong_avoid() [all …]
|
H A D | tcp_dctcp.c | 83 ca->next_seq = tp->snd_nxt; in dctcp_reset() 85 ca->old_delivered = tp->delivered; in dctcp_reset() 98 ca->prior_rcv_nxt = tp->rcv_nxt; in dctcp_init() 102 ca->loss_cwnd = 0; in dctcp_init() 103 ca->ce_state = 0; in dctcp_init() 105 dctcp_reset(tp, ca); in dctcp_init() 106 tcp_plb_init(sk, &ca->plb); in dctcp_init() 123 ca->loss_cwnd = tcp_snd_cwnd(tp); in dctcp_ssthresh() 136 u32 alpha = ca->dctcp_alpha; in dctcp_update_alpha() 170 dctcp_reset(tp, ca); in dctcp_update_alpha() [all …]
|
H A D | tcp_highspeed.c | 103 struct hstcp *ca = inet_csk_ca(sk); in hstcp_init() local 105 ca->ai = 0; in hstcp_init() 115 struct hstcp *ca = inet_csk_ca(sk); in hstcp_cong_avoid() local 130 if (tcp_snd_cwnd(tp) > hstcp_aimd_vals[ca->ai].cwnd) { in hstcp_cong_avoid() 132 ca->ai < HSTCP_AIMD_MAX - 1) in hstcp_cong_avoid() 133 ca->ai++; in hstcp_cong_avoid() 134 } else if (ca->ai && tcp_snd_cwnd(tp) <= hstcp_aimd_vals[ca->ai-1].cwnd) { in hstcp_cong_avoid() 135 while (ca->ai && tcp_snd_cwnd(tp) <= hstcp_aimd_vals[ca->ai-1].cwnd) in hstcp_cong_avoid() 136 ca->ai--; in hstcp_cong_avoid() 142 tp->snd_cwnd_cnt += ca->ai + 1; in hstcp_cong_avoid() [all …]
|
/openbmc/linux/drivers/md/bcache/ |
H A D | alloc.c | 80 ca->set->need_gc = max(ca->set->need_gc, bucket_gc_gen(b)); in bch_inc_gen() 146 trace_bcache_invalidate(ca, b - ca->buckets); in __bch_invalidate_one_bucket() 157 fifo_push(&ca->free_inc, b - ca->buckets); in bch_invalidate_one_bucket() 222 if (ca->fifo_last_bucket < ca->sb.first_bucket || in invalidate_buckets_fifo() 223 ca->fifo_last_bucket >= ca->sb.nbuckets) in invalidate_buckets_fifo() 224 ca->fifo_last_bucket = ca->sb.first_bucket; in invalidate_buckets_fifo() 226 b = ca->buckets + ca->fifo_last_bucket++; in invalidate_buckets_fifo() 249 n %= (size_t) (ca->sb.nbuckets - ca->sb.first_bucket); in invalidate_buckets_random() 343 allocator_wait(ca, bch_allocator_push(ca, bucket)); in bch_allocator_thread() 355 allocator_wait(ca, ca->set->gc_mark_valid && in bch_allocator_thread() [all …]
|
/openbmc/linux/drivers/media/dvb-core/ |
H A D | dvb_ca_en50221.c | 171 kfree(ca); in dvb_ca_private_free() 240 slot_status = ca->pub->poll_slot_status(ca->pub, slot, ca->open); in dvb_ca_en50221_check_camstatus() 668 status = ca->pub->read_data(ca->pub, slot, buf, in dvb_ca_en50221_read_data() 679 status = ca->pub->read_cam_control(ca->pub, slot, in dvb_ca_en50221_read_data() 690 status = ca->pub->read_cam_control(ca->pub, slot, in dvb_ca_en50221_read_data() 917 ca->pub->slot_shutdown(ca->pub, slot); in dvb_ca_en50221_slot_shutdown() 1160 ca->pub->slot_reset(ca->pub, slot); in dvb_ca_en50221_thread_state_machine() 1196 if (ca->pub->write_cam_control(ca->pub, slot, in dvb_ca_en50221_thread_state_machine() 1253 ca->pub->slot_ts_enable(ca->pub, slot); in dvb_ca_en50221_thread_state_machine() 1883 ca = kzalloc(sizeof(*ca), GFP_KERNEL); in dvb_ca_en50221_init() [all …]
|
/openbmc/linux/drivers/media/pci/mantis/ |
H A D | mantis_ca.c | 136 struct mantis_ca *ca; in mantis_ca_init() local 141 if (!ca) { in mantis_ca_init() 147 ca->ca_priv = mantis; in mantis_ca_init() 148 mantis->mantis_ca = ca; in mantis_ca_init() 160 ca->en50221.data = ca; in mantis_ca_init() 162 mutex_init(&ca->ca_lock); in mantis_ca_init() 175 mantis_evmgr_init(ca); in mantis_ca_init() 178 kfree(ca); in mantis_ca_init() 188 if (!ca) in mantis_ca_exit() 191 mantis_evmgr_exit(ca); in mantis_ca_exit() [all …]
|
H A D | mantis_hif.c | 83 mutex_lock(&ca->ca_lock); in mantis_hif_read_mem() 96 mutex_unlock(&ca->ca_lock); in mantis_hif_read_mem() 100 mutex_unlock(&ca->ca_lock); in mantis_hif_read_mem() 112 mutex_lock(&ca->ca_lock); in mantis_hif_write_mem() 129 mutex_unlock(&ca->ca_lock); in mantis_hif_write_mem() 140 mutex_lock(&ca->ca_lock); in mantis_hif_read_iom() 159 mutex_unlock(&ca->ca_lock); in mantis_hif_read_iom() 170 mutex_lock(&ca->ca_lock); in mantis_hif_write_iom() 186 mutex_unlock(&ca->ca_lock); in mantis_hif_write_iom() 201 mutex_lock(&ca->ca_lock); in mantis_hif_init() [all …]
|
H A D | mantis_evm.c | 30 struct mantis_pci *mantis = ca->ca_priv; in mantis_hifevm_work() 40 mantis_event_cam_plugin(ca); in mantis_hifevm_work() 49 mantis_event_cam_unplug(ca); in mantis_hifevm_work() 80 ca->hif_event = MANTIS_SBUF_OPDONE; in mantis_hifevm_work() 81 wake_up(&ca->hif_opdone_wq); in mantis_hifevm_work() 91 mantis_pcmcia_init(ca); in mantis_evmgr_init() 92 schedule_work(&ca->hif_evm_work); in mantis_evmgr_init() 93 mantis_hif_init(ca); in mantis_evmgr_init() 102 flush_work(&ca->hif_evm_work); in mantis_evmgr_exit() 103 mantis_hif_exit(ca); in mantis_evmgr_exit() [all …]
|
H A D | mantis_pcmcia.c | 32 struct mantis_pci *mantis = ca->ca_priv; in mantis_event_cam_plugin() 36 if (ca->slot_state == MODULE_XTRACTED) { in mantis_event_cam_plugin() 45 ca->slot_state = MODULE_INSERTED; in mantis_event_cam_plugin() 56 struct mantis_pci *mantis = ca->ca_priv; in mantis_event_cam_unplug() 60 if (ca->slot_state == MODULE_INSERTED) { in mantis_event_cam_unplug() 69 ca->slot_state = MODULE_XTRACTED; in mantis_event_cam_unplug() 74 int mantis_pcmcia_init(struct mantis_ca *ca) in mantis_pcmcia_init() argument 76 struct mantis_pci *mantis = ca->ca_priv; in mantis_pcmcia_init() 87 ca->slot_state = MODULE_INSERTED; in mantis_pcmcia_init() 94 ca->slot_state = MODULE_XTRACTED; in mantis_pcmcia_init() [all …]
|
H A D | mantis_link.h | 56 extern void mantis_event_cam_plugin(struct mantis_ca *ca); 57 extern void mantis_event_cam_unplug(struct mantis_ca *ca); 58 extern int mantis_pcmcia_init(struct mantis_ca *ca); 59 extern void mantis_pcmcia_exit(struct mantis_ca *ca); 60 extern int mantis_evmgr_init(struct mantis_ca *ca); 61 extern void mantis_evmgr_exit(struct mantis_ca *ca); 64 extern int mantis_hif_init(struct mantis_ca *ca); 65 extern void mantis_hif_exit(struct mantis_ca *ca); 66 extern int mantis_hif_read_mem(struct mantis_ca *ca, u32 addr); 67 extern int mantis_hif_write_mem(struct mantis_ca *ca, u32 addr, u8 data); [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | bpf_cubic.c | 96 ca->cnt = 0; in bictcp_reset() 101 ca->bic_K = 0; in bictcp_reset() 104 ca->ack_cnt = 0; in bictcp_reset() 106 ca->found = 0; in bictcp_reset() 166 ca->round_start = ca->last_ack = bictcp_clock_us(sk); in bictcp_hystart_reset() 282 if (ca->epoch_start && tcp_jiffies32 == ca->last_time) in bictcp_update() 302 ca->bic_origin_point = ca->last_max_cwnd; in bictcp_update() 349 if (ca->last_max_cwnd == 0 && ca->cnt > 20) in bictcp_update() 377 ca->cnt = max(ca->cnt, 2U); in bictcp_update() 484 if (ca->curr_rtt > ca->delay_min + in hystart_update() [all …]
|
H A D | bpf_dctcp.c | 52 struct dctcp *ca) in dctcp_reset() argument 54 ca->next_seq = tp->snd_nxt; in dctcp_reset() 96 ca->loss_cwnd = 0; in BPF_PROG() 97 ca->ce_state = 0; in BPF_PROG() 104 dctcp_reset(tp, ca); in BPF_PROG() 113 ca->loss_cwnd = tp->snd_cwnd; in BPF_PROG() 126 __u32 alpha = ca->dctcp_alpha; in BPF_PROG() 142 ca->dctcp_alpha = alpha; in BPF_PROG() 143 dctcp_reset(tp, ca); in BPF_PROG() 152 ca->loss_cwnd = tp->snd_cwnd; in dctcp_react_to_loss() [all …]
|
/openbmc/linux/drivers/ras/ |
H A D | cec.c | 158 ca->decays_done++; in do_spring_cleaning() 227 if (!ca->n) { in find_elem() 242 ca->n--; in del_elem() 273 if (!ca->n) in del_lru_elem() 336 ca->ces_entered++; in cec_add_elem() 352 ca->n++; in cec_add_elem() 357 ca->array[to]++; in cec_add_elem() 373 del_elem(ca, to); in cec_add_elem() 384 ca->decay_count++; in cec_add_elem() 459 i, this, bins[DECAY(ca->array[i])], COUNT(ca->array[i])); in array_show() [all …]
|
/openbmc/linux/kernel/sched/ |
H A D | cpuacct.c | 57 struct cpuacct *ca; in cpuacct_css_alloc() local 62 ca = kzalloc(sizeof(*ca), GFP_KERNEL); in cpuacct_css_alloc() 63 if (!ca) in cpuacct_css_alloc() 67 if (!ca->cpuusage) in cpuacct_css_alloc() 71 if (!ca->cpustat) in cpuacct_css_alloc() 74 return &ca->css; in cpuacct_css_alloc() 79 kfree(ca); in cpuacct_css_alloc() 91 kfree(ca); in cpuacct_css_free() 337 struct cpuacct *ca; in cpuacct_charge() local 341 for (ca = task_ca(tsk); ca; ca = parent_ca(ca)) in cpuacct_charge() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/freeradius/files/ |
H A D | 0013-raddb-certs-Makefile-fix-the-occasional-verification.patch | 45 ca.key ca.pem: ca.cnf 49 + @[ -f ca.pem ] || $(OPENSSL) req -new -x509 -keyout ca.key -out ca.pem \ 54 ca.der: ca.pem 56 + @[ -f ca.der ] || $(OPENSSL) x509 -inform PEM -outform DER -in ca.pem -out ca.der 58 ca.crl: ca.pem 59 - $(OPENSSL) ca -gencrl -keyfile ca.key -cert ca.pem -config ./ca.cnf -out ca-crl.pem -key $(PASSWO… 61 + @[ -f ca-crl.pem ] || $(OPENSSL) ca -gencrl -keyfile ca.key -cert ca.pem -config ./ca.cnf -out ca… 62 + @[ -f ca.crl ] || $(OPENSSL) crl -in ca-crl.pem -outform der -out ca.crl 66 @@ -88,18 +88,18 @@ ca.crl: ca.pem 74 server.crt: ca.key ca.pem server.csr [all …]
|
/openbmc/linux/include/media/ |
H A D | dvb_ca_en50221.h | 61 int (*read_attribute_mem)(struct dvb_ca_en50221 *ca, 63 int (*write_attribute_mem)(struct dvb_ca_en50221 *ca, 66 int (*read_cam_control)(struct dvb_ca_en50221 *ca, 68 int (*write_cam_control)(struct dvb_ca_en50221 *ca, 71 int (*read_data)(struct dvb_ca_en50221 *ca, 73 int (*write_data)(struct dvb_ca_en50221 *ca, 76 int (*slot_reset)(struct dvb_ca_en50221 *ca, int slot); 77 int (*slot_shutdown)(struct dvb_ca_en50221 *ca, int slot); 78 int (*slot_ts_enable)(struct dvb_ca_en50221 *ca, int slot); 132 struct dvb_ca_en50221 *ca, int flags, [all …]
|
/openbmc/linux/net/bluetooth/hidp/ |
H A D | sock.c | 52 struct hidp_connadd_req ca; in do_hidp_sock_ioctl() local 67 if (copy_from_user(&ca, argp, sizeof(ca))) in do_hidp_sock_ioctl() 79 ca.name[sizeof(ca.name)-1] = 0; in do_hidp_sock_ioctl() 82 if (!err && copy_to_user(argp, &ca, sizeof(ca))) in do_hidp_sock_ioctl() 186 ca.parser = ca32.parser; in hidp_sock_compat_ioctl() 187 ca.rd_size = ca32.rd_size; in hidp_sock_compat_ioctl() 189 ca.country = ca32.country; in hidp_sock_compat_ioctl() 191 ca.vendor = ca32.vendor; in hidp_sock_compat_ioctl() 192 ca.product = ca32.product; in hidp_sock_compat_ioctl() 193 ca.version = ca32.version; in hidp_sock_compat_ioctl() [all …]
|
/openbmc/openbmc/poky/meta/recipes-support/ca-certificates/ca-certificates/ |
H A D | 0002-update-ca-certificates-use-SYSROOT.patch | 10 sbin/update-ca-certificates | 14 +++++++------- 13 Index: git/sbin/update-ca-certificates 15 --- git.orig/sbin/update-ca-certificates 16 +++ git/sbin/update-ca-certificates 21 -CERTSCONF=/etc/ca-certificates.conf 22 -CERTSDIR=/usr/share/ca-certificates 23 -LOCALCERTSDIR=/usr/local/share/ca-certificates 24 +CERTSCONF=$SYSROOT/etc/ca-certificates.conf 25 +CERTSDIR=$SYSROOT/usr/share/ca-certificates 27 CERTBUNDLE=ca-certificates.crt [all …]
|