eq = lib_eq_alloc (nal);
if (eq == NULL)
- return (ret->rc = PTL_NOSPACE);
+ return (ret->rc = PTL_NO_SPACE);
state_lock(nal, &flags);
eq = ptl_handle2eq(&args->eventq_in, nal);
if (eq == NULL) {
- ret->rc = PTL_INV_EQ;
+ ret->rc = PTL_EQ_INVALID;
} else if (eq->eq_refcount != 0) {
- ret->rc = PTL_EQ_INUSE;
+ ret->rc = PTL_EQ_IN_USE;
} else {
if (nal->cb_unmap != NULL) {
struct iovec iov = {