Home | History | Annotate | Download | only in linux
      1 /****************************************************************************
      2  ****************************************************************************
      3  ***
      4  ***   This header was automatically generated from a Linux kernel header
      5  ***   of the same name, to make information necessary for userspace to
      6  ***   call into the kernel available to libc.  It contains only constants,
      7  ***   structures, and macros generated from the original header, and thus,
      8  ***   contains no copyrightable information.
      9  ***
     10  ***   To edit the content of this header, modify the corresponding
     11  ***   source file (e.g. under external/kernel-headers/original/) then
     12  ***   run bionic/libc/kernel/tools/update_all.py
     13  ***
     14  ***   Any manual change here will be lost the next time this script will
     15  ***   be run. You've been warned!
     16  ***
     17  ****************************************************************************
     18  ****************************************************************************/
     19 #ifndef __LINUX_BLK_TYPES_H
     20 #define __LINUX_BLK_TYPES_H
     21 enum rq_flag_bits {
     22  __REQ_WRITE,
     23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     24  __REQ_FAILFAST_DEV,
     25  __REQ_FAILFAST_TRANSPORT,
     26  __REQ_FAILFAST_DRIVER,
     27  __REQ_SYNC,
     28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     29  __REQ_META,
     30  __REQ_DISCARD,
     31  __REQ_NOIDLE,
     32  __REQ_RAHEAD,
     33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     34  __REQ_THROTTLED,
     35  __REQ_SORTED,
     36  __REQ_SOFTBARRIER,
     37  __REQ_FUA,
     38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     39  __REQ_NOMERGE,
     40  __REQ_STARTED,
     41  __REQ_DONTPREP,
     42  __REQ_QUEUED,
     43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     44  __REQ_ELVPRIV,
     45  __REQ_FAILED,
     46  __REQ_QUIET,
     47  __REQ_PREEMPT,
     48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     49  __REQ_ALLOCED,
     50  __REQ_COPY_USER,
     51  __REQ_FLUSH,
     52  __REQ_FLUSH_SEQ,
     53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     54  __REQ_IO_STAT,
     55  __REQ_MIXED_MERGE,
     56  __REQ_SECURE,
     57  __REQ_NR_BITS,
     58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     59 };
     60 #define REQ_WRITE (1 << __REQ_WRITE)
     61 #define REQ_FAILFAST_DEV (1 << __REQ_FAILFAST_DEV)
     62 #define REQ_FAILFAST_TRANSPORT (1 << __REQ_FAILFAST_TRANSPORT)
     63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     64 #define REQ_FAILFAST_DRIVER (1 << __REQ_FAILFAST_DRIVER)
     65 #define REQ_SYNC (1 << __REQ_SYNC)
     66 #define REQ_META (1 << __REQ_META)
     67 #define REQ_DISCARD (1 << __REQ_DISCARD)
     68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     69 #define REQ_NOIDLE (1 << __REQ_NOIDLE)
     70 #define REQ_FAILFAST_MASK   (REQ_FAILFAST_DEV | REQ_FAILFAST_TRANSPORT | REQ_FAILFAST_DRIVER)
     71 #define REQ_COMMON_MASK   (REQ_WRITE | REQ_FAILFAST_MASK | REQ_SYNC | REQ_META | REQ_DISCARD |   REQ_NOIDLE | REQ_FLUSH | REQ_FUA | REQ_SECURE)
     72 #define REQ_CLONE_MASK REQ_COMMON_MASK
     73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     74 #define REQ_RAHEAD (1 << __REQ_RAHEAD)
     75 #define REQ_THROTTLED (1 << __REQ_THROTTLED)
     76 #define REQ_SORTED (1 << __REQ_SORTED)
     77 #define REQ_SOFTBARRIER (1 << __REQ_SOFTBARRIER)
     78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     79 #define REQ_FUA (1 << __REQ_FUA)
     80 #define REQ_NOMERGE (1 << __REQ_NOMERGE)
     81 #define REQ_STARTED (1 << __REQ_STARTED)
     82 #define REQ_DONTPREP (1 << __REQ_DONTPREP)
     83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     84 #define REQ_QUEUED (1 << __REQ_QUEUED)
     85 #define REQ_ELVPRIV (1 << __REQ_ELVPRIV)
     86 #define REQ_FAILED (1 << __REQ_FAILED)
     87 #define REQ_QUIET (1 << __REQ_QUIET)
     88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     89 #define REQ_PREEMPT (1 << __REQ_PREEMPT)
     90 #define REQ_ALLOCED (1 << __REQ_ALLOCED)
     91 #define REQ_COPY_USER (1 << __REQ_COPY_USER)
     92 #define REQ_FLUSH (1 << __REQ_FLUSH)
     93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     94 #define REQ_FLUSH_SEQ (1 << __REQ_FLUSH_SEQ)
     95 #define REQ_IO_STAT (1 << __REQ_IO_STAT)
     96 #define REQ_MIXED_MERGE (1 << __REQ_MIXED_MERGE)
     97 #define REQ_SECURE (1 << __REQ_SECURE)
     98 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     99 #endif
    100