Lines Matching refs:control
299 /* Allow the user to control whether the unified hierarchy is used */
1684 _cleanup_close_ int fd = -1, control = -1, loop = -1;
1722 control = open("/dev/loop-control", O_RDWR|O_CLOEXEC|O_NOCTTY|O_NONBLOCK);
1723 if (control < 0)
1724 return log_error_errno(errno, "Failed to open /dev/loop-control: %m");
1726 nr = ioctl(control, LOOP_CTL_GET_FREE);
2227 _cleanup_close_ int control = -1;
2240 control = open("/dev/loop-control", O_RDWR|O_CLOEXEC|O_NOCTTY|O_NONBLOCK);
2241 if (control < 0) {
2242 log_warning_errno(errno, "Failed to open /dev/loop-control: %m");
2246 r = ioctl(control, LOOP_CTL_REMOVE, nr);
3534 * the child can now hand over control to the code to