Lines Matching refs:RDS_FRAG_SIZE
70 sge->length = RDS_FRAG_SIZE; in rds_ib_recv_init_ring()
197 atomic_add(RDS_FRAG_SIZE / SZ_1K, &ic->i_cache_allocs); in rds_ib_frag_free()
198 rds_ib_stats_add(s_ib_recv_added_to_cache, RDS_FRAG_SIZE); in rds_ib_frag_free()
284 atomic_sub(RDS_FRAG_SIZE / SZ_1K, &ic->i_cache_allocs); in rds_ib_refill_one_frag()
285 rds_ib_stats_add(s_ib_recv_added_to_cache, RDS_FRAG_SIZE); in rds_ib_refill_one_frag()
293 RDS_FRAG_SIZE, page_mask); in rds_ib_refill_one_frag()
538 if (frag_off == RDS_FRAG_SIZE) { in rds_ib_inc_copy_to_user()
544 RDS_FRAG_SIZE - frag_off); in rds_ib_inc_copy_to_user()
797 to_copy = min(RDS_FRAG_SIZE - frag_off, PAGE_SIZE - map_off); in rds_ib_cong_recv()
821 if (frag_off == RDS_FRAG_SIZE) { in rds_ib_cong_recv()
936 if (ic->i_recv_data_rem > RDS_FRAG_SIZE) in rds_ib_process_recv()
937 ic->i_recv_data_rem -= RDS_FRAG_SIZE; in rds_ib_process_recv()
1042 rds_ib_sysctl_max_recv_allocation = si.totalram / 3 * PAGE_SIZE / RDS_FRAG_SIZE; in rds_ib_recv_init()