Home
last modified time | relevance | path

Searched refs:O_NDELAY (Results 1 – 25 of 99) sorted by relevance

1234

/illumos-gate/usr/src/lib/libcurses/screen/
H A Dttimeout.c99 flags &= ~O_NDELAY; in _setblock()
101 flags |= O_NDELAY; in _setblock()
H A Dtypeahead.c108 O_NDELAY)) >= 0) in typeahead()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/
H A Dfcntl.c251 #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 Ddevice.c126 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/lib/libc/port/gen/
H A Dopendir.c53 O_RDONLY | O_NDELAY | O_LARGEFILE, 0)) < 0) in opendir()
/illumos-gate/usr/src/cmd/csh/
H A Dsh.tchar.c495 ((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/libvolmgt/common/
H A Dvolmgt_on_private.c95 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 Dmap.c1381 if ((fd = g_object_open(fcapath, O_NDELAY | O_RDONLY)) == -1) in g_get_inq_dtype()
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()
3957 if ((fd = g_object_open(path, O_NDELAY | O_RDONLY)) == -1) { in g_get_serial_number()
4015 if ((fd = g_object_open(path, O_NDELAY | O_RDONLY)) == -1) in g_get_inquiry()
4097 if ((fd = g_object_open(path, O_NDELAY | O_RDONLY)) == -1) in g_get_perf_statistics()
4119 if ((fd = g_object_open(path, O_NDELAY | O_RDONLY)) == -1) in g_start()
4132 if ((fd = g_object_open(path, O_NDELAY | O_RDONLY)) == -1) in g_stop()
4145 if ((fd = g_object_open(path, O_NDELAY | O_RDONLY)) == -1) in g_reserve()
[all …]
/illumos-gate/usr/src/lib/mpapi/libmpscsi_vhci/common/
H A DInitialize.c67 O_NDELAY | O_RDONLY); in Initialize()
/illumos-gate/usr/src/cmd/bnu/
H A Dcallers.c300 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 DFCHBA.cc89 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 DTgtFCHBA.cc97 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/cmd/rmformat/
H A Drmf_misc.c526 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()
/illumos-gate/usr/src/test/zfs-tests/cmd/devname2devid/
H A Ddevname2devid.c74 if ((fd = open(device, O_RDONLY|O_NDELAY)) < 0) { in main()
/illumos-gate/usr/src/lib/libnsl/dial/
H A Dcallers.c248 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/cmd/dtrace/test/tst/common/io/
H A Dtst.fds.c82 O_LARGEFILE | O_NOCTTY | O_NONBLOCK | O_NDELAY | O_RSYNC | in main()
/illumos-gate/usr/src/test/os-tests/tests/ksensor/
H A Dksensor_err.c91 int flags[] = { O_RDWR, O_WRONLY, O_RDONLY | O_NDELAY, in main()
/illumos-gate/usr/src/lib/libnsl/nsl/
H A D_utility.c368 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 Dt_connect.c121 if (fctlflg & (O_NDELAY | O_NONBLOCK)) { in _tx_connect()
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dslice.c138 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 Dio.d.in171 inline int O_NDELAY = @O_NDELAY@; variable
172 #pragma D binding "1.1" O_NDELAY
/illumos-gate/usr/src/cmd/sh/
H A Dword.c436 ((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 Dfcntl.h57 #define O_NDELAY 04 /* Non-blocking I/O */ macro
/illumos-gate/usr/src/boot/sys/sys/
H A Dfcntl.h182 #define O_NDELAY O_NONBLOCK /* compat */ macro
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_tape.c144 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()

1234