| /freebsd-14.2/sys/sys/ |
| H A D | bio.h | 87 struct bio { struct 88 uint16_t bio_cmd; /* I/O operation. */ argument 89 uint16_t bio_flags; /* General flags. */ argument 94 off_t bio_offset; /* Offset into file. */ argument 102 void (*bio_done)(struct bio *); argument 112 off_t bio_length; /* Like bio_bcount */ argument 122 void *bio_spare1; argument 123 void *bio_spare2; argument 126 void *_bio_caller1; argument 127 void *_bio_caller2; argument [all …]
|
| /freebsd-14.2/sys/contrib/openzfs/include/os/linux/kernel/linux/ |
| H A D | blkdev_compat.h | 122 #define BIO_BI_IDX(bio) (bio)->bi_iter.bi_idx argument 128 #define BIO_BI_SECTOR(bio) (bio)->bi_sector argument 129 #define BIO_BI_SIZE(bio) (bio)->bi_size argument 130 #define BIO_BI_IDX(bio) (bio)->bi_idx argument 131 #define BIO_BI_SKIP(bio) (0) argument 274 bio_set_bi_error(struct bio *bio, int error) in bio_set_bi_error() 452 bio_set_flush(struct bio *bio) in bio_set_flush() 478 bio_is_flush(struct bio *bio) in bio_is_flush() 501 bio_is_fua(struct bio *bio) in bio_is_fua() 523 bio_is_discard(struct bio *bio) in bio_is_discard() [all …]
|
| /freebsd-14.2/crypto/openssl/providers/common/ |
| H A D | bio_prov.c | 106 int ossl_prov_bio_gets(OSSL_CORE_BIO *bio, char *buf, int size) in ossl_prov_bio_gets() 113 int ossl_prov_bio_puts(OSSL_CORE_BIO *bio, const char *str) in ossl_prov_bio_puts() 127 int ossl_prov_bio_up_ref(OSSL_CORE_BIO *bio) in ossl_prov_bio_up_ref() 134 int ossl_prov_bio_free(OSSL_CORE_BIO *bio) in ossl_prov_bio_free() 148 int ossl_prov_bio_printf(OSSL_CORE_BIO *bio, const char *format, ...) in ossl_prov_bio_printf() 164 static int bio_core_read_ex(BIO *bio, char *data, size_t data_len, in bio_core_read_ex() 176 static long bio_core_ctrl(BIO *bio, int cmd, long num, void *ptr) in bio_core_ctrl() 181 static int bio_core_gets(BIO *bio, char *buf, int size) in bio_core_gets() 186 static int bio_core_puts(BIO *bio, const char *str) in bio_core_puts() 191 static int bio_core_new(BIO *bio) in bio_core_new() [all …]
|
| /freebsd-14.2/crypto/openssl/crypto/bio/ |
| H A D | bss_bio.c | 76 static int bio_new(BIO *bio) in bio_new() 90 static int bio_free(BIO *bio) in bio_free() 601 static int bio_puts(BIO *bio, const char *str) in bio_puts() 654 static void bio_destroy_pair(BIO *bio) in bio_destroy_pair() 726 size_t BIO_ctrl_get_write_guarantee(BIO *bio) in BIO_ctrl_get_write_guarantee() 731 size_t BIO_ctrl_get_read_request(BIO *bio) in BIO_ctrl_get_read_request() 736 int BIO_ctrl_reset_read_request(BIO *bio) in BIO_ctrl_reset_read_request() 746 int BIO_nread0(BIO *bio, char **buf) in BIO_nread0() 762 int BIO_nread(BIO *bio, char **buf, int num) in BIO_nread() 777 int BIO_nwrite0(BIO *bio, char **buf) in BIO_nwrite0() [all …]
|
| H A D | bss_core.c | 46 static int bio_core_read_ex(BIO *bio, char *data, size_t data_len, in bio_core_read_ex() 56 static int bio_core_write_ex(BIO *bio, const char *data, size_t data_len, in bio_core_write_ex() 66 static long bio_core_ctrl(BIO *bio, int cmd, long num, void *ptr) in bio_core_ctrl() 75 static int bio_core_gets(BIO *bio, char *buf, int size) in bio_core_gets() 84 static int bio_core_puts(BIO *bio, const char *str) in bio_core_puts() 93 static int bio_core_new(BIO *bio) in bio_core_new() 100 static int bio_core_free(BIO *bio) in bio_core_free()
|
| H A D | bio_lib.c | 83 BIO *bio = OPENSSL_zalloc(sizeof(*bio)); in BIO_new_ex() local 622 size_t BIO_ctrl_pending(BIO *bio) in BIO_ctrl_pending() 635 size_t BIO_ctrl_wpending(BIO *bio) in BIO_ctrl_wpending() 649 BIO *BIO_push(BIO *b, BIO *bio) in BIO_push() 687 BIO *BIO_get_retry_BIO(BIO *bio, int *reason) in BIO_get_retry_BIO() 705 int BIO_get_retry_reason(BIO *bio) in BIO_get_retry_reason() 715 BIO *BIO_find_type(BIO *bio, int type) in BIO_find_type() 752 void BIO_free_all(BIO *bio) in BIO_free_all() 830 uint64_t BIO_number_read(BIO *bio) in BIO_number_read() 837 uint64_t BIO_number_written(BIO *bio) in BIO_number_written() [all …]
|
| H A D | bio_cb.c | 19 long BIO_debug_callback_ex(BIO *bio, int cmd, const char *argp, size_t len, in BIO_debug_callback_ex() 103 long BIO_debug_callback(BIO *bio, int cmd, const char *argp, in BIO_debug_callback()
|
| H A D | ossl_core_bio.c | 21 BIO *bio; member 58 OSSL_CORE_BIO *ossl_core_bio_new_from_bio(BIO *bio) in ossl_core_bio_new_from_bio() 70 static OSSL_CORE_BIO *core_bio_new_from_new_bio(BIO *bio) in core_bio_new_from_new_bio()
|
| /freebsd-14.2/crypto/openssl/test/ |
| H A D | bio_core_test.c | 16 BIO *bio; member 19 static int tst_bio_core_read_ex(OSSL_CORE_BIO *bio, char *data, size_t data_len, in tst_bio_core_read_ex() 25 static int tst_bio_core_write_ex(OSSL_CORE_BIO *bio, const char *data, in tst_bio_core_write_ex() 31 static int tst_bio_core_gets(OSSL_CORE_BIO *bio, char *buf, int size) in tst_bio_core_gets() 36 static int tst_bio_core_puts(OSSL_CORE_BIO *bio, const char *str) in tst_bio_core_puts() 41 static long tst_bio_core_ctrl(OSSL_CORE_BIO *bio, int cmd, long num, void *ptr) in tst_bio_core_ctrl() 46 static int tst_bio_core_up_ref(OSSL_CORE_BIO *bio) in tst_bio_core_up_ref() 51 static int tst_bio_core_free(OSSL_CORE_BIO *bio) in tst_bio_core_free()
|
| H A D | bio_memleak_test.c | 19 BIO *bio; in test_bio_memleak() local 46 BIO *bio = NULL; in test_bio_get_mem() local 74 BIO *bio; in test_bio_new_mem_buf() local 109 BIO *bio, *bio2 = NULL; in test_bio_rdonly_mem_buf() local 151 BIO *bio = NULL; in test_bio_rdwr_rdonly() local 187 BIO *bio = NULL; in test_bio_nonclear_rst() local 225 static long BIO_error_callback(BIO *bio, int cmd, const char *argp, in BIO_error_callback() 240 BIO *bio = NULL, *out = NULL; in test_bio_i2d_ASN1_mime() local
|
| H A D | sslcorrupttest.c | 16 static void copy_flags(BIO *bio) in copy_flags() 26 static int tls_corrupt_read(BIO *bio, char *out, int outl) in tls_corrupt_read() 37 static int tls_corrupt_write(BIO *bio, const char *in, int inl) in tls_corrupt_write() 58 static long tls_corrupt_ctrl(BIO *bio, int cmd, long num, void *ptr) in tls_corrupt_ctrl() 77 static int tls_corrupt_gets(BIO *bio, char *buf, int size) in tls_corrupt_gets() 83 static int tls_corrupt_puts(BIO *bio, const char *str) in tls_corrupt_puts() 89 static int tls_corrupt_new(BIO *bio) in tls_corrupt_new() 96 static int tls_corrupt_free(BIO *bio) in tls_corrupt_free()
|
| H A D | tls13ccstest.c | 58 static int watchccs_new(BIO *bio) in watchccs_new() 64 static int watchccs_free(BIO *bio) in watchccs_free() 70 static int watchccs_read(BIO *bio, char *out, int outl) in watchccs_read() 89 static int watchccs_write(BIO *bio, const char *in, int inl) in watchccs_write() 213 static long watchccs_ctrl(BIO *bio, int cmd, long num, void *ptr) in watchccs_ctrl() 232 static int watchccs_gets(BIO *bio, char *buf, int size) in watchccs_gets() 238 static int watchccs_puts(BIO *bio, const char *str) in watchccs_puts()
|
| H A D | asynciotest.c | 62 static int async_new(BIO *bio) in async_new() 75 static int async_free(BIO *bio) in async_free() 89 static int async_read(BIO *bio, char *out, int outl) in async_read() 124 static int async_write(BIO *bio, const char *in, int inl) in async_write() 257 static long async_ctrl(BIO *bio, int cmd, long num, void *ptr) in async_ctrl() 276 static int async_gets(BIO *bio, char *buf, int size) in async_gets() 282 static int async_puts(BIO *bio, const char *str) in async_puts()
|
| H A D | cmsapitest.c | 84 BIO *bio; in test_d2i_CMS_bio_NULL() local 292 static unsigned char *read_all(BIO *bio, long *p_len) in read_all() 323 BIO *bio = NULL; in test_d2i_CMS_decode() local
|
| /freebsd-14.2/crypto/openssl/crypto/ts/ |
| H A D | ts_lib.c | 19 int TS_ASN1_INTEGER_print_bio(BIO *bio, const ASN1_INTEGER *num) in TS_ASN1_INTEGER_print_bio() 38 int TS_OBJ_print_bio(BIO *bio, const ASN1_OBJECT *obj) in TS_OBJ_print_bio() 48 int TS_ext_print_bio(BIO *bio, const STACK_OF(X509_EXTENSION) *extensions) in TS_ext_print_bio() 73 int TS_X509_ALGOR_print_bio(BIO *bio, const X509_ALGOR *alg) in TS_X509_ALGOR_print_bio() 80 int TS_MSG_IMPRINT_print_bio(BIO *bio, TS_MSG_IMPRINT *a) in TS_MSG_IMPRINT_print_bio()
|
| H A D | ts_rsp_print.c | 28 int TS_RESP_print_bio(BIO *bio, TS_RESP *a) in TS_RESP_print_bio() 42 int TS_STATUS_INFO_print_bio(BIO *bio, TS_STATUS_INFO *a) in TS_STATUS_INFO_print_bio() 102 static int ts_status_map_print(BIO *bio, const struct status_map_st *a, in ts_status_map_print() 118 int TS_TST_INFO_print_bio(BIO *bio, TS_TST_INFO *a) in TS_TST_INFO_print_bio() 176 static int ts_ACCURACY_print_bio(BIO *bio, const TS_ACCURACY *a) in ts_ACCURACY_print_bio()
|
| /freebsd-14.2/crypto/openssl/ssl/ |
| H A D | t1_trce.c | 24 # define ssl_trace_list(bio, indent, msg, msglen, value, table) \ argument 40 static int do_ssl_trace_list(BIO *bio, int indent, in do_ssl_trace_list() 614 static void ssl_print_hex(BIO *bio, int indent, const char *name, in ssl_print_hex() 665 static int ssl_print_random(BIO *bio, int indent, in ssl_print_random() 706 static int ssl_print_extension(BIO *bio, int indent, int server, in ssl_print_extension() 895 static int ssl_print_extensions(BIO *bio, int indent, int server, in ssl_print_extensions() 1005 static int dtls_print_hello_vfyrequest(BIO *bio, int indent, in dtls_print_hello_vfyrequest() 1015 static int ssl_print_server_hello(BIO *bio, int indent, in ssl_print_server_hello() 1219 static int ssl_print_certificate(BIO *bio, int indent, in ssl_print_certificate() 1373 static int ssl_print_ticket(BIO *bio, int indent, const SSL *ssl, in ssl_print_ticket() [all …]
|
| /freebsd-14.2/crypto/openssl/test/helpers/ |
| H A D | ssltestlib.c | 80 static int tls_dump_new(BIO *bio) in tls_dump_new() 86 static int tls_dump_free(BIO *bio) in tls_dump_free() 93 static void copy_flags(BIO *bio) in copy_flags() 203 static int tls_dump_read(BIO *bio, char *out, int outl) in tls_dump_read() 254 static int tls_dump_puts(BIO *bio, const char *str) in tls_dump_puts() 317 static int mempacket_test_new(BIO *bio) in mempacket_test_new() 334 static int mempacket_test_free(BIO *bio) in mempacket_test_free() 427 int mempacket_swap_epoch(BIO *bio) in mempacket_swap_epoch() 507 int mempacket_move_packet(BIO *bio, int d, int s) in mempacket_move_packet() 760 static int always_retry_new(BIO *bio) in always_retry_new() [all …]
|
| /freebsd-14.2/crypto/openssl/test/testutil/ |
| H A D | load.c | 21 BIO *bio = NULL; in load_cert_pem() local 36 BIO *bio; in STACK_OF() local 72 BIO *bio = NULL; in load_pkey_pem() local 95 BIO *bio = NULL; in load_csr_der() local
|
| H A D | testutil_init.c | 18 BIO *bio; member 74 BIO *bio = NULL; in setup_trace_category() local
|
| /freebsd-14.2/crypto/openssl/crypto/pkcs7/ |
| H A D | pk7_mime.c | 30 int SMIME_write_PKCS7(BIO *bio, PKCS7 *p7, BIO *data, int flags) in SMIME_write_PKCS7() 52 PKCS7 *SMIME_read_PKCS7_ex(BIO *bio, BIO **bcont, PKCS7 **p7) in SMIME_read_PKCS7_ex() 70 PKCS7 *SMIME_read_PKCS7(BIO *bio, BIO **bcont) in SMIME_read_PKCS7()
|
| /freebsd-14.2/crypto/openssl/crypto/cms/ |
| H A D | cms_io.c | 80 int SMIME_write_CMS(BIO *bio, CMS_ContentInfo *cms, BIO *data, int flags) in SMIME_write_CMS() 99 CMS_ContentInfo *SMIME_read_CMS_ex(BIO *bio, int flags, BIO **bcont, in SMIME_read_CMS_ex() 118 CMS_ContentInfo *SMIME_read_CMS(BIO *bio, BIO **bcont) in SMIME_read_CMS()
|
| /freebsd-14.2/sys/contrib/openzfs/module/os/linux/zfs/ |
| H A D | vdev_disk.c | 482 vdev_submit_bio_impl(struct bio *bio) in vdev_submit_bio_impl() 555 vdev_bio_associate_blkg(struct bio *bio) in vdev_bio_associate_blkg() 573 vdev_bio_set_dev(struct bio *bio, struct block_device *bdev) in vdev_bio_set_dev() 599 bio_set_dev(struct bio *bio, struct block_device *bdev) in bio_set_dev() 607 vdev_submit_bio(struct bio *bio) in vdev_submit_bio() 619 struct bio *bio; in vdev_bio_alloc() local 714 struct bio *bio = vbio->vbio_bio; in vbio_add_page() local 805 BIO_END_IO_PROTO(vbio_completion, bio, error) in BIO_END_IO_PROTO() argument 1242 struct bio *bio; in vdev_disk_io_flush() local 1261 BIO_END_IO_PROTO(vdev_disk_discard_end_io, bio, error) in BIO_END_IO_PROTO() argument [all …]
|
| /freebsd-14.2/crypto/openssl/crypto/x509/ |
| H A D | t_x509.c | 398 int ossl_x509_print_ex_brief(BIO *bio, X509 *cert, unsigned long neg_cflags) in ossl_x509_print_ex_brief() 429 static int print_certs(BIO *bio, const STACK_OF(X509) *certs) in print_certs() 451 static int print_store_certs(BIO *bio, X509_STORE *store) in print_store_certs() 469 BIO *bio = BIO_new(BIO_s_mem()); /* may be NULL */ in X509_STORE_CTX_print_verify_cb() local
|
| /freebsd-14.2/crypto/openssl/crypto/asn1/ |
| H A D | asn_mime.c | 76 BIO *bio, *tbio; in i2d_ASN1_bio_stream() local 138 static ASN1_VALUE *b64_read_asn1(BIO *bio, const ASN1_ITEM *it, ASN1_VALUE **x, in b64_read_asn1() 238 int SMIME_write_ASN1_ex(BIO *bio, ASN1_VALUE *val, BIO *data, int flags, in SMIME_write_ASN1_ex() 332 int SMIME_write_ASN1(BIO *bio, ASN1_VALUE *val, BIO *data, int flags, in SMIME_write_ASN1() 399 ASN1_VALUE *SMIME_read_ASN1_ex(BIO *bio, int flags, BIO **bcont, in SMIME_read_ASN1_ex() 508 ASN1_VALUE *SMIME_read_ASN1(BIO *bio, BIO **bcont, const ASN1_ITEM *it) in SMIME_read_ASN1() 610 static int multi_split(BIO *bio, int flags, const char *bound, STACK_OF(BIO) **ret) in multi_split()
|