Home
last modified time | relevance | path

Searched refs:RDS_FRAG_SIZE (Results 1 – 8 of 8) sorted by relevance

/linux-4.4.14/net/rds/
Diw_recv.c78 RDS_FRAG_SIZE, DMA_FROM_DEVICE); in rds_iw_recv_unmap_page()
100 sge->length = RDS_FRAG_SIZE; in rds_iw_recv_init_ring()
179 RDS_FRAG_SIZE, in rds_iw_recv_refill_one()
195 sge->length = RDS_FRAG_SIZE; in rds_iw_recv_refill_one()
204 ic->i_frag.f_offset += RDS_FRAG_SIZE; in rds_iw_recv_refill_one()
321 if (frag_off == RDS_FRAG_SIZE) { in rds_iw_inc_copy_to_user()
327 RDS_FRAG_SIZE - frag_off); in rds_iw_inc_copy_to_user()
583 to_copy = min(RDS_FRAG_SIZE - frag_off, PAGE_SIZE - map_off); in rds_iw_cong_recv()
607 if (frag_off == RDS_FRAG_SIZE) { in rds_iw_cong_recv()
732 if (ic->i_recv_data_rem > RDS_FRAG_SIZE) in rds_iw_process_recv()
[all …]
Dib_recv.c69 sge->length = RDS_FRAG_SIZE; in rds_ib_recv_init_ring()
287 RDS_FRAG_SIZE, page_mask); in rds_ib_refill_one_frag()
534 if (frag_off == RDS_FRAG_SIZE) { in rds_ib_inc_copy_to_user()
540 RDS_FRAG_SIZE - frag_off); in rds_ib_inc_copy_to_user()
794 to_copy = min(RDS_FRAG_SIZE - frag_off, PAGE_SIZE - map_off); in rds_ib_cong_recv()
818 if (frag_off == RDS_FRAG_SIZE) { in rds_ib_cong_recv()
929 if (ic->i_recv_data_rem > RDS_FRAG_SIZE) in rds_ib_process_recv()
930 ic->i_recv_data_rem -= RDS_FRAG_SIZE; in rds_ib_process_recv()
1032 rds_ib_sysctl_max_recv_allocation = si.totalram / 3 * PAGE_SIZE / RDS_FRAG_SIZE; in rds_ib_recv_init()
Dib_sysctl.c43 unsigned long rds_ib_sysctl_max_recv_allocation = (128 * 1024 * 1024) / RDS_FRAG_SIZE;
Diw_sysctl.c43 unsigned long rds_iw_sysctl_max_recv_allocation = (128 * 1024 * 1024) / RDS_FRAG_SIZE;
Diw.h29 #define RDS_PAGE_LAST_OFF (((PAGE_SIZE / RDS_FRAG_SIZE) - 1) * RDS_FRAG_SIZE)
Diw_send.c509 BUG_ON(off % RDS_FRAG_SIZE); in rds_iw_xmit()
522 i = ceil(be32_to_cpu(rm->m_inc.i_hdr.h_len), RDS_FRAG_SIZE); in rds_iw_xmit()
653 len = min(RDS_FRAG_SIZE, in rds_iw_xmit()
Dib_send.c505 BUG_ON(off % RDS_FRAG_SIZE); in rds_ib_xmit()
521 i = ceil(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()
Drds.h51 #define RDS_FRAG_SIZE ((unsigned int)(1 << RDS_FRAG_SHIFT)) macro