Lines Matching defs:ok
335 int ok;
351 ok = drbd_send_drequest_csum(mdev,
360 ok = 0;
363 ok = 1;
367 if (unlikely(!ok))
369 return ok;
571 /* case 1: everything ok */
836 int ok;
845 ok = drbd_send_block(mdev, P_DATA_REPLY, e);
851 ok = drbd_send_ack(mdev, P_NEG_DREPLY, e);
858 if (unlikely(!ok))
860 return ok;
872 int ok;
888 ok = drbd_send_block(mdev, P_RS_DATA_REPLY, e);
893 ok = 1;
900 ok = drbd_send_ack(mdev, P_NEG_RS_DREPLY, e);
910 if (unlikely(!ok))
912 return ok;
921 int ok, eq = 0;
952 ok = drbd_send_ack(mdev, P_RS_IS_IN_SYNC, e);
956 ok = drbd_send_block(mdev, P_RS_DATA_REPLY, e);
959 ok = drbd_send_ack(mdev, P_NEG_RS_DREPLY, e);
970 if (unlikely(!ok))
972 return ok;
980 int ok = 1;
993 ok = drbd_send_drequest_csum(mdev, e->sector, e->size,
995 if (!ok)
1005 return ok;
1026 int ok, eq = 0;
1051 ok = drbd_send_ack(mdev, P_NEG_RS_DREPLY, e);
1065 ok = drbd_send_ack_ex(mdev, P_OV_RESULT, e->sector, e->size,
1075 return ok;
1089 int ok = 1;
1109 ok = _drbd_send_cmd(mdev, mdev->data.socket, P_BARRIER,
1113 return ok;
1132 int ok;
1139 ok = drbd_send_dblock(mdev, req);
1140 req_mod(req, ok ? handed_over_to_network : send_failed);
1142 return ok;
1154 int ok;
1161 ok = drbd_send_drequest(mdev, P_DATA_REQUEST, req->sector, req->size,
1164 if (!ok) {
1170 req_mod(req, ok ? handed_over_to_network : send_failed);
1172 return ok;