Searched refs:bio_iter_len (Results 1 – 2 of 2) sorted by relevance
847 BUG_ON(cursor->resid < bio_iter_len(it->bio, it->iter)); in ceph_msg_data_bio_cursor_init()848 cursor->last_piece = cursor->resid == bio_iter_len(it->bio, it->iter); in ceph_msg_data_bio_cursor_init()869 BUG_ON(bytes > bio_iter_len(it->bio, it->iter)); in ceph_msg_data_bio_advance()889 BUG_ON(cursor->resid < bio_iter_len(it->bio, it->iter)); in ceph_msg_data_bio_advance()890 cursor->last_piece = cursor->resid == bio_iter_len(it->bio, it->iter); in ceph_msg_data_bio_advance()
59 #define bio_iter_len(bio, iter) \ macro