Home
last modified time | relevance | path

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

12345

/titanic_50/usr/src/lib/libcurses/screen/
H A Dttimeout.c101 flags &= ~O_NDELAY; in _setblock()
103 flags |= O_NDELAY; in _setblock()
H A Dtypeahead.c108 O_NDELAY)) >= 0) in typeahead()
/titanic_50/usr/src/lib/libbc/libc/sys/4.2/
H A Dfcntl.c63 |O_NDELAY|FNBIO|FASYNC)
129 if (arg & (O_NDELAY))
173 narg |= O_NDELAY;
/titanic_50/usr/src/lib/libbc/libc/sys/sys5/
H A Dfcntl.c62 |O_NDELAY|FASYNC)
126 if (arg & (O_NDELAY))
168 narg |= O_NDELAY;
/titanic_50/usr/src/lib/libast/common/features/
H A Dfcntl.c246 #ifndef O_NDELAY in main()
294 #ifndef O_NDELAY in main()
311 #ifdef O_NDELAY in main()
/titanic_50/usr/src/lib/libdiskmgt/common/
H A Dslice.c134 fd = open(devpath, O_RDONLY|O_NDELAY); in slice_get_attributes()
229 fd = open(devpath, O_RDONLY|O_NDELAY); in slice_get_stats()
534 if ((sfd = open(sp->devpath, O_RDONLY|O_NDELAY)) >= 0) { in get_attrs()
576 cooked_fd = open(localpath, O_RDONLY|O_NDELAY); in get_attrs()
578 cooked_fd = open(dp->name, O_RDONLY|O_NDELAY); in get_attrs()
720 if ((fd = open(devp->devpath, O_RDONLY|O_NDELAY)) >= 0) { in get_slice_num()
/titanic_50/usr/src/lib/libbc/inc/include/sys/
H A Dfcntl.h36 #define O_NDELAY _FNDELAY /* Non-blocking I/O (4.2 style) */ macro
/titanic_50/usr/src/lib/libbc/inc/5include/sys/
H A Dfcntl.h34 #define O_NDELAY _FNBIO /* Non-blocking I/O (S5 style) */ macro
/titanic_50/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()
/titanic_50/usr/src/lib/libc/port/gen/
H A Dopendir.c55 O_RDONLY | O_NDELAY | O_LARGEFILE, 0)) < 0) in opendir()
/titanic_50/usr/src/lib/mpapi/libmpscsi_vhci/common/
H A DInitialize.c67 O_NDELAY | O_RDONLY); in Initialize()
/titanic_50/usr/src/cmd/csh/
H A Dsh.tchar.c496 ((fflags = fcntl(d, F_GETFL, 0)) & O_NDELAY)) { in read_()
497 fflags &= ~O_NDELAY; in read_()
646 ((fflags = fcntl(d, F_GETFL, 0)) & O_NDELAY)) { in read_()
647 fflags &= ~O_NDELAY; in read_()
/titanic_50/usr/src/lib/libvolmgt/common/
H A Dvolmgt_on_private.c94 if ((fd = open(cn, O_RDONLY|O_NDELAY)) < 0) { in _dev_mounted()
303 if ((fd = open(cn, O_RDONLY|O_NDELAY)) < 0) { in vol_getmntdev()
433 if ((fd = open(cn, O_RDONLY|O_NDELAY)) < 0) { in get_media_info()
/titanic_50/usr/src/lib/libbc/libc/gen/common/
H A Dopendir.c49 if ((fd = open(name, O_RDONLY | O_NDELAY)) == -1)
/titanic_50/usr/src/lib/storage/libg_fc/common/
H A Dmap.c910 if ((fd = g_object_open(drvr_path, O_NDELAY | O_RDONLY)) == -1) in g_get_limited_map()
969 if ((fd = g_object_open(host_path, O_NDELAY | O_RDONLY)) == -1) { in g_get_host_params()
1174 if ((fd = g_object_open(fcapath, O_NDELAY | O_RDONLY)) == -1) { in g_get_dev_list()
1380 if ((fd = g_object_open(fcapath, O_NDELAY | O_RDONLY)) == -1) in g_get_inq_dtype()
1442 if ((fd = g_object_open(fcapath, O_NDELAY | O_RDONLY)) == -1) { in get_fca_inq_dtype()
1850 if ((fd = g_object_open(drvr_path, O_NDELAY | O_RDONLY)) == -1) in create_map()
2267 if ((fd = g_object_open(drvr_path, O_NDELAY | O_RDONLY)) == -1) { in g_dev_map_init()
2557 O_NDELAY | O_RDONLY | O_EXCL)) == in g_dev_map_init()
2645 g_object_open(nexus_path, O_NDELAY | O_RDONLY)) == -1) { in g_dev_map_init()
3431 O_NDELAY | O_RDONLY)) == -1) in g_rdls()
[all …]
/titanic_50/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()
/titanic_50/usr/src/cmd/bnu/
H A Dcallers.c304 dcf = open(dcname, (O_RDWR | O_NDELAY) );
305 saved_mode = O_RDWR | O_NDELAY;
331 (fcntl(dcf, F_GETFL, 0) & ~O_NDELAY)) < 0 ) {
739 dcr = open(dcname, O_WRONLY|O_NDELAY);
952 if ( (dcf = open(dcname, O_RDWR | O_NDELAY)) < 0 ) {
988 (void) fcntl(dcf,F_SETFL, fcntl(dcf, F_GETFL, 0) & ~O_NDELAY);
/titanic_50/usr/src/test/zfs-tests/cmd/devname2devid/
H A Ddevname2devid.c74 if ((fd = open(device, O_RDONLY|O_NDELAY)) < 0) { in main()
/titanic_50/usr/src/cmd/dtrace/test/tst/common/io/
H A Dtst.fds.c84 O_LARGEFILE | O_NOCTTY | O_NONBLOCK | O_NDELAY | O_RSYNC | in main()
/titanic_50/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()
/titanic_50/usr/src/cmd/rmformat/
H A Drmf_misc.c526 mfd = open(raw_device, O_RDWR | O_NDELAY); in check_and_unmount_floppy()
1345 fd = open(devnode, O_RDONLY|O_NDELAY); in get_device()
1437 ((fd = open(supplied, O_RDONLY|O_NDELAY)) >= 0)) { in lookup_device()
1454 if ((fd = open(tmpstr, O_RDONLY|O_NDELAY)) >= 0) { in lookup_device()
1471 if ((fd = open(tmpstr, O_RDONLY|O_NDELAY)) >= 0) { in lookup_device()
1488 fd = open(node, O_RDONLY|O_NDELAY); in is_cd()
2069 fd = my_open(sn, O_RDONLY|O_NDELAY); in get_media_info()
2072 fd = my_open(sdev, O_RDONLY|O_NDELAY); in get_media_info()
/titanic_50/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.c123 if (fctlflg & (O_NDELAY | O_NONBLOCK)) { in _tx_connect()
/titanic_50/usr/src/ucbhead/sys/
H A Dfcntl.h57 #define O_NDELAY 04 /* Non-blocking I/O */ macro

12345