[openib-general] 0 op factor

Bernhard Fischer blist at aon.at
Thu May 5 08:58:03 PDT 2005


Hi,

I forgot, but what's the purpose of statements like:

$ egrep -ri "[^[:digit:]|\.]0[[:space:]]*[-+*/]" *|egrep -v "(\.(svn-base|txt):|/\*)"
infiniband/ulp/sdp/sdp_inet.c:   * flag: 0 - recv shutdown
infiniband/ulp/sdp/sdp_actv.c:  sdp_iocb_q_cancel_all(conn, (0 - error));
infiniband/ulp/sdp/sdp_actv.c:  sdp_cm_actv_error(conn, (0 - result));
infiniband/ulp/sdp/sdp_actv.c:  sdp_cm_actv_error(conn, (0 - status));
infiniband/ulp/sdp/sdp_pass.c:  sdp_iocb_q_cancel_all(conn, (0 - error));
infiniband/ulp/sdp/sdp_pass.c:  sdp_cm_pass_error(conn, (0 - result));
infiniband/ulp/sdp/sdp_rcvd.c:              0 - ((SDP_SRC_AVAIL_RECV > size) ? size : 0);
infiniband/hw/mthca/mthca_cmd.c: __raw_writel(cpu_to_be32(in_param >> 32),           dev->hcr + 0 * 4);

Could somebody please elaborate?
thanks



More information about the general mailing list