Searched refs:smc_curs_diff (Results 1 – 7 of 7) sorted by relevance
/linux/net/smc/ |
H A D | smc_cdc.c | 40 diff = smc_curs_diff(sndbuf_desc->len, in smc_cdc_tx_handler() 268 diff = smc_curs_diff(conn->sndbuf_desc->len, &conn->tx_curs_fin, in smcd_cdc_msg_send() 341 diff_cons = smc_curs_diff(conn->peer_rmbe_size, &cons_old, in smc_cdc_msg_recv_action() 361 diff_tx = smc_curs_diff(conn->sndbuf_desc->len, in smc_cdc_msg_recv_action() 376 diff_prod = smc_curs_diff(conn->rmb_desc->len, &prod_old, in smc_cdc_msg_recv_action()
|
H A D | smc_cdc.h | 149 static inline int smc_curs_diff(unsigned int size, in smc_curs_diff() function 169 return -smc_curs_diff(size, new, old); in smc_curs_comp() 170 return smc_curs_diff(size, old, new); in smc_curs_comp()
|
H A D | smc_tx.h | 27 return smc_curs_diff(conn->sndbuf_desc->len, &sent, &prep); in smc_tx_prepared_sends()
|
H A D | smc_tx.c | 476 to_send = smc_curs_diff(conn->sndbuf_desc->len, &sent, &prep); in smc_tx_rdma_writes() 700 to_confirm = smc_curs_diff(conn->rmb_desc->len, &cfed, &cons); in smc_tx_consumer_update()
|
H A D | smc_rx.c | 304 if (smc_curs_diff(conn->rmb_desc->len, &cons, in smc_rx_recv_urg()
|
H A D | smc_core.c | 1010 space = buffer_len - smc_curs_diff(buffer_len, &cons, &prod); in smc_write_space() 1032 diff = smc_curs_diff(conn->peer_rmbe_size, &fin, &cons); in smc_switch_cursor()
|
H A D | af_smc.c | 3234 answ = smc_curs_diff(conn->rmb_desc->len, in smc_ioctl()
|