Home
last modified time | relevance | path

Searched refs:device_fd (Results 1 – 2 of 2) sorted by relevance

/device/linaro/dragonboard/qcom/rmtfs/
Drproc.c29 int device_fd; in rproc_init() local
52 device_fd = openat(base_fd, device_de->d_name, O_RDONLY | O_DIRECTORY); in rproc_init()
53 if (device_fd < 0) in rproc_init()
56 rproc_base_fd = openat(device_fd, "remoteproc", O_RDONLY | O_DIRECTORY); in rproc_init()
58 close(device_fd); in rproc_init()
84 close(device_fd); in rproc_init()
/device/google/cuttlefish/guest/commands/vtpm_manager/
Dmain.cpp130 auto device_fd = cuttlefish::SharedFD::Dup(vtpm_creation.fd); in main() local
131 CHECK(device_fd->IsOpen()) << device_fd->StrError(); in main()
136 auto proxy_to_device = std::async(std::launch::async, ReadResponseLoop, proxy, device_fd); in main()
137 auto device_to_proxy = std::async(std::launch::async, SendCommandLoop, device_fd, proxy); in main()
140 << "(" << device_fd->StrError() << ")" in main()
143 << "(" << device_fd->StrError() << ")" in main()