Home
last modified time | relevance | path

Searched refs:hs (Results 1 – 25 of 259) sorted by relevance

1234567891011

/freebsd/sys/netinet/tcp_stacks/
H A Dtailq_hash.c106 tqhash_min(struct tailq_hash *hs) in tqhash_min() argument
110 rsm = hs->rsm_min; in tqhash_min()
115 tqhash_max(struct tailq_hash *hs) in tqhash_max() argument
119 rsm = hs->rsm_max; in tqhash_max()
124 tqhash_empty(struct tailq_hash *hs) in tqhash_empty() argument
126 if (hs->count == 0) in tqhash_empty()
132 tqhash_find(struct tailq_hash *hs, uint32_t seq) in tqhash_find() argument
137 if ((SEQ_LT(seq, hs->min)) || in tqhash_find()
138 (hs->count == 0) || in tqhash_find()
139 (SEQ_GEQ(seq, hs->max))) { in tqhash_find()
[all …]
H A Dtailq_hash.h25 tqhash_min(struct tailq_hash *hs);
28 tqhash_max(struct tailq_hash *hs);
31 tqhash_empty(struct tailq_hash *hs);
34 tqhash_find(struct tailq_hash *hs, uint32_t seq);
37 tqhash_next(struct tailq_hash *hs, struct rack_sendmap *rsm);
40 tqhash_prev(struct tailq_hash *hs, struct rack_sendmap *rsm);
47 tqhash_remove(struct tailq_hash *hs, struct rack_sendmap *rsm, int type);
50 tqhash_insert(struct tailq_hash *hs, struct rack_sendmap *rsm);
53 tqhash_init(struct tailq_hash *hs);
56 tqhash_trim(struct tailq_hash *hs, uint32_t th_ack);
[all …]
/freebsd/sys/contrib/ck/src/
H A Dck_hs.c109 _ck_hs_next(struct ck_hs *hs, struct ck_hs_map *map, in _ck_hs_next() argument
121 if (hs->mode & CK_HS_MODE_OBJECT) in _ck_hs_next()
124 (void)hs; /* Avoid unused parameter warning. */ in _ck_hs_next()
146 ck_hs_next(struct ck_hs *hs, struct ck_hs_iterator *i, void **key) in ck_hs_next() argument
149 return _ck_hs_next(hs, hs->map, i, key); in ck_hs_next()
153 ck_hs_next_spmc(struct ck_hs *hs, struct ck_hs_iterator *i, void **key) in ck_hs_next_spmc() argument
158 m = i->map = ck_pr_load_ptr(&hs->map); in ck_hs_next_spmc()
161 return _ck_hs_next(hs, m, i, key); in ck_hs_next_spmc()
165 ck_hs_stat(struct ck_hs *hs, struct ck_hs_stat *st) in ck_hs_stat() argument
167 struct ck_hs_map *map = hs->map; in ck_hs_stat()
[all …]
H A Dck_rhs.c102 typedef long ck_rhs_probe_cb_t(struct ck_rhs *hs,
252 ck_rhs_set_load_factor(struct ck_rhs *hs, unsigned int load_factor) in ck_rhs_set_load_factor() argument
254 struct ck_rhs_map *map = hs->map; in ck_rhs_set_load_factor()
259 hs->load_factor = load_factor; in ck_rhs_set_load_factor()
260 map->max_entries = (map->capacity * (unsigned long)hs->load_factor) / 100; in ck_rhs_set_load_factor()
262 if (ck_rhs_grow(hs, map->capacity << 1) == false) in ck_rhs_set_load_factor()
264 map = hs->map; in ck_rhs_set_load_factor()
279 ck_rhs_next(struct ck_rhs *hs, struct ck_rhs_iterator *i, void **key) in ck_rhs_next() argument
281 struct ck_rhs_map *map = hs->map; in ck_rhs_next()
291 if (hs->mode & CK_RHS_MODE_OBJECT) in ck_rhs_next()
[all …]
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_sign/ed25519/ref10/
H A Dsign.c12 _crypto_sign_ed25519_ref10_hinit(crypto_hash_sha512_state *hs, int prehashed) in _crypto_sign_ed25519_ref10_hinit() argument
21 crypto_hash_sha512_init(hs); in _crypto_sign_ed25519_ref10_hinit()
23 crypto_hash_sha512_update(hs, DOM2PREFIX, sizeof DOM2PREFIX); in _crypto_sign_ed25519_ref10_hinit()
38 _crypto_sign_ed25519_synthetic_r_hv(crypto_hash_sha512_state *hs, in _crypto_sign_ed25519_synthetic_r_hv() argument
51 crypto_hash_sha512_update(hs, B, 32); in _crypto_sign_ed25519_synthetic_r_hv()
52 crypto_hash_sha512_update(hs, empty_labelset, 3); in _crypto_sign_ed25519_synthetic_r_hv()
54 crypto_hash_sha512_update(hs, Z, 32); in _crypto_sign_ed25519_synthetic_r_hv()
55 crypto_hash_sha512_update(hs, zeros, 128 - (32 + 3 + 32) % 128); in _crypto_sign_ed25519_synthetic_r_hv()
56 crypto_hash_sha512_update(hs, sk, 32); in _crypto_sign_ed25519_synthetic_r_hv()
57 crypto_hash_sha512_update(hs, zeros, 128 - 32 % 128); in _crypto_sign_ed25519_synthetic_r_hv()
[all …]
H A Dobsolete.c37 crypto_hash_sha512_state hs; in crypto_sign_edwards25519sha512batch() local
44 crypto_hash_sha512_init(&hs); in crypto_sign_edwards25519sha512batch()
45 crypto_hash_sha512_update(&hs, sk + 32, 32); in crypto_sign_edwards25519sha512batch()
46 crypto_hash_sha512_update(&hs, m, mlen); in crypto_sign_edwards25519sha512batch()
47 crypto_hash_sha512_final(&hs, nonce); in crypto_sign_edwards25519sha512batch()
53 crypto_hash_sha512_init(&hs); in crypto_sign_edwards25519sha512batch()
54 crypto_hash_sha512_update(&hs, sig, 32); in crypto_sign_edwards25519sha512batch()
55 crypto_hash_sha512_update(&hs, m, mlen); in crypto_sign_edwards25519sha512batch()
56 crypto_hash_sha512_final(&hs, hram); in crypto_sign_edwards25519sha512batch()
H A Dopen.c20 crypto_hash_sha512_state hs; in _crypto_sign_ed25519_verify_detached() local
43 _crypto_sign_ed25519_ref10_hinit(&hs, prehashed); in _crypto_sign_ed25519_verify_detached()
44 crypto_hash_sha512_update(&hs, sig, 32); in _crypto_sign_ed25519_verify_detached()
45 crypto_hash_sha512_update(&hs, pk, 32); in _crypto_sign_ed25519_verify_detached()
46 crypto_hash_sha512_update(&hs, m, mlen); in _crypto_sign_ed25519_verify_detached()
47 crypto_hash_sha512_final(&hs, h); in _crypto_sign_ed25519_verify_detached()
/freebsd/tools/tools/ath/athsurvey/
H A Dathsurvey.c52 get_survey_stats(int s, const char *ifname, HAL_CHANNEL_SURVEY *hs) in get_survey_stats() argument
63 atd.ad_out_data = (caddr_t) hs; in get_survey_stats()
74 process_survey_stats(HAL_CHANNEL_SURVEY *hs) in process_survey_stats() argument
89 if (hs->samples[i].cycle_count == 0) in process_survey_stats()
96 cycle_count = hs->samples[i].cycle_count; in process_survey_stats()
103 tx = (float) hs->samples[i].tx_busy * 100.0 / in process_survey_stats()
104 hs->samples[i].cycle_count; in process_survey_stats()
105 rx = (float) hs->samples[i].rx_busy * 100.0 / in process_survey_stats()
106 hs->samples[i].cycle_count; in process_survey_stats()
107 cc = (float) hs->samples[i].chan_busy * 100.0 / in process_survey_stats()
[all …]
/freebsd/usr.bin/ruptime/
H A Druptime.c46 static struct hs { struct
49 } *hs; variable
151 #define HS(a) ((const struct hs *)(a))
180 struct hs *hsp; in ruptime()
205 if ((hs = in ruptime()
206 realloc(hs, (hspace += 40) * sizeof(*hs))) == NULL) in ruptime()
208 hsp = hs + nhosts; in ruptime()
249 qsort(hs, nhosts, sizeof(hs[0]), cmp); in ruptime()
254 hsp = &hs[i]; in ruptime()
273 free(hs); in ruptime()
[all …]
/freebsd/sys/dev/wg/
H A Dwg_noise.c950 struct noise_handshake *hs = &r->r_handshake; in noise_create_initiation() local
961 noise_param_init(hs->hs_ck, hs->hs_hash, r->r_public); in noise_create_initiation()
964 curve25519_generate_secret(hs->hs_e); in noise_create_initiation()
965 if (curve25519_generate_public(ue, hs->hs_e) == 0) in noise_create_initiation()
967 noise_msg_ephemeral(hs->hs_ck, hs->hs_hash, ue); in noise_create_initiation()
970 if (noise_mix_dh(hs->hs_ck, key, hs->hs_e, r->r_public) != 0) in noise_create_initiation()
975 NOISE_PUBLIC_KEY_LEN, key, hs->hs_hash); in noise_create_initiation()
978 if (noise_mix_ss(hs->hs_ck, key, r->r_ss) != 0) in noise_create_initiation()
984 NOISE_TIMESTAMP_LEN, key, hs->hs_hash); in noise_create_initiation()
1006 struct noise_handshake hs; in noise_consume_initiation() local
[all …]
/freebsd/contrib/libfido2/tools/
H A Dtest.sh82 make_cred no.tld "-h" wrap-hs
83 ! verify_cred "--" wrap-hs /dev/null /dev/null
84 verify_cred "-h" wrap-hs wrap-hs-cred wrap-hs-pubkey
85 ! verify_cred "-v" wrap-hs /dev/null /dev/null
86 verify_cred "-hc0" wrap-hs /dev/null /dev/null
87 ! verify_cred "-c0" wrap-hs /dev/null /dev/null
88 ! verify_cred "-c1" wrap-hs /dev/null /dev/null
89 ! verify_cred "-c2" wrap-hs /dev/null /dev/null
90 ! verify_cred "-c3" wrap-hs /dev/null /dev/null
103 make_cred no.tld "-hr" rk-hs
[all …]
/freebsd/sys/contrib/device-tree/src/arm/st/
H A Dstm32mp135f-dhcor-dhsbc.dts387 st,decrease-hs-slew-rate;
388 st,tune-hs-dc-level = <2>;
389 st,enable-hs-rftime-reduction;
390 st,trim-hs-current = <11>;
391 st,trim-hs-impedance = <2>;
393 st,enable-hs-rx-gain-eq;
394 st,no-hs-ftime-ctrl;
405 st,decrease-hs-slew-rate;
406 st,tune-hs-dc-level = <2>;
407 st,enable-hs-rftime-reduction;
[all …]
H A Dstm32mp135f-dk.dts528 st,decrease-hs-slew-rate;
529 st,tune-hs-dc-level = <2>;
530 st,enable-hs-rftime-reduction;
531 st,trim-hs-current = <11>;
532 st,trim-hs-impedance = <2>;
534 st,enable-hs-rx-gain-eq;
535 st,no-hs-ftime-ctrl;
542 st,decrease-hs-slew-rate;
543 st,tune-hs-dc-level = <2>;
544 st,enable-hs-rftime-reduction;
[all …]
H A Dstm32mp157c-ev1.dts389 st,tune-hs-dc-level = <2>;
391 st,enable-hs-rftime-reduction;
392 st,trim-hs-current = <15>;
393 st,trim-hs-impedance = <1>;
395 st,tune-hs-rx-offset = <2>;
405 st,tune-hs-dc-level = <2>;
407 st,enable-hs-rftime-reduction;
408 st,trim-hs-current = <15>;
409 st,trim-hs-impedance = <1>;
411 st,tune-hs
[all...]
/freebsd/sys/net80211/
H A Dieee80211_hwmp.c256 struct ieee80211_hwmp_state *hs; in hwmp_vattach() local
261 hs = IEEE80211_MALLOC(sizeof(struct ieee80211_hwmp_state), M_80211_VAP, in hwmp_vattach()
263 if (hs == NULL) { in hwmp_vattach()
267 hs->hs_maxhops = IEEE80211_HWMP_DEFAULT_MAXHOPS; in hwmp_vattach()
268 callout_init(&hs->hs_roottimer, 1); in hwmp_vattach()
269 vap->iv_hwmp = hs; in hwmp_vattach()
275 struct ieee80211_hwmp_state *hs = vap->iv_hwmp; in hwmp_vdetach() local
277 callout_drain(&hs->hs_roottimer); in hwmp_vdetach()
286 struct ieee80211_hwmp_state *hs = vap->iv_hwmp; in hwmp_newstate() local
293 callout_drain(&hs->hs_roottimer); in hwmp_newstate()
[all …]
/freebsd/sys/contrib/libsodium/src/libsodium/crypto_sign/ed25519/
H A Dsign_ed25519.c63 crypto_hash_sha512_init(&state->hs); in crypto_sign_ed25519ph_init()
71 return crypto_hash_sha512_update(&state->hs, m, mlen); in crypto_sign_ed25519ph_update()
82 crypto_hash_sha512_final(&state->hs, ph); in crypto_sign_ed25519ph_final_create()
94 crypto_hash_sha512_final(&state->hs, ph); in crypto_sign_ed25519ph_final_verify()
/freebsd/sys/contrib/device-tree/Bindings/phy/
H A Dqcom,usb-hs-phy.txt8 Definition: Should contain "qcom,usb-hs-phy" and more specifically one of the
11 "qcom,usb-hs-phy-apq8064"
12 "qcom,usb-hs-phy-msm8916"
13 "qcom,usb-hs-phy-msm8974"
72 compatible = "qcom,usb-hs-phy-msm8974", "qcom,usb-hs-phy";
/freebsd/contrib/ntp/sntp/ag-tpl/0-old/
H A Dmdoc2texi67 Mdoc::def_macro( '.Ss', sub { "\@subsubsection", hs, @_ });
70 "\@node", hs, "$name\n", ns, "\@subsection", hs, $name
72 Mdoc::def_macro( '.Ss', sub { "\@subsubsection", hs, @_ });
132 Mdoc::def_macro('.It', sub { '@item', hs, @_ });
H A Dmdoc2man20 Mdoc::def_macro( '.Sh', sub { '.SH', hs, @_ }, raw => 1);
21 Mdoc::def_macro( '.Ss', sub { '.SS', hs, @_ }, raw => 1);
99 my @ret = (".TP$width\n.NOP", hs);
111 ".TP$width\n.NOP", hs, @_
/freebsd/sys/crypto/openssl/arm/
H A Dchacha-armv4.S245 itt hs
253 itt hs
264 itt hs
271 itt hs
283 itt hs
290 itt hs
301 itt hs
308 itt hs
323 itt hs
335 itt hs
[all …]
/freebsd/sys/contrib/ck/include/
H A Dck_hs.h114 ck_hs_hash(const struct ck_hs *hs, const void *k) in ck_hs_hash() argument
117 return hs->hf(k, hs->seed); in ck_hs_hash()
/freebsd/usr.bin/logger/
H A Dlogger.c247 char *p, *p0, *hs, *hbuf, *sbuf; in socksetup() local
253 hs = p0; /* point to search ":" */ in socksetup()
262 hs = p + 1; in socksetup()
267 p = ((p0 + 1) == (hs - 1)) ? hs : p0 + 1; in socksetup()
272 hbuf = (p == hs && *p == ':') ? NULL : p; in socksetup()
273 p = strchr(hs, ':'); in socksetup()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DFormatString.h358 : start(amountStart), length(amountLength), hs(howSpecified), amt(amount), in OptionalAmount()
362 : start(nullptr),length(0), hs(valid ? NotSpecified : Invalid), amt(0), in start()
366 : start(nullptr), length(0), hs(Constant), amt(Amount), in OptionalAmount()
370 return hs == Invalid; in isInvalid()
373 HowSpecified getHowSpecified() const { return hs; } in getHowSpecified()
374 void setHowSpecified(HowSpecified h) { hs = h; } in setHowSpecified()
376 bool hasDataArgument() const { return hs == Arg; } in hasDataArgument()
384 assert(hs == Constant); in getConstantAmount()
394 assert(hs == Constant); in getConstantLength()
414 HowSpecified hs; variable
/freebsd/contrib/ntp/sntp/ag-tpl/
H A Dmdoc2man46 Mdoc::def_macro( '.Sh', sub { '.SH', hs, @_ }, raw => 1);
47 Mdoc::def_macro( '.Ss', sub { '.SS', hs, @_ }, raw => 1);
125 my @ret = (".TP$width\n.NOP", hs);
137 ".TP$width\n.NOP", hs, @_
/freebsd/sys/contrib/device-tree/src/arm64/tesla/
H A Dfsd-pinctrl.dtsi252 hs_i2c0_bus: hs-i2c0-bus-pins {
259 hs_i2c1_bus: hs-i2c1-bus-pins {
266 hs_i2c2_bus: hs-i2c2-bus-pins {
273 hs_i2c3_bus: hs-i2c3-bus-pins {
280 hs_i2c4_bus: hs-i2c4-bus-pins {
287 hs_i2c5_bus: hs-i2c5-bus-pins {
294 hs_i2c6_bus: hs-i2c6-bus-pins {
301 hs_i2c7_bus: hs-i2c7-bus-pins {

1234567891011