Home | History | Annotate | Download | only in linux

Lines Matching defs:bi_rw

77 	unsigned long		bi_rw;		/* bottom bits READ/WRITE,
138 * bio bi_rw flags
153 * upper 16 bits of bi_rw define the io priority of this bio
156 #define bio_prio(bio) ((bio)->bi_rw >> BIO_PRIO_SHIFT)
161 (bio)->bi_rw &= ((1UL << BIO_PRIO_SHIFT) - 1); \
162 (bio)->bi_rw |= ((unsigned long) (prio) << BIO_PRIO_SHIFT); \
177 #define bio_barrier(bio) ((bio)->bi_rw & (1 << BIO_RW_BARRIER))
178 #define bio_sync(bio) ((bio)->bi_rw & (1 << BIO_RW_SYNC))
179 #define bio_failfast(bio) ((bio)->bi_rw & (1 << BIO_RW_FAILFAST))
180 #define bio_rw_ahead(bio) ((bio)->bi_rw & (1 << BIO_RW_AHEAD))