IDEV_ALLOCATED
if (!test_and_set_bit(IDEV_ALLOCATED, &idev->flags))
clear_bit(IDEV_ALLOCATED, &idev->flags);