Home
last modified time | relevance | path

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

/external/libbrillo/brillo/blkdev_utils/
Dloop_device.cc110 loop_ioctl_(ioctl_runner) {} in LoopDevice()
113 if (loop_ioctl_.Run(GetDevicePath(), LOOP_SET_STATUS64, in SetStatus()
123 if (loop_ioctl_.Run(GetDevicePath(), LOOP_GET_STATUS64, in GetStatus()
142 if (loop_ioctl_.Run(GetDevicePath(), LOOP_CLR_FD, 0, kLoopDeviceIoctlFlags) != in Detach()
160 : loop_ioctl_(base::Bind(&LoopDeviceIoctl)) {} in LoopDeviceManager()
163 : loop_ioctl_(ioctl_runner) {} in LoopDeviceManager()
170 loop_ioctl_.Run(base::FilePath(kLoopControl), LOOP_CTL_GET_FREE, 0, in AttachDeviceToFile()
188 if (loop_ioctl_.Run(device_path, LOOP_SET_FD, backing_file_fd.get(), in AttachDeviceToFile()
268 return std::make_unique<LoopDevice>(device_number, backing_file, loop_ioctl_); in CreateLoopDevice()
Dloop_device.h69 LoopIoctl loop_ioctl_; variable
111 LoopIoctl loop_ioctl_; variable