Lines Matching defs:path
212 // Get the full device path
213 fbl::StringBuffer<PATH_MAX> path;
214 path.Resize(path.capacity());
215 if ((res = ioctl_device_get_topo_path(fd_.get(), path.data(), path.capacity())) < 0) {
220 path.Resize(strlen(path.c_str()));
221 path.Append("/zxcrypt/block");
224 fbl::unique_fd fd(open(path.c_str(), O_RDWR));
236 if ((rc = wait_for_device(path.c_str(), timeout.get())) != ZX_OK) {
240 fd.reset(open(path.c_str(), O_RDWR));