Searched refs:tmp_lock_image_path (Results 1 – 1 of 1) sorted by relevance
36 const std::string& tmp_lock_image_path) { in ReleaseLock() argument40 LOG(FATAL) << "It failed to unlock file " << tmp_lock_image_path; in ReleaseLock()44 bool AcquireLock(SharedFD& fd, const std::string& tmp_lock_image_path) { in AcquireLock() argument45 fd = SharedFD::Open(tmp_lock_image_path.c_str(), in AcquireLock()48 LOG(FATAL) << tmp_lock_image_path << " file open failed"; in AcquireLock()73 std::string tmp_lock_image_path = image_path + ".lock"; in ConvertToRawImage() local75 if(AcquireLock(fd, tmp_lock_image_path) == false) { in ConvertToRawImage()112 ReleaseLock(fd, tmp_lock_image_path); in ConvertToRawImage()