Lines Matching refs:bip
1142 static int btt_rw_integrity(struct btt *btt, struct bio_integrity_payload *bip, in btt_rw_integrity() argument
1149 if (bip == NULL) in btt_rw_integrity()
1159 bv = bvec_iter_bvec(bip->bip_vec, bip->bip_iter); in btt_rw_integrity()
1183 if (!bvec_iter_advance(bip->bip_vec, &bip->bip_iter, cur_len)) in btt_rw_integrity()
1191 static int btt_rw_integrity(struct btt *btt, struct bio_integrity_payload *bip, in btt_rw_integrity() argument
1198 static int btt_read_pg(struct btt *btt, struct bio_integrity_payload *bip, in btt_read_pg() argument
1273 if (bip) { in btt_read_pg()
1274 ret = btt_rw_integrity(btt, bip, arena, postmap, READ); in btt_read_pg()
1311 static int btt_write_pg(struct btt *btt, struct bio_integrity_payload *bip, in btt_write_pg() argument
1370 if (bip) { in btt_write_pg()
1371 ret = btt_rw_integrity(btt, bip, arena, new_postmap, in btt_write_pg()
1426 static int btt_do_bvec(struct btt *btt, struct bio_integrity_payload *bip, in btt_do_bvec() argument
1433 ret = btt_read_pg(btt, bip, page, off, sector, len); in btt_do_bvec()
1437 ret = btt_write_pg(btt, bip, sector, page, off, len); in btt_do_bvec()
1445 struct bio_integrity_payload *bip = bio_integrity(bio); in btt_submit_bio() local
1470 err = btt_do_bvec(btt, bip, bvec.bv_page, len, bvec.bv_offset, in btt_submit_bio()