Searched refs:GD_READ_ONLY (Results 1 – 2 of 2) sorted by relevance
154 #define GD_READ_ONLY 1 macro745 test_bit(GD_READ_ONLY, &disk->state); in get_disk_ro()
1448 if (test_and_set_bit(GD_READ_ONLY, &disk->state)) in set_disk_ro()1451 if (!test_and_clear_bit(GD_READ_ONLY, &disk->state)) in set_disk_ro()