Searched refs:open (Results 1 - 16 of 16) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/devfs/
H A Dreproto.sh8 open(PROTO, ">devfs_proto.h") || die "Cannot open devfs_proto.h\n";
41 if(open(F, \$file) == 0) {
42 warn "Cannot open \$file.\n";
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/
H A DIOPolledInterface.h72 virtual IOReturn open( IOOptionBits state, IOMemoryDescriptor * buffer) = 0;
H A DIOService.h87 // options for open()
189 When the probing phase is complete, the list consists of successfully probed drivers, in order of their probe score (after adjustment during the @link probe probe@/link call). The list is then divided into categories based on the <code>kIOMatchCategoryKey</code> property ("IOMatchCategory"); drivers without a match category are all considered in one default category. Match categories allow multiple clients of a provider to be attached and started, though the provider may also enforce open/close semantics to gain active access to it.
472 @discussion The termination process for an IOService (the provider) will call stop in each of its clients, after they have closed the provider if they had it open, or immediately on termination. */
478 /*! @function open
480 @discussion IOService provides generic open and close semantics to track clients of a provider that have established an active datapath. The use of <code>open</code> and @link close close@/link, and rules regarding ownership are family defined, and defined by the @link handleOpen handleOpen@/link and @link handleClose handleClose@/link methods in the provider. Some families will limit access to a provider based on its open state.
481 @param forClient Designates the client of the provider requesting the open.
482 @param options Options for the open. The provider family may implement options for open; IOServic
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/man/man2/
H A DMakefile118 open.2 \
/macosx-10.5.8/xnu-1228.15.4/tools/tests/xnu_quick_test/
H A Dxattr_tests.c94 my_fd = open( my_pathp, O_RDONLY, 0 );
96 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
97 printf( "\t file we attempted to open -> \"%s\" \n", my_pathp );
H A Dmisc.c34 my_fd = open( the_pathp, (O_RDWR | O_CREAT | O_EXCL),
38 printf( "%s - open failed with errno %d - %s \n",
56 printf( "%s - open failed with errno %d - %s \n",
133 my_fd = open( my_pathp, (O_RDWR | O_CREAT | O_EXCL),
136 printf( "open failed with error %d - \"%s\" \n", errno, strerror( errno) );
H A Dtests.c89 /* use an indirect system call to open our test file.
90 * I picked open since it uses a path pointer which grows to 64 bits in an LP64 environment.
94 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
95 printf( "\t file we attempted to open -> \"%s\" \n", my_pathp );
213 my_fd = open( my_pathp, O_RDONLY, 0 );
215 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
216 printf( "\t file we attempted to open -> \"%s\" \n", my_pathp );
256 my_fd = open( my_pathp, O_RDWR, 0 );
258 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
259 printf( "\t file we attempted to open
[all...]
H A Dmemory_tests.c87 my_fd = open( my_pathp, O_RDWR, 0 );
89 printf( "open call failed with error %d - \"%s\" \n", errno, strerror( errno) );
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dfcntl.h74 * This file includes the definitions for open and fcntl
103 * File status flags: these are used by open(2), fcntl(2).
105 * which is a superset of the open/fcntl flags. Open flags and f_flags
109 /* open-only flags */
110 #define O_RDONLY 0x0000 /* open for reading only */
111 #define O_WRONLY 0x0001 /* open for writing only */
112 #define O_RDWR 0x0002 /* open for reading and writing */
116 * Kernel encoding of open mode; separate read and write bits that are
131 #define O_SHLOCK 0x0010 /* open with shared file lock */
132 #define O_EXLOCK 0x0020 /* open wit
502 int open(const char *, int, ...) __DARWIN_ALIAS_C(open); variable
[all...]
H A Dsysproto.h1704 int open(struct proc *, struct open_args *, int *);
/macosx-10.5.8/xnu-1228.15.4/libsa/
H A Dkld_patch.c597 fd = open(pathName, O_RDONLY, 0);
598 return_if(fd == -1, false, ("Can't open %s for reading - %s\n",
2856 fd = open(outName, O_WRONLY|O_CREAT|O_TRUNC, 0666);
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dinit_sysent.c52 {AC(open_args), 0, 0, (sy_call_t *)open, munge_www, munge_ddd, _SYSCALL_RET_INT_T, 12}, /* 5 = open */
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/
H A DIOHibernateIO.cpp405 err = poller->open(state, md);
408 HIBLOG("IOPolledInterface::open[%d] 0x%x\n", idx, err);
H A DIOService.cpp2155 bool IOService::open( IOService * forClient, function in class:IOService
4251 {kIOReturnNotOpen, "device is not open" },
4256 {kIOReturnStillOpen, "device is still open" },
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Dmachine_routines_asm.s919 ; We have to open up interruptions here because book 4 says that we should
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/
H A Dvfs_syscalls.c2072 * Check permissions, allocate an open file structure,
2073 * and call the device open routine if any.
2125 * but the open flags deny it, set a flag in the session to
2201 * If the open flags denied the acquisition of a controlling tty,
2215 * because it's not passed as a parameter in the open path.
2262 * An open system call using an extended argument list compared to the regular
2263 * system call 'open'.
2265 * Parameters: p Process requesting the open
2270 * Indirect: uap->path Path to open (same as 'open')
2320 open(proc_t p, struct open_args *uap, register_t *retval) function
[all...]

Completed in 157 milliseconds