Home
last modified time | relevance | path

Searched refs:atomic (Results 1 – 5 of 5) sorted by relevance

/net/rds/
Drdma.c788 || rm->atomic.op_active) in rds_cmsg_atomic()
796 rm->atomic.op_type = RDS_ATOMIC_TYPE_FADD; in rds_cmsg_atomic()
797 rm->atomic.op_m_fadd.add = args->fadd.add; in rds_cmsg_atomic()
798 rm->atomic.op_m_fadd.nocarry_mask = 0; in rds_cmsg_atomic()
801 rm->atomic.op_type = RDS_ATOMIC_TYPE_FADD; in rds_cmsg_atomic()
802 rm->atomic.op_m_fadd.add = args->m_fadd.add; in rds_cmsg_atomic()
803 rm->atomic.op_m_fadd.nocarry_mask = args->m_fadd.nocarry_mask; in rds_cmsg_atomic()
806 rm->atomic.op_type = RDS_ATOMIC_TYPE_CSWP; in rds_cmsg_atomic()
807 rm->atomic.op_m_cswp.compare = args->cswp.compare; in rds_cmsg_atomic()
808 rm->atomic.op_m_cswp.swap = args->cswp.swap; in rds_cmsg_atomic()
[all …]
Dib_send.c156 rds_ib_send_complete(container_of(op, struct rds_message, atomic), in rds_ib_send_unmap_atomic()
211 rm = container_of(send->s_op, struct rds_message, atomic); in rds_ib_send_unmap_op()
818 send->s_wr.wr.atomic.compare_add = op->op_m_cswp.compare; in rds_ib_xmit_atomic()
819 send->s_wr.wr.atomic.swap = op->op_m_cswp.swap; in rds_ib_xmit_atomic()
820 send->s_wr.wr.atomic.compare_add_mask = op->op_m_cswp.compare_mask; in rds_ib_xmit_atomic()
821 send->s_wr.wr.atomic.swap_mask = op->op_m_cswp.swap_mask; in rds_ib_xmit_atomic()
824 send->s_wr.wr.atomic.compare_add = op->op_m_fadd.add; in rds_ib_xmit_atomic()
825 send->s_wr.wr.atomic.swap = 0; in rds_ib_xmit_atomic()
826 send->s_wr.wr.atomic.compare_add_mask = op->op_m_fadd.nocarry_mask; in rds_ib_xmit_atomic()
827 send->s_wr.wr.atomic.swap_mask = 0; in rds_ib_xmit_atomic()
[all …]
Dsend.c271 if (rm->atomic.op_active && !conn->c_xmit_atomic_sent) { in rds_send_xmit()
272 rm->m_final_op = &rm->atomic; in rds_send_xmit()
273 ret = conn->c_trans->xmit_atomic(conn, &rm->atomic); in rds_send_xmit()
294 ops_present = (rm->atomic.op_active || rm->rdma.op_active); in rds_send_xmit()
295 if (rm->atomic.op_active && !rm->atomic.op_silent) in rds_send_xmit()
469 ao = &rm->atomic; in rds_atomic_send_complete()
511 ao = &rm->atomic; in __rds_send_complete()
1033 if (rm->atomic.op_active && !conn->c_trans->xmit_atomic) { in rds_sendmsg()
1035 &rm->atomic, conn->c_trans->xmit_atomic); in rds_sendmsg()
Dmessage.c76 if (rm->atomic.op_active) in rds_message_purge()
77 rds_atomic_free_op(&rm->atomic); in rds_message_purge()
78 if (rm->atomic.op_rdma_mr) in rds_message_purge()
79 rds_mr_put(rm->atomic.op_rdma_mr); in rds_message_purge()
Drds.h342 } atomic; member