Home
last modified time | relevance | path

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

/external/libbrillo/brillo/blkdev_utils/
Dloop_device_fake.cc41 int StubIoctlRunner(const base::FilePath& path, in StubIoctlRunner() function
104 : LoopDeviceManager(base::Bind(&StubIoctlRunner)) {} in FakeLoopDeviceManager()
108 int device_number = StubIoctlRunner(base::FilePath("/dev/loop-control"), in AttachDeviceToFile()
111 if (StubIoctlRunner(GetLoopDevicePath(device_number), LOOP_SET_FD, in AttachDeviceToFile()
114 base::Bind(&StubIoctlRunner)); in AttachDeviceToFile()
117 base::Bind(&StubIoctlRunner)); in AttachDeviceToFile()
126 if (StubIoctlRunner(GetLoopDevicePath(device_number), LOOP_GET_DEV, in SearchLoopDevicePaths()
132 device_number, device.backing_file, base::Bind(&StubIoctlRunner))); in SearchLoopDevicePaths()
137 while (StubIoctlRunner(GetLoopDevicePath(i), LOOP_GET_DEV, in SearchLoopDevicePaths()
141 i, device.backing_file, base::Bind(&StubIoctlRunner))); in SearchLoopDevicePaths()