Symbol: helper
crypto/openssh/ssh-pkcs11-client.c
107
static struct helper *
crypto/openssh/ssh-pkcs11-client.c
125
helper_free(struct helper *helper)
crypto/openssh/ssh-pkcs11-client.c
130
if (helper == NULL)
crypto/openssh/ssh-pkcs11-client.c
132
if (helper->path == NULL || helper->ec_meth == NULL ||
crypto/openssh/ssh-pkcs11-client.c
133
helper->rsa_meth == NULL)
crypto/openssh/ssh-pkcs11-client.c
135
debug3_f("free helper for provider %s", helper->path);
crypto/openssh/ssh-pkcs11-client.c
137
if (helpers[i] == helper) {
crypto/openssh/ssh-pkcs11-client.c
150
free(helper->path);
crypto/openssh/ssh-pkcs11-client.c
152
EC_KEY_METHOD_free(helper->ec_meth);
crypto/openssh/ssh-pkcs11-client.c
154
RSA_meth_free(helper->rsa_meth);
crypto/openssh/ssh-pkcs11-client.c
155
free(helper);
crypto/openssh/ssh-pkcs11-client.c
159
helper_terminate(struct helper *helper)
crypto/openssh/ssh-pkcs11-client.c
161
if (helper == NULL) {
crypto/openssh/ssh-pkcs11-client.c
163
} else if (helper->fd == -1) {
crypto/openssh/ssh-pkcs11-client.c
168
helper->path, helper->nrsa, helper->nec);
crypto/openssh/ssh-pkcs11-client.c
169
close(helper->fd);
crypto/openssh/ssh-pkcs11-client.c
171
helper->fd = -1;
crypto/openssh/ssh-pkcs11-client.c
172
helper->pid = -1;
crypto/openssh/ssh-pkcs11-client.c
179
if (helper->nrsa == 0 && helper->nec == 0)
crypto/openssh/ssh-pkcs11-client.c
180
helper_free(helper);
crypto/openssh/ssh-pkcs11-client.c
260
struct helper *helper;
crypto/openssh/ssh-pkcs11-client.c
262
if ((helper = helper_by_rsa(rsa)) == NULL || helper->fd == -1)
crypto/openssh/ssh-pkcs11-client.c
264
debug3_f("signing with PKCS11 provider %s", helper->path);
crypto/openssh/ssh-pkcs11-client.c
289
send_msg(helper->fd, msg);
crypto/openssh/ssh-pkcs11-client.c
292
if (recv_msg(helper->fd, msg) == SSH2_AGENT_SIGN_RESPONSE) {
crypto/openssh/ssh-pkcs11-client.c
311
struct helper *helper;
crypto/openssh/ssh-pkcs11-client.c
313
if ((helper = helper_by_rsa(rsa)) == NULL)
crypto/openssh/ssh-pkcs11-client.c
315
debug3_f("free PKCS11 RSA key for provider %s", helper->path);
crypto/openssh/ssh-pkcs11-client.c
316
if (helper->rsa_finish != NULL)
crypto/openssh/ssh-pkcs11-client.c
317
helper->rsa_finish(rsa);
crypto/openssh/ssh-pkcs11-client.c
318
if (helper->nrsa == 0)
crypto/openssh/ssh-pkcs11-client.c
320
helper->nrsa--;
crypto/openssh/ssh-pkcs11-client.c
322
helper->path, helper->nrsa, helper->nec);
crypto/openssh/ssh-pkcs11-client.c
323
if (helper->nrsa == 0 && helper->nec == 0)
crypto/openssh/ssh-pkcs11-client.c
324
helper_terminate(helper);
crypto/openssh/ssh-pkcs11-client.c
340
struct helper *helper;
crypto/openssh/ssh-pkcs11-client.c
342
if ((helper = helper_by_ec(ec)) == NULL || helper->fd == -1)
crypto/openssh/ssh-pkcs11-client.c
344
debug3_f("signing with PKCS11 provider %s", helper->path);
crypto/openssh/ssh-pkcs11-client.c
373
send_msg(helper->fd, msg);
crypto/openssh/ssh-pkcs11-client.c
376
if (recv_msg(helper->fd, msg) == SSH2_AGENT_SIGN_RESPONSE) {
crypto/openssh/ssh-pkcs11-client.c
394
struct helper *helper;
crypto/openssh/ssh-pkcs11-client.c
396
if ((helper = helper_by_ec(ec)) == NULL)
crypto/openssh/ssh-pkcs11-client.c
398
debug3_f("free PKCS11 ECDSA key for provider %s", helper->path);
crypto/openssh/ssh-pkcs11-client.c
399
if (helper->ec_finish != NULL)
crypto/openssh/ssh-pkcs11-client.c
400
helper->ec_finish(ec);
crypto/openssh/ssh-pkcs11-client.c
401
if (helper->nec == 0)
crypto/openssh/ssh-pkcs11-client.c
403
helper->nec--;
crypto/openssh/ssh-pkcs11-client.c
405
helper->path, helper->nrsa, helper->nec);
crypto/openssh/ssh-pkcs11-client.c
406
if (helper->nrsa == 0 && helper->nec == 0)
crypto/openssh/ssh-pkcs11-client.c
407
helper_terminate(helper);
crypto/openssh/ssh-pkcs11-client.c
413
wrap_key(struct helper *helper, struct sshkey *k)
crypto/openssh/ssh-pkcs11-client.c
418
debug3_f("wrap %s for provider %s", sshkey_type(k), helper->path);
crypto/openssh/ssh-pkcs11-client.c
422
if (RSA_set_method(rsa, helper->rsa_meth) != 1)
crypto/openssh/ssh-pkcs11-client.c
424
if (helper->nrsa++ >= INT_MAX)
crypto/openssh/ssh-pkcs11-client.c
433
if (EC_KEY_set_method(ecdsa, helper->ec_meth) != 1)
crypto/openssh/ssh-pkcs11-client.c
435
if (helper->nec++ >= INT_MAX)
crypto/openssh/ssh-pkcs11-client.c
445
helper->path, helper->nrsa, helper->nec);
crypto/openssh/ssh-pkcs11-client.c
456
struct helper *helper = NULL;
crypto/openssh/ssh-pkcs11-client.c
477
if ((helper = helper_by_rsa(rsa_priv)) == NULL ||
crypto/openssh/ssh-pkcs11-client.c
478
helper->fd == -1)
crypto/openssh/ssh-pkcs11-client.c
484
if (RSA_set_method(rsa_cert, helper->rsa_meth) != 1)
crypto/openssh/ssh-pkcs11-client.c
486
if (helper->nrsa++ >= INT_MAX)
crypto/openssh/ssh-pkcs11-client.c
496
if ((helper = helper_by_ec(ec_priv)) == NULL ||
crypto/openssh/ssh-pkcs11-client.c
497
helper->fd == -1)
crypto/openssh/ssh-pkcs11-client.c
503
if (EC_KEY_set_method(ec_cert, helper->ec_meth) != 1)
crypto/openssh/ssh-pkcs11-client.c
505
if (helper->nec++ >= INT_MAX)
crypto/openssh/ssh-pkcs11-client.c
520
helper->path, helper->nrsa, helper->nec);
crypto/openssh/ssh-pkcs11-client.c
527
pkcs11_start_helper_methods(struct helper *helper)
crypto/openssh/ssh-pkcs11-client.c
544
EC_KEY_METHOD_get_init(ec_meth, &ec_init, &helper->ec_finish,
crypto/openssh/ssh-pkcs11-client.c
552
helper->rsa_finish = RSA_meth_get_finish(rsa_meth);
crypto/openssh/ssh-pkcs11-client.c
558
helper->ec_meth = ec_meth;
crypto/openssh/ssh-pkcs11-client.c
559
helper->rsa_meth = rsa_meth;
crypto/openssh/ssh-pkcs11-client.c
563
static struct helper *
crypto/openssh/ssh-pkcs11-client.c
568
struct helper *helper;
crypto/openssh/ssh-pkcs11-client.c
578
helper = xcalloc(1, sizeof(*helper));
crypto/openssh/ssh-pkcs11-client.c
579
if (pkcs11_start_helper_methods(helper) == -1) {
crypto/openssh/ssh-pkcs11-client.c
588
RSA_meth_free(helper->rsa_meth);
crypto/openssh/ssh-pkcs11-client.c
590
EC_KEY_METHOD_free(helper->ec_meth);
crypto/openssh/ssh-pkcs11-client.c
592
free(helper);
crypto/openssh/ssh-pkcs11-client.c
614
helper->fd = pair[0];
crypto/openssh/ssh-pkcs11-client.c
615
helper->path = xstrdup(path);
crypto/openssh/ssh-pkcs11-client.c
616
helper->pid = pid;
crypto/openssh/ssh-pkcs11-client.c
618
helper->path, helper->fd, (long)helper->pid);
crypto/openssh/ssh-pkcs11-client.c
621
helpers[nhelpers++] = helper;
crypto/openssh/ssh-pkcs11-client.c
622
return helper;
crypto/openssh/ssh-pkcs11-client.c
636
struct helper *helper;
crypto/openssh/ssh-pkcs11-client.c
638
if ((helper = helper_by_provider(name)) == NULL &&
crypto/openssh/ssh-pkcs11-client.c
639
(helper = pkcs11_start_helper(name)) == NULL)
crypto/openssh/ssh-pkcs11-client.c
648
send_msg(helper->fd, msg);
crypto/openssh/ssh-pkcs11-client.c
651
type = recv_msg(helper->fd, msg);
crypto/openssh/ssh-pkcs11-client.c
665
wrap_key(helper, k);
crypto/openssh/ssh-pkcs11-client.c
686
struct helper *helper;
crypto/openssh/ssh-pkcs11-client.c
693
if ((helper = helper_by_provider(name)) != NULL)
crypto/openssh/ssh-pkcs11-client.c
694
helper_terminate(helper);
crypto/openssh/ssh-pkcs11-client.c
72
static struct helper **helpers;
crypto/openssh/ssh-pkcs11-client.c
75
static struct helper *
crypto/openssh/ssh-pkcs11-client.c
90
static struct helper *
crypto/openssh/ssh-sk-client.c
52
char *helper, *verbosity = NULL;
crypto/openssh/ssh-sk-client.c
58
helper = getenv("SSH_SK_HELPER");
crypto/openssh/ssh-sk-client.c
59
if (helper == NULL || strlen(helper) == 0)
crypto/openssh/ssh-sk-client.c
60
helper = _PATH_SSH_SK_HELPER;
crypto/openssh/ssh-sk-client.c
61
if (access(helper, X_OK) != 0) {
crypto/openssh/ssh-sk-client.c
63
error_f("helper \"%s\" unusable: %s", helper, strerror(errno));
crypto/openssh/ssh-sk-client.c
95
debug_f("starting %s %s", helper,
crypto/openssh/ssh-sk-client.c
97
execlp(helper, helper, verbosity, (char *)NULL);
crypto/openssl/test/json_test.c
23
static int helper_ensure(struct helper *h)
crypto/openssl/test/json_test.c
41
static void helper_cleanup(struct helper *h)
crypto/openssl/test/json_test.c
52
static void helper_set_flags(struct helper *h, uint32_t flags)
crypto/openssl/test/json_test.c
553
struct helper h = { 0 };
crypto/openssl/test/quic_ackm_test.c
343
struct helper h;
crypto/openssl/test/quic_ackm_test.c
524
struct helper h;
crypto/openssl/test/quic_ackm_test.c
56
static void helper_destroy(struct helper *h)
crypto/openssl/test/quic_ackm_test.c
86
static int helper_init(struct helper *h, size_t num_pkts)
crypto/openssl/test/quic_ackm_test.c
912
struct helper h;
crypto/openssl/test/quic_multistream_test.c
1003
struct helper *h = arg;
crypto/openssl/test/quic_multistream_test.c
1037
static int run_script_worker(struct helper *h, const struct script_op *script,
crypto/openssl/test/quic_multistream_test.c
104
int (*qtf_packet_plain_cb)(struct helper *h, QUIC_PKT_HDR *hdr,
crypto/openssl/test/quic_multistream_test.c
106
int (*qtf_handshake_cb)(struct helper *h,
crypto/openssl/test/quic_multistream_test.c
108
int (*qtf_datagram_cb)(struct helper *h,
crypto/openssl/test/quic_multistream_test.c
124
struct helper *h;
crypto/openssl/test/quic_multistream_test.c
135
int (*check_func)(struct helper *h, struct helper_local *hl);
crypto/openssl/test/quic_multistream_test.c
138
int (*qtf_packet_plain_cb)(struct helper *h, QUIC_PKT_HDR *hdr,
crypto/openssl/test/quic_multistream_test.c
140
int (*qtf_handshake_cb)(struct helper *h,
crypto/openssl/test/quic_multistream_test.c
142
int (*qtf_datagram_cb)(struct helper *h,
crypto/openssl/test/quic_multistream_test.c
2019
struct helper h;
crypto/openssl/test/quic_multistream_test.c
2655
static int script_20_trigger(struct helper *h, volatile uint64_t *counter)
crypto/openssl/test/quic_multistream_test.c
2666
static int script_20_wait(struct helper *h, volatile uint64_t *counter, uint64_t threshold)
crypto/openssl/test/quic_multistream_test.c
2685
static int script_20_trigger1(struct helper *h, struct helper_local *hl)
crypto/openssl/test/quic_multistream_test.c
2690
static int script_20_wait1(struct helper *h, struct helper_local *hl)
crypto/openssl/test/quic_multistream_test.c
2695
static int script_20_trigger2(struct helper *h, struct helper_local *hl)
crypto/openssl/test/quic_multistream_test.c
2700
static int script_20_wait2(struct helper *h, struct helper_local *hl)
crypto/openssl/test/quic_multistream_test.c
2751
static int script_21_inject_plain(struct helper *h, QUIC_PKT_HDR *hdr,
crypto/openssl/test/quic_multistream_test.c
2891
static int script_22_inject_plain(struct helper *h, QUIC_PKT_HDR *hdr,
crypto/openssl/test/quic_multistream_test.c
2920
static int script_23_inject_plain(struct helper *h, QUIC_PKT_HDR *hdr,
crypto/openssl/test/quic_multistream_test.c
2973
static int script_24_inject_plain(struct helper *h, QUIC_PKT_HDR *hdr,
crypto/openssl/test/quic_multistream_test.c
3083
static int script_28_inject_plain(struct helper *h, QUIC_PKT_HDR *hdr,
crypto/openssl/test/quic_multistream_test.c
3217
static int script_32_inject_plain(struct helper *h, QUIC_PKT_HDR *hdr,
crypto/openssl/test/quic_multistream_test.c
3432
static int script_39_inject_plain(struct helper *h, QUIC_PKT_HDR *hdr,
crypto/openssl/test/quic_multistream_test.c
350
struct helper *h = arg;
crypto/openssl/test/quic_multistream_test.c
3581
static int script_41_inject_plain(struct helper *h, QUIC_PKT_HDR *hdr,
crypto/openssl/test/quic_multistream_test.c
362
static int skip_time_ms(struct helper *h, struct helper_local *hl)
crypto/openssl/test/quic_multistream_test.c
3622
struct helper *h = arg;
crypto/openssl/test/quic_multistream_test.c
3653
static int script_41_setup(struct helper *h, struct helper_local *hl)
crypto/openssl/test/quic_multistream_test.c
3659
static int script_41_check(struct helper *h, struct helper_local *hl)
crypto/openssl/test/quic_multistream_test.c
3695
static int script_42_inject_plain(struct helper *h, QUIC_PKT_HDR *hdr,
crypto/openssl/test/quic_multistream_test.c
373
static QUIC_TSERVER *s_lock(struct helper *h, struct helper_local *hl);
crypto/openssl/test/quic_multistream_test.c
374
static void s_unlock(struct helper *h, struct helper_local *hl);
crypto/openssl/test/quic_multistream_test.c
3775
static int script_44_inject_plain(struct helper *h, QUIC_PKT_HDR *hdr,
crypto/openssl/test/quic_multistream_test.c
379
static int check_rejected(struct helper *h, struct helper_local *hl)
crypto/openssl/test/quic_multistream_test.c
3826
static int force_ping(struct helper *h, struct helper_local *hl)
crypto/openssl/test/quic_multistream_test.c
3838
static int wait_incoming_acks_increased(struct helper *h, struct helper_local *hl)
crypto/openssl/test/quic_multistream_test.c
3875
static int script_46_inject_plain(struct helper *h, QUIC_PKT_HDR *hdr,
crypto/openssl/test/quic_multistream_test.c
392
static int check_stream_reset(struct helper *h, struct helper_local *hl)
crypto/openssl/test/quic_multistream_test.c
40
struct helper *h;
crypto/openssl/test/quic_multistream_test.c
404
static int check_stream_stopped(struct helper *h, struct helper_local *hl)
crypto/openssl/test/quic_multistream_test.c
4086
static int script_52_inject_plain(struct helper *h, QUIC_PKT_HDR *hdr,
crypto/openssl/test/quic_multistream_test.c
416
static int override_key_update(struct helper *h, struct helper_local *hl)
crypto/openssl/test/quic_multistream_test.c
4174
static int script_53_inject_plain(struct helper *h, QUIC_PKT_HDR *hdr,
crypto/openssl/test/quic_multistream_test.c
424
static int trigger_key_update(struct helper *h, struct helper_local *hl)
crypto/openssl/test/quic_multistream_test.c
4252
static int script_54_inject_handshake(struct helper *h,
crypto/openssl/test/quic_multistream_test.c
432
static int check_key_update_ge(struct helper *h, struct helper_local *hl)
crypto/openssl/test/quic_multistream_test.c
4348
static int script_58_inject_plain(struct helper *h, QUIC_PKT_HDR *hdr,
crypto/openssl/test/quic_multistream_test.c
4430
static int init_reason(struct helper *h, struct helper_local *hl)
crypto/openssl/test/quic_multistream_test.c
4438
static int check_shutdown_reason(struct helper *h, struct helper_local *hl)
crypto/openssl/test/quic_multistream_test.c
4471
static int script_61_inject_plain(struct helper *h, QUIC_PKT_HDR *hdr,
crypto/openssl/test/quic_multistream_test.c
453
static int check_key_update_lt(struct helper *h, struct helper_local *hl)
crypto/openssl/test/quic_multistream_test.c
4594
static int script_65_inject_plain(struct helper *h, QUIC_PKT_HDR *hdr,
crypto/openssl/test/quic_multistream_test.c
4651
static int script_66_inject_plain(struct helper *h, QUIC_PKT_HDR *hdr,
crypto/openssl/test/quic_multistream_test.c
4736
static int script_68_inject_handshake(struct helper *h, unsigned char *msg,
crypto/openssl/test/quic_multistream_test.c
4831
static int set_max_early_data(struct helper *h, struct helper_local *hl)
crypto/openssl/test/quic_multistream_test.c
4881
static int script_72_check(struct helper *h, struct helper_local *hl)
crypto/openssl/test/quic_multistream_test.c
4957
static int server_gen_version_neg(struct helper *h, BIO_MSG *msg, size_t stride)
crypto/openssl/test/quic_multistream_test.c
5047
static int script_74_arm_packet_mutator(struct helper *h,
crypto/openssl/test/quic_multistream_test.c
5089
static int script_76_check(struct helper *h, struct helper_local *hl)
crypto/openssl/test/quic_multistream_test.c
5151
static int setup_session(struct helper *h, struct helper_local *hl)
crypto/openssl/test/quic_multistream_test.c
5158
static int trigger_late_session_ticket(struct helper *h, struct helper_local *hl)
crypto/openssl/test/quic_multistream_test.c
5168
static int check_got_session_ticket(struct helper *h, struct helper_local *hl)
crypto/openssl/test/quic_multistream_test.c
5176
static int check_idle_timeout(struct helper *h, struct helper_local *hl);
crypto/openssl/test/quic_multistream_test.c
518
static int join_server_thread(struct helper *h)
crypto/openssl/test/quic_multistream_test.c
5236
static int script_80_send_stateless_reset(struct helper *h, QUIC_PKT_HDR *hdr,
crypto/openssl/test/quic_multistream_test.c
5261
static int script_80_gen_new_conn_id(struct helper *h, QUIC_PKT_HDR *hdr,
crypto/openssl/test/quic_multistream_test.c
5309
static int script_80_inject_pkt(struct helper *h, QUIC_PKT_HDR *hdr,
crypto/openssl/test/quic_multistream_test.c
5338
static int modify_idle_timeout(struct helper *h, struct helper_local *hl)
crypto/openssl/test/quic_multistream_test.c
5365
static int check_idle_timeout(struct helper *h, struct helper_local *hl)
crypto/openssl/test/quic_multistream_test.c
537
static int *s_checked_out_p(struct helper *h, int thread_idx)
crypto/openssl/test/quic_multistream_test.c
5411
static int cannot_change_idle_timeout(struct helper *h, struct helper_local *hl)
crypto/openssl/test/quic_multistream_test.c
543
static QUIC_TSERVER *s_lock(struct helper *h, struct helper_local *hl)
crypto/openssl/test/quic_multistream_test.c
5447
static int check_avail_streams(struct helper *h, struct helper_local *hl)
crypto/openssl/test/quic_multistream_test.c
5478
static int set_event_handling_mode_conn(struct helper *h, struct helper_local *hl);
crypto/openssl/test/quic_multistream_test.c
5479
static int reenable_test_event_handling(struct helper *h, struct helper_local *hl);
crypto/openssl/test/quic_multistream_test.c
5481
static int check_write_buf_stat(struct helper *h, struct helper_local *hl)
crypto/openssl/test/quic_multistream_test.c
5567
ossl_unused static int script_85_poll(struct helper *h, struct helper_local *hl)
crypto/openssl/test/quic_multistream_test.c
557
static void s_unlock(struct helper *h, struct helper_local *hl)
crypto/openssl/test/quic_multistream_test.c
5708
static int set_event_handling_mode_conn(struct helper *h, struct helper_local *hl)
crypto/openssl/test/quic_multistream_test.c
571
struct helper *h = arg;
crypto/openssl/test/quic_multistream_test.c
5714
static int reenable_test_event_handling(struct helper *h, struct helper_local *hl)
crypto/openssl/test/quic_multistream_test.c
5720
static ossl_unused int set_event_handling_mode_stream(struct helper *h, struct helper_local *hl)
crypto/openssl/test/quic_multistream_test.c
605
static QUIC_TSERVER *s_lock(struct helper *h, struct helper_local *hl)
crypto/openssl/test/quic_multistream_test.c
610
static void s_unlock(struct helper *h, struct helper_local *hl)
crypto/openssl/test/quic_multistream_test.c
616
static void helper_cleanup(struct helper *h)
crypto/openssl/test/quic_multistream_test.c
685
static int helper_init(struct helper *h, const char *script_name,
crypto/openssl/test/quic_multistream_test.c
861
static int helper_local_init(struct helper_local *hl, struct helper *h,
crypto/openssl/test/quic_multistream_test.c
950
helper_set_s_stream(struct helper *h, const char *stream_name,
crypto/openssl/test/quic_multistream_test.c
967
static uint64_t helper_get_s_stream(struct helper *h, const char *stream_name)
crypto/openssl/test/quic_multistream_test.c
985
struct helper *h = arg;
crypto/openssl/test/quic_multistream_test.c
994
struct helper *h = arg;
crypto/openssl/test/quic_txp_test.c
1037
static int check_stream_12(struct helper *h)
crypto/openssl/test/quic_txp_test.c
1069
static ossl_unused int check_stream_13(struct helper *h)
crypto/openssl/test/quic_txp_test.c
1102
static int gen_conn_close(struct helper *h)
crypto/openssl/test/quic_txp_test.c
1117
static int check_14(struct helper *h)
crypto/openssl/test/quic_txp_test.c
1147
static int gen_probe_initial(struct helper *h)
crypto/openssl/test/quic_txp_test.c
1175
static int gen_probe_handshake(struct helper *h)
crypto/openssl/test/quic_txp_test.c
1204
static int gen_probe_1rtt(struct helper *h)
crypto/openssl/test/quic_txp_test.c
1236
static int try_big_token(struct helper *h)
crypto/openssl/test/quic_txp_test.c
128
struct helper *h = arg;
crypto/openssl/test/quic_txp_test.c
1302
static void skip_padding(struct helper *h)
crypto/openssl/test/quic_txp_test.c
1317
struct helper h;
crypto/openssl/test/quic_txp_test.c
136
static int helper_init(struct helper *h)
crypto/openssl/test/quic_txp_test.c
1650
static int check_is_initial(struct helper *h)
crypto/openssl/test/quic_txp_test.c
1655
static int check_is_handshake(struct helper *h)
crypto/openssl/test/quic_txp_test.c
289
int (*check_func)(struct helper *h);
crypto/openssl/test/quic_txp_test.c
341
static int schedule_handshake_done(struct helper *h)
crypto/openssl/test/quic_txp_test.c
347
static int schedule_ack_eliciting_app(struct helper *h)
crypto/openssl/test/quic_txp_test.c
389
static int schedule_max_data(struct helper *h)
crypto/openssl/test/quic_txp_test.c
426
static int schedule_cfq_new_conn_id(struct helper *h)
crypto/openssl/test/quic_txp_test.c
471
static int check_cfq_new_conn_id(struct helper *h)
crypto/openssl/test/quic_txp_test.c
507
static int schedule_cfq_new_token(struct helper *h)
crypto/openssl/test/quic_txp_test.c
547
static int check_cfq_new_token(struct helper *h)
crypto/openssl/test/quic_txp_test.c
575
static int schedule_ack(struct helper *h)
crypto/openssl/test/quic_txp_test.c
654
static int check_stream_9(struct helper *h)
crypto/openssl/test/quic_txp_test.c
914
static int check_stream_10a(struct helper *h)
crypto/openssl/test/quic_txp_test.c
93
static void helper_cleanup(struct helper *h)
crypto/openssl/test/quic_txp_test.c
932
static int check_stream_10b(struct helper *h)
crypto/openssl/test/quic_txp_test.c
946
static int check_stream_10c(struct helper *h)
crypto/openssl/test/quic_txp_test.c
959
static int check_stream_10d(struct helper *h)
share/examples/kld/khelp/h_example.c
82
struct helper example_helper = {
sys/arm/nvidia/drm2/tegra_fb.c
115
tegra_fb_probe(struct drm_fb_helper *helper,
sys/arm/nvidia/drm2/tegra_fb.c
127
if (helper->fb != NULL)
sys/arm/nvidia/drm2/tegra_fb.c
133
drm_dev = helper->dev;
sys/arm/nvidia/drm2/tegra_fb.c
134
fb = container_of(helper, struct tegra_fb, fb_helper);
sys/arm/nvidia/drm2/tegra_fb.c
168
helper->fb = &fb->drm_fb;
sys/arm/nvidia/drm2/tegra_fb.c
169
helper->fbdev = info;
sys/arm/nvidia/drm2/tegra_fb.c
177
drm_fb_helper_fill_var(info, helper, fb->drm_fb.width,
sys/dev/drm2/drm_fb_helper.c
232
static void drm_fb_helper_save_lut_atomic(struct drm_crtc *crtc, struct drm_fb_helper *helper)
sys/dev/drm2/drm_fb_helper.c
242
helper->funcs->gamma_get(crtc, &r_base[i], &g_base[i], &b_base[i], i);
sys/dev/drm2/drm_fb_helper.c
261
struct drm_fb_helper *helper = info->par;
sys/dev/drm2/drm_fb_helper.c
268
list_for_each_entry(helper, &kernel_fb_helper_list, kernel_fb_list) {
sys/dev/drm2/drm_fb_helper.c
269
for (i = 0; i < helper->crtc_count; i++) {
sys/dev/drm2/drm_fb_helper.c
271
&helper->crtc_info[i].mode_set;
sys/dev/drm2/drm_fb_helper.c
277
drm_fb_helper_save_lut_atomic(mode_set->crtc, helper);
sys/dev/drm2/drm_fb_helper.c
306
struct drm_fb_helper *helper = info->par;
sys/dev/drm2/drm_fb_helper.c
312
for (i = 0; i < helper->crtc_count; i++) {
sys/dev/drm2/drm_fb_helper.c
313
struct drm_mode_set *mode_set = &helper->crtc_info[i].mode_set;
sys/dev/drm2/drm_fb_helper.c
354
struct drm_fb_helper *helper;
sys/dev/drm2/drm_fb_helper.c
359
list_for_each_entry(helper, &kernel_fb_helper_list, kernel_fb_list) {
sys/dev/drm2/drm_fb_helper.c
360
if (helper->dev->switch_power_state == DRM_SWITCH_POWER_OFF)
sys/dev/drm2/drm_fb_helper.c
363
ret = drm_fb_helper_restore_fbdev_mode(helper);
sys/dev/drm2/drm_fb_helper.c
487
static void drm_fb_helper_crtc_free(struct drm_fb_helper *helper)
sys/dev/drm2/drm_fb_helper.c
491
for (i = 0; i < helper->connector_count; i++)
sys/dev/drm2/drm_fb_helper.c
492
free(helper->connector_info[i], DRM_MEM_KMS);
sys/dev/drm2/drm_fb_helper.c
493
free(helper->connector_info, DRM_MEM_KMS);
sys/dev/drm2/drm_fb_helper.c
494
for (i = 0; i < helper->crtc_count; i++) {
sys/dev/drm2/drm_fb_helper.c
495
free(helper->crtc_info[i].mode_set.connectors, DRM_MEM_KMS);
sys/dev/drm2/drm_fb_helper.c
496
if (helper->crtc_info[i].mode_set.mode)
sys/dev/drm2/drm_fb_helper.c
497
drm_mode_destroy(helper->dev, helper->crtc_info[i].mode_set.mode);
sys/dev/drm2/drm_fb_helper.c
499
free(helper->crtc_info, DRM_MEM_KMS);
sys/dev/drm2/drm_fb_helper.h
55
int (*fb_probe)(struct drm_fb_helper *helper,
sys/dev/drm2/drm_fb_helper.h
83
int drm_fb_helper_single_fb_probe(struct drm_fb_helper *helper,
sys/dev/drm2/drm_fb_helper.h
87
struct drm_fb_helper *helper, int crtc_count,
sys/dev/drm2/drm_fb_helper.h
89
void drm_fb_helper_fini(struct drm_fb_helper *helper);
sys/dev/malo/if_malohal.c
366
malo_hal_fwload_helper(struct malo_hal *mh, char *helper)
sys/dev/malo/if_malohal.c
371
fw = firmware_get(helper);
sys/dev/malo/if_malohal.c
374
helper);
sys/dev/malo/if_malohal.c
379
helper, fw->datasize);
sys/dev/malo/if_malohal.c
475
malo_hal_fwload(struct malo_hal *mh, char *helper, char *firmware)
sys/dev/malo/if_malohal.c
496
error = malo_hal_fwload_helper(mh, helper);
sys/dev/mmc/mmc_fdt_helpers.c
101
helper->mmc_pwrseq = OF_device_from_xref(pwrseq_xref);
sys/dev/mmc/mmc_fdt_helpers.c
112
struct mmc_helper *helper = arg;
sys/dev/mmc/mmc_fdt_helpers.c
115
&helper->cd_delayed_task, -(hz / 2));
sys/dev/mmc/mmc_fdt_helpers.c
121
struct mmc_helper *helper = arg;
sys/dev/mmc/mmc_fdt_helpers.c
124
cd_present = mmc_fdt_gpio_get_present(helper);
sys/dev/mmc/mmc_fdt_helpers.c
125
if(helper->cd_handler && cd_present != helper->cd_present)
sys/dev/mmc/mmc_fdt_helpers.c
126
helper->cd_handler(helper->dev,
sys/dev/mmc/mmc_fdt_helpers.c
128
helper->cd_present = cd_present;
sys/dev/mmc/mmc_fdt_helpers.c
131
if (helper->cd_ihandler == NULL)
sys/dev/mmc/mmc_fdt_helpers.c
133
&helper->cd_delayed_task, mstosbt(500), 0, C_PREL(2));
sys/dev/mmc/mmc_fdt_helpers.c
140
cd_setup(struct mmc_helper *helper, phandle_t node)
sys/dev/mmc/mmc_fdt_helpers.c
146
dev = helper->dev;
sys/dev/mmc/mmc_fdt_helpers.c
148
TIMEOUT_TASK_INIT(taskqueue_bus, &helper->cd_delayed_task, 0,
sys/dev/mmc/mmc_fdt_helpers.c
149
cd_card_task, helper);
sys/dev/mmc/mmc_fdt_helpers.c
155
if (helper->props & MMC_PROP_NON_REMOVABLE) {
sys/dev/mmc/mmc_fdt_helpers.c
156
helper->cd_disabled = true;
sys/dev/mmc/mmc_fdt_helpers.c
166
if (helper->props & MMC_PROP_BROKEN_CD) {
sys/dev/mmc/mmc_fdt_helpers.c
167
helper->cd_disabled = true;
sys/dev/mmc/mmc_fdt_helpers.c
182
&helper->cd_pin))
sys/dev/mmc/mmc_fdt_helpers.c
185
if (gpio_pin_getcaps(helper->cd_pin, &pincaps) != 0 ||
sys/dev/mmc/mmc_fdt_helpers.c
189
helper->cd_disabled = true;
sys/dev/mmc/mmc_fdt_helpers.c
205
if (helper->cd_handler == NULL) {
sys/dev/mmc/mmc_fdt_helpers.c
215
if ((helper->cd_ires = gpio_alloc_intr_resource(dev, helper->cd_irid,
sys/dev/mmc/mmc_fdt_helpers.c
216
RF_ACTIVE, helper->cd_pin, GPIO_INTR_EDGE_BOTH)) == NULL) {
sys/dev/mmc/mmc_fdt_helpers.c
223
if (bus_setup_intr(dev, helper->cd_ires, INTR_TYPE_BIO | INTR_MPSAFE,
sys/dev/mmc/mmc_fdt_helpers.c
224
NULL, cd_intr, helper, &helper->cd_ihandler) != 0) {
sys/dev/mmc/mmc_fdt_helpers.c
226
helper->cd_ihandler = NULL;
sys/dev/mmc/mmc_fdt_helpers.c
235
if (helper->cd_ihandler == NULL) {
sys/dev/mmc/mmc_fdt_helpers.c
244
device_get_nameunit(helper->cd_pin->dev), helper->cd_pin->pin,
sys/dev/mmc/mmc_fdt_helpers.c
253
wp_setup(struct mmc_helper *helper, phandle_t node)
sys/dev/mmc/mmc_fdt_helpers.c
257
dev = helper->dev;
sys/dev/mmc/mmc_fdt_helpers.c
260
helper->wp_disabled = true;
sys/dev/mmc/mmc_fdt_helpers.c
266
if (gpio_pin_get_by_ofw_property(dev, node, "wp-gpios", &helper->wp_pin))
sys/dev/mmc/mmc_fdt_helpers.c
271
device_get_nameunit(helper->wp_pin->dev), helper->wp_pin->pin);
sys/dev/mmc/mmc_fdt_helpers.c
275
mmc_fdt_gpio_setup(device_t dev, phandle_t node, struct mmc_helper *helper,
sys/dev/mmc/mmc_fdt_helpers.c
286
helper->dev = dev;
sys/dev/mmc/mmc_fdt_helpers.c
287
helper->cd_handler = handler;
sys/dev/mmc/mmc_fdt_helpers.c
288
cd_setup(helper, node);
sys/dev/mmc/mmc_fdt_helpers.c
289
wp_setup(helper, node);
sys/dev/mmc/mmc_fdt_helpers.c
295
&helper->cd_delayed_task, mstosbt(500), 0, C_PREL(2));
sys/dev/mmc/mmc_fdt_helpers.c
300
mmc_fdt_gpio_teardown(struct mmc_helper *helper)
sys/dev/mmc/mmc_fdt_helpers.c
303
if (helper == NULL)
sys/dev/mmc/mmc_fdt_helpers.c
306
if (helper->cd_ihandler != NULL)
sys/dev/mmc/mmc_fdt_helpers.c
307
bus_teardown_intr(helper->dev, helper->cd_ires, helper->cd_ihandler);
sys/dev/mmc/mmc_fdt_helpers.c
308
if (helper->wp_pin != NULL)
sys/dev/mmc/mmc_fdt_helpers.c
309
gpio_pin_release(helper->wp_pin);
sys/dev/mmc/mmc_fdt_helpers.c
310
if (helper->cd_pin != NULL)
sys/dev/mmc/mmc_fdt_helpers.c
311
gpio_pin_release(helper->cd_pin);
sys/dev/mmc/mmc_fdt_helpers.c
312
if (helper->cd_ires != NULL)
sys/dev/mmc/mmc_fdt_helpers.c
313
bus_release_resource(helper->dev, SYS_RES_IRQ, 0, helper->cd_ires);
sys/dev/mmc/mmc_fdt_helpers.c
315
taskqueue_drain_timeout(taskqueue_bus, &helper->cd_delayed_task);
sys/dev/mmc/mmc_fdt_helpers.c
319
mmc_fdt_gpio_get_present(struct mmc_helper *helper)
sys/dev/mmc/mmc_fdt_helpers.c
323
if (helper->cd_disabled)
sys/dev/mmc/mmc_fdt_helpers.c
325
if (helper->cd_pin == NULL)
sys/dev/mmc/mmc_fdt_helpers.c
328
gpio_pin_is_active(helper->cd_pin, &pinstate);
sys/dev/mmc/mmc_fdt_helpers.c
330
return (pinstate ^ (bool)(helper->props & MMC_PROP_CD_INVERTED));
sys/dev/mmc/mmc_fdt_helpers.c
334
mmc_fdt_gpio_get_readonly(struct mmc_helper *helper)
sys/dev/mmc/mmc_fdt_helpers.c
338
if (helper->wp_disabled)
sys/dev/mmc/mmc_fdt_helpers.c
341
if (helper->wp_pin == NULL)
sys/dev/mmc/mmc_fdt_helpers.c
344
gpio_pin_is_active(helper->wp_pin, &pinstate);
sys/dev/mmc/mmc_fdt_helpers.c
346
return (pinstate ^ (bool)(helper->props & MMC_PROP_WP_INVERTED));
sys/dev/mmc/mmc_fdt_helpers.c
350
mmc_fdt_set_power(struct mmc_helper *helper, enum mmc_power_mode power_mode)
sys/dev/mmc/mmc_fdt_helpers.c
359
if (helper->vmmc_supply) {
sys/dev/mmc/mmc_fdt_helpers.c
360
rv = regulator_status(helper->vmmc_supply, &reg_status);
sys/dev/mmc/mmc_fdt_helpers.c
362
regulator_disable(helper->vmmc_supply);
sys/dev/mmc/mmc_fdt_helpers.c
364
if (helper->vqmmc_supply) {
sys/dev/mmc/mmc_fdt_helpers.c
365
rv = regulator_status(helper->vqmmc_supply, &reg_status);
sys/dev/mmc/mmc_fdt_helpers.c
367
regulator_disable(helper->vqmmc_supply);
sys/dev/mmc/mmc_fdt_helpers.c
369
if (helper->mmc_pwrseq)
sys/dev/mmc/mmc_fdt_helpers.c
370
MMC_PWRSEQ_SET_POWER(helper->mmc_pwrseq, false);
sys/dev/mmc/mmc_fdt_helpers.c
373
if (helper->vmmc_supply) {
sys/dev/mmc/mmc_fdt_helpers.c
374
rv = regulator_status(helper->vmmc_supply, &reg_status);
sys/dev/mmc/mmc_fdt_helpers.c
376
regulator_enable(helper->vmmc_supply);
sys/dev/mmc/mmc_fdt_helpers.c
378
if (helper->vqmmc_supply) {
sys/dev/mmc/mmc_fdt_helpers.c
379
rv = regulator_status(helper->vqmmc_supply, &reg_status);
sys/dev/mmc/mmc_fdt_helpers.c
381
regulator_enable(helper->vqmmc_supply);
sys/dev/mmc/mmc_fdt_helpers.c
383
if (helper->mmc_pwrseq)
sys/dev/mmc/mmc_fdt_helpers.c
384
MMC_PWRSEQ_SET_POWER(helper->mmc_pwrseq, true);
sys/dev/mmc/mmc_fdt_helpers.c
48
mmc_fdt_parse(device_t dev, phandle_t node, struct mmc_helper *helper,
sys/dev/mmc/mmc_fdt_helpers.c
57
helper->props = mmc_helper.props;
sys/dev/mmc/mmc_fdt_helpers.c
64
&helper->vmmc_supply) == 0) {
sys/dev/mmc/mmc_fdt_helpers.c
69
&helper->vqmmc_supply) == 0) {
sys/dev/mmc/mmc_fdt_helpers.c
74
if (helper->vqmmc_supply != NULL) {
sys/dev/mmc/mmc_fdt_helpers.c
75
if (regulator_check_voltage(helper->vqmmc_supply, 1200000) == 0)
sys/dev/mmc/mmc_fdt_helpers.c
81
if (regulator_check_voltage(helper->vqmmc_supply, 1800000) == 0)
sys/dev/mmc/mmc_fdt_helpers.c
91
if (regulator_check_voltage(helper->vqmmc_supply, 3300000) == 0)
sys/dev/mmc/mmc_fdt_helpers.h
42
int mmc_fdt_parse(device_t dev, phandle_t node, struct mmc_helper *helper, struct mmc_host *host);
sys/dev/mmc/mmc_fdt_helpers.h
43
int mmc_fdt_gpio_setup(device_t dev, phandle_t node, struct mmc_helper *helper, mmc_fdt_cd_handler handler);
sys/dev/mmc/mmc_fdt_helpers.h
44
void mmc_fdt_gpio_teardown(struct mmc_helper *helper);
sys/dev/mmc/mmc_fdt_helpers.h
45
bool mmc_fdt_gpio_get_present(struct mmc_helper *helper);
sys/dev/mmc/mmc_fdt_helpers.h
46
bool mmc_fdt_gpio_get_readonly(struct mmc_helper *helper);
sys/dev/mmc/mmc_fdt_helpers.h
47
void mmc_fdt_set_power(struct mmc_helper *helper, enum mmc_power_mode power_mode);
sys/dev/mmc/mmc_helpers.c
111
helper->props |= MMC_PROP_BROKEN_CD;
sys/dev/mmc/mmc_helpers.c
113
helper->props |= MMC_PROP_NON_REMOVABLE;
sys/dev/mmc/mmc_helpers.c
115
helper->props |= MMC_PROP_WP_INVERTED;
sys/dev/mmc/mmc_helpers.c
117
helper->props |= MMC_PROP_CD_INVERTED;
sys/dev/mmc/mmc_helpers.c
119
helper->props |= MMC_PROP_NO_SDIO;
sys/dev/mmc/mmc_helpers.c
121
helper->props |= MMC_PROP_NO_SD;
sys/dev/mmc/mmc_helpers.c
123
helper->props |= MMC_PROP_NO_MMC;
sys/dev/mmc/mmc_helpers.c
125
if (!(helper->props & MMC_PROP_NO_SD))
sys/dev/mmc/mmc_helpers.c
128
if (!(helper->props & MMC_PROP_NO_MMC))
sys/dev/mmc/mmc_helpers.c
87
mmc_parse(device_t dev, struct mmc_helper *helper, struct mmc_host *host)
sys/dev/mmc/mmc_helpers.h
63
int mmc_parse(device_t dev, struct mmc_helper *helper,
sys/kern/kern_hhook.c
55
struct helper *hhk_helper;
sys/kern/kern_khelp.c
118
khelp_deregister_helper(struct helper *h)
sys/kern/kern_khelp.c
120
struct helper *tmph;
sys/kern/kern_khelp.c
150
struct helper *h;
sys/kern/kern_khelp.c
187
struct helper *h;
sys/kern/kern_khelp.c
209
khelp_remove_osd(struct helper *h, struct osd *hosd)
sys/kern/kern_khelp.c
238
struct helper *h;
sys/kern/kern_khelp.c
290
struct helper *h;
sys/kern/kern_khelp.c
324
if (kmd->helper->h_flags & HELPER_NEEDS_OSD) {
sys/kern/kern_khelp.c
330
kmd->helper->h_zone = uma_zcreate(kmd->name,
sys/kern/kern_khelp.c
334
strlcpy(kmd->helper->h_name, kmd->name, HELPER_NAME_MAXLEN);
sys/kern/kern_khelp.c
335
kmd->helper->h_hooks = kmd->hooks;
sys/kern/kern_khelp.c
336
kmd->helper->h_nhooks = kmd->nhooks;
sys/kern/kern_khelp.c
337
if (kmd->helper->mod_init != NULL)
sys/kern/kern_khelp.c
338
error = kmd->helper->mod_init();
sys/kern/kern_khelp.c
340
error = khelp_register_helper(kmd->helper);
sys/kern/kern_khelp.c
346
error = khelp_deregister_helper(kmd->helper);
sys/kern/kern_khelp.c
348
if (kmd->helper->h_flags & HELPER_NEEDS_OSD)
sys/kern/kern_khelp.c
349
uma_zdestroy(kmd->helper->h_zone);
sys/kern/kern_khelp.c
350
if (kmd->helper->mod_destroy != NULL)
sys/kern/kern_khelp.c
351
kmd->helper->mod_destroy();
sys/kern/kern_khelp.c
358
kmd->helper->h_refcount);
sys/kern/kern_khelp.c
56
static TAILQ_HEAD(helper_head, helper) helpers = TAILQ_HEAD_INITIALIZER(helpers);
sys/kern/kern_khelp.c
59
static inline void khelp_remove_osd(struct helper *h, struct osd *hosd);
sys/kern/kern_khelp.c
69
khelp_register_helper(struct helper *h)
sys/kern/kern_khelp.c
71
struct helper *tmph;
sys/netinet/khelp/h_ertt.c
101
struct helper ertt_helper = {
sys/sys/hhook.h
71
struct helper;
sys/sys/hhook.h
84
struct helper *hook_helper;
sys/sys/khelp.h
52
struct helper;
sys/sys/khelp.h
61
int khelp_register_helper(struct helper *h);
sys/sys/khelp.h
63
int khelp_deregister_helper(struct helper *h);
sys/sys/module_khelp.h
60
TAILQ_ENTRY(helper) h_next;
sys/sys/module_khelp.h
65
struct helper *helper;
sys/sys/module_khelp.h
76
.helper = hdata, \
tools/tools/net80211/wesside/wesside/aircrack-ptw-lib.c
365
doublesorthelper helper[KEYHSBYTES];
tools/tools/net80211/wesside/wesside/aircrack-ptw-lib.c
410
helper[i].keybyte = i+1;
tools/tools/net80211/wesside/wesside/aircrack-ptw-lib.c
411
helper[i].difference = normal[i+1] - ausreisser[i+1];
tools/tools/net80211/wesside/wesside/aircrack-ptw-lib.c
413
qsort(helper, keylen-1, sizeof(doublesorthelper), &comparedoublesorthelper);
tools/tools/net80211/wesside/wesside/aircrack-ptw-lib.c
414
strongbytes[helper[0].keybyte] = 1;
tools/tools/net80211/wesside/wesside/aircrack-ptw-lib.c
420
strongbytes[helper[1].keybyte] = 1;
usr.sbin/bhyve/net_backend_slirp.c
166
priv->helper = child;
usr.sbin/bhyve/net_backend_slirp.c
198
if (priv->helper > 0) {
usr.sbin/bhyve/net_backend_slirp.c
201
if (kill(priv->helper, SIGKILL) != 0) {
usr.sbin/bhyve/net_backend_slirp.c
206
(void)waitpid(priv->helper, &status, 0);
usr.sbin/bhyve/net_backend_slirp.c
73
pid_t helper;