• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/kext_tools-384.1.4/

Lines Matching refs:dstpath

421     char srcpath[PATH_MAX], dstpath[PATH_MAX];
440 makebootpath(dstpath, up->caches->miscpaths[i].rpath);
445 if (stat(dstpath, &sb) != 0 && errno == ENOENT) {
459 makebootpath(dstpath, up->caches->efibooter.rpath);
460 if (stat(dstpath, &sb) != 0 && errno == ENOENT) {
470 makebootpath(dstpath, up->caches->ofbooter.rpath);
471 if (stat(dstpath, &sb) != 0 && errno == ENOENT) {
2152 writeBootPrefs(struct updatingVol *up, char *dstpath)
2165 if (strlcpy(dstparent,dirname(dstpath),PATH_MAX) >= PATH_MAX) {
2174 (void)sunlink(up->curbootfd, dstpath);
2175 fd = sopen(up->curbootfd, dstpath, O_WRONLY|O_CREAT, kCacheFileMode);
2189 LOGERRxlate(up, dstpath, NULL, rval);
2234 _writeFDEPropsToHelper(struct updatingVol *up, char *dstpath)
2337 if ((errnum=writeCSFDEProps(up->curbootfd,up->csfdeprops,csbsd,dstpath))){
2372 char srcpath[PATH_MAX], dstpath[PATH_MAX];
2442 pathcpy(dstpath, up->dstdir);
2443 pathcat(dstpath, curItem->rpath);
2449 dstpath);
2453 rval, srcpath, dstpath, strerror(rval));
2472 pathcpy(dstpath, up->dstdir);
2478 pathcat(dstpath, "/");
2479 pathcat(dstpath, basename(curItem->rpath));
2481 pathcat(dstpath, curItem->rpath);
2491 plistNamePtr = strstr(dstpath, BOOTPLIST_NAME);
2497 if ((bsderr = writeBootPrefs(up, dstpath))) {
2505 bsderr=scopyitem(up->caches->cachefd,srcpath,up->curbootfd,dstpath);
2515 rval, srcpath, dstpath, strerror(rval));
2524 if ((bsderr = _writeFDEPropsToHelper(up, dstpath))) {
2539 pathcpy(dstpath, erdir);
2540 pathcat(dstpath, up->caches->erpropcache->rpath);
2541 if ((bsderr = _writeFDEPropsToHelper(up, dstpath))) {
2548 pathcpy(dstpath, erdir);
2549 pathcat(dstpath, up->caches->efidefrsrcs->rpath);
2550 bsderr=scopyitem(up->caches->cachefd,srcpath,up->curbootfd,dstpath);
2554 rval, srcpath, dstpath, strerror(rval));
2578 char srcpath[PATH_MAX], dstpath[PATH_MAX];
2587 makebootpath(dstpath, up->caches->miscpaths[i].rpath);
2588 pathcat(dstpath, ".new");
2593 up->curbootfd, dstpath))) {
2596 bsderr, srcpath, dstpath, strerror(bsderr));