/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/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 75 struct bio *bi_next; /* request queue link */ 100 * in this bio 118 * bio flags 125 #define BIO_BOUNCED 5 /* bio is a bounce bio */ 128 #define bio_flagged(bio, fla 353 __bio_kmap_irq(struct bio *bio, unsigned short idx, unsigned long *flags) argument [all...] |
H A D | blktrace_api.h | 47 __BLK_TA_SPLIT, /* bio was split */ 48 __BLK_TA_BOUNCE, /* bio was bounced */ 49 __BLK_TA_REMAP, /* bio was remapped */ 157 * Records an action against a request. Will log the bio offset + size. 179 * blk_add_trace_bio - Add a trace for a bio oriented action 181 * @bio: the source bio 185 * Records an action against a bio. Will log the bio offset + size. 188 static inline void blk_add_trace_bio(struct request_queue *q, struct bio *bi argument 210 blk_add_trace_generic(struct request_queue *q, struct bio *bio, int rw, u32 what) argument 237 blk_add_trace_pdu_int(struct request_queue *q, u32 what, struct bio *bio, unsigned int pdu) argument 265 blk_add_trace_remap(struct request_queue *q, struct bio *bio, dev_t dev, sector_t from, sector_t to) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/md/ |
H A D | dm-bio-record.h | 10 #include <linux/bio.h> 13 * There are lots of mutable fields in the bio struct that get 15 * such as multipath, may wish to resubmit a bio on error. The 17 * original bio state. 27 static inline void dm_bio_record(struct dm_bio_details *bd, struct bio *bio) argument 29 bd->bi_sector = bio->bi_sector; 30 bd->bi_bdev = bio->bi_bdev; 31 bd->bi_size = bio->bi_size; 32 bd->bi_idx = bio 36 dm_bio_restore(struct dm_bio_details *bd, struct bio *bio) argument [all...] |
H A D | dm-bio-list.h | 10 #include <linux/bio.h> 14 struct bio *head; 15 struct bio *tail; 33 #define bio_list_for_each(bio, bl) \ 34 for (bio = (bl)->head; bio && ({ prefetch(bio->bi_next); 1; }); \ 35 bio = bio->bi_next) 40 struct bio *bi local 48 bio_list_add(struct bio_list *bl, struct bio *bio) argument 89 struct bio *bio = bl->head; local 104 struct bio *bio = bl->head; local [all...] |
H A D | dm-zero.c | 11 #include <linux/bio.h> 31 static int zero_map(struct dm_target *ti, struct bio *bio, argument 34 switch(bio_rw(bio)) { 36 zero_fill_bio(bio); 46 bio_endio(bio, bio->bi_size, 0); 48 /* accepted bio, don't make new request */
|
H A D | dm-emc.c | 35 static inline void free_bio(struct bio *bio) argument 37 __free_page(bio->bi_io_vec[0].bv_page); 38 bio_put(bio); 41 static int emc_endio(struct bio *bio, unsigned int bytes_done, int error) argument 43 struct dm_path *path = bio->bi_private; 45 if (bio->bi_size) 59 free_bio(bio); 64 static struct bio *get_failover_bi 66 struct bio *bio; local 98 get_failover_req(struct emc_handler *h, struct bio *bio, struct dm_path *path) argument 137 struct bio *bio; local 288 emc_error(struct hw_handler *hwh, struct bio *bio) argument [all...] |
H A D | dm-hw-handler.h | 37 unsigned (*error) (struct hw_handler *hwh, struct bio *bio); 55 unsigned dm_scsi_err_handler(struct hw_handler *hwh, struct bio *bio);
|
H A D | dm-delay.c | 13 #include <linux/bio.h> 17 #include "dm-bio-list.h" 43 struct bio *bio; member in struct:delay_info 69 static void flush_bios(struct bio *bio) argument 71 struct bio *n; 73 while (bio) { 74 n = bio->bi_next; 75 bio 228 delay_bio(struct delay_c *dc, int delay, struct bio *bio) argument 274 delay_map(struct dm_target *ti, struct bio *bio, union map_info *map_context) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/mm/ |
H A D | page_io.c | 17 #include <linux/bio.h> 22 static struct bio *get_swap_bio(gfp_t gfp_flags, pgoff_t index, 25 struct bio *bio; local 27 bio = bio_alloc(gfp_flags, 1); 28 if (bio) { 33 bio->bi_sector = map_swap_page(sis, swp_offset(entry)) * 35 bio->bi_bdev = sis->bdev; 36 bio->bi_io_vec[0].bv_page = page; 37 bio 47 end_swap_bio_write(struct bio *bio, unsigned int bytes_done, int err) argument 77 end_swap_bio_read(struct bio *bio, unsigned int bytes_done, int err) argument 106 struct bio *bio; local 133 struct bio *bio; local [all...] |
H A D | bounce.c | 9 #include <linux/bio.h> 95 static void copy_to_high_bio_irq(struct bio *to, struct bio *from) 122 static void bounce_end_io(struct bio *bio, mempool_t *pool, int err) argument 124 struct bio *bio_orig = bio->bi_private; 128 if (test_bit(BIO_EOPNOTSUPP, &bio->bi_flags)) 134 __bio_for_each_segment(bvec, bio, i, 0) { 144 bio_put(bio); 147 bounce_end_io_write(struct bio *bio, unsigned int bytes_done, int err) argument 156 bounce_end_io_write_isa(struct bio *bio, unsigned int bytes_done, int err) argument 165 __bounce_end_io_read(struct bio *bio, mempool_t *pool, int err) argument 175 bounce_end_io_read(struct bio *bio, unsigned int bytes_done, int err) argument 184 bounce_end_io_read_isa(struct bio *bio, unsigned int bytes_done, int err) argument 197 struct bio *bio = NULL; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ |
H A D | bio.c | 20 #include <linux/bio.h> 64 * allocate their own private memory pools for bio and iovec structures. 74 * fs_bio_set is the bio_set containing bio and iovec memory pools used by 110 void bio_free(struct bio *bio, struct bio_set *bio_set) argument 112 const int pool_idx = BIO_POOL_IDX(bio); 116 mempool_free(bio->bi_io_vec, bio_set->bvec_pools[pool_idx]); 117 mempool_free(bio, bio_set->bio_pool); 121 * default destructor for a bio allocated with bio_alloc_bioset() 123 static void bio_fs_destructor(struct bio *bi argument 128 bio_init(struct bio *bio) argument 163 struct bio *bio = mempool_alloc(bs->bio_pool, gfp_mask); local 189 struct bio *bio = bio_alloc_bioset(gfp_mask, nr_iovecs, fs_bio_set); local 197 zero_fill_bio(struct bio *bio) argument 220 bio_put(struct bio *bio) argument 233 bio_phys_segments(request_queue_t *q, struct bio *bio) argument 241 bio_hw_segments(request_queue_t *q, struct bio *bio) argument 258 __bio_clone(struct bio *bio, struct bio *bio_src) argument 283 bio_clone(struct bio *bio, gfp_t gfp_mask) argument 318 __bio_add_page(request_queue_t *q, struct bio *bio, struct page *page, unsigned int len, unsigned int offset, unsigned short max_sectors) argument 428 bio_add_pc_page(request_queue_t *q, struct bio *bio, struct page *page, unsigned int len, unsigned int offset) argument 447 bio_add_page(struct bio *bio, struct page *page, unsigned int len, unsigned int offset) argument 459 bio_set_map_data(struct bio_map_data *bmd, struct bio *bio) argument 493 bio_uncopy_user(struct bio *bio) argument 534 struct bio *bio; local 611 struct bio *bio; local 750 struct bio *bio; local 768 __bio_unmap_user(struct bio *bio) argument 795 bio_unmap_user(struct bio *bio) argument 801 bio_map_kern_endio(struct bio *bio, unsigned int bytes_done, int err) argument 819 struct bio *bio; local 861 struct bio *bio; local 906 bio_set_pages_dirty(struct bio *bio) argument 919 bio_release_pages(struct bio *bio) argument 955 struct bio *bio; local 972 bio_check_pages_dirty(struct bio *bio) argument 1017 bio_endio(struct bio *bio, unsigned int bytes_done, int error) argument [all...] |
H A D | mpage.c | 12 * use bio_add_page() to build bio's just the right size 19 #include <linux/bio.h> 42 static int mpage_end_io_read(struct bio *bio, unsigned int bytes_done, int err) argument 44 const int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); 45 struct bio_vec *bvec = bio->bi_io_vec + bio->bi_vcnt - 1; 47 if (bio->bi_size) 53 if (--bvec >= bio->bi_io_vec) 63 } while (bvec >= bio 68 mpage_end_io_write(struct bio *bio, unsigned int bytes_done, int err) argument 93 mpage_bio_submit(int rw, struct bio *bio) argument 107 struct bio *bio; local 176 do_mpage_readpage(struct bio *bio, struct page *page, unsigned nr_pages, sector_t *last_block_in_bio, struct buffer_head *map_bh, unsigned long *first_logical_block, get_block_t get_block) argument 387 struct bio *bio = NULL; local 427 struct bio *bio = NULL; local 442 struct bio *bio; member in struct:mpage_data 452 struct bio *bio = mpd->bio; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/demos/eay/ |
H A D | conn.c | 11 #include <openssl/bio.h> 23 BIO *bio; local 38 bio=BIO_new(BIO_s_socks4a_connect()); 40 BIO_set_conn_hostname(bio,host); 41 BIO_set_proxies(bio,pxy); 42 BIO_set_socks_userid(bio,"eay"); 43 BIO_set_nbio(bio,1); 51 i=BIO_write(bio,&(p[off]),len); 54 if (BIO_should_retry(bio)) 72 i=BIO_read(bio,bu [all...] |
H A D | base64.c | 5 #include <openssl/bio.h> 11 BIO *mbio,*b64bio,*bio; local 18 bio=BIO_push(b64bio,mbio); 19 /* We now have bio pointing at b64->mem, the base64 bio encodes on 26 BIO_write(bio,buf,i); 32 BIO_flush(bio); 37 /* hmm... this one was not defined by a macro in bio.h, it will be for 38 * 0.9.1. The other option is too just read from the memory bio. 48 BIO_free_all(bio); [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/demos/eay/ |
H A D | conn.c | 11 #include <openssl/bio.h> 23 BIO *bio; local 38 bio=BIO_new(BIO_s_socks4a_connect()); 40 BIO_set_conn_hostname(bio,host); 41 BIO_set_proxies(bio,pxy); 42 BIO_set_socks_userid(bio,"eay"); 43 BIO_set_nbio(bio,1); 51 i=BIO_write(bio,&(p[off]),len); 54 if (BIO_should_retry(bio)) 72 i=BIO_read(bio,bu [all...] |
H A D | base64.c | 5 #include <openssl/bio.h> 11 BIO *mbio,*b64bio,*bio; local 18 bio=BIO_push(b64bio,mbio); 19 /* We now have bio pointing at b64->mem, the base64 bio encodes on 26 BIO_write(bio,buf,i); 32 BIO_flush(bio); 37 /* hmm... this one was not defined by a macro in bio.h, it will be for 38 * 0.9.1. The other option is too just read from the memory bio. 48 BIO_free_all(bio); [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/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,argi,bio->method->name,bio->num); 92 bio [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 362 BIO_ctrl_pending(BIO *bio) argument 367 BIO_ctrl_wpending(BIO *bio) argument 374 BIO_push(BIO *b, BIO *bio) argument 410 BIO_get_retry_BIO(BIO *bio, int *reason) argument 426 BIO_get_retry_reason(BIO *bio) argument 431 BIO_find_type(BIO *bio, int type) argument 460 BIO_free_all(BIO *bio) argument 478 BIO *ret=NULL,*eoc=NULL,*bio,*new; local 534 BIO_set_ex_data(BIO *bio, int idx, void *data) argument 539 BIO_get_ex_data(BIO *bio, int idx) argument 544 BIO_number_read(BIO *bio) argument 550 BIO_number_written(BIO *bio) argument [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...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/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,argi,bio->method->name,bio->num); 92 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; 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...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/raid/ |
H A D | multipath.h | 37 struct bio *master_bio; 38 struct bio bio; member in struct:multipath_bh
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/kernel/power/ |
H A D | swap.c | 23 #include <linux/bio.h> 58 * Straight from the textbook - allocate and initialize the bio. 63 struct bio **bio_chain) 65 struct bio *bio; local 67 bio = bio_alloc(__GFP_WAIT | __GFP_HIGH, 1); 68 if (!bio) 70 bio->bi_sector = page_off * (PAGE_SIZE >> 9); 71 bio->bi_bdev = resume_bdev; 72 bio 111 struct bio *bio; local 322 struct bio *bio; local 503 struct bio *bio; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/block/ |
H A D | ll_rw_blk.c | 7 * bio rewrite, highmem i/o, etc, Jens Axboe <axboe@suse.de> - may 2001 16 #include <linux/bio.h> 42 static void init_request_from_bio(struct request *req, struct bio *bio); 43 static int __make_request(request_queue_t *q, struct bio *bio); 158 * add a new bio_vec to a bio at a given offset or not. If the block device 160 * the size of bio's sent to it. Note that a block device *must* allow a 161 * single page to be added to an empty bio. The block device driver may want 162 * to use the bio_split() function to deal with these bio' 527 flush_dry_bio_endio(struct bio *bio, unsigned int bytes, int error) argument 559 ordered_bio_endio(struct request *rq, struct bio *bio, unsigned int nbytes, int error) argument 1212 blk_recount_segments(request_queue_t *q, struct bio *bio) argument 1274 blk_phys_contig_segment(request_queue_t *q, struct bio *bio, struct bio *nxt) argument 1295 blk_hw_contig_segment(request_queue_t *q, struct bio *bio, struct bio *nxt) argument 1318 struct bio *bio; local 1377 ll_new_mergeable(request_queue_t *q, struct request *req, struct bio *bio) argument 1398 ll_new_hw_segment(request_queue_t *q, struct request *req, struct bio *bio) argument 1422 ll_back_merge_fn(request_queue_t *q, struct request *req, struct bio *bio) argument 1460 ll_front_merge_fn(request_queue_t *q, struct request *req, struct bio *bio) argument 2073 get_request(request_queue_t *q, int rw_flags, struct bio *bio, gfp_t gfp_mask) argument 2178 get_request_wait(request_queue_t *q, int rw_flags, struct bio *bio) argument 2332 __blk_rq_unmap_user(struct bio *bio) argument 2350 struct bio *bio, *orig_bio; local 2423 struct bio *bio = NULL; local 2489 struct bio *bio; local 2524 blk_rq_unmap_user(struct bio *bio) argument 2559 struct bio *bio; local 2887 init_request_from_bio(struct request *req, struct bio *bio) argument 2921 __make_request(request_queue_t *q, struct bio *bio) argument 3043 blk_partition_remap(struct bio *bio) argument 3059 handle_bad_sector(struct bio *bio) argument 3083 should_fail_request(struct bio *bio) argument 3102 should_fail_request(struct bio *bio) argument 3133 __generic_make_request(struct bio *bio) argument 3243 generic_make_request(struct bio *bio) argument 3295 submit_bio(int rw, struct bio *bio) argument 3325 struct bio *bio, *prevbio = NULL; local 3398 struct bio *bio; local 3674 blk_rq_bio_prep(request_queue_t *q, struct request *rq, struct bio *bio) argument [all...] |