/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | ttimeout.c | 99 flags &= ~O_NDELAY; in _setblock() 101 flags |= O_NDELAY; in _setblock()
|
H A D | typeahead.c | 108 O_NDELAY)) >= 0) in typeahead()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/ |
H A D | fcntl.c | 251 #ifndef O_NDELAY in main() 299 #ifndef O_NDELAY in main() 316 #ifdef O_NDELAY in main()
|
/illumos-gate/usr/src/cmd/cdrw/ |
H A D | device.c | 126 fd = open(devnode, O_RDONLY|O_NDELAY); in get_device() 457 ((fd = open(supplied, O_RDONLY|O_NDELAY)) >= 0)) { in lookup_device() 478 if ((fd = open(tmpstr, O_RDONLY|O_NDELAY)) >= 0) { in lookup_device() 494 if ((fd = open(tmpstr, O_RDONLY|O_NDELAY)) >= 0) { in lookup_device() 518 fd = open(node, O_RDONLY|O_NDELAY); in is_cd()
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.tchar.c | 495 ((fflags = fcntl(d, F_GETFL, 0)) & O_NDELAY)) { in read_() 496 fflags &= ~O_NDELAY; in read_() 645 ((fflags = fcntl(d, F_GETFL, 0)) & O_NDELAY)) { in read_() 646 fflags &= ~O_NDELAY; in read_()
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | opendir.c | 53 O_RDONLY | O_NDELAY | O_LARGEFILE, 0)) < 0) in opendir()
|
/illumos-gate/usr/src/lib/libvolmgt/common/ |
H A D | volmgt_on_private.c | 95 if ((fd = open(cn, O_RDONLY|O_NDELAY)) < 0) { in _dev_mounted() 304 if ((fd = open(cn, O_RDONLY|O_NDELAY)) < 0) { in vol_getmntdev() 434 if ((fd = open(cn, O_RDONLY|O_NDELAY)) < 0) { in get_media_info()
|
/illumos-gate/usr/src/lib/storage/libg_fc/common/ |
H A D | map.c | 911 if ((fd = g_object_open(drvr_path, O_NDELAY | O_RDONLY)) == -1) in g_get_limited_map() 970 if ((fd = g_object_open(host_path, O_NDELAY | O_RDONLY)) == -1) { in g_get_host_params() 1175 if ((fd = g_object_open(fcapath, O_NDELAY | O_RDONLY)) == -1) { in g_get_dev_list() 1381 if ((fd = g_object_open(fcapath, O_NDELAY | O_RDONLY)) == -1) in g_get_inq_dtype() 1443 if ((fd = g_object_open(fcapath, O_NDELAY | O_RDONLY)) == -1) { in get_fca_inq_dtype() 1851 if ((fd = g_object_open(drvr_path, O_NDELAY | O_RDONLY)) == -1) in create_map() 2268 if ((fd = g_object_open(drvr_path, O_NDELAY | O_RDONLY)) == -1) { in g_dev_map_init() 2558 O_NDELAY | O_RDONLY | O_EXCL)) == in g_dev_map_init() 2646 g_object_open(nexus_path, O_NDELAY | O_RDONLY)) == -1) { in g_dev_map_init() 3432 O_NDELAY | O_RDONLY)) == -1) in g_rdls() [all …]
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | callers.c | 300 dcf = open(dcname, (O_RDWR | O_NDELAY) ); 301 saved_mode = O_RDWR | O_NDELAY; 327 (fcntl(dcf, F_GETFL, 0) & ~O_NDELAY)) < 0 ) { 735 dcr = open(dcname, O_WRONLY|O_NDELAY); 948 if ( (dcf = open(dcname, O_RDWR | O_NDELAY)) < 0 ) { 984 (void) fcntl(dcf,F_SETFL, fcntl(dcf, F_GETFL, 0) & ~O_NDELAY);
|
/illumos-gate/usr/src/lib/sun_fc/common/ |
H A D | FCHBA.cc | 89 if ((fd = open(port->getPath().c_str(), O_NDELAY | O_RDONLY)) == in FCHBA() 157 if ((fd = open(port->getPath().c_str(), O_NDELAY | O_RDONLY)) == -1) { in getHBAAttributes() 266 if ((fd = open(port->getPath().c_str(), O_NDELAY | O_RDONLY)) == -1) { in npivGetHBAAttributes()
|
H A D | TgtFCHBA.cc | 97 if ((fd = open(FCT_DRIVER_PATH.c_str(), O_NDELAY | O_RDONLY)) == -1) { in getHBAAttributes() 173 if ((fd = open(FCT_DRIVER_PATH.c_str(), O_NDELAY | O_RDONLY)) == -1) { in doForceLip()
|
/illumos-gate/usr/src/lib/mpapi/libmpscsi_vhci/common/ |
H A D | Initialize.c | 67 O_NDELAY | O_RDONLY); in Initialize()
|
/illumos-gate/usr/src/cmd/rmformat/ |
H A D | rmf_misc.c | 526 mfd = open(raw_device, O_RDWR | O_NDELAY); in check_and_unmount_floppy() 1347 fd = open(devnode, O_RDONLY|O_NDELAY); in get_device() 1439 ((fd = open(supplied, O_RDONLY|O_NDELAY)) >= 0)) { in lookup_device() 1456 if ((fd = open(tmpstr, O_RDONLY|O_NDELAY)) >= 0) { in lookup_device() 1473 if ((fd = open(tmpstr, O_RDONLY|O_NDELAY)) >= 0) { in lookup_device() 1490 fd = open(node, O_RDONLY|O_NDELAY); in is_cd() 2070 fd = my_open(sn, O_RDONLY|O_NDELAY); in get_media_info() 2073 fd = my_open(sdev, O_RDONLY|O_NDELAY); in get_media_info()
|
H A D | rmf_menu.c | 144 fd = my_open(dev_name, O_RDONLY|O_NDELAY); in process_options() 238 fd = my_open(dev_name, O_RDWR|O_NDELAY); in process_options() 760 fd = my_open(dev_name, O_RDONLY|O_NDELAY); in process_p_flag() 774 fd = my_open(dev_name, O_RDWR|O_NDELAY); in process_p_flag()
|
/illumos-gate/usr/src/lib/libnsl/dial/ |
H A D | callers.c | 248 dcf = open(dcname, (O_RDWR | O_NDELAY)); in processdev() 249 saved_mode = O_RDWR | O_NDELAY; in processdev() 275 (fcntl(dcf, F_GETFL, 0) & ~O_NDELAY)) < 0) { in processdev()
|
/illumos-gate/usr/src/test/zfs-tests/cmd/devname2devid/ |
H A D | devname2devid.c | 74 if ((fd = open(device, O_RDONLY|O_NDELAY)) < 0) { in main()
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/io/ |
H A D | tst.fds.c | 82 O_LARGEFILE | O_NOCTTY | O_NONBLOCK | O_NDELAY | O_RSYNC | in main()
|
/illumos-gate/usr/src/lib/libnsl/nsl/ |
H A D | _utility.c | 368 if (cntlflag & (O_NDELAY | O_NONBLOCK)) in _t_is_ok() 369 (void) fcntl(fd, F_SETFL, cntlflag & ~(O_NDELAY | O_NONBLOCK)); in _t_is_ok() 376 if (cntlflag & (O_NDELAY | O_NONBLOCK)) in _t_is_ok() 384 if (cntlflag & (O_NDELAY | O_NONBLOCK)) in _t_is_ok() 395 if (cntlflag & (O_NDELAY | O_NONBLOCK)) in _t_is_ok() 402 if (cntlflag & (O_NDELAY | O_NONBLOCK)) in _t_is_ok()
|
H A D | t_connect.c | 121 if (fctlflg & (O_NDELAY | O_NONBLOCK)) { in _tx_connect()
|
/illumos-gate/usr/src/test/os-tests/tests/ksensor/ |
H A D | ksensor_err.c | 91 int flags[] = { O_RDWR, O_WRONLY, O_RDONLY | O_NDELAY, in main()
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | slice.c | 138 fd = open(devpath, O_RDONLY|O_NDELAY); in slice_get_attributes() 479 cooked_fd = open(dp->name, O_RDONLY|O_NDELAY); in get_attrs() 622 if ((fd = open(devp->devpath, O_RDONLY|O_NDELAY)) >= 0) { in get_slice_num()
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | io.d.in | 171 inline int O_NDELAY = @O_NDELAY@; variable 172 #pragma D binding "1.1" O_NDELAY
|
/illumos-gate/usr/src/cmd/sh/ |
H A D | word.c | 436 ((fflags = fcntl(f->fdes, F_GETFL, 0)) & O_NDELAY)) { in readb() 437 fflags &= ~O_NDELAY; in readb()
|
/illumos-gate/usr/src/ucbhead/sys/ |
H A D | fcntl.h | 57 #define O_NDELAY 04 /* Non-blocking I/O */ macro
|
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_tape.c | 144 O_RDWR | O_NDELAY)) < 0) { in ndmpd_tape_open_v2() 193 mode |= O_NDELAY; in ndmpd_tape_open_v2() 1229 (devid = open(devname, O_RDWR | O_NDELAY)) < 0) { in common_tape_open() 1258 mode |= O_NDELAY; in common_tape_open()
|