/illumos-gate/usr/src/test/zfs-tests/tests/functional/exec/ |
H A D | mmap_exec.c | 55 if ((fd = open(argv[1], O_RDONLY)) < 0) { in main()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/fssnap/ |
H A D | fssnap.c | 208 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 D | conf.c | 351 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 D | ttymon.c | 346 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 D | notxn-poll.c | 44 if ((fd = open(argv[1], O_RDWR)) < 0) { in main()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/ |
H A D | setsid.c | 63 if ((fd = open("/dev/tty", O_RDONLY|O_cloexec)) >= 0)
|
/illumos-gate/usr/src/lib/libuutil/common/ |
H A D | uu_open.c | 56 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 D | interface_version.c | 31 int ctl_fd = open(VIONA_DEV, O_EXCL | O_RDWR); in main()
|
/illumos-gate/usr/src/lib/libdemangle/common/ |
H A D | rust-v0.c | 1151 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 D | typeahead.c | 107 if ((cur_term->_check_fd = open("/dev/tty", O_RDONLY | in typeahead()
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/speculation/ |
H A D | tst.NoSpecBuffer.d | 42 syscall::open:entry
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/libzfs/ |
H A D | many_fds.c | 56 int fd = open("/dev/null", O_RDONLY); in main()
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/java_api/src/ |
H A D | TestGetAggregate.java | 177 consumer.open(); in startIncludedTest() 211 consumer.open(); in startClearedTest()
|
/illumos-gate/usr/src/stand/lib/fs/common/ |
H A D | fsswitch.c | 132 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 D | reqexec.c | 272 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 D | v831.c | 38 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 D | script.c | 265 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 D | scratchops.c | 95 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 D | file.cc | 125 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 D | getutx.c | 194 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 D | signalfd.c | 41 if ((fd = open("/dev/signalfd", oflags)) < 0) in signalfd()
|
/illumos-gate/usr/src/cmd/autopush/ |
H A D | autopush.c | 257 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 D | dwarf_object_detector.c | 563 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 D | smbiod-svc.c | 116 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 D | mdb_ctf_open.c | 61 if ((fd = open(filename, O_RDWR | O_CREAT | O_TRUNC, 0644)) < 0) in mdb_ctf_write()
|