Searched refs:bi (Results 1 – 1 of 1) sorted by relevance
1036 struct bvec_iter bi; in io_sg_from_iter() local1045 bi.bi_size = min(from->count, length); in io_sg_from_iter()1046 bi.bi_bvec_done = from->iov_offset; in io_sg_from_iter()1047 bi.bi_idx = 0; in io_sg_from_iter()1049 while (bi.bi_size && frag < MAX_SKB_FRAGS) { in io_sg_from_iter()1050 struct bio_vec v = mp_bvec_iter_bvec(from->bvec, bi); in io_sg_from_iter()1056 bvec_iter_advance_single(from->bvec, &bi, v.bv_len); in io_sg_from_iter()1058 if (bi.bi_size) in io_sg_from_iter()1062 from->bvec += bi.bi_idx; in io_sg_from_iter()1063 from->nr_segs -= bi.bi_idx; in io_sg_from_iter()[all …]