/illumos-gate/usr/src/boot/libsa/ |
H A D | pager.c | 139 if ((fd = open(fname, O_RDONLY)) == -1) { in pager_file()
|
H A D | splitfs.c | 87 sf->curfd = open(sf->filesv[sf->curfile], O_RDONLY); in split_openfile() 124 conffd = open(confname, O_RDONLY); in splitfs_open()
|
/illumos-gate/usr/src/cmd/fs.d/ufs/mount/ |
H A D | mount.c | 350 fd = open(mp, O_RDONLY); in checkislog() 363 fd = open(mp, O_RDONLY); in enable_logging() 390 fd = open(mp, O_RDONLY); in disable_logging() 599 if ((fd = open(MNTTAB, O_RDONLY, 0)) < 0) in mountfs()
|
/illumos-gate/usr/src/tools/find_elf/ |
H A D | find_elf.c | 205 if ((fd = open(arg, O_RDONLY)) == -1) { in process_arg() 240 rootfd = open(dir, O_RDONLY); in process_arg() 242 rootfd = open(dir, O_RDONLY|O_DIRECTORY); in process_arg() 306 fd = openat(dirfd, de->d_name, O_RDONLY); in process_dir()
|
/illumos-gate/usr/src/test/libc-tests/tests/ |
H A D | utimes.c | 166 if ((dfd = open(dir, O_DIRECTORY|O_RDONLY)) == -1) in runtest() 265 if ((rfd = open("/dev/null", O_RDONLY)) == -1) in runtest() 361 if ((rfd = open("/dev/null", O_RDONLY)) == -1) in runtest()
|
/illumos-gate/usr/src/cmd/zfs/ |
H A D | zfs_project.c | 105 fd = open(name, O_RDONLY | O_NOCTTY); in zfs_project_load_projid() 130 fd = open(name, O_RDONLY | O_NOCTTY); in zfs_project_handle_one()
|
/illumos-gate/usr/src/cmd/dispadmin/ |
H A D | dispadmin.c | 305 if ((fd = open(CONFIGPATH, O_RDONLY, CONFIGPERM)) == -1) { in set_scheduler() 377 if ((fd = open(CONFIGPATH, O_RDONLY, CONFIGPERM)) == -1) { in set_default_class()
|
/illumos-gate/usr/src/cmd/srptsvc/ |
H A D | srptsvc.c | 69 fd = open(SRPT_NODE, O_RDONLY); in main()
|
/illumos-gate/usr/src/cmd/lastcomm/ |
H A D | lastcomm.c | 95 EO_TAIL | EO_VALID_HDR, O_RDONLY, 0)) >= 0) in main()
|
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm_digest.c | 55 if ((fd = open(filename, O_RDONLY | O_NONBLOCK)) == -1) { in bootadm_digest()
|
/illumos-gate/usr/src/cmd/hal/probing/acpi/ |
H A D | probe-acpi.c | 57 if ((fd = open(device_file, O_RDONLY | O_NONBLOCK)) < 0) { in main()
|
/illumos-gate/usr/src/test/os-tests/tests/uccid/ |
H A D | yk-readonly.c | 50 if ((fd = open(argv[1], O_RDONLY)) < 0) { in main()
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/io/ |
H A D | tst.fds.c | 77 fds[n++] = open(file, O_RDONLY); in main()
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/db/ |
H A D | db.c | 57 (O_CREAT | O_EXCL | O_EXLOCK | O_NONBLOCK | O_RDONLY | \
|
/illumos-gate/usr/src/test/os-tests/tests/ksensor/ |
H A D | ksensor_sread.c | 70 fd = open(buf, O_RDONLY); in main()
|
/illumos-gate/usr/src/cmd/backup/restore/ |
H A D | utilities.c | 598 working_mode = mode & (O_WRONLY|O_RDWR|O_RDONLY); in safe_open() 712 if (mode & O_RDONLY) { in safe_open() 740 bmode = O_RDONLY; in safe_fopen() 1079 (*fd = openat64(tfd, *rpath, O_RDONLY)) > 0) { in resolve() 1088 if (*fd < 0 || (*fd = openat64(tfd, ".", O_RDONLY|O_XATTR)) < 0) { in resolve()
|
H A D | tape.c | 194 mt = open(archivefile, O_RDONLY|O_LARGEFILE); in setup() 201 if ((mt = rmtopen(magtape, O_RDONLY)) < 0) { in setup() 209 else if ((mt = open(magtape, O_RDONLY|O_LARGEFILE)) < 0) { in setup() 555 if ((host != NULL && (mt = rmtopen(magtape, O_RDONLY)) == -1) || in getvol() 557 (mt = open(magtape, O_RDONLY|O_LARGEFILE)) == -1)) { in getvol() 2078 if (rmtopen(magtape, O_RDONLY) >= 0) { in autoload_tape() 2084 if ((fd = open(magtape, O_RDONLY|O_LARGEFILE, in autoload_tape() 2099 (mt = rmtopen(magtape, O_RDONLY)) == -1) || in autoload_tape() 2101 (mt = open(magtape, O_RDONLY|O_LARGEFILE)) == -1)) { in autoload_tape()
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | fts.c | 176 (sp->fts_rfd = open(".", O_RDONLY | O_CLOEXEC)) < 0) in fts_open() 302 open(".", O_RDONLY | O_CLOEXEC)) < 0) { in fts_read() 392 open(".", O_RDONLY | O_CLOEXEC)) < 0) { in fts_read() 530 if ((fd = open(".", O_RDONLY | O_CLOEXEC)) < 0) in fts_children() 1031 if (fd < 0 && (newfd = open(path, O_RDONLY|O_CLOEXEC)) < 0) in fts_safe_changedir()
|
H A D | getauxv.c | 64 if ((fd = open("/proc/self/auxv", O_RDONLY)) != -1 && in _getaux()
|
/illumos-gate/usr/src/lib/libpri/common/ |
H A D | pri.c | 53 fd = open(DS_PRI_DRIVER, O_RDONLY); in pri_init()
|
/illumos-gate/usr/src/cmd/sdpadm/ |
H A D | sdpadm.c | 108 fd = open(dcname, O_RDONLY); in main()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | safechown.c | 28 if ((fd = open(src, O_RDONLY, 0)) == -1) in safechown()
|
/illumos-gate/usr/src/cmd/acct/ |
H A D | accton.c | 83 if ((fd = open(admfile, O_RDONLY|O_CREAT, 0644)) == ERR) { in ckfile()
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | map.c | 991 if (mode != O_RDONLY) 1483 if (mode == O_RDONLY) 1624 if (mode == O_RDONLY) 1707 : O_RDONLY; 2139 if (mode == O_RDONLY) 2356 : O_RDONLY; 2656 if (mode != O_RDONLY) 2915 if (mode != O_RDONLY) 3388 if (mode != O_RDONLY) 5001 if (mode != O_RDONLY) [all …]
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | dwarf_generic_init.c | 109 fd = elf_open(name, O_RDONLY | O_BINARY); in open_a_file() 111 fd = open(name, O_RDONLY | O_BINARY); in open_a_file()
|