Home
last modified time | relevance | path

Searched refs:flag (Results 1 – 2 of 2) sorted by relevance

/block/
Dblk-core.c86 void blk_queue_flag_set(unsigned int flag, struct request_queue *q) in blk_queue_flag_set() argument
88 set_bit(flag, &q->queue_flags); in blk_queue_flag_set()
97 void blk_queue_flag_clear(unsigned int flag, struct request_queue *q) in blk_queue_flag_clear() argument
99 clear_bit(flag, &q->queue_flags); in blk_queue_flag_clear()
111 bool blk_queue_flag_test_and_set(unsigned int flag, struct request_queue *q) in blk_queue_flag_test_and_set() argument
113 return test_and_set_bit(flag, &q->queue_flags); in blk_queue_flag_test_and_set()
Dblk-sysfs.c276 #define QUEUE_SYSFS_BIT_FNS(name, flag, neg) \ argument
281 bit = test_bit(QUEUE_FLAG_##flag, &q->queue_flags); \
296 blk_queue_flag_set(QUEUE_FLAG_##flag, q); \
298 blk_queue_flag_clear(QUEUE_FLAG_##flag, q); \