Searched refs:RDS_FRAG_SIZE (Results 1 – 8 of 8) sorted by relevance
/linux-2.6.39/net/rds/ |
D | iw_recv.c | 78 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() 324 if (frag_off == RDS_FRAG_SIZE) { in rds_iw_inc_copy_to_user() 334 to_copy = min(iov->iov_len - iov_off, RDS_FRAG_SIZE - frag_off); in rds_iw_inc_copy_to_user() 598 to_copy = min(RDS_FRAG_SIZE - frag_off, PAGE_SIZE - map_off); in rds_iw_cong_recv() 622 if (frag_off == RDS_FRAG_SIZE) { in rds_iw_cong_recv() 747 if (ic->i_recv_data_rem > RDS_FRAG_SIZE) in rds_iw_process_recv() [all …]
|
D | ib_recv.c | 69 sge->length = RDS_FRAG_SIZE; in rds_ib_recv_init_ring() 287 RDS_FRAG_SIZE, page_mask); in rds_ib_refill_one_frag() 489 if (frag_off == RDS_FRAG_SIZE) { in rds_ib_inc_copy_to_user() 499 to_copy = min(iov->iov_len - iov_off, RDS_FRAG_SIZE - frag_off); in rds_ib_inc_copy_to_user() 763 to_copy = min(RDS_FRAG_SIZE - frag_off, PAGE_SIZE - map_off); in rds_ib_cong_recv() 787 if (frag_off == RDS_FRAG_SIZE) { in rds_ib_cong_recv() 912 if (ic->i_recv_data_rem > RDS_FRAG_SIZE) in rds_ib_process_recv() 913 ic->i_recv_data_rem -= RDS_FRAG_SIZE; in rds_ib_process_recv() 1053 rds_ib_sysctl_max_recv_allocation = si.totalram / 3 * PAGE_SIZE / RDS_FRAG_SIZE; in rds_ib_recv_init()
|
D | ib_sysctl.c | 43 unsigned long rds_ib_sysctl_max_recv_allocation = (128 * 1024 * 1024) / RDS_FRAG_SIZE;
|
D | iw_sysctl.c | 43 unsigned long rds_iw_sysctl_max_recv_allocation = (128 * 1024 * 1024) / RDS_FRAG_SIZE;
|
D | iw.h | 28 #define RDS_PAGE_LAST_OFF (((PAGE_SIZE / RDS_FRAG_SIZE) - 1) * RDS_FRAG_SIZE)
|
D | iw_send.c | 517 BUG_ON(off % RDS_FRAG_SIZE); in rds_iw_xmit() 530 i = ceil(be32_to_cpu(rm->m_inc.i_hdr.h_len), RDS_FRAG_SIZE); in rds_iw_xmit() 659 len = min(RDS_FRAG_SIZE, ib_sg_dma_len(dev, scat) - off); in rds_iw_xmit()
|
D | ib_send.c | 547 BUG_ON(off % RDS_FRAG_SIZE); in rds_ib_xmit() 564 i = ceil(be32_to_cpu(rm->m_inc.i_hdr.h_len), RDS_FRAG_SIZE); in rds_ib_xmit() 684 len = min(RDS_FRAG_SIZE, ib_sg_dma_len(dev, scat) - off); in rds_ib_xmit()
|
D | rds.h | 50 #define RDS_FRAG_SIZE ((unsigned int)(1 << RDS_FRAG_SHIFT)) macro
|