Lines Matching refs:rc
60 int rc = -1;
70 rc = -ENOMEM;
89 rc = recvmsg(sk->s_fd, &msg, 0);
93 if (rc < 0) {
94 rc = -errsv;
100 return rc;
110 int rc, cb_rc = NL_OK, done = 0;
120 rc = nl_recv(sk, &nla, &buf, &creds);
121 if (rc < 0)
124 nlmsg_for_each_msg(nlh, (struct nlmsghdr *) buf, rc, rem) {
126 if (rc <= 0 || cb_rc == NL_STOP)
146 rc = nlme->error;
165 if (rc > 0)
196 } while (rc > 0 && cb_rc != NL_STOP);
200 return rc;
220 int rc;
234 rc = nl_sendmsg(sk, (struct nl_msg *) &mh, 0);
235 if (rc < 0)
237 return rc;
252 int rc;
264 rc = bind(sk->s_fd, (struct sockaddr *)&sk->s_local, \
266 if (rc < 0)