/dragonfly/crypto/libressl/crypto/bio/ |
H A D | b_posix.c | 85 if (mode && !(flags & O_NONBLOCK)) in BIO_socket_nbio() 86 return (fcntl(s, F_SETFL, flags | O_NONBLOCK) != -1); in BIO_socket_nbio() 87 else if (!mode && (flags & O_NONBLOCK)) in BIO_socket_nbio() 88 return (fcntl(s, F_SETFL, flags & ~O_NONBLOCK) != -1); in BIO_socket_nbio()
|
/dragonfly/sys/sys/ |
H A D | fcntl.h | 71 #define O_NONBLOCK 0x0004 /* no delay */ macro 153 #define FNONBLOCK O_NONBLOCK /* kernel */ 154 #define FNDELAY O_NONBLOCK /* compat */ 155 #define O_NDELAY O_NONBLOCK /* compat */
|
/dragonfly/gnu/usr.bin/diff/libdiffutils/ |
H A D | fcntl.h | 724 #ifndef O_NONBLOCK 725 # define O_NONBLOCK O_NDELAY macro 732 # if O_NONBLOCK 736 # undef O_NONBLOCK 737 # define O_NONBLOCK 0x40000000
|
/dragonfly/contrib/xz/src/xz/ |
H A D | file_io.c | 117 flags | O_NONBLOCK) == -1) in io_init() 523 if ((stdin_flags & O_NONBLOCK) == 0 in io_open_src_real() 525 stdin_flags | O_NONBLOCK) != -1) in io_open_src_real() 556 flags |= O_NONBLOCK; in io_open_src_real() 846 if ((stdout_flags & O_NONBLOCK) == 0 in io_open_dest_real() 848 stdout_flags | O_NONBLOCK) != -1) in io_open_dest_real() 892 flags |= O_NONBLOCK; in io_open_dest_real() 958 flags |= O_NONBLOCK; in io_open_dest_real()
|
/dragonfly/gnu/usr.bin/grep/libgreputils/ |
H A D | fcntl.h | 750 #ifndef O_NONBLOCK 751 # define O_NONBLOCK O_NDELAY macro 758 # if O_NONBLOCK 762 # undef O_NONBLOCK 763 # define O_NONBLOCK 0x40000000
|
/dragonfly/sbin/udevd/ |
H A D | udevd_socket.c | 115 ret = fcntl(s, F_SETFL, flags | O_NONBLOCK); in unblock_descriptor() 125 ret = fcntl(s, F_SETFL, flags & ~O_NONBLOCK); in block_descriptor()
|
/dragonfly/contrib/gdb-7/readline/ |
H A D | shell.c | 192 #ifdef O_NONBLOCK 193 bflags |= O_NONBLOCK;
|
H A D | input.c | 73 #if !defined (O_NDELAY) && defined (O_NONBLOCK) 74 # define O_NDELAY O_NONBLOCK /* Posix style */
|
/dragonfly/contrib/dhcpcd/compat/ |
H A D | pidfile.c | 151 if ((fd = open(path, O_RDONLY | O_NONBLOCK)) == -1) in pidfile_read() 202 opts = O_WRONLY | O_CREAT | O_NONBLOCK; in pidfile_lock()
|
/dragonfly/usr.sbin/ppp/ |
H A D | prompt.c | 423 stat |= O_NONBLOCK; in prompt_TtyInit() 462 stat |= O_NONBLOCK; in prompt_TtyCommandMode() 482 stat &= ~O_NONBLOCK; in prompt_TtyTermMode() 495 stat &= ~O_NONBLOCK; in prompt_TtyOldMode()
|
/dragonfly/contrib/libarchive/libarchive/ |
H A D | filter_fork_posix.c | 176 fcntl(*child_stdin, F_SETFL, O_NONBLOCK); in __archive_create_child() 178 fcntl(*child_stdout, F_SETFL, O_NONBLOCK); in __archive_create_child()
|
H A D | archive_read_disk_entry_from_file.c | 153 O_RDONLY | O_NONBLOCK); in archive_read_disk_entry_setup_path() 233 O_RDONLY | O_NONBLOCK | O_CLOEXEC); in archive_read_disk_entry_from_file() 235 fd = open(path, O_RDONLY | O_NONBLOCK | in archive_read_disk_entry_from_file() 875 O_RDONLY | O_NONBLOCK | O_CLOEXEC); in setup_sparse_fiemap() 877 *fd = open(path, O_RDONLY | O_NONBLOCK | O_CLOEXEC); in setup_sparse_fiemap() 996 *fd = open(path, O_RDONLY | O_NONBLOCK | O_CLOEXEC); in setup_sparse()
|
/dragonfly/usr.bin/vknet/ |
H A D | vknet.c | 294 tap_fd = open(buf, O_RDWR | O_NONBLOCK); in vknet_connect() 303 tap_fd = open(buf, O_RDWR | O_NONBLOCK); in vknet_connect() 306 } else if ((tap_fd = open(localSide, O_RDWR | O_NONBLOCK)) >= 0) { in vknet_connect()
|
/dragonfly/contrib/gdb-7/gdb/ |
H A D | inflow.c | 612 #ifdef O_NONBLOCK in child_terminal_info() 613 if (flags & O_NONBLOCK) in child_terminal_info() 615 flags &= ~O_NONBLOCK; in child_terminal_info()
|
/dragonfly/contrib/grep/lib/ |
H A D | opendirat.c | 39 | O_NONBLOCK | extra_flags); in opendirat()
|
H A D | openat-proc.c | 77 O_SEARCH | O_DIRECTORY | O_NOCTTY | O_NONBLOCK); in openat_proc_name()
|
/dragonfly/usr.bin/chat/ |
H A D | chat.c | 102 #ifndef O_NONBLOCK 103 #define O_NONBLOCK O_NDELAY macro 446 if (fcntl(0, F_SETFL, flags | O_NONBLOCK) == -1) in sigalrm() 1039 if (fcntl(0, F_SETFL, status & ~O_NONBLOCK) == -1) in get_char() 1067 if (fcntl(0, F_SETFL, status & ~O_NONBLOCK) == -1) in put_char()
|
/dragonfly/sys/kern/ |
H A D | sys_pipe.c | 307 if (flags & O_NONBLOCK) in kern_pipe() 308 rf->f_flag |= O_NONBLOCK; in kern_pipe() 325 if (flags & O_NONBLOCK) in kern_pipe() 326 wf->f_flag |= O_NONBLOCK; in kern_pipe() 482 else if (fp->f_flag & O_NONBLOCK) in pipe_read() 724 else if (fp->f_flag & O_NONBLOCK) in pipe_write()
|
H A D | sys_mqueue.c | 656 if (mqattr->mq_flags & O_NONBLOCK) { in mq_receive1() 841 if (mqattr->mq_flags & O_NONBLOCK) { in mq_send1() 1043 nonblock = (attr.mq_flags & O_NONBLOCK); in sys_mq_setattr() 1058 mq->mq_attrib.mq_flags |= O_NONBLOCK; in sys_mq_setattr() 1060 mq->mq_attrib.mq_flags &= ~O_NONBLOCK; in sys_mq_setattr()
|
/dragonfly/lib/libc/sysvipc/ |
H A D | sockets.c | 97 fcntl(fd, F_SETFL, flags & ~O_NONBLOCK); in handle_new_connection() 114 fcntl(sock, F_SETFL, flags & ~O_NONBLOCK); in connect_to_daemon()
|
/dragonfly/contrib/wpa_supplicant/src/wps/ |
H A D | http_server.c | 255 if (fcntl(srv->fd, F_SETFL, O_NONBLOCK) < 0) in http_server_init() 281 fcntl(srv->fd, F_SETFL, O_NONBLOCK) < 0 || in http_server_init()
|
/dragonfly/sys/platform/vkernel64/platform/ |
H A D | init.c | 553 O_RDWR|O_CREAT|O_EXLOCK|O_NONBLOCK, 0644); in init_sys_memory() 561 fd = open(imageFile, O_RDWR|O_CREAT|O_EXLOCK|O_NONBLOCK, 0644); in init_sys_memory() 1032 #define TAPDEV_OFLAGS (O_RDWR | O_NONBLOCK) 1150 fcntl(net_fd, F_SETFL, O_NONBLOCK); in unix_connect() 1393 fd = open(pid_file, O_RDWR|O_CREAT|O_EXLOCK|O_NONBLOCK, 0666); in writepid()
|
/dragonfly/lib/libutil/ |
H A D | flopen.c | 59 if (flags & O_NONBLOCK) in flopen()
|
/dragonfly/sbin/comcontrol/ |
H A D | comcontrol.c | 66 fd = open(argv[1], O_RDONLY | O_NONBLOCK, 0); in main()
|
/dragonfly/bin/sh/ |
H A D | input.c | 171 if (flags >= 0 && flags & O_NONBLOCK) { in preadfd() 172 flags &=~ O_NONBLOCK; in preadfd()
|