Searched refs:open (Results 51 - 75 of 1624) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dcan_use_af.c50 if ((fd = open("/dev/udp", O_RDONLY)) < 0)
/illumos-gate/usr/src/cmd/rcap/common/
H A Drcapd_stat.c47 if ((fd = open(file, O_RDONLY)) < 0)
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/cpc/
H A Dtst.platformevent.ksh43 open CPUSTAT, '/usr/sbin/cpustat -h |'
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dcheckrev.c28 if ((vfd == -1) && ((vfd = open(ipfname, O_RDONLY)) == -1)) {
29 perror("open device");
H A Dkvatoname.c19 fd = open(IPL_NAME, O_RDONLY);
H A Dnametokva.c18 fd = open(IPL_NAME, O_RDONLY);
/illumos-gate/usr/src/test/zfs-tests/tests/functional/exec/
H A Dmmap_exec.c55 if ((fd = open(argv[1], O_RDONLY)) < 0) {
56 perror("open");
/illumos-gate/usr/src/test/zfs-tests/tests/functional/libzfs/
H A Dmany_fds.c56 int fd = open("/dev/null", O_RDONLY);
58 (void) printf("open failed with errno=%d\n", errno);
/illumos-gate/usr/src/uts/common/sys/usb/
H A Dusba.h35 #include <sys/open.h>
/illumos-gate/usr/src/uts/common/sys/dktp/
H A Dcm.h38 #include <sys/open.h>
/illumos-gate/usr/src/lib/libast/common/vec/
H A Dvecfile.c48 if ((fd = open(file, O_RDONLY)) >= 0)
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/java_api/src/
H A DTestStopLock.java46 consumer.open();
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_ctf_open.c29 * libctf open/close interposition layer
61 if ((fd = open(filename, O_RDWR | O_CREAT | O_TRUNC, 0644)) < 0)
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dsignalfd.c41 if ((fd = open("/dev/signalfd", oflags)) < 0)
/illumos-gate/usr/src/tools/findunref/
H A DMakefile36 EXCEPTION_SRC= common open
/illumos-gate/usr/src/tools/scripts/
H A Dcopyrightchk.py44 fin = open(filename, 'r')
46 sys.stderr.write("failed to open '%s': %s\n" %
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_admin.c41 * open administrative device
50 /* if not already open */
55 if ((meta_fd = open(ADMSPECIAL, O_RDWR, 0)) < 0) {
60 if ((meta_fd = open(ADMSPECIAL, O_RDONLY, 0)) < 0)
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_log.cc82 if (open() == TRUE) { // open log
218 if ((from = open(oldname, O_RDONLY, 0666)) < 0) {
225 if ((to = open(newname, O_WRONLY|O_CREAT|O_TRUNC, 0660)) < 0) {
343 db_log::open(void) { function in class:db_log
348 WRITELOCK(this, FALSE, "w db_log::open");
350 ret = pickle_file::open();
351 WRITEUNLOCK(this, ret, "wu db_log::open");
359 ret = pickle_file::open();
360 WRITEUNLOCK(this, ret, "wu db_log::open");
[all...]
H A Ddb_pickle.cc55 * Returns TRUE if open was successful; FALSE otherwise.
58 pickle_file::open() function in class:pickle_file
60 WRITELOCK(this, FALSE, "w pickle_file::open");
77 WRITEUNLOCK(this, FALSE, "wu pickle_file::open");
80 WRITEUNLOCK(this, FALSE, "wu pickle_file::open");
109 if (open()) {
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dopendir.c36 * open a directory.
47 extern int open(), close(), fstat();
49 if ((fd = open(name, O_RDONLY | O_NDELAY)) == -1)
/illumos-gate/usr/src/cmd/mail/
H A Dcreatemf.c75 mbfd = open(path,
97 /* open it, and make sure it is the same file */
103 mbfd = open(path, O_APPEND|O_WRONLY, 0);
108 /* file changed after open */
109 fprintf(stderr, "%s: security violation, '%s' inode changed after open\n", program, path);
/illumos-gate/usr/src/lib/libast/amd64/include/ast/
H A Dast_fcntl.h132 #undef open macro
133 #define open open64 macro
/illumos-gate/usr/src/lib/libast/amd64/src/lib/libast/
H A Dast_fcntl.h111 #undef open macro
112 #define open open64 macro
/illumos-gate/usr/src/lib/libast/common/comp/
H A Dreadlink.c48 if ((fd = open(path, O_RDONLY)) < 0)
H A Dsymlink.c48 if ((fd = open(b, O_CREAT|O_TRUNC|O_WRONLY, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)) < 0)

Completed in 196 milliseconds

1234567891011>>