/freebsd-10.1-release/sys/geom/vinum/ |
H A D | geom_vinum_raid5.h | 43 struct bio *bio; /* Pointer to the original bio. */ member in struct:gv_raid5_packet 44 struct bio *parity; /* The bio containing the parity data. */ 45 struct bio *waiting; /* A bio that need to wait for other bios. */ 51 struct gv_raid5_packet * gv_raid5_start(struct gv_plex *, struct bio *, 53 int gv_stripe_active(struct gv_plex *, struct bio *);
|
H A D | geom_vinum.h | 131 void gv_start(struct bio *); 136 void gv_done(struct bio *); 137 void gv_volume_start(struct gv_softc *, struct bio *); 139 void gv_bio_done(struct gv_softc *, struct bio *); 142 void gv_plex_start(struct gv_plex *, struct bio *); 143 void gv_plex_raid5_done(struct gv_plex *, struct bio *); 144 void gv_plex_normal_done(struct gv_plex *, struct bio *); 146 void gv_grow_complete(struct gv_plex *, struct bio *); 148 void gv_init_complete(struct gv_plex *, struct bio *); 150 void gv_parity_complete(struct gv_plex *, struct bio *); [all...] |
/freebsd-10.1-release/crypto/openssl/crypto/ts/ |
H A D | ts_rsp_print.c | 74 static int TS_status_map_print(BIO *bio, struct status_map_st *a, 76 static int TS_ACCURACY_print_bio(BIO *bio, const TS_ACCURACY *accuracy); 80 int TS_RESP_print_bio(BIO *bio, TS_RESP *a) argument 84 BIO_printf(bio, "Status info:\n"); 85 TS_STATUS_INFO_print_bio(bio, TS_RESP_get_status_info(a)); 87 BIO_printf(bio, "\nTST info:\n"); 90 TS_TST_INFO_print_bio(bio, TS_RESP_get_tst_info(a)); 92 BIO_printf(bio, "Not included.\n"); 97 int TS_STATUS_INFO_print_bio(BIO *bio, TS_STATUS_INFO *a) argument 131 BIO_printf(bio, "Statu 161 TS_status_map_print(BIO *bio, struct status_map_st *a, ASN1_BIT_STRING *v) argument 177 TS_TST_INFO_print_bio(BIO *bio, TS_TST_INFO *a) argument 258 TS_ACCURACY_print_bio(BIO *bio, const TS_ACCURACY *accuracy) argument [all...] |
H A D | ts_req_print.c | 69 int TS_REQ_print_bio(BIO *bio, TS_REQ *a) argument 79 BIO_printf(bio, "Version: %d\n", v); 81 TS_MSG_IMPRINT_print_bio(bio, TS_REQ_get_msg_imprint(a)); 83 BIO_printf(bio, "Policy OID: "); 86 BIO_printf(bio, "unspecified\n"); 88 TS_OBJ_print_bio(bio, policy_id); 90 BIO_printf(bio, "Nonce: "); 93 BIO_printf(bio, "unspecified"); 95 TS_ASN1_INTEGER_print_bio(bio, nonce); 96 BIO_write(bio, "\ [all...] |
H A D | ts_lib.c | 71 int TS_ASN1_INTEGER_print_bio(BIO *bio, const ASN1_INTEGER *num) argument 80 result = BIO_write(bio, "0x", 2) > 0; 81 result = result && BIO_write(bio, hex, strlen(hex)) > 0; 89 int TS_OBJ_print_bio(BIO *bio, const ASN1_OBJECT *obj) argument 94 BIO_printf(bio, "%s\n", obj_txt); 99 int TS_ext_print_bio(BIO *bio, const STACK_OF(X509_EXTENSION) *extensions) argument 105 BIO_printf(bio, "Extensions:\n"); 110 i2a_ASN1_OBJECT(bio, obj); 112 BIO_printf(bio, ": %s\n", critical ? "critical" : ""); 113 if (!X509V3_EXT_print(bio, e 123 TS_X509_ALGOR_print_bio(BIO *bio, const X509_ALGOR *alg) argument 130 TS_MSG_IMPRINT_print_bio(BIO *bio, TS_MSG_IMPRINT *a) argument [all...] |
/freebsd-10.1-release/share/doc/papers/bufbio/ |
H A D | Makefile | 4 DOC= bio 5 SRCS= bio.ms-patched 9 CLEANFILES= bio.ms-patched 11 bio.ms-patched: bio.ms
|
/freebsd-10.1-release/crypto/openssl/crypto/bio/ |
H A D | bio_cb.c | 1 /* crypto/bio/bio_cb.c */ 63 #include <openssl/bio.h> 66 long MS_CALLBACK BIO_debug_callback(BIO *bio, int cmd, const char *argp, argument 79 len = BIO_snprintf(buf,sizeof buf,"BIO[%p]: ",(void *)bio); 86 BIO_snprintf(p, p_maxlen, "Free - %s\n", bio->method->name); 89 if (bio->method->type & BIO_TYPE_DESCRIPTOR) 91 bio->num, (unsigned long)argi, 92 bio->method->name, bio->num); 95 bio [all...] |
H A D | bss_bio.c | 1 /* crypto/bio/bss_bio.c -*- Mode: C; c-file-style: "eay" -*- */ 83 #include <openssl/bio.h> 97 static int bio_new(BIO *bio); 98 static int bio_free(BIO *bio); 99 static int bio_read(BIO *bio, char *buf, int size); 100 static int bio_write(BIO *bio, const char *buf, int num); 101 static long bio_ctrl(BIO *bio, int cmd, long num, void *ptr); 102 static int bio_puts(BIO *bio, const char *str); 105 static void bio_destroy_pair(BIO *bio); 143 static int bio_new(BIO *bio) argument 160 bio_free(BIO *bio) argument 182 bio_read(BIO *bio, char *buf, int size_) argument 273 bio_nread0(BIO *bio, char **buf) argument 310 bio_nread(BIO *bio, char **buf, size_t num_) argument 341 bio_write(BIO *bio, const char *buf, int num_) argument 418 bio_nwrite0(BIO *bio, char **buf) argument 466 bio_nwrite(BIO *bio, char **buf, size_t num_) argument 489 bio_ctrl(BIO *bio, int cmd, long num, void *ptr) argument 677 bio_puts(BIO *bio, const char *str) argument 730 bio_destroy_pair(BIO *bio) argument 806 BIO_ctrl_get_write_guarantee(BIO *bio) argument 811 BIO_ctrl_get_read_request(BIO *bio) argument 816 BIO_ctrl_reset_read_request(BIO *bio) argument 826 BIO_nread0(BIO *bio, char **buf) argument 842 BIO_nread(BIO *bio, char **buf, int num) argument 857 BIO_nwrite0(BIO *bio, char **buf) argument 873 BIO_nwrite(BIO *bio, char **buf, int num) argument [all...] |
H A D | bio_lib.c | 1 /* crypto/bio/bio_lib.c */ 63 #include <openssl/bio.h> 82 int BIO_set(BIO *bio, BIO_METHOD *method) argument 84 bio->method = method; 85 bio->callback = NULL; 86 bio->cb_arg = NULL; 87 bio->init = 0; 88 bio->shutdown = 1; 89 bio->flags = 0; 90 bio 399 BIO_ctrl_pending(BIO *bio) argument 404 BIO_ctrl_wpending(BIO *bio) argument 410 BIO_push(BIO *b, BIO *bio) argument 448 BIO_get_retry_BIO(BIO *bio, int *reason) argument 466 BIO_get_retry_reason(BIO *bio) argument 471 BIO_find_type(BIO *bio, int type) argument 500 BIO_free_all(BIO *bio) argument 518 BIO *ret = NULL, *eoc = NULL, *bio, *new_bio; local 572 BIO_set_ex_data(BIO *bio, int idx, void *data) argument 577 BIO_get_ex_data(BIO *bio, int idx) argument 582 BIO_number_read(BIO *bio) argument 589 BIO_number_written(BIO *bio) argument [all...] |
/freebsd-10.1-release/sys/sys/ |
H A D | bio.h | 54 #define BIO_ERROR 0x01 /* An error occurred processing this bio. */ 55 #define BIO_DONE 0x02 /* This bio is finished. */ 56 #define BIO_ONQUEUE 0x04 /* This bio is in a queue & not yet taken. */ 58 * This bio must be executed after all previous bios in the queue have been 67 struct bio; 76 * The bio structure describes an I/O operation in the kernel. 78 struct bio { struct 93 void (*bio_done)(struct bio *); 98 TAILQ_ENTRY(bio) bio_queue; /* Disksort queue. */ 106 struct bio *bio_paren [all...] |
H A D | memdesc.h | 32 struct bio; 47 struct bio *md_bio; 60 #define MEMDESC_BIO 5 /* Pointer to a bio (block io). */ 114 memdesc_bio(struct bio *bio) argument 118 mem.u.md_bio = bio;
|
/freebsd-10.1-release/sys/geom/sched/ |
H A D | g_sched.h | 128 void gs_bioq_remove(struct bio_queue_head *, struct bio *); 130 void gs_bioq_insert_head(struct bio_queue_head *, struct bio *); 131 void gs_bioq_insert_tail(struct bio_queue_head *, struct bio *); 132 struct bio *gs_bioq_first(struct bio_queue_head *); 133 struct bio *gs_bioq_takefirst(struct bio_queue_head *); 134 void gs_bioq_disksort(struct bio_queue_head *, struct bio *);
|
H A D | subr_disk.c | 21 #include <sys/bio.h> 34 * A bioq stores disk I/O request (bio), normally sorted according to 35 * the distance of the requested position (bio->bio_offset) from the 51 * bioq->last_offset = bio->bio_offset + bio->bio_length; 62 * NOTE: historical behaviour was to ignore bio->bio_length in the 82 * bioq->last_offset = bio->bio_offset so that 96 * that the bio inserted with the last bioq_insert_head() will stay 115 gs_bioq_remove(struct bio_queue_head *head, struct bio *bp) 130 struct bio *b [all...] |
H A D | gs_scheduler.h | 42 * about geom, they only need to handle the 'bio' requests they 70 * The scheduler can use bio->bio_caller1 to store a non-null 75 * immediately, either a pointer to the bio to be served or NULL 76 * if no bio should be served now. If force is specified, a 98 typedef int gs_start_t (void *data, struct bio *bio); 99 typedef void gs_done_t (void *data, struct bio *bio); 100 typedef struct bio *gs_next_t (void *data, int force); 151 void *g_sched_get_class(struct g_geom *gp, struct bio *b [all...] |
/freebsd-10.1-release/crypto/openssl/crypto/x509/ |
H A D | verify_extra_test.c | 60 #include <openssl/bio.h> 68 BIO *bio; local 71 bio = BIO_new_file(filename, "r"); 73 if (bio == NULL) { 79 BIO_free(bio); 85 x = PEM_read_bio_X509(bio, NULL, 0, NULL); 88 BIO_free(bio); 99 BIO_free(bio); 139 BIO *bio = NULL; local 156 if ((bio [all...] |
/freebsd-10.1-release/sys/dev/nvme/ |
H A D | nvme_test.c | 31 #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 107 bio = g_alloc_bio(); 109 memset(bio, 0, sizeof(*bio)); [all...] |
/freebsd-10.1-release/sys/dev/mfi/ |
H A D | mfi_disk.c | 41 #include <sys/bio.h> 259 mfi_disk_strategy(struct bio *bio) argument 264 sc = bio->bio_disk->d_drv1; 267 bio->bio_error = EINVAL; 268 bio->bio_flags |= BIO_ERROR; 269 bio->bio_resid = bio->bio_bcount; 270 biodone(bio); 276 bio 301 mfi_disk_complete(struct bio *bio) argument [all...] |
/freebsd-10.1-release/sys/kern/ |
H A D | subr_disk.c | 21 #include <sys/bio.h> 34 disk_err(struct bio *bp, const char *what, int blkdone, int nl) 75 * A bioq stores disk I/O request (bio), normally sorted according to 76 * the distance of the requested position (bio->bio_offset) from the 92 * bioq->last_offset = bio->bio_offset + bio->bio_length; 103 * NOTE: historical behaviour was to ignore bio->bio_length in the 123 * bioq->last_offset = bio->bio_offset so that 137 * that the bio inserted with the last bioq_insert_head() will stay 156 bioq_remove(struct bio_queue_head *head, struct bio *b [all...] |
/freebsd-10.1-release/crypto/openssl/crypto/pem/ |
H A D | pem_xaux.c | 62 #include <openssl/bio.h>
|
H A D | pem_x509.c | 62 #include <openssl/bio.h>
|
/freebsd-10.1-release/sys/dev/amr/ |
H A D | amr_disk.c | 70 #include <sys/bio.h> 161 amrd_strategy(struct bio *bio) argument 163 struct amrd_softc *sc = (struct amrd_softc *)bio->bio_disk->d_drv1; 167 bio->bio_error = EINVAL; 171 amr_submit_bio(sc->amrd_controller, bio); 175 bio->bio_flags |= BIO_ERROR; 180 bio->bio_resid = bio->bio_bcount; 181 biodone(bio); 188 struct bio *bio = (struct bio *)data; local [all...] |
/freebsd-10.1-release/crypto/openssl/crypto/err/ |
H A D | err_prn.c | 91 BIO bio; local 93 BIO_set(&bio, BIO_s_file()); 94 BIO_set_fp(&bio, fp, BIO_NOCLOSE); 96 return BIO_printf(&bio, "%s", str);
|
/freebsd-10.1-release/crypto/openssl/crypto/pkcs7/ |
H A D | bio_pk7.c | 58 #include <openssl/bio.h>
|
H A D | pk7_mime.c | 77 int SMIME_write_PKCS7(BIO *bio, PKCS7 *p7, BIO *data, int flags) argument 88 return SMIME_write_ASN1(bio, (ASN1_VALUE *)p7, data, flags, 93 PKCS7 *SMIME_read_PKCS7(BIO *bio, BIO **bcont) argument 95 return (PKCS7 *)SMIME_read_ASN1(bio, bcont, ASN1_ITEM_rptr(PKCS7));
|
/freebsd-10.1-release/crypto/openssl/crypto/asn1/ |
H A D | asn_mime.c | 99 static STACK_OF(MIME_HEADER) *mime_parse_hdr(BIO *bio); 106 static int multi_split(BIO *bio, char *bound, STACK_OF(BIO) **ret); 122 BIO *bio, *tbio; local 123 bio = BIO_new_NDEF(out, val, it); 124 if (!bio) { 128 SMIME_crlf_copy(in, bio, flags); 129 (void)BIO_flush(bio); 132 tbio = BIO_pop(bio); 133 BIO_free(bio); 134 bio 181 b64_read_asn1(BIO *bio, const ASN1_ITEM *it) argument 272 SMIME_write_ASN1(BIO *bio, ASN1_VALUE *val, BIO *data, int flags, int ctype_nid, int econt_nid, STACK_OF(X509_ALGOR) *mdalgs, const ASN1_ITEM *it) argument 420 SMIME_read_ASN1(BIO *bio, BIO **bcont, const ASN1_ITEM *it) argument 595 multi_split(BIO *bio, char *bound, STACK_OF(BIO) **ret) argument [all...] |