Home
last modified time | relevance | path

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

/system/apex/apexd/
Dapexd_loop.cpp95 unique_fd sysfs_fd(open(sysfs_device.c_str(), O_RDWR | O_CLOEXEC)); in ConfigureReadAhead() local
96 if (sysfs_fd.get() == -1) { in ConfigureReadAhead()
101 write(sysfs_fd.get(), kReadAheadKb, strlen(kReadAheadKb) + 1)); in ConfigureReadAhead()
281 unique_fd sysfs_fd; in WaitForDevice() local
288 sysfs_fd.reset(open(device.c_str(), O_RDWR | O_CLOEXEC)); in WaitForDevice()
289 if (sysfs_fd.get() != -1) { in WaitForDevice()
290 return LoopbackDeviceUniqueFd(std::move(sysfs_fd), device); in WaitForDevice()