Lines Matching refs:errno
58 #include <errno.h>
292 } else if (errno != EAGAIN) {
377 if (!(errno == EAGAIN || errno == EINTR))
661 int orig_errno = errno;
675 errno = orig_errno;
1233 if (errno == EPERM) {
1240 return -errno;
1242 pr_err("failed to mmap with %d (%s)\n", errno,
1243 str_error_r(errno, msg, sizeof(msg)));
1244 if (errno)
1245 return -errno;
1321 if (evsel__fallback(pos, errno, msg, sizeof(msg))) {
1326 if ((errno == EINVAL || errno == EBADF) &&
1332 rc = -errno;
1333 evsel__open_strerror(pos, &opts->target, errno, msg, sizeof(msg));
1354 pos->filter ?: "BPF", evsel__name(pos), errno,
1355 str_error_r(errno, msg, sizeof(msg)));
1639 thread->tid, strerror(errno));
1659 if (err > 0 || (err < 0 && errno == EINTR))
1683 thread->tid, strerror(errno));
2220 pr_err("Failed to block signals on threads start: %s\n", strerror(errno));
2238 pr_err("Failed to start threads: %s\n", strerror(errno));
2261 pr_err("Failed to unblock signals on threads start: %s\n", strerror(errno));
2661 if (err > 0 || (err < 0 && errno == EINTR))
4116 int saved_errno = errno;
4137 errno == ENOENT ? "No such process" : str_error_r(errno, errbuf, sizeof(errbuf)));