Lines Matching refs:errno
53 #include <errno.h>
194 } else if (errno != EAGAIN) {
279 if (!(errno == EAGAIN || errno == EINTR))
854 if (errno == EPERM) {
861 return -errno;
863 pr_err("failed to mmap with %d (%s)\n", errno,
864 str_error_r(errno, msg, sizeof(msg)));
865 if (errno)
866 return -errno;
918 if (evsel__fallback(pos, errno, msg, sizeof(msg))) {
923 if ((errno == EINVAL || errno == EBADF) &&
929 rc = -errno;
930 evsel__open_strerror(pos, &opts->target, errno, msg, sizeof(msg));
951 pos->filter, evsel__name(pos), errno,
952 str_error_r(errno, msg, sizeof(msg)));
1934 if (err > 0 || (err < 0 && errno == EINTR))
2783 int saved_errno = errno;