Lines Matching refs:blk_opf_t

196 typedef __u32 __bitwise blk_opf_t;
208 blk_opf_t bi_opf; /* bottom bits REQ_OP, top bits
302 #define REQ_OP_MASK (__force blk_opf_t)((1 << REQ_OP_BITS) - 1)
320 REQ_OP_READ = (__force blk_opf_t)0,
322 REQ_OP_WRITE = (__force blk_opf_t)1,
324 REQ_OP_FLUSH = (__force blk_opf_t)2,
326 REQ_OP_DISCARD = (__force blk_opf_t)3,
328 REQ_OP_SECURE_ERASE = (__force blk_opf_t)5,
330 REQ_OP_ZONE_APPEND = (__force blk_opf_t)7,
332 REQ_OP_WRITE_ZEROES = (__force blk_opf_t)9,
334 REQ_OP_ZONE_OPEN = (__force blk_opf_t)10,
336 REQ_OP_ZONE_CLOSE = (__force blk_opf_t)11,
338 REQ_OP_ZONE_FINISH = (__force blk_opf_t)12,
340 REQ_OP_ZONE_RESET = (__force blk_opf_t)13,
342 REQ_OP_ZONE_RESET_ALL = (__force blk_opf_t)15,
345 REQ_OP_DRV_IN = (__force blk_opf_t)34,
346 REQ_OP_DRV_OUT = (__force blk_opf_t)35,
348 REQ_OP_LAST = (__force blk_opf_t)36,
383 (__force blk_opf_t)(1ULL << __REQ_FAILFAST_DEV)
385 (__force blk_opf_t)(1ULL << __REQ_FAILFAST_TRANSPORT)
387 (__force blk_opf_t)(1ULL << __REQ_FAILFAST_DRIVER)
388 #define REQ_SYNC (__force blk_opf_t)(1ULL << __REQ_SYNC)
389 #define REQ_META (__force blk_opf_t)(1ULL << __REQ_META)
390 #define REQ_PRIO (__force blk_opf_t)(1ULL << __REQ_PRIO)
391 #define REQ_NOMERGE (__force blk_opf_t)(1ULL << __REQ_NOMERGE)
392 #define REQ_IDLE (__force blk_opf_t)(1ULL << __REQ_IDLE)
393 #define REQ_INTEGRITY (__force blk_opf_t)(1ULL << __REQ_INTEGRITY)
394 #define REQ_FUA (__force blk_opf_t)(1ULL << __REQ_FUA)
395 #define REQ_PREFLUSH (__force blk_opf_t)(1ULL << __REQ_PREFLUSH)
396 #define REQ_RAHEAD (__force blk_opf_t)(1ULL << __REQ_RAHEAD)
397 #define REQ_BACKGROUND (__force blk_opf_t)(1ULL << __REQ_BACKGROUND)
398 #define REQ_NOWAIT (__force blk_opf_t)(1ULL << __REQ_NOWAIT)
399 #define REQ_POLLED (__force blk_opf_t)(1ULL << __REQ_POLLED)
400 #define REQ_ALLOC_CACHE (__force blk_opf_t)(1ULL << __REQ_ALLOC_CACHE)
401 #define REQ_SWAP (__force blk_opf_t)(1ULL << __REQ_SWAP)
402 #define REQ_DRV (__force blk_opf_t)(1ULL << __REQ_DRV)
403 #define REQ_FS_PRIVATE (__force blk_opf_t)(1ULL << __REQ_FS_PRIVATE)
405 #define REQ_NOUNMAP (__force blk_opf_t)(1ULL << __REQ_NOUNMAP)
427 static inline bool op_is_write(blk_opf_t op)
429 return !!(op & (__force blk_opf_t)1);
436 static inline bool op_is_flush(blk_opf_t op)
446 static inline bool op_is_sync(blk_opf_t op)
452 static inline bool op_is_discard(blk_opf_t op)