Searched refs:flag (Results 1 – 2 of 2) sorted by relevance
193 #define QUEUE_SYSFS_BIT_FNS(name, flag, neg) \ argument198 bit = test_bit(QUEUE_FLAG_##flag, &q->queue_flags); \214 queue_flag_set(QUEUE_FLAG_##flag, q); \216 queue_flag_clear(QUEUE_FLAG_##flag, q); \
1357 void set_device_ro(struct block_device *bdev, int flag) in set_device_ro() argument1359 bdev->bd_part->policy = flag; in set_device_ro()1364 void set_disk_ro(struct gendisk *disk, int flag) in set_disk_ro() argument1369 if (disk->part0.policy != flag) { in set_disk_ro()1370 set_disk_ro_uevent(disk, flag); in set_disk_ro()1371 disk->part0.policy = flag; in set_disk_ro()1376 part->policy = flag; in set_disk_ro()