Searched refs:StubIoctlRunner (Results 1 – 1 of 1) sorted by relevance
/external/libbrillo/brillo/blkdev_utils/ |
D | loop_device_fake.cc | 41 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()
|