/external/kernel-headers/original/linux/ |
H A D | bio.h | 64 struct bio; 65 typedef int (bio_end_io_t) (struct bio *, unsigned int, int); 66 typedef void (bio_destructor_t) (struct bio *); 72 struct bio { struct 74 struct bio *bi_next; /* request queue link */ 99 * in this bio 117 * bio flags 124 #define BIO_BOUNCED 5 /* bio is a bounce bio */ 127 #define bio_flagged(bio, fla 349 __bio_kmap_irq(struct bio *bio, unsigned short idx, unsigned long *flags) argument [all...] |
H A D | elevator.h | 5 struct bio *); 17 typedef int (elevator_may_queue_fn) (request_queue_t *, int, struct bio *); 19 typedef int (elevator_set_req_fn) (request_queue_t *, struct request *, struct bio *, gfp_t); 94 extern int elv_merge(request_queue_t *, struct request **, struct bio *); 106 extern int elv_may_queue(request_queue_t *, int, struct bio *); 108 extern int elv_set_request(request_queue_t *, struct request *, struct bio *, gfp_t); 125 extern int elv_rq_merge_ok(struct request *, struct bio *);
|
H A D | blkdev.h | 13 #include <linux/bio.h> 134 /* Maintain bio traversal state for part by part I/O submission. 148 struct bio *bio; member in struct:request 149 struct bio *biotail; 286 struct bio *); 290 typedef int (make_request_fn) (request_queue_t *q, struct bio *bio); 295 typedef int (merge_bvec_fn) (request_queue_t *, struct bio *, struct bio_vec *); 574 extern void blk_queue_bounce(request_queue_t *q, struct bio **bi 580 blk_queue_bounce(request_queue_t *q, struct bio **bio) argument [all...] |
H A D | loop.h | 17 #include <linux/bio.h> 59 struct bio *lo_bio; 60 struct bio *lo_biotail;
|
/external/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 78 BIO_snprintf(buf,sizeof buf,"BIO[%08lX]:",(unsigned long)bio); 84 BIO_snprintf(p,p_maxlen,"Free - %s\n",bio->method->name); 87 if (bio->method->type & BIO_TYPE_DESCRIPTOR) 89 bio->num,(unsigned long)argi, 90 bio->method->name,bio->num); 93 bio [all...] |
H A D | bss_bio.c | 1 /* crypto/bio/bss_bio.c -*- Mode: C; c-file-style: "eay" -*- */ 82 #include <openssl/bio.h> 96 static int bio_new(BIO *bio); 97 static int bio_free(BIO *bio); 98 static int bio_read(BIO *bio, char *buf, int size); 99 static int bio_write(BIO *bio, const char *buf, int num); 100 static long bio_ctrl(BIO *bio, int cmd, long num, void *ptr); 101 static int bio_puts(BIO *bio, const char *str); 104 static void bio_destroy_pair(BIO *bio); 145 static int bio_new(BIO *bio) argument 162 bio_free(BIO *bio) argument 187 bio_read(BIO *bio, char *buf, int size_) argument 280 bio_nread0(BIO *bio, char **buf) argument 318 bio_nread(BIO *bio, char **buf, size_t num_) argument 352 bio_write(BIO *bio, const char *buf, int num_) argument 431 bio_nwrite0(BIO *bio, char **buf) argument 479 bio_nwrite(BIO *bio, char **buf, size_t num_) argument 503 bio_ctrl(BIO *bio, int cmd, long num, void *ptr) argument 698 bio_puts(BIO *bio, const char *str) argument 757 bio_destroy_pair(BIO *bio) argument 841 BIO_ctrl_get_write_guarantee(BIO *bio) argument 846 BIO_ctrl_get_read_request(BIO *bio) argument 851 BIO_ctrl_reset_read_request(BIO *bio) argument 860 BIO_nread0(BIO *bio, char **buf) argument 877 BIO_nread(BIO *bio, char **buf, int num) argument 893 BIO_nwrite0(BIO *bio, char **buf) argument 910 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> 84 int BIO_set(BIO *bio, BIO_METHOD *method) argument 86 bio->method=method; 87 bio->callback=NULL; 88 bio->cb_arg=NULL; 89 bio->init=0; 90 bio->shutdown=1; 91 bio->flags=0; 92 bio 408 BIO_ctrl_pending(BIO *bio) argument 413 BIO_ctrl_wpending(BIO *bio) argument 420 BIO_push(BIO *b, BIO *bio) argument 456 BIO_get_retry_BIO(BIO *bio, int *reason) argument 472 BIO_get_retry_reason(BIO *bio) argument 477 BIO_find_type(BIO *bio, int type) argument 506 BIO_free_all(BIO *bio) argument 524 BIO *ret=NULL,*eoc=NULL,*bio,*new_bio; local 580 BIO_set_ex_data(BIO *bio, int idx, void *data) argument 585 BIO_get_ex_data(BIO *bio, int idx) argument 590 BIO_number_read(BIO *bio) argument 596 BIO_number_written(BIO *bio) argument [all...] |
H A D | bss_acpt.c | 1 /* crypto/bio/bss_acpt.c */ 63 #include <openssl/bio.h> 168 static void acpt_close_socket(BIO *bio) argument 172 c=(BIO_ACCEPT *)bio->ptr; 178 bio->num=INVALID_SOCKET; 202 BIO *bio=NULL,*dbio; local 253 bio=BIO_new_socket(i,BIO_CLOSE); 254 if (bio == NULL) goto err; 256 BIO_set_callback(bio,BIO_get_callback(b)); 257 BIO_set_callback_arg(bio,BIO_get_callback_ar [all...] |
H A D | bio_lcl.h | 1 #include <openssl/bio.h>
|
H A D | bss_conn.c | 1 /* crypto/bio/bss_conn.c */ 63 #include <openssl/bio.h> 92 /* int socket; this will be kept in bio->num so that it is 93 * compatible with the bss_sock bio */ 98 int (*info_callback)(const BIO *bio,int state,int ret); 369 static void conn_close_socket(BIO *bio) argument 373 c=(BIO_CONNECT *)bio->ptr; 374 if (bio->num != INVALID_SOCKET) 378 shutdown(bio->num,2); 379 closesocket(bio [all...] |
/external/openssl/crypto/pem/ |
H A D | pem_x509.c | 61 #include <openssl/bio.h>
|
H A D | pem_xaux.c | 61 #include <openssl/bio.h>
|
/external/openssl/crypto/err/ |
H A D | err_prn.c | 92 BIO bio; local 94 BIO_set(&bio,BIO_s_file()); 95 BIO_set_fp(&bio,fp,BIO_NOCLOSE); 97 return BIO_printf(&bio, "%s", str);
|
/external/openssl/crypto/pkcs7/ |
H A D | pk7_mime.c | 77 int SMIME_write_PKCS7(BIO *bio, PKCS7 *p7, BIO *data, int flags) argument 89 return SMIME_write_ASN1(bio, (ASN1_VALUE *)p7, data, flags, 94 PKCS7 *SMIME_read_PKCS7(BIO *bio, BIO **bcont) argument 96 return (PKCS7 *)SMIME_read_ASN1(bio, bcont, ASN1_ITEM_rptr(PKCS7));
|
H A D | pk7_doit.c | 263 BIO *PKCS7_dataInit(PKCS7 *p7, BIO *bio) argument 377 if (bio == NULL) 380 bio=BIO_new(BIO_s_null()); 382 bio = BIO_new_mem_buf(os->data, os->length); 383 if(bio == NULL) 385 bio=BIO_new(BIO_s_mem()); 386 if (bio == NULL) 388 BIO_set_mem_eof_return(bio,0); 392 BIO_push(out,bio); 394 out = bio; 423 BIO *out=NULL,*btmp=NULL,*etmp=NULL,*bio=NULL; local 680 PKCS7_find_digest(EVP_MD_CTX **pmd, BIO *bio, int nid) argument 739 PKCS7_dataFinal(PKCS7 *p7, BIO *bio) argument 960 PKCS7_dataVerify(X509_STORE *cert_store, X509_STORE_CTX *ctx, BIO *bio, PKCS7 *p7, PKCS7_SIGNER_INFO *si) argument 1014 PKCS7_signatureVerify(BIO *bio, PKCS7 *p7, PKCS7_SIGNER_INFO *si, X509 *x509) argument [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
H A D | opensslidentity.cc | 31 #include <openssl/bio.h> 178 LOG_F(LS_ERROR) << "Failed to allocate temporary memory bio"; 209 BIO* bio = BIO_new_mem_buf(const_cast<char*>(pem_string.c_str()), -1); local 210 if (!bio) 212 (void)BIO_set_close(bio, BIO_NOCLOSE); 213 BIO_set_mem_eof_return(bio, 0); 214 X509 *x509 = PEM_read_bio_X509(bio, NULL, NULL, 217 int remaining_length = BIO_get_mem_data(bio, &ptr); 218 BIO_free(bio); 232 BIO* bio local [all...] |
/external/chromium/crypto/ |
H A D | rsa_private_key_openssl.cc | 33 ScopedOpenSSL<BIO, BIO_free_all> bio(BIO_new(BIO_s_mem())); 35 int res = export_fn(bio.get(), key); 40 long len = BIO_get_mem_data(bio.get(), &data); 84 ScopedOpenSSL<BIO, BIO_free_all> bio(BIO_new_mem_buf(data, input.size())); 85 if (!bio.get()) 92 d2i_PKCS8_PRIV_KEY_INFO_bio(bio.get(), NULL));
|
H A D | signature_verifier_openssl.cc | 54 ScopedOpenSSL<BIO, BIO_free_all> bio(BIO_new_mem_buf(data, 56 if (!bio.get()) 59 verify_context_->public_key.reset(d2i_PUBKEY_bio(bio.get(), NULL));
|
/external/openssl/crypto/asn1/ |
H A D | asn_mime.c | 97 static STACK_OF(MIME_HEADER) *mime_parse_hdr(BIO *bio); 104 static int multi_split(BIO *bio, char *bound, STACK_OF(BIO) **ret); 121 BIO *bio, *tbio; local 122 bio = BIO_new_NDEF(out, val, it); 123 if (!bio) 128 SMIME_crlf_copy(in, bio, flags); 129 (void)BIO_flush(bio); 133 tbio = BIO_pop(bio); 134 BIO_free(bio); 135 bio 182 b64_read_asn1(BIO *bio, const ASN1_ITEM *it) argument 278 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 432 SMIME_read_ASN1(BIO *bio, BIO **bcont, const ASN1_ITEM *it) argument 608 multi_split(BIO *bio, char *bound, STACK_OF(BIO) **ret) argument [all...] |
/external/openssl/apps/ |
H A D | s_cb.c | 281 long MS_CALLBACK bio_dump_callback(BIO *bio, int cmd, const char *argp, argument 286 out=(BIO *)BIO_get_callback_arg(bio); 292 (void *)bio,argp,(unsigned long)argi,ret,ret); 299 (void *)bio,argp,(unsigned long)argi,ret,ret); 344 BIO *bio = arg; local 631 BIO_printf(bio, "%s %s%s [length %04lx]%s%s\n", str_write_p, str_version, str_content_type, (unsigned long)len, str_details1, str_details2); 637 BIO_printf(bio, " "); 646 BIO_printf(bio, "\n "); 647 BIO_printf(bio, " %02x", ((const unsigned char*)buf)[i]); 650 BIO_printf(bio, " 660 BIO *bio = arg; local [all...] |
H A D | srp.c | 65 #include <openssl/bio.h> 143 static void print_entry(CA_DB *db, BIO *bio, int indx, int verbose, char *s) argument 149 BIO_printf(bio, "%s \"%s\"\n", s, pp[DB_srpid]); 157 static void print_index(CA_DB *db, BIO *bio, int indexindex, int verbose) argument 159 print_entry(db, bio, indexindex, verbose, "g N entry") ; 162 static void print_user(CA_DB *db, BIO *bio, int userindex, int verbose) argument 170 print_entry(db, bio, userindex, verbose, "User entry"); 171 print_entry(db, bio, get_index(db, pp[DB_srpgN], 'I'), verbose, "g N entry"); 177 static int update_index(CA_DB *db, BIO *bio, char **row) argument 197 BIO_printf(bio,"faile 211 srp_verify_user(const char *user, const char *srp_verifier, char *srp_usersalt, const char *g, const char *N, const char *passin, BIO *bio, int verbose) argument 242 srp_create_user(char *user, char **srp_verifier, char **srp_usersalt, char *g, char *N, char *passout, BIO *bio, int verbose) argument [all...] |
H A D | s_client.c | 1926 static void print_stuff(BIO *bio, SSL *s, int full) argument 1951 BIO_printf(bio,"---\nCertificate chain\n"); 1956 BIO_printf(bio,"%2d s:%s\n",i,buf); 1959 BIO_printf(bio," i:%s\n",buf); 1961 PEM_write_bio_X509(bio,sk_X509_value(sk,i)); 1965 BIO_printf(bio,"---\n"); 1969 BIO_printf(bio,"Server certificate\n"); 1971 PEM_write_bio_X509(bio,peer); 1974 BIO_printf(bio,"subject=%s\n",buf); 1977 BIO_printf(bio,"issue [all...] |
/external/openssl/crypto/ |
H A D | cryptlib.h | 74 #include <openssl/bio.h>
|
/external/kernel-headers/original/linux/raid/ |
H A D | md.h | 43 #include <linux/bio.h> 81 extern void md_write_start(mddev_t *mddev, struct bio *bi);
|
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
H A D | tls_openssl.c | 56 BIO *bio = NULL; local 59 if (length != -1 && (bio = BIO_new(BIO_s_mem())) != NULL) { 60 BIO_write(bio, value, length); 62 return bio; 1150 BIO *bio = BIO_from_keystore(&ca_cert[11]); local 1153 if (bio) { 1154 stack = PEM_X509_INFO_read_bio(bio, NULL, NULL, NULL); 1155 BIO_free(bio); 1347 BIO *bio = BIO_from_keystore(&client_cert[11]); local 1350 if (bio) { 1758 BIO *bio = BIO_from_keystore(&private_key[11]); local [all...] |