Lines Matching refs:destinationPath

96     APPSPAWN_CHECK(arg != NULL && arg->originPath != NULL && arg->destinationPath != NULL,
101 (uint32_t)arg->mountFlags, arg->options, arg->originPath, arg->destinationPath);
103 int ret = mount(arg->originPath, arg->destinationPath, arg->fsType, arg->mountFlags, arg->options);
109 errno, arg->originPath, arg->destinationPath);
112 ret = mount(NULL, arg->destinationPath, NULL, arg->mountSharedFlag, NULL);
115 errno, arg->originPath, arg->destinationPath);
302 umount2(args->destinationPath, MNT_DETACH);
306 "open /dev/fuse failed, errno: %{public}d sandbox path %{public}s", errno, args->destinationPath);
318 (uint32_t)args->mountFlags, options, args->originPath, args->destinationPath);
320 // To make sure destinationPath exist
321 CreateSandboxDir(args->destinationPath, FILE_MODE);
322 MountArg mountArg = {args->originPath, args->destinationPath, args->fsType, args->mountFlags, options, MS_SHARED};
448 extraData->operation = operation; // only destinationPath
452 args.destinationPath = GetSandboxRealVar(context, BUFFER_FOR_TARGET, sandboxNode->target, NULL, extraData);
454 args.destinationPath = GetSandboxRealVar(context,
457 APPSPAWN_CHECK(args.originPath != NULL && args.destinationPath != NULL,
458 return APPSPAWN_ARG_INVALID, "Invalid path %{public}s %{public}s", args.originPath, args.destinationPath);
461 CheckAndCreateSandboxFile(args.destinationPath);
463 if (access(args.destinationPath, F_OK) != 0) {
464 CreateSandboxDir(args.destinationPath, FILE_MODE);
470 APPSPAWN_LOGV("umount2 %{public}s", args.destinationPath);
471 umount2(args.destinationPath, MNT_DETACH);