Searched refs:RDS_FRAG_SIZE (Results 1 - 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/net/rds/ |
H A D | ib_recv.c | 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() 813 to_copy = min(RDS_FRAG_SIZE - frag_off, PAGE_SIZE - map_off); in rds_ib_cong_recv() 837 if (frag_off == RDS_FRAG_SIZE) { in rds_ib_cong_recv() [all...] |
H A D | ib_sysctl.c | 43 unsigned long rds_ib_sysctl_max_recv_allocation = (128 * 1024 * 1024) / RDS_FRAG_SIZE;
|
H A D | ib_send.c | 507 BUG_ON(off % RDS_FRAG_SIZE); in rds_ib_xmit() 523 i = DIV_ROUND_UP(be32_to_cpu(rm->m_inc.i_hdr.h_len), RDS_FRAG_SIZE); in rds_ib_xmit() 652 len = min(RDS_FRAG_SIZE, in rds_ib_xmit()
|
H A D | rds.h | 54 #define RDS_FRAG_SIZE ((unsigned int)(1 << RDS_FRAG_SHIFT)) macro
|
/kernel/linux/linux-6.6/net/rds/ |
H A D | ib_recv.c | 71 sge->length = RDS_FRAG_SIZE; in rds_ib_recv_init_ring() 199 atomic_add(RDS_FRAG_SIZE / SZ_1K, &ic->i_cache_allocs); in rds_ib_frag_free() 200 rds_ib_stats_add(s_ib_recv_added_to_cache, RDS_FRAG_SIZE); in rds_ib_frag_free() 286 atomic_sub(RDS_FRAG_SIZE / SZ_1K, &ic->i_cache_allocs); in rds_ib_refill_one_frag() 287 rds_ib_stats_add(s_ib_recv_added_to_cache, RDS_FRAG_SIZE); in rds_ib_refill_one_frag() 295 RDS_FRAG_SIZE, page_mask); in rds_ib_refill_one_frag() 549 if (frag_off == RDS_FRAG_SIZE) { in rds_ib_inc_copy_to_user() 555 RDS_FRAG_SIZE - frag_off); in rds_ib_inc_copy_to_user() 814 to_copy = min(RDS_FRAG_SIZE - frag_off, PAGE_SIZE - map_off); in rds_ib_cong_recv() 838 if (frag_off == RDS_FRAG_SIZE) { in rds_ib_cong_recv() [all...] |
H A D | ib_sysctl.c | 43 unsigned long rds_ib_sysctl_max_recv_allocation = (128 * 1024 * 1024) / RDS_FRAG_SIZE;
|
H A D | ib_send.c | 506 BUG_ON(off % RDS_FRAG_SIZE); in rds_ib_xmit() 522 i = DIV_ROUND_UP(be32_to_cpu(rm->m_inc.i_hdr.h_len), RDS_FRAG_SIZE); in rds_ib_xmit() 651 len = min(RDS_FRAG_SIZE, in rds_ib_xmit()
|
H A D | rds.h | 54 #define RDS_FRAG_SIZE ((unsigned int)(1 << RDS_FRAG_SHIFT)) macro
|
Completed in 10 milliseconds