Home
last modified time | relevance | path

Searched refs:cw (Results 1 – 25 of 72) sorted by relevance

123

/freebsd/sys/crypto/via/
H A Dpadlock_cipher.c81 padlock_cbc(void *in, void *out, size_t count, void *key, union padlock_cw *cw, in padlock_cbc() argument
91 : "b" (key), "d" (cw) in padlock_cbc()
99 union padlock_cw *cw; in padlock_cipher_key_setup() local
102 cw = &ses->ses_cw; in padlock_cipher_key_setup()
103 if (cw->cw_key_generation == PADLOCK_KEY_GENERATION_SW) { in padlock_cipher_key_setup()
121 union padlock_cw *cw; in padlock_cipher_setup() local
128 cw = &ses->ses_cw; in padlock_cipher_setup()
129 bzero(cw, sizeof(*cw)); in padlock_cipher_setup()
130 cw->cw_algorithm_type = PADLOCK_ALGORITHM_TYPE_AES; in padlock_cipher_setup()
131 cw->cw_key_generation = PADLOCK_KEY_GENERATION_SW; in padlock_cipher_setup()
[all …]
/freebsd/usr.bin/sockstat/
H A Dmain.c1212 calculate_sock_column_widths(struct col_widths *cw, struct sock *s) in calculate_sock_column_widths() argument
1226 cw->proto = MAX(cw->proto, len); in calculate_sock_column_widths()
1235 cw->local_addr = MAX(cw->local_addr, len); in calculate_sock_column_widths()
1237 cw->foreign_addr = MAX(cw->foreign_addr, len); in calculate_sock_column_widths()
1241 cw->local_addr = MAX(cw->local_addr, len); in calculate_sock_column_widths()
1245 cw->foreign_addr = MAX(cw->foreign_addr, len); in calculate_sock_column_widths()
1250 cw->fib = MAX(cw->fib, len); in calculate_sock_column_widths()
1261 cw->splice_address = MAX( in calculate_sock_column_widths()
1262 cw->splice_address, len); in calculate_sock_column_widths()
1271 cw->inp_gencnt = MAX(cw->inp_gencnt, len); in calculate_sock_column_widths()
[all …]
/freebsd/contrib/nvi/common/
H A Dconv.c50 raw2int(SCR *sp, const char * str, ssize_t len, CONVWIN *cw, size_t *tolen, in raw2int() argument
54 CHAR_T **tostr = &cw->bp1.wc; in raw2int()
55 size_t *blen = &cw->blen1; in raw2int()
63 *dst = cw->bp1.wc; in raw2int()
101 default_char2int(SCR *sp, const char * str, ssize_t len, CONVWIN *cw, in default_char2int() argument
105 CHAR_T **tostr = &cw->bp1.wc; in default_char2int()
106 size_t *blen = &cw->blen1; in default_char2int()
148 *dst = cw->bp1.wc; in default_char2int()
155 fe_char2int(SCR *sp, const char * str, ssize_t len, CONVWIN *cw, size_t *tolen, in fe_char2int() argument
158 return default_char2int(sp, str, len, cw, tolen, dst, in fe_char2int()
[all …]
H A Dkey.h16 sp->conv.int2file(sp, w, wlen, &sp->cw, &nlen, &n)
20 sp->conv.int2sys(sp, w, wlen, &sp->cw, &nlen, &n)
21 #define INPUT2INT5(sp,cw,n,nlen,w,wlen) \ argument
22 sp->conv.input2int(sp, n, nlen, &(cw), &wlen, &w)
44 FILE2INT5(sp,sp->cw,n,nlen,w,wlen)
46 CHAR2INT5(sp,sp->cw,n,nlen,w,wlen)
/freebsd/contrib/ntp/sntp/libevent/test/
H A Dregress_thread.c77 struct cond_wait *cw = arg; in wake_all_timeout() local
78 EVLOCK_LOCK(cw->lock, 0); in wake_all_timeout()
79 EVTHREAD_COND_BROADCAST(cw->cond); in wake_all_timeout()
80 EVLOCK_UNLOCK(cw->lock, 0); in wake_all_timeout()
87 struct cond_wait *cw = arg; in wake_one_timeout() local
88 EVLOCK_LOCK(cw->lock, 0); in wake_one_timeout()
89 EVTHREAD_COND_SIGNAL(cw->cond); in wake_one_timeout()
90 EVLOCK_UNLOCK(cw->lock, 0); in wake_one_timeout()
101 struct cond_wait cw; in basic_thread() local
106 EVTHREAD_ALLOC_LOCK(cw.lock, 0); in basic_thread()
[all …]
/freebsd/contrib/libevent/test/
H A Dregress_thread.c77 struct cond_wait *cw = arg; in wake_all_timeout() local
78 EVLOCK_LOCK(cw->lock, 0); in wake_all_timeout()
79 EVTHREAD_COND_BROADCAST(cw->cond); in wake_all_timeout()
80 EVLOCK_UNLOCK(cw->lock, 0); in wake_all_timeout()
87 struct cond_wait *cw = arg; in wake_one_timeout() local
88 EVLOCK_LOCK(cw->lock, 0); in wake_one_timeout()
89 EVTHREAD_COND_SIGNAL(cw->cond); in wake_one_timeout()
90 EVLOCK_UNLOCK(cw->lock, 0); in wake_one_timeout()
101 struct cond_wait cw; in basic_thread() local
106 EVTHREAD_ALLOC_LOCK(cw.lock, 0); in basic_thread()
[all …]
/freebsd/release/
H A DMakefile.vm117 CLOUDTARGETS+= cw-${_CW:tl}-${_FS}-${_FMT}
118 CLEANDIRS+= cw-${_CW:tl}-${_FS}-${_FMT}
127 cw-${_CW:tl}-${_FS}-${_FMT}: cw-ec2-base-${_FS}-${_FMT}
134 cw-${_CW:tl}-${_FS}-${_FMT}: ftp
137 cw-${_CW:tl}-${_FS}-${_FMT}: ${QEMUTGT} ${PKGBASE_REPO_DIR}
164 CLOUDTARGETS+= cw-${_CW:tl}-${_FMT}
167 cw-${_CW:tl}-${_FMT}: cw-${_CW:tl}-${VMFS}-${_FMT}
174 cw-${_CW:tl}-${_FS}: cw-${_CW:tl}-${_FS}-${${_CW:tu}_FORMAT:[1]}
177 cw-${_CW:tl}: cw-${_CW:tl}-${${_CW:tu}_FORMAT:[1]}
H A DMakefile.ec239 CW_EC2_PORTINSTALL= cw-ec2-portinstall
45 cw-ec2-portinstall:
70 ec2ami-${_FL}-${_FS}: cw-ec2-${_FL}-${_FS} ${CW_EC2_PORTINSTALL}
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/i386/
H A Dfp_mode.c19 unsigned short cw; in __fe_getround() local
20 __asm__ __volatile__ ("fnstcw %0" : "=m" (cw)); in __fe_getround()
22 switch (cw & X87_RMODE_MASK) { in __fe_getround()
/freebsd/sys/netinet/cc/
H A Dcc.c512 u_int cw = CCV(ccv, snd_cwnd); in newreno_cc_cwnd_in_cong_avoid() local
515 KASSERT(cw > CCV(ccv, snd_ssthresh), in newreno_cc_cwnd_in_cong_avoid()
541 incr = max((incr * incr / cw), 1); in newreno_cc_cwnd_in_cong_avoid()
544 return min(cw + incr, TCP_MAXWIN << CCV(ccv, snd_scale)); in newreno_cc_cwnd_in_cong_avoid()
546 return cw; in newreno_cc_cwnd_in_cong_avoid()
552 u_int cw = CCV(ccv, snd_cwnd); in newreno_cc_cwnd_in_slow_start() local
556 KASSERT(cw <= CCV(ccv, snd_ssthresh), in newreno_cc_cwnd_in_slow_start()
598 return min(cw + incr, TCP_MAXWIN << CCV(ccv, snd_scale)); in newreno_cc_cwnd_in_slow_start()
600 return cw; in newreno_cc_cwnd_in_slow_start()
H A Dcc_newreno.c223 u_int cw = CCV(ccv, snd_cwnd); in newreno_ack_received() local
253 if (cw > CCV(ccv, snd_ssthresh)) { in newreno_ack_received()
271 incr = max((incr * incr / cw), 1); in newreno_ack_received()
340 CCV(ccv, snd_cwnd) = min(cw + incr, in newreno_ack_received()
/freebsd/sys/dev/ath/ath_rate/sample/
H A Dsample.h144 int cw = WIFI_CW_MIN; in calc_usecs_unicast_packet() local
232 cw = MIN(WIFI_CW_MAX, (cw + 1) * 2); in calc_usecs_unicast_packet()
233 tt += (t_slot * cw/2); in calc_usecs_unicast_packet()
/freebsd/contrib/bearssl/src/symcipher/
H A Dchacha20_sse2.c72 __m128i iw, cw; in br_chacha20_sse2_run() local
85 cw = _mm_loadu_si128((const void *)CW); in br_chacha20_sse2_run()
95 s0 = cw; in br_chacha20_sse2_run()
173 s0 = _mm_add_epi32(s0, cw); in br_chacha20_sse2_run()
/freebsd/lib/libkvm/
H A Dkvm.c430 ssize_t cw; in kvm_write() local
470 cw = write(kd->pmfd, cp, cc); in kvm_write()
471 if (cw < 0) { in kvm_write()
480 if (cw == 0) in kvm_write()
482 cp += cw; in kvm_write()
483 kva += cw; in kvm_write()
484 len -= cw; in kvm_write()
/freebsd/sys/dev/sound/pci/hda/
H A Dhdaa.c1160 struct hdaa_widget *w, *cw; in hdaa_sysctl_caps() local
1232 cw = hdaa_widget_get(devinfo, w->conns[j]); in hdaa_sysctl_caps()
1235 w->conns[j], (cw == NULL) ? "GHOST!" : cw->name); in hdaa_sysctl_caps()
1236 if (cw == NULL) in hdaa_sysctl_caps()
1238 else if (cw->enable == 0) in hdaa_sysctl_caps()
2253 struct hdaa_widget *w, *cw; in hdaa_audio_ctl_ossmixer_init() local
2322 cw = hdaa_widget_get(devinfo, w->conns[j]); in hdaa_audio_ctl_ossmixer_init()
2323 if (cw == NULL || cw in hdaa_audio_ctl_ossmixer_init()
2529 struct hdaa_widget *w, *cw; hdaa_audio_ctl_dev_volume() local
2710 struct hdaa_widget *w, *cw; hdaa_audio_ctl_recsel_comm() local
3028 struct hdaa_widget *w, *cw; hdaa_audio_ctl_parse() local
4218 struct hdaa_widget *w, *cw; hdaa_audio_disable_useless() local
4352 struct hdaa_widget *w, *cw; hdaa_audio_disable_unas() local
4481 struct hdaa_widget *w, *cw; hdaa_audio_disable_crossas() local
5017 struct hdaa_widget *w, *cw; hdaa_audio_assign_mixers() local
5864 struct hdaa_widget *w, *cw; hdaa_dump_nodes() local
5960 struct hdaa_widget *w, *cw; hdaa_dump_dst_nid() local
[all...]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/zstream/test-stream-creation-scripts/
H A Dmake-decompression-streams.sh45 zfs send -cw test/unencrypted@decompression > /tmp/decompression.zsend
46 zfs send -cw test/encrypted@decompression > /tmp/decompression-crypt.zsend
/freebsd/contrib/wpa/src/common/
H A Dieee802_11_common.c1419 static int valid_cw(int cw) in valid_cw() argument
1421 return (cw == 1 || cw == 3 || cw == 7 || cw == 15 || cw == 31 || in valid_cw()
1422 cw == 63 || cw == 127 || cw == 255 || cw == 511 || cw == 1023 || in valid_cw()
1423 cw == 2047 || cw == 4095 || cw == 8191 || cw == 16383 || in valid_cw()
1424 cw == 32767); in valid_cw()
1746 int cw = CHAN_WIDTH_UNKNOWN; in ieee80211_chaninfo_to_channel() local
1753 cw = CONF_OPER_CHWIDTH_USE_HT; in ieee80211_chaninfo_to_channel()
1756 cw = CONF_OPER_CHWIDTH_80MHZ; in ieee80211_chaninfo_to_channel()
1759 cw = CONF_OPER_CHWIDTH_80P80MHZ; in ieee80211_chaninfo_to_channel()
1762 cw = CONF_OPER_CHWIDTH_160MHZ; in ieee80211_chaninfo_to_channel()
[all …]
/freebsd/contrib/less/
H A Dline.c366 static void addstr_linebuf(constant char *s, int attr, int cw) in addstr_linebuf() argument
369 add_linebuf(*s, attr, cw); in addstr_linebuf()
1585 int cw = 0; in col_vs_pos() local
1606 cw = (int) strlen(prchar(ch)); in col_vs_pos()
1608 cw = (utf_mode && is_wide_char(prev_ch)) ? -2 : -1; in col_vs_pos()
1612 cw = (int) strlen(prchar(ch)); in col_vs_pos()
1614 cw = tab_spaces(col); in col_vs_pos()
1617 cw = (int) strlen(prchar(ch)); in col_vs_pos()
1629 cw = strlen(utf_mode ? prutfchar(wch) : prchar(wch)); in col_vs_pos()
1631 cw = (int) strlen(prutfchar(wch)); in col_vs_pos()
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/
H A Dtestmode.c203 u16 cw = 0; in mt7915_tm_set_ipg_params() local
219 cw++; in mt7915_tm_set_ipg_params()
221 if (cw > 16) in mt7915_tm_set_ipg_params()
222 cw = 16; in mt7915_tm_set_ipg_params()
224 ipg -= ((1 << cw) - 1) * slot_time; in mt7915_tm_set_ipg_params()
251 aifsn, cw, cw, 0); in mt7915_tm_set_ipg_params()
/freebsd/usr.bin/column/
H A Dcolumn.c336 int w, cw; in width() local
339 if ((cw = wcwidth(*wcs)) > 0) in width()
340 w += cw; in width()
/freebsd/usr.bin/login/
H A Dlogin.c610 const char *cw; in main() local
612 cw = login_getcapstr(lc, "welcome", NULL, NULL); in main()
613 if (cw != NULL && access(cw, F_OK) == 0) in main()
614 motd(cw); in main()
/freebsd/contrib/nvi/cl/
H A Dcl_screen.c551 free(clp->cw.bp1.c); in cl_freecap()
552 clp->cw.bp1.c = NULL; in cl_freecap()
553 clp->cw.blen1 = 0; in cl_freecap()
H A Dcl.h23 CONVWIN cw; /* Conversion buffer. */ member
/freebsd/contrib/wpa/wpa_supplicant/
H A Dscan.c2233 static int wpas_channel_width_offset(enum chan_width cw) in wpas_channel_width_offset() argument
2235 switch (cw) { in wpas_channel_width_offset()
2271 enum chan_width cw) in wpas_channel_width_tx_pwr() argument
2273 int offset = wpas_channel_width_offset(cw); in wpas_channel_width_tx_pwr()
2356 enum chan_width cw) in wpas_channel_width_rssi_bump() argument
2360 int max_cw_tx_pwr = wpas_channel_width_tx_pwr(ies, ies_len, cw); in wpas_channel_width_rssi_bump()
3044 static unsigned int get_eht_punctured_rate(enum chan_width cw, in get_eht_punctured_rate() argument
3050 switch (cw) { in get_eht_punctured_rate()
3225 u8 cw = ie[2] & VHT_OPMODE_CHANNEL_WIDTH_MASK; in wpas_get_est_tpt() local
3229 if (cw) in wpas_get_est_tpt()
[all …]
/freebsd/bin/sh/tests/parser/
H A Ddollar-quote5.06 [ $'\ca\cb\cc\cd\ce\cf\cg\ch\ci\cj\ck\cl\cm\cn\co\cp\cq\cr\cs\ct\cu\cv\cw\cx\cy\cz' = $'\001\002\00…

123