Home
last modified time | relevance | path

Searched refs:smc_curs_diff (Results 1 – 7 of 7) sorted by relevance

/linux/net/smc/
H A Dsmc_cdc.c40 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 Dsmc_cdc.h149 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 Dsmc_tx.h27 return smc_curs_diff(conn->sndbuf_desc->len, &sent, &prep); in smc_tx_prepared_sends()
H A Dsmc_tx.c476 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 Dsmc_rx.c304 if (smc_curs_diff(conn->rmb_desc->len, &cons, in smc_rx_recv_urg()
H A Dsmc_core.c1010 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 Daf_smc.c3234 answ = smc_curs_diff(conn->rmb_desc->len, in smc_ioctl()