Lines Matching refs:errno
50 return -errno; in os_stat_fd()
64 return -errno; in os_stat_file()
82 return -errno; in os_access()
94 return -errno; in os_ioctl_generic()
103 return -errno; in os_get_ifname()
114 return -errno; in os_set_slip()
118 return -errno; in os_set_slip()
129 return -errno; in os_mode_fd()
165 if (err && (errno != EACCES)) in os_file_mode()
166 return -errno; in os_file_mode()
171 if (err && (errno != EACCES)) in os_file_mode()
172 return -errno; in os_file_mode()
204 return -errno; in os_open_file()
207 err = -errno; in os_open_file()
225 err = -errno; in os_connect_socket()
231 err = -errno; in os_connect_socket()
250 return -errno; in os_fsync_file()
260 return -errno; in os_seek_file()
269 return -errno; in os_read_file()
278 return -errno; in os_pread_file()
287 return -errno; in os_write_file()
296 return -errno; in os_sync_file()
305 return -errno; in os_pwrite_file()
328 err = -errno; in os_file_size()
330 "errno = %d\n", file, errno); in os_file_size()
334 err = -errno; in os_file_size()
336 "\"%s\", errno = %d\n", file, errno); in os_file_size()
371 return -errno; in os_set_exec_close()
381 return -errno; in os_pipe()
410 return -errno; in os_set_fd_async()
414 err = -errno; in os_set_fd_async()
416 "and O_NONBLOCK on fd # %d, errno = %d\n", fd, errno); in os_set_fd_async()
422 err = -errno; in os_set_fd_async()
424 "(or F_SETSIG) fd %d, errno = %d\n", fd, errno); in os_set_fd_async()
437 return -errno; in os_clear_fd_async()
441 return -errno; in os_clear_fd_async()
451 return -errno; in os_set_fd_block()
459 return -errno; in os_set_fd_block()
470 return -errno; in os_accept_connection()
501 return -errno; in os_shutdown_socket()
525 return -errno; in os_rcv_fd()
532 "error = %d\n", errno); in os_rcv_fd()
552 return -errno; in os_create_unix_socket()
567 return -errno; in os_create_unix_socket()
590 save = -errno; in os_lock_file()
593 err = -errno; in os_lock_file()
624 return -errno; in os_falloc_punch()
633 return -errno; in os_eventfd()
668 return -errno; in os_sendmsg_fds()
689 return -errno; in os_poll()