Home
last modified time | relevance | path

Searched refs:open (Results 226 – 250 of 1565) sorted by relevance

12345678910>>...63

/illumos-gate/usr/src/test/zfs-tests/tests/functional/exec/
H A Dmmap_exec.c55 if ((fd = open(argv[1], O_RDONLY)) < 0) { in main()
/illumos-gate/usr/src/cmd/fs.d/ufs/fssnap/
H A Dfssnap.c208 if ((mountfd = open(mountpoint, O_RDONLY)) < 0) in main()
299 if ((ctlfd = open(SNAP_CTL_PATH, O_RDONLY | O_EXCL)) == -1) { in create_snap()
350 if ((ctlfd = open(SNAP_CTL_PATH, O_RDONLY | O_EXCL)) == -1) in delete_snap()
640 fd = open(wpath, O_RDWR | O_CREAT | O_EXCL, 0600); in open_multi_backfile()
/illumos-gate/usr/src/cmd/logadm/
H A Dconf.c351 if ((Conffd = open(Confname, O_RDWR)) < 0) { in conf_open()
355 if ((Conffd = open(Confname, O_RDONLY)) < 0) in conf_open()
381 if ((Timesfd = open(Timesname, O_CREAT|O_RDWR, 0644)) < 0) { in conf_open()
385 if ((Timesfd = open(Timesname, O_RDONLY)) < 0) in conf_open()
/illumos-gate/usr/src/cmd/ttymon/
H A Dttymon.c346 if ((fd = open(pmptr->p_device, O_RDONLY|O_NONBLOCK|O_NOCTTY)) < 0) { in set_softcar()
380 if ((fd = open(pmptr->p_device, O_RDWR)) == -1) in open_device()
394 } else if ((fd = open(pmptr->p_device, O_RDWR|O_NONBLOCK)) in open_device()
467 if ((tmpfd = open(pmptr->p_device, O_RDWR|O_NONBLOCK)) == -1) { in open_device()
/illumos-gate/usr/src/test/os-tests/tests/uccid/
H A Dnotxn-poll.c44 if ((fd = open(argv[1], O_RDWR)) < 0) { in main()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dsetsid.c63 if ((fd = open("/dev/tty", O_RDONLY|O_cloexec)) >= 0)
/illumos-gate/usr/src/lib/libuutil/common/
H A Duu_open.c56 f = open(fname, O_CREAT | O_EXCL | O_RDWR, 0600); in uu_open_tmp()
/illumos-gate/usr/src/test/bhyve-tests/tests/viona/
H A Dinterface_version.c31 int ctl_fd = open(VIONA_DEV, O_EXCL | O_RDWR); in main()
/illumos-gate/usr/src/lib/libdemangle/common/
H A Drust-v0.c1151 strview_t *restrict sv, boolean_t open) in rustv0_parse_dyn_trait_assoc_binding() argument
1167 if (!rust_append(st, open ? ", " : "<")) in rustv0_parse_dyn_trait_assoc_binding()
1194 boolean_t open = B_FALSE; in rustv0_parse_dyn_trait() local
1232 open = st->rs_args_is_open; in rustv0_parse_dyn_trait()
1237 while (rustv0_parse_dyn_trait_assoc_binding(st, sv, open)) { in rustv0_parse_dyn_trait()
1238 open = B_TRUE; in rustv0_parse_dyn_trait()
1244 if (open && !rust_appendc(st, '>')) in rustv0_parse_dyn_trait()
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dtypeahead.c107 if ((cur_term->_check_fd = open("/dev/tty", O_RDONLY | in typeahead()
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/speculation/
H A Dtst.NoSpecBuffer.d42 syscall::open:entry
/illumos-gate/usr/src/test/zfs-tests/tests/functional/libzfs/
H A Dmany_fds.c56 int fd = open("/dev/null", O_RDONLY); in main()
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/java_api/src/
H A DTestGetAggregate.java177 consumer.open(); in startIncludedTest()
211 consumer.open(); in startClearedTest()
/illumos-gate/usr/src/stand/lib/fs/common/
H A Dfsswitch.c132 open(const char *filename, int flags) in open() function
199 if ((fd = open(filename, O_RDONLY)) != -1) { in stat()
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/
H A Dreqexec.c272 if ((fd = open(resppath, O_WRONLY|O_CREAT|O_TRUNC|O_EXCL, 0644)) < 0) { in reqexec()
310 fd = open(resppath, O_WRONLY|O_CREAT|O_TRUNC|O_EXCL, 0644); in chkexec()
/illumos-gate/usr/src/cmd/tip/aculib/
H A Dv831.c38 if ((AC = open(acu, O_RDWR)) < 0) { in v831_dialer()
66 if ((FD = open(DV, O_RDWR)) < 0) { in v831_dialer()
/illumos-gate/usr/src/cmd/script/
H A Dscript.c265 if ((manager = open(mptname, O_RDWR)) >= 0) { /* a pseudo-tty is free */ in getmanager()
284 subsid = open(subsidname, O_RDWR); /* open subsidiary */ in getsubsid()
/illumos-gate/usr/src/lib/libzonecfg/common/
H A Dscratchops.c95 if ((fd = open(mapfile, flags, 0644)) == -1) { in zonecfg_open_scratch()
107 fd = open(mapfile, O_RDWR); in zonecfg_open_scratch()
/illumos-gate/usr/src/cmd/audio/audioconvert/
H A Dfile.cc125 if ((fd = open(path, O_RDONLY)) < 0) { in open_input_file()
259 if ((fd = open(path, O_WRONLY|O_CREAT|O_TRUNC, in create_output_file()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetutx.c194 if ((fd = open(utmpxfile, O_RDWR|O_CREAT, 0644)) < 0) { in getutxent_frec()
202 if ((fd = open(utmpxfile, O_RDONLY)) < 0) in getutxent_frec()
872 if ((wfdx = open(filex, O_WRONLY | O_APPEND)) < 0) in updwtmpx()
1081 if ((lockfd = open(UTMPX_FILE, O_RDWR|O_CREAT, 0644)) < 0) in lockutx()
1127 pfd = open(IPIPE, O_RDWR); in sendpid()
1347 pfd = open(UPIPE, O_RDWR | O_NONBLOCK | O_NDELAY); in sendupid()
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dsignalfd.c41 if ((fd = open("/dev/signalfd", oflags)) < 0) in signalfd()
/illumos-gate/usr/src/cmd/autopush/
H A Dautopush.c257 if ((sadfd = open(ADMINDEV, O_RDWR)) < 0) { in set_info()
351 if ((sadfd = open(ADMINDEV, O_RDWR)) < 0) { in rem_info()
415 if ((sadfd = open(USERDEV, O_RDWR)) < 0) { in get_info()
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_object_detector.c563 fd = open(outpath,O_RDONLY|O_BINARY); in dwarf_object_detector_path()
566 fd = open(path,O_RDONLY|O_BINARY); in dwarf_object_detector_path()
570 fd = open(path,O_RDONLY|O_BINARY); in dwarf_object_detector_path()
/illumos-gate/usr/src/cmd/fs.d/smbclnt/smbiod-svc/
H A Dsmbiod-svc.c116 if ((fd = open(door_path, O_RDONLY)) < 0) in already_running()
268 tmp_fd = open(door_path, O_RDWR|O_CREAT|O_EXCL, 0644); in main()
449 fd = open(door_file, O_RDWR|O_CREAT|O_EXCL, 0600); in cmd_start()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_ctf_open.c61 if ((fd = open(filename, O_RDWR | O_CREAT | O_TRUNC, 0644)) < 0) in mdb_ctf_write()

12345678910>>...63