Searched refs:RDS_FRAG_SIZE (Results 1 – 4 of 4) sorted by relevance
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()[all …]
43 unsigned long rds_ib_sysctl_max_recv_allocation = (128 * 1024 * 1024) / RDS_FRAG_SIZE;
509 BUG_ON(off % RDS_FRAG_SIZE); in rds_ib_xmit()525 i = ceil(be32_to_cpu(rm->m_inc.i_hdr.h_len), RDS_FRAG_SIZE); in rds_ib_xmit()647 len = min(RDS_FRAG_SIZE, in rds_ib_xmit()
56 #define RDS_FRAG_SIZE ((unsigned int)(1 << RDS_FRAG_SHIFT)) macro