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

1234567

/external/kernel-headers/original/linux/
H A Dbio.h64 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 Delevator.h5 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 Dblkdev.h13 #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 Dloop.h17 #include <linux/bio.h>
59 struct bio *lo_bio;
60 struct bio *lo_biotail;
/external/openssl/crypto/bio/
H A Dbio_cb.c1 /* 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 Dbss_bio.c1 /* 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 Dbio_lib.c1 /* 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; 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 Dbss_acpt.c1 /* 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 Dbio_lcl.h1 #include <openssl/bio.h>
H A Dbss_conn.c1 /* 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 Dpem_x509.c61 #include <openssl/bio.h>
H A Dpem_xaux.c61 #include <openssl/bio.h>
/external/openssl/crypto/err/
H A Derr_prn.c92 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 Dpk7_mime.c77 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 Dpk7_doit.c256 BIO *PKCS7_dataInit(PKCS7 *p7, BIO *bio) argument
370 if (bio == NULL)
373 bio=BIO_new(BIO_s_null());
375 bio = BIO_new_mem_buf(os->data, os->length);
376 if(bio == NULL)
378 bio=BIO_new(BIO_s_mem());
379 if (bio == NULL)
381 BIO_set_mem_eof_return(bio,0);
385 BIO_push(out,bio);
387 out = bio;
416 BIO *out=NULL,*btmp=NULL,*etmp=NULL,*bio=NULL; local
639 PKCS7_find_digest(EVP_MD_CTX **pmd, BIO *bio, int nid) argument
694 PKCS7_dataFinal(PKCS7 *p7, BIO *bio) argument
913 PKCS7_dataVerify(X509_STORE *cert_store, X509_STORE_CTX *ctx, BIO *bio, PKCS7 *p7, PKCS7_SIGNER_INFO *si) argument
967 PKCS7_signatureVerify(BIO *bio, PKCS7 *p7, PKCS7_SIGNER_INFO *si, X509 *x509) argument
[all...]
/external/chromium/third_party/libjingle/source/talk/base/
H A Dopensslidentity.cc31 #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 Drsa_private_key_openssl.cc33 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 Dsignature_verifier_openssl.cc54 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 Dasn_mime.c97 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
428 SMIME_read_ASN1(BIO *bio, BIO **bcont, const ASN1_ITEM *it) argument
604 multi_split(BIO *bio, char *bound, STACK_OF(BIO) **ret) argument
[all...]
/external/openssl/apps/
H A Ds_cb.c281 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
602 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);
608 BIO_printf(bio, " ");
617 BIO_printf(bio, "\n ");
618 BIO_printf(bio, " %02x", ((const unsigned char*)buf)[i]);
621 BIO_printf(bio, "
631 BIO *bio = arg; local
[all...]
H A Ds_client.c1699 static void print_stuff(BIO *bio, SSL *s, int full) argument
1723 BIO_printf(bio,"---\nCertificate chain\n");
1728 BIO_printf(bio,"%2d s:%s\n",i,buf);
1731 BIO_printf(bio," i:%s\n",buf);
1733 PEM_write_bio_X509(bio,sk_X509_value(sk,i));
1737 BIO_printf(bio,"---\n");
1741 BIO_printf(bio,"Server certificate\n");
1743 PEM_write_bio_X509(bio,peer);
1746 BIO_printf(bio,"subject=%s\n",buf);
1749 BIO_printf(bio,"issue
[all...]
/external/openssl/crypto/
H A Dcryptlib.h74 #include <openssl/bio.h>
H A DAndroid.mk114 bio/b_dump.c \
115 bio/b_print.c \
116 bio/b_sock.c \
117 bio/bf_buff.c \
118 bio/bf_nbio.c \
119 bio/bf_null.c \
120 bio/bio_cb.c \
121 bio/bio_err.c \
122 bio/bio_lib.c \
123 bio/bss_acp
[all...]
/external/openssl/patches/
H A Dcrypto_Android.mk114 bio/b_dump.c \
115 bio/b_print.c \
116 bio/b_sock.c \
117 bio/bf_buff.c \
118 bio/bf_nbio.c \
119 bio/bf_null.c \
120 bio/bio_cb.c \
121 bio/bio_err.c \
122 bio/bio_lib.c \
123 bio/bss_acp
[all...]
/external/kernel-headers/original/linux/raid/
H A Dmd.h43 #include <linux/bio.h>
81 extern void md_write_start(mddev_t *mddev, struct bio *bi);

Completed in 350 milliseconds

1234567