Home
last modified time | relevance | path

Searched refs:i_credits (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/net/rds/
Dib_send.c370 oldval = newval = atomic_read(&ic->i_credits); in rds_ib_send_grab_credits()
404 if (atomic_cmpxchg(&ic->i_credits, oldval, newval) != oldval) in rds_ib_send_grab_credits()
420 IB_GET_SEND_CREDITS(atomic_read(&ic->i_credits)), in rds_ib_send_add_credits()
423 atomic_add(IB_SET_SEND_CREDITS(credits), &ic->i_credits); in rds_ib_send_add_credits()
439 atomic_add(IB_SET_POST_CREDITS(posted), &ic->i_credits); in rds_ib_advertise_credits()
453 if (IB_GET_POST_CREDITS(atomic_read(&ic->i_credits)) >= 16) in rds_ib_advertise_credits()
Dib_cm.c247 (atomic_read(&ic->i_credits)); in rds_ib_cm_fill_conn_param()
253 &ic->i_credits); in rds_ib_cm_fill_conn_param()
1086 atomic_set(&ic->i_credits, 0); in rds_ib_conn_path_shutdown()
Dib.h207 atomic_t i_credits; member