Home
last modified time | relevance | path

Searched refs:O_RDWR (Results 1 – 25 of 647) sorted by last modified time

12345678910>>...26

/illumos-gate/usr/src/cmd/savecore/
H A Dsavecore.c363 dumpfd = Open(dumpfile, O_RDWR | O_DSYNC, 0644); in read_dumphdr()
1485 dumpfd = Open(dumpfile, O_RDWR | O_DSYNC, 0644); in message_save()
1565 dumpfd = Open(dumpfile, O_RDWR | O_DSYNC, 0644); in stack_retrieve()
/illumos-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg_libscf.c779 fd = open(est->sc_repo_doorname, O_CREAT | O_EXCL | O_RDWR, 0600); in start_private_repository()
817 fd = open(est->sc_repo_doorname, O_RDWR); in start_private_repository()
/illumos-gate/usr/src/lib/libipsecutil/common/
H A Dipsec_util.c1125 if ((fd = open(name, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR)) < 0) { in kmc_open_and_lock()
/illumos-gate/usr/src/test/util-tests/tests/smbios/
H A Dsmbios.c694 fd = openat(test_dirfd, fname, O_RDWR | O_CREAT, 0644); in smbios_test_run_one()
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_util.c691 if ((hdl->libzfs_fd = open(ZFS_DEV, O_RDWR)) < 0) { in libzfs_init()
H A Dlibzfs_sendrecv.c2052 sdd.cleanup_fd = open(ZFS_DEV, O_RDWR|O_EXCL); in zfs_send()
4658 cleanup_fd = open(ZFS_DEV, O_RDWR|O_EXCL); in zfs_receive()
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c951 int fd = open(path, O_RDWR | O_CREAT | O_TRUNC, 0666); in make_vdev_file()
3484 if ((fd = open(vd->vdev_path, O_RDWR)) == -1) in grow_vdev()
5818 fd = open(pathrand, O_RDWR); in ztest_fault_inject()
/illumos-gate/usr/src/cmd/svr4pkg/pkgadm/
H A Dlock.c1187 fd = open(lockpath, O_CREAT|O_RDWR, LOCK_FILEMODE); in _openLockFile()
/illumos-gate/usr/src/cmd/th_tools/
H A Dth_define.c1388 if ((fd = open(BOFI_DEV, O_RDWR)) == -1) { in thr_collect()
1776 fd = open(BOFI_DEV, O_RDWR); in test_driver()
2268 if ((fd = open(BOFI_DEV, O_RDWR)) == -1) { in main()
/illumos-gate/usr/src/cmd/trapstat/sun4/
H A Dtrapstat.c1062 if ((g_fd = open(TSTAT_DEVICE, O_RDWR)) == -1) in main()
/illumos-gate/usr/src/cmd/rsrvrctl/
H A Drsrvrctl.c227 fd = open(VMM_CTL_DEV, O_EXCL | O_RDWR); in main()
/illumos-gate/usr/src/cmd/zoneadmd/
H A Dzoneadmd.c587 fd = open64(CTFS_ROOT "/process/template", O_RDWR); in init_template()
1725 if ((doorfd = open(zone_door_path, O_CREAT|O_RDWR, in make_daemon_exclusive()
/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_main.c998 if ((fd = open(vdev, O_RDWR)) < 0) { in zpool_do_labelclear()
8494 int fd = open(ZFS_DEV, O_RDWR); in main()
/illumos-gate/usr/src/cmd/stmsboot/
H A Dstmsboot_util.c159 mapfd = open(ondiskname, O_RDWR|O_CREAT|O_SYNC, S_IRUSR | S_IWUSR); in main()
1332 vhci_fd = open(VHCI_CTL_NODE, O_RDWR); in vhci_to_phci()
/illumos-gate/usr/src/cmd/fs.d/udfs/labelit/
H A Dlabelit.c201 flags = O_RDWR; in main()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rlogind.c1057 if ((p = open("/dev/ptmx", O_RDWR)) == -1) in doit()
1065 if ((t = open(line, O_RDWR)) == -1) in doit()
1163 if ((tt = open(line, O_RDWR)) == -1) in doit()
1357 if ((ptmfd = open("/dev/logindmux", O_RDWR)) == -1) in protocol()
1360 if ((netfd = open("/dev/logindmux", O_RDWR)) == -1) in protocol()
H A Din.telnetd.c2759 if ((p = open("/dev/ptmx", O_RDWR | O_NOCTTY)) == -1) { in doit()
2769 if ((t = open(subsidname, O_RDWR | O_NOCTTY)) == -1) in doit()
2993 if ((ptmfd = open("/dev/logindmux", O_RDWR)) == -1) { in doit()
2996 if ((netfd = open("/dev/logindmux", O_RDWR)) == -1) { in doit()
3113 tt = open(line, O_RDWR); in doit()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dikeadm.c2593 fd = open(argv[1], O_RDWR | O_CREAT | O_APPEND, in do_setvar()
3075 fd = open(tmpfilepath, O_RDWR | O_CREAT | O_EXCL, in do_new()
3209 oflag = O_RDWR | O_CREAT | O_EXCL; in do_rw()
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevfsadm.c1274 if ((fd = open(door_file, O_RDWR | O_CREAT, SYNCH_DOOR_PERMS)) == -1) { in daemon_update()
1308 if ((fd = open(door_file, O_RDWR | O_CREAT, S_IRUSR|S_IWUSR)) == -1) { in daemon_update()
3897 (void) open("/dev/null", O_RDWR, 0); in detachfromtty()
3935 dev_lock_fd = open(dev_lockfile, O_CREAT|O_RDWR, 0644); in enter_dev_lock()
4061 daemon_lock_fd = open(daemon_lockfile, O_CREAT|O_RDWR, 0644); in enter_daemon_lock()
/illumos-gate/usr/src/cmd/zonestat/zonestatd/
H A Dzonestatd.c640 fd = open64(CTFS_ROOT "/process/template", O_RDWR); in init_template()
775 fd = open(path, O_CREAT|O_RDWR, 0644); in zsd_fattach_zone()
/illumos-gate/usr/src/cmd/ttymon/
H A Dtmchild.c242 if ((pmtab->p_fd = open(pmtab->p_device, O_RDWR)) != 0) { in openline()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_proc.c973 int mode = (flags & MDB_TGT_F_RDWR) ? O_RDWR : O_RDONLY; in pt_setflags()
3405 pt_dupfd(pt->p_stdin, O_RDWR, 0, STDIN_FILENO); in Pcreate_callback()
5326 pt->p_oflags = O_RDWR; in mdb_proc_tgt_create()
/illumos-gate/usr/src/cmd/saf/
H A Dsac.c197 Sfd = open("_sacpipe", O_RDWR); in initialize()
243 sp->sc_fd = open(Scratch, O_RDWR); in startpms()
397 sp->sc_fd = open(Scratch, O_RDWR); in startpm()
1098 fd = open(CMDPIPE, O_RDWR | O_CREAT, 0600); in mk_cmd_pipe()
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Drcm_main.c139 daemon_lock_fd = open(daemon_lock_file, O_CREAT|O_RDWR, 0644); in enter_daemon_lock()
283 (void) open("/dev/null", O_RDWR, 0); in detachfromtty()
/illumos-gate/usr/src/cmd/syseventd/daemons/syseventd/
H A Dsyseventd.c1469 fd = open(local_door_file, O_CREAT|O_RDWR, S_IREAD|S_IWRITE); in syseventd_init()
1559 daemon_lock_fd = open(local_lock_file, O_CREAT|O_RDWR, 0644); in enter_daemon_lock()

12345678910>>...26