Replaced .ioctl through .unlocked_ioctl