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()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()807 to_copy = min(RDS_FRAG_SIZE - frag_off, PAGE_SIZE - map_off); in rds_ib_cong_recv()831 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;
505 BUG_ON(off % RDS_FRAG_SIZE); in rds_ib_xmit()521 i = DIV_ROUND_UP(be32_to_cpu(rm->m_inc.i_hdr.h_len), RDS_FRAG_SIZE); in rds_ib_xmit()643 len = min(RDS_FRAG_SIZE, in rds_ib_xmit()
55 #define RDS_FRAG_SIZE ((unsigned int)(1 << RDS_FRAG_SHIFT)) macro