/bionic/libc/kernel/common/linux/ |
bio.h | 61 unsigned long bi_rw; member in struct:bio 109 #define bio_prio(bio) ((bio)->bi_rw >> BIO_PRIO_SHIFT) 112 #define bio_set_prio(bio, prio) do { WARN_ON(prio >= (1 << IOPRIO_BITS)); (bio)->bi_rw &= ((1UL << BIO_PRIO_SHIFT) - 1); (bio)->bi_rw |= ((unsigned long) (prio) << BIO_PRIO_SHIFT); } while (0) 122 #define bio_barrier(bio) ((bio)->bi_rw & (1 << BIO_RW_BARRIER)) 123 #define bio_sync(bio) ((bio)->bi_rw & (1 << BIO_RW_SYNC)) 124 #define bio_failfast(bio) ((bio)->bi_rw & (1 << BIO_RW_FAILFAST)) 125 #define bio_rw_ahead(bio) ((bio)->bi_rw & (1 << BIO_RW_AHEAD))
|
/development/ndk/platforms/android-3/include/linux/ |
bio.h | 61 unsigned long bi_rw; member in struct:bio 109 #define bio_prio(bio) ((bio)->bi_rw >> BIO_PRIO_SHIFT) 112 #define bio_set_prio(bio, prio) do { WARN_ON(prio >= (1 << IOPRIO_BITS)); (bio)->bi_rw &= ((1UL << BIO_PRIO_SHIFT) - 1); (bio)->bi_rw |= ((unsigned long) (prio) << BIO_PRIO_SHIFT); } while (0) 122 #define bio_barrier(bio) ((bio)->bi_rw & (1 << BIO_RW_BARRIER)) 123 #define bio_sync(bio) ((bio)->bi_rw & (1 << BIO_RW_SYNC)) 124 #define bio_failfast(bio) ((bio)->bi_rw & (1 << BIO_RW_FAILFAST)) 125 #define bio_rw_ahead(bio) ((bio)->bi_rw & (1 << BIO_RW_AHEAD))
|
/external/kernel-headers/original/linux/ |
bio.h | 77 unsigned long bi_rw; /* bottom bits READ/WRITE, member in struct:bio 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) [all...] |
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/ |
bio.h | 61 unsigned long bi_rw; member in struct:bio 109 #define bio_prio(bio) ((bio)->bi_rw >> BIO_PRIO_SHIFT) 112 #define bio_set_prio(bio, prio) do { WARN_ON(prio >= (1 << IOPRIO_BITS)); (bio)->bi_rw &= ((1UL << BIO_PRIO_SHIFT) - 1); (bio)->bi_rw |= ((unsigned long) (prio) << BIO_PRIO_SHIFT); } while (0) 122 #define bio_barrier(bio) ((bio)->bi_rw & (1 << BIO_RW_BARRIER)) 123 #define bio_sync(bio) ((bio)->bi_rw & (1 << BIO_RW_SYNC)) 124 #define bio_failfast(bio) ((bio)->bi_rw & (1 << BIO_RW_FAILFAST)) 125 #define bio_rw_ahead(bio) ((bio)->bi_rw & (1 << BIO_RW_AHEAD))
|
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/linux/ |
bio.h | 61 unsigned long bi_rw; member in struct:bio 109 #define bio_prio(bio) ((bio)->bi_rw >> BIO_PRIO_SHIFT) 112 #define bio_set_prio(bio, prio) do { WARN_ON(prio >= (1 << IOPRIO_BITS)); (bio)->bi_rw &= ((1UL << BIO_PRIO_SHIFT) - 1); (bio)->bi_rw |= ((unsigned long) (prio) << BIO_PRIO_SHIFT); } while (0) 122 #define bio_barrier(bio) ((bio)->bi_rw & (1 << BIO_RW_BARRIER)) 123 #define bio_sync(bio) ((bio)->bi_rw & (1 << BIO_RW_SYNC)) 124 #define bio_failfast(bio) ((bio)->bi_rw & (1 << BIO_RW_FAILFAST)) 125 #define bio_rw_ahead(bio) ((bio)->bi_rw & (1 << BIO_RW_AHEAD))
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/linux/ |
bio.h | 61 unsigned long bi_rw; member in struct:bio 109 #define bio_prio(bio) ((bio)->bi_rw >> BIO_PRIO_SHIFT) 112 #define bio_set_prio(bio, prio) do { WARN_ON(prio >= (1 << IOPRIO_BITS)); (bio)->bi_rw &= ((1UL << BIO_PRIO_SHIFT) - 1); (bio)->bi_rw |= ((unsigned long) (prio) << BIO_PRIO_SHIFT); } while (0) 122 #define bio_barrier(bio) ((bio)->bi_rw & (1 << BIO_RW_BARRIER)) 123 #define bio_sync(bio) ((bio)->bi_rw & (1 << BIO_RW_SYNC)) 124 #define bio_failfast(bio) ((bio)->bi_rw & (1 << BIO_RW_FAILFAST)) 125 #define bio_rw_ahead(bio) ((bio)->bi_rw & (1 << BIO_RW_AHEAD))
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/linux/ |
bio.h | 61 unsigned long bi_rw; member in struct:bio 109 #define bio_prio(bio) ((bio)->bi_rw >> BIO_PRIO_SHIFT) 112 #define bio_set_prio(bio, prio) do { WARN_ON(prio >= (1 << IOPRIO_BITS)); (bio)->bi_rw &= ((1UL << BIO_PRIO_SHIFT) - 1); (bio)->bi_rw |= ((unsigned long) (prio) << BIO_PRIO_SHIFT); } while (0) 122 #define bio_barrier(bio) ((bio)->bi_rw & (1 << BIO_RW_BARRIER)) 123 #define bio_sync(bio) ((bio)->bi_rw & (1 << BIO_RW_SYNC)) 124 #define bio_failfast(bio) ((bio)->bi_rw & (1 << BIO_RW_FAILFAST)) 125 #define bio_rw_ahead(bio) ((bio)->bi_rw & (1 << BIO_RW_AHEAD))
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/linux/ |
bio.h | 61 unsigned long bi_rw; member in struct:bio 109 #define bio_prio(bio) ((bio)->bi_rw >> BIO_PRIO_SHIFT) 112 #define bio_set_prio(bio, prio) do { WARN_ON(prio >= (1 << IOPRIO_BITS)); (bio)->bi_rw &= ((1UL << BIO_PRIO_SHIFT) - 1); (bio)->bi_rw |= ((unsigned long) (prio) << BIO_PRIO_SHIFT); } while (0) 122 #define bio_barrier(bio) ((bio)->bi_rw & (1 << BIO_RW_BARRIER)) 123 #define bio_sync(bio) ((bio)->bi_rw & (1 << BIO_RW_SYNC)) 124 #define bio_failfast(bio) ((bio)->bi_rw & (1 << BIO_RW_FAILFAST)) 125 #define bio_rw_ahead(bio) ((bio)->bi_rw & (1 << BIO_RW_AHEAD))
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/linux/ |
bio.h | 61 unsigned long bi_rw; member in struct:bio 109 #define bio_prio(bio) ((bio)->bi_rw >> BIO_PRIO_SHIFT) 112 #define bio_set_prio(bio, prio) do { WARN_ON(prio >= (1 << IOPRIO_BITS)); (bio)->bi_rw &= ((1UL << BIO_PRIO_SHIFT) - 1); (bio)->bi_rw |= ((unsigned long) (prio) << BIO_PRIO_SHIFT); } while (0) 122 #define bio_barrier(bio) ((bio)->bi_rw & (1 << BIO_RW_BARRIER)) 123 #define bio_sync(bio) ((bio)->bi_rw & (1 << BIO_RW_SYNC)) 124 #define bio_failfast(bio) ((bio)->bi_rw & (1 << BIO_RW_FAILFAST)) 125 #define bio_rw_ahead(bio) ((bio)->bi_rw & (1 << BIO_RW_AHEAD))
|
/prebuilt/ndk/android-ndk-r5/platforms/android-3/arch-arm/usr/include/linux/ |
bio.h | 61 unsigned long bi_rw; member in struct:bio 109 #define bio_prio(bio) ((bio)->bi_rw >> BIO_PRIO_SHIFT) 112 #define bio_set_prio(bio, prio) do { WARN_ON(prio >= (1 << IOPRIO_BITS)); (bio)->bi_rw &= ((1UL << BIO_PRIO_SHIFT) - 1); (bio)->bi_rw |= ((unsigned long) (prio) << BIO_PRIO_SHIFT); } while (0) 122 #define bio_barrier(bio) ((bio)->bi_rw & (1 << BIO_RW_BARRIER)) 123 #define bio_sync(bio) ((bio)->bi_rw & (1 << BIO_RW_SYNC)) 124 #define bio_failfast(bio) ((bio)->bi_rw & (1 << BIO_RW_FAILFAST)) 125 #define bio_rw_ahead(bio) ((bio)->bi_rw & (1 << BIO_RW_AHEAD))
|
/prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-arm/usr/include/linux/ |
bio.h | 61 unsigned long bi_rw; member in struct:bio 109 #define bio_prio(bio) ((bio)->bi_rw >> BIO_PRIO_SHIFT) 112 #define bio_set_prio(bio, prio) do { WARN_ON(prio >= (1 << IOPRIO_BITS)); (bio)->bi_rw &= ((1UL << BIO_PRIO_SHIFT) - 1); (bio)->bi_rw |= ((unsigned long) (prio) << BIO_PRIO_SHIFT); } while (0) 122 #define bio_barrier(bio) ((bio)->bi_rw & (1 << BIO_RW_BARRIER)) 123 #define bio_sync(bio) ((bio)->bi_rw & (1 << BIO_RW_SYNC)) 124 #define bio_failfast(bio) ((bio)->bi_rw & (1 << BIO_RW_FAILFAST)) 125 #define bio_rw_ahead(bio) ((bio)->bi_rw & (1 << BIO_RW_AHEAD))
|
/prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-x86/usr/include/linux/ |
bio.h | 61 unsigned long bi_rw; member in struct:bio 109 #define bio_prio(bio) ((bio)->bi_rw >> BIO_PRIO_SHIFT) 112 #define bio_set_prio(bio, prio) do { WARN_ON(prio >= (1 << IOPRIO_BITS)); (bio)->bi_rw &= ((1UL << BIO_PRIO_SHIFT) - 1); (bio)->bi_rw |= ((unsigned long) (prio) << BIO_PRIO_SHIFT); } while (0) 122 #define bio_barrier(bio) ((bio)->bi_rw & (1 << BIO_RW_BARRIER)) 123 #define bio_sync(bio) ((bio)->bi_rw & (1 << BIO_RW_SYNC)) 124 #define bio_failfast(bio) ((bio)->bi_rw & (1 << BIO_RW_FAILFAST)) 125 #define bio_rw_ahead(bio) ((bio)->bi_rw & (1 << BIO_RW_AHEAD))
|