Home
last modified time | relevance | path

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

/system/apex/apexd/
Dapexd_loop.cpp97 unique_fd ctl_fd( in preAllocateLoopDevices() local
99 if (ctl_fd.get() == -1) { in preAllocateLoopDevices()
110 int ret = ioctl(ctl_fd.get(), LOOP_CTL_ADD, id); in preAllocateLoopDevices()
131 unique_fd ctl_fd(open("/dev/loop-control", O_RDWR | O_CLOEXEC)); in createLoopDevice() local
132 if (ctl_fd.get() == -1) { in createLoopDevice()
136 int num = ioctl(ctl_fd.get(), LOOP_CTL_GET_FREE); in createLoopDevice()
/system/vold/
DLoop.cpp51 unique_fd ctl_fd(open("/dev/loop-control", O_RDWR | O_CLOEXEC)); in create() local
52 if (ctl_fd.get() == -1) { in create()
57 int num = ioctl(ctl_fd.get(), LOOP_CTL_GET_FREE); in create()