Lines Matching refs:RDS_FRAG_SIZE
70 sge->length = RDS_FRAG_SIZE; in rds_ib_recv_init_ring()
198 atomic_add(RDS_FRAG_SIZE / SZ_1K, &ic->i_cache_allocs); in rds_ib_frag_free()
199 rds_ib_stats_add(s_ib_recv_added_to_cache, RDS_FRAG_SIZE); in rds_ib_frag_free()
285 atomic_sub(RDS_FRAG_SIZE / SZ_1K, &ic->i_cache_allocs); in rds_ib_refill_one_frag()
286 rds_ib_stats_add(s_ib_recv_added_to_cache, RDS_FRAG_SIZE); in rds_ib_refill_one_frag()
294 RDS_FRAG_SIZE, page_mask); in rds_ib_refill_one_frag()
548 if (frag_off == RDS_FRAG_SIZE) { in rds_ib_inc_copy_to_user()
554 RDS_FRAG_SIZE - frag_off); in rds_ib_inc_copy_to_user()
813 to_copy = min(RDS_FRAG_SIZE - frag_off, PAGE_SIZE - map_off); in rds_ib_cong_recv()
837 if (frag_off == RDS_FRAG_SIZE) { in rds_ib_cong_recv()
953 if (ic->i_recv_data_rem > RDS_FRAG_SIZE) in rds_ib_process_recv()
954 ic->i_recv_data_rem -= RDS_FRAG_SIZE; in rds_ib_process_recv()
1063 rds_ib_sysctl_max_recv_allocation = si.totalram / 3 * PAGE_SIZE / RDS_FRAG_SIZE; in rds_ib_recv_init()