Lines Matching refs:frag_off
538 unsigned long frag_off = 0; in rds_ib_inc_copy_to_user() local
548 if (frag_off == RDS_FRAG_SIZE) { in rds_ib_inc_copy_to_user()
551 frag_off = 0; in rds_ib_inc_copy_to_user()
554 RDS_FRAG_SIZE - frag_off); in rds_ib_inc_copy_to_user()
560 frag->f_sg.offset + frag_off, in rds_ib_inc_copy_to_user()
566 frag_off += to_copy; in rds_ib_inc_copy_to_user()
790 unsigned long frag_off; in rds_ib_cong_recv() local
805 frag_off = 0; in rds_ib_cong_recv()
813 to_copy = min(RDS_FRAG_SIZE - frag_off, PAGE_SIZE - map_off); in rds_ib_cong_recv()
818 src = addr + frag->f_sg.offset + frag_off; in rds_ib_cong_recv()
836 frag_off += to_copy; in rds_ib_cong_recv()
837 if (frag_off == RDS_FRAG_SIZE) { in rds_ib_cong_recv()
840 frag_off = 0; in rds_ib_cong_recv()