/titanic_50/usr/src/cmd/mt/ |
H A D | mt.c | 62 { "fsf", MTFSF, O_RDONLY, 1 }, 63 { "bsf", MTBSF, O_RDONLY, 1 }, 64 { "asf", MTASF, O_RDONLY, 1 }, 65 { "fsr", MTFSR, O_RDONLY, 1 }, 66 { "bsr", MTBSR, O_RDONLY, 1 }, 67 { "rewind", MTREW, O_RDONLY, 0 }, 68 { "offline", MTOFFL, O_RDONLY, 0 }, 69 { "rewoffl", MTOFFL, O_RDONLY, 0 }, 70 { "status", MTNOP, O_RDONLY, 0 }, 71 { "retension", MTRETEN, O_RDONLY, 0 }, [all …]
|
/titanic_50/usr/src/lib/libproc/common/ |
H A D | proc_get_info.c | 62 if ((fd = open(fname, O_RDONLY)) >= 0) { in proc_get_cred() 83 if ((fd = open(fname, O_RDONLY)) >= 0) { in proc_get_priv() 113 if ((fd = open(fname, O_RDONLY)) < 0) in proc_get_ldt() 144 if ((fd = open(fname, O_RDONLY)) >= 0) { in proc_get_psinfo() 161 if ((fd = open(fname, O_RDONLY)) >= 0) { in proc_get_status() 184 if ((fd = open(fname, O_RDONLY)) >= 0) { in proc_get_auxv()
|
H A D | proc_arg.c | 66 if ((fd = open64(path, O_RDONLY)) >= 0) { in open_psinfo() 94 if ((fd = open64(arg, O_RDONLY)) >= 0) { in open_core() 457 fd = open(pidstr, O_RDONLY); in proc_walk() 474 fd = open(pidstr, O_RDONLY); in proc_walk()
|
/titanic_50/usr/src/lib/libcmdutils/common/ |
H A D | process_xattrs.c | 42 pwdfd = open(".", O_RDONLY); in get_attrdirs() 44 if ((fd1 = attropen(attrfile, ".", O_RDONLY)) == -1) { in get_attrdirs() 56 if ((fd2 = attropen(attrfile, ".", O_RDONLY)) == -1) { in get_attrdirs() 97 if ((srcfd = open(infile, O_RDONLY)) == -1) { in mv_xattrs() 104 if ((indfd = openat(srcfd, ".", O_RDONLY|O_XATTR)) == -1) { in mv_xattrs() 108 if ((outdfd = attropen(outfile, ".", O_RDONLY)) == -1) { in mv_xattrs() 130 O_RDONLY)) == -1) { in mv_xattrs()
|
/titanic_50/usr/src/test/zfs-tests/cmd/dir_rd_update/ |
H A D | dir_rd_update.c | 77 testdd = open(dirpath, O_RDONLY|O_RSYNC|O_SYNC|O_DSYNC); in main() 87 int fd = open(dirpath, O_RDONLY|O_RSYNC|O_SYNC|O_DSYNC); in main() 101 int fd = open(dirpath, O_RDONLY); in main()
|
/titanic_50/usr/src/cmd/fm/modules/sun4u/cpumem-diagnosis/ |
H A D | cmd_ecache.c | 77 if ((fd = open(path, O_RDONLY)) < 0) in ecache_scan_dir() 133 if ((fd = open(cmd.cmd_ecache_dev, O_RDONLY)) < 0) { in cmd_ecache_flush() 142 (fd = open(cmd.cmd_ecache_dev, O_RDONLY)) < 0) in cmd_ecache_flush()
|
/titanic_50/usr/src/cmd/avs/sdbc/ |
H A D | sdbc_ioctl.c | 56 fd = open("/dev/nsctl", O_RDONLY); in __sdbc_open() 60 fd = open(__sdbc_dev, O_RDONLY); in __sdbc_open() 77 fd = open(SV_DEVICE, O_RDONLY); in sv_list()
|
/titanic_50/usr/src/lib/libnsctl/common/ |
H A D | cache.c | 121 if ((mode & O_ACCMODE) != O_RDONLY) { 122 if ((i & O_ACCMODE) == O_RDONLY) { 184 if ((fd->sf_fmode & O_ACCMODE) == O_RDONLY) 258 if (ckdchk && (fd->sf_fmode & O_ACCMODE) != O_RDONLY) { 308 fd = open(_NSC_DEV_PATH, O_RDONLY);
|
/titanic_50/usr/src/lib/libsqlite/tool/ |
H A D | diffdb.c | 27 db1 = open(argv[1], O_RDONLY); in main() 32 db2 = open(argv[2], O_RDONLY); in main()
|
/titanic_50/usr/src/lib/libc/port/gen/ |
H A D | _xftw.c | 292 if ((fd = openat(AT_FDCWD, dirp, O_RDONLY)) < 0) { in nocdopendir() 298 if ((cfd = openat(fd, token, O_RDONLY)) < 0) { in nocdopendir() 339 if ((fd = openat(AT_FDCWD, dirp, O_RDONLY)) < 0) { in nocdstat() 347 if ((cfd = openat(fd, token, O_RDONLY)) < 0) { in nocdstat()
|
H A D | attropen.c | 60 if ((fd = open64(file, O_RDONLY|O_NONBLOCK)) == -1) { in attropen64() 91 if ((fd = open(file, O_RDONLY|O_NONBLOCK)) == -1) { in attropen()
|
/titanic_50/usr/src/cmd/svc/startd/ |
H A D | contract.c | 92 if ((psfd = open("/proc/self/psinfo", O_RDONLY)) < 0) { in contract_init() 110 if ((csfd = contract_open(ctid, "process", "status", O_RDONLY)) < 0) { in contract_init() 167 O_RDONLY)) < 0) { in contract_init() 219 fd = contract_open(ctid, "process", "status", O_RDONLY); in contract_is_empty()
|
/titanic_50/usr/src/lib/libc/port/stdio/ |
H A D | _endopen.c | 68 oflag = O_RDONLY; in _endopen() 105 oflag = (oflag & ~(O_RDONLY | O_WRONLY)) | O_RDWR; in _endopen()
|
/titanic_50/usr/src/cmd/dtrace/test/cmd/badioctl/ |
H A D | badioctl.c | 66 if ((random = open("/dev/random", O_RDONLY)) == -1) in badioctl() 91 fd = open("/devices/pseudo/dtrace@0:dtrace", O_RDONLY); in badioctl()
|
/titanic_50/usr/src/lib/libsun_ima/common/ |
H A D | ima.c | 274 if ((fd = open(ISCSI_DRIVER_DEVCTL, O_RDONLY)) == -1) { in IMA_GetNodeProperties() 325 if ((fd = open(ISCSI_DRIVER_DEVCTL, O_RDONLY)) == -1) { in IMA_SetNodeName() 355 if ((fd = open(ISCSI_DRIVER_DEVCTL, O_RDONLY)) == -1) { in IMA_SetNodeAlias() 419 if ((fd = open(ISCSI_DRIVER_DEVCTL, O_RDONLY)) == -1) { in IMA_GetDiscoveryProperties() 789 if ((fd = open(ISCSI_DRIVER_DEVCTL, O_RDONLY)) == -1) { in IMA_GetDiscoveryAddressOidList() 935 if ((fd = open(ISCSI_DRIVER_DEVCTL, O_RDONLY)) == -1) { in IMA_RemoveDiscoveryAddress() 1048 if ((fd = open(ISCSI_DRIVER_DEVCTL, O_RDONLY)) == -1) { in IMA_AddDiscoveryAddress() 1088 if ((fd = open(ISCSI_DRIVER_DEVCTL, O_RDONLY)) == -1) { in IMA_GetStaticDiscoveryTargetProperties() 1174 if ((fd = open(ISCSI_DRIVER_DEVCTL, O_RDONLY)) == -1) { in IMA_GetDiscoveryAddressProperties() 1272 if ((fd = open(ISCSI_DRIVER_DEVCTL, O_RDONLY)) == -1) { in IMA_RemoveStaticDiscoveryTarget() [all …]
|
/titanic_50/usr/src/lib/libbc/inc/include/sys/ |
H A D | fcntlcom.h | 62 #define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR) 69 #define O_RDONLY 0 /* +1 == FREAD */ macro
|
/titanic_50/usr/src/cmd/runat/ |
H A D | runat.c | 68 if ((fd = open64(argv[1], O_RDONLY)) == -1) { in main() 75 if ((dirfd = openat64(fd, ".", O_RDONLY|O_XATTR)) == -1) { in main()
|
/titanic_50/usr/src/lib/sun_fc/common/ |
H A D | FCHBA.cc | 89 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() 223 if ((fd = open(port->getPath().c_str(), O_RDONLY | O_EXCL)) == -1) { in doForceLip() 266 if ((fd = open(port->getPath().c_str(), O_NDELAY | O_RDONLY)) == -1) { in npivGetHBAAttributes() 359 if ((fd = open(FCSM_DRIVER_PATH.c_str(), O_RDONLY)) < 0) { in loadAdapters()
|
/titanic_50/usr/src/lib/libdhcpagent/common/ |
H A D | dhcp_stable.c | 70 if ((fd = open(DUID_FILE, O_RDONLY)) == -1) in read_stable_duid() 198 if ((fd = open(IAID_FILE, O_RDONLY)) == -1) in read_stable_iaid() 268 if ((fd = open(IAID_FILE, O_RDONLY)) == -1) in make_stable_iaid()
|
/titanic_50/usr/src/cmd/avs/sv/ |
H A D | svboot.c | 151 fd = open(sv_rpath, O_RDONLY); in sv_get_maxdevs() 302 fd = open(sv_rpath, O_RDONLY); in resume_sv() 489 if ((fd = open(sv_rpath, O_RDONLY)) < 0) { in suspend_sv() 520 if ((fd = open(sv_rpath, O_RDONLY)) < 0) { in prepare_unload_sv()
|
/titanic_50/usr/src/lib/efcode/efdaemon/ |
H A D | efdaemon.c | 81 if ((fd = open(dev_fcode_file, O_RDONLY)) < 0) { in main() 125 while ((fd = open(dev_fcode_file, O_RDONLY)) < 0) { in main()
|
/titanic_50/usr/src/lib/libcontract/common/ |
H A D | libcontract_priv.c | 67 if ((cfd = open64(CTFS_ROOT "/process/latest", O_RDONLY)) == -1) in contract_latest() 133 if ((fd = open("/proc/self/psinfo", O_RDONLY)) == -1) in getctid()
|
/titanic_50/usr/src/lib/libsmbfs/smb/ |
H A D | iod_cl.c | 97 fd = open(path, O_RDONLY, 0); in smb_iod_open_door() 138 fd = open(svc_door, O_RDONLY, 0); in start_iod()
|
/titanic_50/usr/src/cmd/sendmail/libsm/ |
H A D | stdio.c | 80 oflags = O_RDONLY; 420 oflags = O_RDONLY; 499 case O_RDONLY:
|
/titanic_50/usr/src/cmd/tip/ |
H A D | remcap.c | 153 tf = open(E_TERMCAP, O_RDONLY); in getent() 159 tf = open(RM = cp, O_RDONLY); in getent() 165 tf = open(E_TERMCAP, O_RDONLY); in getent()
|