Searched refs:bio (Results 1 - 25 of 437) sorted by relevance

1234567891011>>

/freebsd-13-stable/sys/geom/vinum/
H A Dgeom_vinum_raid5.h45 struct bio *bio; /* Pointer to the original bio. */ member in struct:gv_raid5_packet
46 struct bio *parity; /* The bio containing the parity data. */
47 struct bio *waiting; /* A bio that need to wait for other bios. */
53 struct gv_raid5_packet * gv_raid5_start(struct gv_plex *, struct bio *,
55 int gv_stripe_active(struct gv_plex *, struct bio *);
H A Dgeom_vinum.h133 void gv_start(struct bio *);
138 void gv_done(struct bio *);
139 void gv_volume_start(struct gv_softc *, struct bio *);
141 void gv_bio_done(struct gv_softc *, struct bio *);
144 void gv_plex_start(struct gv_plex *, struct bio *);
145 void gv_plex_raid5_done(struct gv_plex *, struct bio *);
146 void gv_plex_normal_done(struct gv_plex *, struct bio *);
148 void gv_grow_complete(struct gv_plex *, struct bio *);
150 void gv_init_complete(struct gv_plex *, struct bio *);
152 void gv_parity_complete(struct gv_plex *, struct bio *);
[all...]
/freebsd-13-stable/crypto/openssl/crypto/ts/
H A Dts_rsp_print.c23 static int ts_status_map_print(BIO *bio, const struct status_map_st *a,
25 static int ts_ACCURACY_print_bio(BIO *bio, const TS_ACCURACY *accuracy);
28 int TS_RESP_print_bio(BIO *bio, TS_RESP *a) argument
30 BIO_printf(bio, "Status info:\n");
31 TS_STATUS_INFO_print_bio(bio, a->status_info);
33 BIO_printf(bio, "\nTST info:\n");
35 TS_TST_INFO_print_bio(bio, a->tst_info);
37 BIO_printf(bio, "Not included.\n");
42 int TS_STATUS_INFO_print_bio(BIO *bio, TS_STATUS_INFO *a) argument
75 BIO_printf(bio, "Statu
102 ts_status_map_print(BIO *bio, const struct status_map_st *a, const ASN1_BIT_STRING *v) argument
118 TS_TST_INFO_print_bio(BIO *bio, TS_TST_INFO *a) argument
176 ts_ACCURACY_print_bio(BIO *bio, const TS_ACCURACY *a) argument
[all...]
H A Dts_req_print.c18 int TS_REQ_print_bio(BIO *bio, TS_REQ *a) argument
27 BIO_printf(bio, "Version: %d\n", v);
29 TS_MSG_IMPRINT_print_bio(bio, a->msg_imprint);
31 BIO_printf(bio, "Policy OID: ");
34 BIO_printf(bio, "unspecified\n");
36 TS_OBJ_print_bio(bio, policy_id);
38 BIO_printf(bio, "Nonce: ");
40 BIO_printf(bio, "unspecified");
42 TS_ASN1_INTEGER_print_bio(bio, a->nonce);
43 BIO_write(bio, "\
[all...]
H A Dts_lib.c19 int TS_ASN1_INTEGER_print_bio(BIO *bio, const ASN1_INTEGER *num) argument
29 result = BIO_write(bio, "0x", 2) > 0;
30 result = result && BIO_write(bio, hex, strlen(hex)) > 0;
38 int TS_OBJ_print_bio(BIO *bio, const ASN1_OBJECT *obj) argument
43 BIO_printf(bio, "%s\n", obj_txt);
48 int TS_ext_print_bio(BIO *bio, const STACK_OF(X509_EXTENSION) *extensions) argument
54 BIO_printf(bio, "Extensions:\n");
59 if (i2a_ASN1_OBJECT(bio, obj) < 0)
62 BIO_printf(bio, ":%s\n", critical ? " critical" : "");
63 if (!X509V3_EXT_print(bio, e
73 TS_X509_ALGOR_print_bio(BIO *bio, const X509_ALGOR *alg) argument
80 TS_MSG_IMPRINT_print_bio(BIO *bio, TS_MSG_IMPRINT *a) argument
[all...]
/freebsd-13-stable/share/doc/papers/bufbio/
H A DMakefile4 DOC= bio
5 SRCS= bio.ms-patched
9 CLEANFILES= bio.ms-patched
11 bio.ms-patched: bio.ms
/freebsd-13-stable/sys/contrib/openzfs/include/os/linux/kernel/linux/
H A Dblkdev_compat.h103 #define BIO_BI_SECTOR(bio) (bio)->bi_iter.bi_sector
104 #define BIO_BI_SIZE(bio) (bio)->bi_iter.bi_size
105 #define BIO_BI_IDX(bio) (bio)->bi_iter.bi_idx
106 #define BIO_BI_SKIP(bio) (bio)->bi_iter.bi_bvec_done
111 #define BIO_BI_SECTOR(bio) (bio)
232 bio_set_bi_status(struct bio *bio, int error) argument
243 bio_set_bi_error(struct bio *bio, int error) argument
355 bio_set_op_attrs(struct bio *bio, unsigned rw, unsigned flags) argument
382 bio_set_flush(struct bio *bio) argument
408 bio_is_flush(struct bio *bio) argument
431 bio_is_fua(struct bio *bio) argument
453 bio_is_discard(struct bio *bio) argument
472 bio_is_secure_erase(struct bio *bio) argument
523 blk_generic_start_io_acct(struct request_queue *q __attribute__((unused)), struct gendisk *disk __attribute__((unused)), int rw __attribute__((unused)), struct bio *bio) argument
546 blk_generic_end_io_acct(struct request_queue *q __attribute__((unused)), struct gendisk *disk __attribute__((unused)), int rw __attribute__((unused)), struct bio *bio, unsigned long start_time) argument
[all...]
/freebsd-13-stable/crypto/openssl/ssl/
H A Dt1_trce.c24 # define ssl_trace_list(bio, indent, msg, msglen, value, table) \
25 do_ssl_trace_list(bio, indent, msg, msglen, value, \
40 static int do_ssl_trace_list(BIO *bio, int indent, argument
52 BIO_indent(bio, indent, 80);
53 BIO_printf(bio, "%s (%d)\n", do_ssl_trace_str(val, tbl, ntbl), val);
600 static void ssl_print_hex(BIO *bio, int indent, const char *name, argument
605 BIO_indent(bio, indent, 80);
606 BIO_printf(bio, "%s (len=%d): ", name, (int)msglen);
608 BIO_printf(bio, "%02X", msg[i]);
609 BIO_puts(bio, "\
612 ssl_print_hexbuf(BIO *bio, int indent, const char *name, size_t nlen, const unsigned char **pmsg, size_t *pmsglen) argument
632 ssl_print_version(BIO *bio, int indent, const char *name, const unsigned char **pmsg, size_t *pmsglen, unsigned int *version) argument
651 ssl_print_random(BIO *bio, int indent, const unsigned char **pmsg, size_t *pmsglen) argument
674 ssl_print_signature(BIO *bio, int indent, const SSL *ssl, const unsigned char **pmsg, size_t *pmsglen) argument
692 ssl_print_extension(BIO *bio, int indent, int server, unsigned char mt, int extype, const unsigned char *ext, size_t extlen) argument
884 ssl_print_extensions(BIO *bio, int indent, int server, unsigned char mt, const unsigned char **msgin, size_t *msginlen) argument
937 ssl_print_client_hello(BIO *bio, const SSL *ssl, int indent, const unsigned char *msg, size_t msglen) argument
994 dtls_print_hello_vfyrequest(BIO *bio, int indent, const unsigned char *msg, size_t msglen) argument
1004 ssl_print_server_hello(BIO *bio, int indent, const unsigned char *msg, size_t msglen) argument
1084 ssl_print_client_keyex(BIO *bio, int indent, const SSL *ssl, const unsigned char *msg, size_t msglen) argument
1128 ssl_print_server_keyex(BIO *bio, int indent, const SSL *ssl, const unsigned char *msg, size_t msglen) argument
1198 ssl_print_certificate(BIO *bio, int indent, const unsigned char **pmsg, size_t *pmsglen) argument
1233 ssl_print_certificates(BIO *bio, const SSL *ssl, int server, int indent, const unsigned char *msg, size_t msglen) argument
1263 ssl_print_cert_request(BIO *bio, int indent, const SSL *ssl, const unsigned char *msg, size_t msglen) argument
1352 ssl_print_ticket(BIO *bio, int indent, const SSL *ssl, const unsigned char *msg, size_t msglen) argument
1401 ssl_print_handshake(BIO *bio, const SSL *ssl, int server, const unsigned char *msg, size_t msglen, int indent) argument
1514 BIO *bio = arg; local
[all...]
/freebsd-13-stable/sys/sys/
H A Dbio.h59 #define BIO_ERROR 0x01 /* An error occurred processing this bio. */
60 #define BIO_DONE 0x02 /* This bio is finished. */
61 #define BIO_ONQUEUE 0x04 /* This bio is in a queue & not yet taken. */
63 * This bio must be executed after all previous bios in the queue have been
79 struct bio;
85 * The bio structure describes an I/O operation in the kernel.
87 struct bio { struct
102 void (*bio_done)(struct bio *);
107 TAILQ_ENTRY(bio) bio_queue; /* Disksort queue. */
116 struct bio *bio_paren
[all...]
/freebsd-13-stable/crypto/openssl/crypto/bio/
H A Dbio_cb.c17 long BIO_debug_callback(BIO *bio, int cmd, const char *argp, argument
29 len = BIO_snprintf(buf, sizeof(buf), "BIO[%p]: ", (void *)bio);
39 BIO_snprintf(p, left, "Free - %s\n", bio->method->name);
42 if (bio->method->type & BIO_TYPE_DESCRIPTOR)
44 bio->num, (unsigned long)argi,
45 bio->method->name, bio->num);
48 bio->num, (unsigned long)argi, bio->method->name);
51 if (bio
[all...]
H A Dbio_lib.c73 BIO *bio = OPENSSL_zalloc(sizeof(*bio)); local
75 if (bio == NULL) {
80 bio->method = method;
81 bio->shutdown = 1;
82 bio->references = 1;
84 if (!CRYPTO_new_ex_data(CRYPTO_EX_INDEX_BIO, bio, &bio->ex_data))
87 bio->lock = CRYPTO_THREAD_lock_new();
88 if (bio
571 BIO_ctrl_pending(BIO *bio) argument
576 BIO_ctrl_wpending(BIO *bio) argument
582 BIO_push(BIO *b, BIO *bio) argument
620 BIO_get_retry_BIO(BIO *bio, int *reason) argument
638 BIO_get_retry_reason(BIO *bio) argument
643 BIO_set_retry_reason(BIO *bio, int reason) argument
648 BIO_find_type(BIO *bio, int type) argument
682 BIO_free_all(BIO *bio) argument
700 BIO *ret = NULL, *eoc = NULL, *bio, *new_bio; local
748 BIO_set_ex_data(BIO *bio, int idx, void *data) argument
753 BIO_get_ex_data(BIO *bio, int idx) argument
758 BIO_number_read(BIO *bio) argument
765 BIO_number_written(BIO *bio) argument
772 bio_free_ex_data(BIO *bio) argument
[all...]
H A Dbss_bio.c28 static int bio_new(BIO *bio);
29 static int bio_free(BIO *bio);
30 static int bio_read(BIO *bio, char *buf, int size);
31 static int bio_write(BIO *bio, const char *buf, int num);
32 static long bio_ctrl(BIO *bio, int cmd, long num, void *ptr);
33 static int bio_puts(BIO *bio, const char *str);
36 static void bio_destroy_pair(BIO *bio);
78 static int bio_new(BIO *bio) argument
88 bio->ptr = b;
92 static int bio_free(BIO *bio) argument
111 bio_read(BIO *bio, char *buf, int size_) argument
202 bio_nread0(BIO *bio, char **buf) argument
239 bio_nread(BIO *bio, char **buf, size_t num_) argument
270 bio_write(BIO *bio, const char *buf, int num_) argument
347 bio_nwrite0(BIO *bio, char **buf) argument
395 bio_nwrite(BIO *bio, char **buf, size_t num_) argument
418 bio_ctrl(BIO *bio, int cmd, long num, void *ptr) argument
603 bio_puts(BIO *bio, const char *str) argument
656 bio_destroy_pair(BIO *bio) argument
728 BIO_ctrl_get_write_guarantee(BIO *bio) argument
733 BIO_ctrl_get_read_request(BIO *bio) argument
738 BIO_ctrl_reset_read_request(BIO *bio) argument
748 BIO_nread0(BIO *bio, char **buf) argument
764 BIO_nread(BIO *bio, char **buf, int num) argument
779 BIO_nwrite0(BIO *bio, char **buf) argument
795 BIO_nwrite(BIO *bio, char **buf, int num) argument
[all...]
/freebsd-13-stable/sys/cam/
H A Dcam_iosched.h43 struct bio;
83 typedef void (*cam_iosched_latfcn_t)(void *, sbintime_t, struct bio *);
88 struct bio *cam_iosched_next_trim(struct cam_iosched_softc *isc);
89 struct bio *cam_iosched_get_trim(struct cam_iosched_softc *isc);
90 struct bio *cam_iosched_next_bio(struct cam_iosched_softc *isc);
91 void cam_iosched_queue_work(struct cam_iosched_softc *isc, struct bio *bp);
96 void cam_iosched_put_back_trim(struct cam_iosched_softc *isc, struct bio *bp);
102 int cam_iosched_bio_complete(struct cam_iosched_softc *isc, struct bio *bp, union ccb *done_ccb);
/freebsd-13-stable/sys/geom/uzip/
H A Dg_uzip_softc.h32 struct bio;
34 DEFINE_RAW_METHOD(g_uzip_do, void, struct g_uzip_softc *, struct bio *);
/freebsd-13-stable/sys/dev/nvme/
H A Dnvme_test.c33 #include <sys/bio.h>
73 nvme_ns_bio_test_cb(struct bio *bio) argument
77 mtx = mtx_pool_find(mtxpool_sleep, bio);
79 wakeup(bio);
89 struct bio *bio; local
104 bio = g_alloc_bio();
106 memset(bio, 0, sizeof(*bio));
[all...]
/freebsd-13-stable/sys/dev/mfi/
H A Dmfi_disk.c35 #include <sys/bio.h>
263 mfi_disk_strategy(struct bio *bio) argument
268 sc = bio->bio_disk->d_drv1;
271 bio->bio_error = EINVAL;
272 bio->bio_flags |= BIO_ERROR;
273 bio->bio_resid = bio->bio_bcount;
274 biodone(bio);
280 bio
305 mfi_disk_complete(struct bio *bio) argument
[all...]
/freebsd-13-stable/crypto/openssl/crypto/pem/
H A Dpem_x509.c12 #include <openssl/bio.h>
H A Dpem_xaux.c12 #include <openssl/bio.h>
/freebsd-13-stable/sys/dev/amr/
H A Damr_disk.c72 #include <sys/bio.h>
162 amrd_strategy(struct bio *bio) argument
164 struct amrd_softc *sc = (struct amrd_softc *)bio->bio_disk->d_drv1;
168 bio->bio_error = EINVAL;
172 amr_submit_bio(sc->amrd_controller, bio);
176 bio->bio_flags |= BIO_ERROR;
181 bio->bio_resid = bio->bio_bcount;
182 biodone(bio);
189 struct bio *bio = (struct bio *)data; local
[all...]
/freebsd-13-stable/crypto/openssl/crypto/err/
H A Derr_prn.c58 BIO *bio = BIO_new_fp(fp, BIO_NOCLOSE); local
59 if (bio == NULL)
62 ERR_print_errors_cb(print_bio, bio);
63 BIO_free(bio);
/freebsd-13-stable/crypto/openssl/crypto/pkcs7/
H A Dbio_pk7.c12 #include <openssl/bio.h>
H A Dpk7_mime.c29 int SMIME_write_PKCS7(BIO *bio, PKCS7 *p7, BIO *data, int flags) argument
40 return SMIME_write_ASN1(bio, (ASN1_VALUE *)p7, data, flags,
45 PKCS7 *SMIME_read_PKCS7(BIO *bio, BIO **bcont) argument
47 return (PKCS7 *)SMIME_read_ASN1(bio, bcont, ASN1_ITEM_rptr(PKCS7));
/freebsd-13-stable/crypto/openssl/include/crypto/
H A Dstore.h13 # include <openssl/bio.h>
/freebsd-13-stable/crypto/openssl/include/internal/
H A Dbio.h13 #include <openssl/bio.h>
30 void bio_free_ex_data(BIO *bio);
35 int bwrite_conv(BIO *bio, const char *data, size_t datal, size_t *written);
36 int bread_conv(BIO *bio, char *data, size_t datal, size_t *read);
38 /* Changes to these internal BIOs must also update include/openssl/bio.h */
/freebsd-13-stable/sys/geom/
H A Dgeom_dbg.h46 void g_dbg_printf(const char *classname, int lvl, struct bio *bp,

Completed in 279 milliseconds

1234567891011>>