Lines Matching refs:sopen
358 fd = sopen(up->curbootfd, blockp, O_CREAT, kCacheFileMode);
392 fd = sopen(up->curbootfd, blockp, O_CREAT, kCacheFileMode);
924 if (-1 == (fd=sopen(up->caches->cachefd,srcpath,O_RDONLY,0)))
1904 // [Can't use sopen() since BRMNT already hosts a mount.]
2173 // sopen adds O_EXCL to O_CREAT
2175 fd = sopen(up->curbootfd, dstpath, O_WRONLY|O_CREAT, kCacheFileMode);
2650 if (-1 == (fd=sopen(up->curbootfd, newpath, O_RDWR, 0))) goto finish;
2865 if (-1==(fd=sopen(up->curbootfd, up->ofdst, O_RDONLY, 0))) {
2875 if (-1 == (fd=sopen(up->curbootfd, parent, O_RDONLY, 0))
2890 if (-1==(fd=sopen(up->curbootfd, up->efidst, O_RDONLY, 0))
2904 if (-1 == (fd=sopen(up->curbootfd, parent, O_RDONLY, 0))
3071 if (-1 == (fd = sopen(up->curbootfd, path, O_RDWR, 0))) goto finish;