Searched refs:open (Results 501 - 525 of 1624) sorted by relevance

<<21222324252627282930>>

/illumos-gate/usr/src/tools/tokenize/
H A Dforth_preload.c157 { "open", 0 },
273 ipose(open)
/illumos-gate/usr/src/uts/common/avs/ns/solaris/
H A Dnsc_ddi.c47 #include <sys/open.h>
72 nulldev, /* open */
174 * Attach an instance of the device. This happens before an open
/illumos-gate/usr/src/uts/common/io/
H A Dbl.c38 #include <sys/open.h>
185 bl_open, /* open */
H A Dcpuid_drv.c32 #include <sys/open.h>
/illumos-gate/usr/src/lib/sun_fc/common/
H A DHBA.cc281 Trace log("HBA::open");
284 if ((fd = open(path.c_str(), flag)) < 0) {
285 log.debug("Unable to open \"%s\" - reason (%d) %s",
296 string msg = "Unable to open ";
/illumos-gate/usr/src/lib/sun_sas/common/
H A DSun_sasSendSMPPassThru.c50 * open smp device
53 if ((fd = open(devpath, O_RDONLY | O_NONBLOCK)) == -1) {
55 "open devpath %s failed due to %s",
/illumos-gate/usr/src/test/zfs-tests/cmd/mkbusy/
H A Dmkbusy.c18 * simply open it directly and pause. If not, verify that the parent directory
164 if ((fd = open(fpath, flags, mode)) < 0)
165 fail("open", 1);
/illumos-gate/usr/src/test/zfs-tests/cmd/mktree/
H A Dmktree.c166 if ((fd = open(pname, O_CREAT|O_RDWR, 0777)) < 0) {
167 (void) fprintf(stderr, "open(%s, O_CREAT|O_RDWR, 0777) failed."
/illumos-gate/usr/src/uts/common/kmdb/
H A Dkdrv.c37 #include <sys/open.h>
/illumos-gate/usr/src/uts/common/sys/
H A Dsunldi.h30 #include <sys/open.h>
H A Dlofi.h42 #include <sys/open.h>
85 * ld = open("/dev/lofictl", O_RDWR | O_EXCL);
136 * no longer held open by anybody. When the device is last closed, it will be
249 vnode_t *ls_vp; /* open real vnode */
250 vnode_t *ls_stacked_vp; /* open vnode */
257 uint32_t ls_open_lyr[LOFI_PART_MAX]; /* open count */
/illumos-gate/usr/src/uts/sun4u/io/i2c/misc/
H A Di2c_svc.c9 #include <sys/open.h>
/illumos-gate/usr/src/uts/intel/io/drm/
H A Dradeon_drv.c267 driver->open = radeon_driver_open;
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dports.c171 * Set an alarm to wake us from trying to open the port.
201 * The following open must be interruptable.
215 while ((fd = open(device, open_mode, 0)) == -1) {
/illumos-gate/usr/src/cmd/luxadm/
H A Dsetboot.c161 if ((fd = open("/dev/openprom", O_RDWR)) < 0) {
162 perror(MSGSTR(6002, "Could not open openprom dev"));
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_vfs.c72 fd = open(name, O_RDONLY, 0);
/illumos-gate/usr/src/test/zfs-tests/cmd/file_trunc/
H A Dfile_trunc.c84 fd = open(filename, O_RDWR|O_CREAT|O_TRUNC, 0666);
86 perror("open");
/illumos-gate/usr/src/test/zfs-tests/cmd/getholes/
H A Dgetholes.c149 if ((fd = open(fname, O_LARGEFILE | O_RDONLY)) < 0) {
150 perror("open failed");
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgettxt.c175 if ((fd = open(pathname, O_RDONLY)) == -1 ||
/illumos-gate/usr/src/lib/libpkg/common/
H A Disdir.c179 if ((fd = open(path, O_RDONLY, 0)) == -1) {
255 * Description: determine if an open file is local or remote
257 * Integer representing open file to check
344 /* open the remote file system type database file */
/illumos-gate/usr/src/cmd/backup/dump/
H A Dlftw.c50 * open for read were both successful.
81 * fn expects to be able to open files. We could also figure out
118 if ((pwdfd = open(".", O_RDONLY)) < 0) {
/illumos-gate/usr/src/lib/pam_modules/unix_session/
H A Dunix_session.c134 if ((fdl = open(LASTLOG, O_RDWR|O_CREAT|O_DSYNC, 0444)) >= 0) {
/illumos-gate/usr/src/cmd/isns/isnsadm/
H A Disnsadm.c307 if ((fd = open(ISNS_DOOR_NAME, 0)) == -1) {
2567 if ((fd = open(ISNS_DOOR_NAME, 0)) == -1) {
2689 if ((fd = open(ISNS_DOOR_NAME, 0)) == -1) {
2800 if ((fd = open(ISNS_DOOR_NAME, 0)) == -1) {
2908 if ((fd = open(ISNS_DOOR_NAME, 0)) == -1) {
2974 if ((fd = open(ISNS_DOOR_NAME, 0)) == -1) {
3044 if ((fd = open(ISNS_DOOR_NAME, 0)) == -1) {
3181 if ((fd = open(ISNS_DOOR_NAME, 0)) == -1) {
3313 if ((fd = open(ISNS_DOOR_NAME, 0)) == -1) {
3379 if ((fd = open(ISNS_DOOR_NAM
[all...]
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm_digest.c177 /* Mechanism is supported. Go ahead & open a session */
182 bam_print(gettext("can not open PKCS#11 session: %s\n"),
201 if ((fd = open(filename, O_RDONLY | O_NONBLOCK)) == -1) {
202 bam_print(gettext("can not open input file %s\n"), filename);
/illumos-gate/usr/src/boot/sys/sys/
H A Dfcntl.h42 * This file includes the definitions for open and fcntl
66 * File status flags: these are used by open(2), fcntl(2).
68 * which is a superset of the open/fcntl flags. Open flags and f_flags
72 /* open-only flags */
73 #define O_RDONLY 0x0000 /* open for reading only */
74 #define O_WRONLY 0x0001 /* open for writing only */
75 #define O_RDWR 0x0002 /* open for reading and writing */
79 * Kernel encoding of open mode; separate read and write bits that are
93 #define O_SHLOCK 0x0010 /* open with shared file lock */
94 #define O_EXLOCK 0x0020 /* open wit
[all...]

Completed in 174 milliseconds

<<21222324252627282930>>