Lines Matching refs:nr_bytes
107 size_t nr_bytes; member
296 mpio->nr_bytes = bio->bi_iter.bi_size; in multipath_init_per_bio_data()
370 size_t nr_bytes) in choose_path_in_pg() argument
376 path = pg->ps.type->select_path(&pg->ps, nr_bytes); in choose_path_in_pg()
393 static struct pgpath *choose_pgpath(struct multipath *m, size_t nr_bytes) in choose_pgpath() argument
417 pgpath = choose_path_in_pg(m, pg, nr_bytes); in choose_pgpath()
426 pgpath = choose_path_in_pg(m, pg, nr_bytes); in choose_pgpath()
441 pgpath = choose_path_in_pg(m, pg, nr_bytes); in choose_pgpath()
505 size_t nr_bytes = blk_rq_bytes(rq); in multipath_clone_and_map() local
515 pgpath = choose_pgpath(m, nr_bytes); in multipath_clone_and_map()
529 mpio->nr_bytes = nr_bytes; in multipath_clone_and_map()
560 nr_bytes); in multipath_clone_and_map()
578 mpio->nr_bytes, in multipath_release_clone()
658 mpio->nr_bytes); in __multipath_map_bio()
1676 ps->type->end_io(ps, &pgpath->path, mpio->nr_bytes, in multipath_end_io()
1720 ps->type->end_io(ps, &pgpath->path, mpio->nr_bytes, in multipath_end_io_bio()