HomeSort by relevance Sort by last modified time
    Searched refs:bkey (Results 1 - 25 of 34) sorted by null

1 2

  /external/kernel-headers/original/uapi/linux/
bcache.h 22 struct bkey { struct
29 BITMASK(name, struct bkey, field, offset, size)
32 static inline __u64 name(const struct bkey *k, unsigned i) \
35 static inline void SET_##name(struct bkey *k, unsigned i, __u64 v) \
55 static inline __u64 KEY_OFFSET(const struct bkey *k)
60 static inline void SET_KEY_OFFSET(struct bkey *k, __u64 v)
71 ((struct bkey) { \
96 /* Bkey utility code */
98 static inline unsigned long bkey_u64s(const struct bkey *k)
100 return (sizeof(struct bkey) / sizeof(__u64)) + KEY_PTRS(k)
    [all...]
  /bionic/libc/kernel/uapi/linux/
bcache.h 27 struct bkey { struct
33 #define KEY_FIELD(name,field,offset,size) BITMASK(name, struct bkey, field, offset, size)
34 #define PTR_FIELD(name,offset,size) static inline __u64 name(const struct bkey * k, unsigned i) \
35 { return(k->ptr[i] >> offset) & ~(~0ULL << size); } static inline void SET_ ##name(struct bkey * k, unsigned i, __u64 v) \
42 ((struct bkey) {.high = (1ULL << 63) | ((__u64) (size) << 20) | (inode),.low = (offset) \
58 #define BKEY_PADDED(key) union { struct bkey key; __u64 key ##_pad[BKEY_PAD]; }
153 struct bkey start[0];
202 struct bkey start[0];
  /development/ndk/platforms/android-21/include/linux/
bcache.h 24 struct bkey { struct
30 #define KEY_FIELD(name, field, offset, size) BITMASK(name, struct bkey, field, offset, size)
31 #define PTR_FIELD(name, offset, size) static inline __u64 name(const struct bkey *k, unsigned i) { return (k->ptr[i] >> offset) & ~(~0ULL << size); } static inline void SET_##name(struct bkey *k, unsigned i, __u64 v) { k->ptr[i] &= ~(~(~0ULL << size) << offset); k->ptr[i] |= (v & ~(~0ULL << size)) << offset; }
35 #define KEY(inode, offset, size) ((struct bkey) { .high = (1ULL << 63) | ((__u64) (size) << 20) | (inode), .low = (offset) })
50 #define BKEY_PADDED(key) union { struct bkey key; __u64 key ## _pad[BKEY_PAD]; }
145 struct bkey start[0];
194 struct bkey start[0];
  /prebuilts/ndk/r10/platforms/android-21/arch-arm/usr/include/linux/
bcache.h 24 struct bkey { struct
30 #define KEY_FIELD(name, field, offset, size) BITMASK(name, struct bkey, field, offset, size)
31 #define PTR_FIELD(name, offset, size) static inline __u64 name(const struct bkey *k, unsigned i) { return (k->ptr[i] >> offset) & ~(~0ULL << size); } static inline void SET_##name(struct bkey *k, unsigned i, __u64 v) { k->ptr[i] &= ~(~(~0ULL << size) << offset); k->ptr[i] |= (v & ~(~0ULL << size)) << offset; }
35 #define KEY(inode, offset, size) ((struct bkey) { .high = (1ULL << 63) | ((__u64) (size) << 20) | (inode), .low = (offset) })
50 #define BKEY_PADDED(key) union { struct bkey key; __u64 key ## _pad[BKEY_PAD]; }
145 struct bkey start[0];
194 struct bkey start[0];
  /prebuilts/ndk/r10/platforms/android-21/arch-arm64/usr/include/linux/
bcache.h 24 struct bkey { struct
30 #define KEY_FIELD(name, field, offset, size) BITMASK(name, struct bkey, field, offset, size)
31 #define PTR_FIELD(name, offset, size) static inline __u64 name(const struct bkey *k, unsigned i) { return (k->ptr[i] >> offset) & ~(~0ULL << size); } static inline void SET_##name(struct bkey *k, unsigned i, __u64 v) { k->ptr[i] &= ~(~(~0ULL << size) << offset); k->ptr[i] |= (v & ~(~0ULL << size)) << offset; }
35 #define KEY(inode, offset, size) ((struct bkey) { .high = (1ULL << 63) | ((__u64) (size) << 20) | (inode), .low = (offset) })
50 #define BKEY_PADDED(key) union { struct bkey key; __u64 key ## _pad[BKEY_PAD]; }
145 struct bkey start[0];
194 struct bkey start[0];
  /prebuilts/ndk/r10/platforms/android-21/arch-mips/usr/include/linux/
bcache.h 24 struct bkey { struct
30 #define KEY_FIELD(name, field, offset, size) BITMASK(name, struct bkey, field, offset, size)
31 #define PTR_FIELD(name, offset, size) static inline __u64 name(const struct bkey *k, unsigned i) { return (k->ptr[i] >> offset) & ~(~0ULL << size); } static inline void SET_##name(struct bkey *k, unsigned i, __u64 v) { k->ptr[i] &= ~(~(~0ULL << size) << offset); k->ptr[i] |= (v & ~(~0ULL << size)) << offset; }
35 #define KEY(inode, offset, size) ((struct bkey) { .high = (1ULL << 63) | ((__u64) (size) << 20) | (inode), .low = (offset) })
50 #define BKEY_PADDED(key) union { struct bkey key; __u64 key ## _pad[BKEY_PAD]; }
145 struct bkey start[0];
194 struct bkey start[0];
  /prebuilts/ndk/r10/platforms/android-21/arch-mips64/usr/include/linux/
bcache.h 24 struct bkey { struct
30 #define KEY_FIELD(name, field, offset, size) BITMASK(name, struct bkey, field, offset, size)
31 #define PTR_FIELD(name, offset, size) static inline __u64 name(const struct bkey *k, unsigned i) { return (k->ptr[i] >> offset) & ~(~0ULL << size); } static inline void SET_##name(struct bkey *k, unsigned i, __u64 v) { k->ptr[i] &= ~(~(~0ULL << size) << offset); k->ptr[i] |= (v & ~(~0ULL << size)) << offset; }
35 #define KEY(inode, offset, size) ((struct bkey) { .high = (1ULL << 63) | ((__u64) (size) << 20) | (inode), .low = (offset) })
50 #define BKEY_PADDED(key) union { struct bkey key; __u64 key ## _pad[BKEY_PAD]; }
145 struct bkey start[0];
194 struct bkey start[0];
  /prebuilts/ndk/r10/platforms/android-21/arch-x86/usr/include/linux/
bcache.h 24 struct bkey { struct
30 #define KEY_FIELD(name, field, offset, size) BITMASK(name, struct bkey, field, offset, size)
31 #define PTR_FIELD(name, offset, size) static inline __u64 name(const struct bkey *k, unsigned i) { return (k->ptr[i] >> offset) & ~(~0ULL << size); } static inline void SET_##name(struct bkey *k, unsigned i, __u64 v) { k->ptr[i] &= ~(~(~0ULL << size) << offset); k->ptr[i] |= (v & ~(~0ULL << size)) << offset; }
35 #define KEY(inode, offset, size) ((struct bkey) { .high = (1ULL << 63) | ((__u64) (size) << 20) | (inode), .low = (offset) })
50 #define BKEY_PADDED(key) union { struct bkey key; __u64 key ## _pad[BKEY_PAD]; }
145 struct bkey start[0];
194 struct bkey start[0];
  /prebuilts/ndk/r10/platforms/android-21/arch-x86_64/usr/include/linux/
bcache.h 24 struct bkey { struct
30 #define KEY_FIELD(name, field, offset, size) BITMASK(name, struct bkey, field, offset, size)
31 #define PTR_FIELD(name, offset, size) static inline __u64 name(const struct bkey *k, unsigned i) { return (k->ptr[i] >> offset) & ~(~0ULL << size); } static inline void SET_##name(struct bkey *k, unsigned i, __u64 v) { k->ptr[i] &= ~(~(~0ULL << size) << offset); k->ptr[i] |= (v & ~(~0ULL << size)) << offset; }
35 #define KEY(inode, offset, size) ((struct bkey) { .high = (1ULL << 63) | ((__u64) (size) << 20) | (inode), .low = (offset) })
50 #define BKEY_PADDED(key) union { struct bkey key; __u64 key ## _pad[BKEY_PAD]; }
145 struct bkey start[0];
194 struct bkey start[0];
  /prebuilts/ndk/r10/platforms/android-23/arch-arm/usr/include/linux/
bcache.h 24 struct bkey { struct
30 #define KEY_FIELD(name, field, offset, size) BITMASK(name, struct bkey, field, offset, size)
31 #define PTR_FIELD(name, offset, size) static inline __u64 name(const struct bkey *k, unsigned i) { return (k->ptr[i] >> offset) & ~(~0ULL << size); } static inline void SET_##name(struct bkey *k, unsigned i, __u64 v) { k->ptr[i] &= ~(~(~0ULL << size) << offset); k->ptr[i] |= (v & ~(~0ULL << size)) << offset; }
35 #define KEY(inode, offset, size) ((struct bkey) { .high = (1ULL << 63) | ((__u64) (size) << 20) | (inode), .low = (offset) })
50 #define BKEY_PADDED(key) union { struct bkey key; __u64 key ## _pad[BKEY_PAD]; }
145 struct bkey start[0];
194 struct bkey start[0];
  /prebuilts/ndk/r10/platforms/android-23/arch-arm64/usr/include/linux/
bcache.h 24 struct bkey { struct
30 #define KEY_FIELD(name, field, offset, size) BITMASK(name, struct bkey, field, offset, size)
31 #define PTR_FIELD(name, offset, size) static inline __u64 name(const struct bkey *k, unsigned i) { return (k->ptr[i] >> offset) & ~(~0ULL << size); } static inline void SET_##name(struct bkey *k, unsigned i, __u64 v) { k->ptr[i] &= ~(~(~0ULL << size) << offset); k->ptr[i] |= (v & ~(~0ULL << size)) << offset; }
35 #define KEY(inode, offset, size) ((struct bkey) { .high = (1ULL << 63) | ((__u64) (size) << 20) | (inode), .low = (offset) })
50 #define BKEY_PADDED(key) union { struct bkey key; __u64 key ## _pad[BKEY_PAD]; }
145 struct bkey start[0];
194 struct bkey start[0];
  /prebuilts/ndk/r10/platforms/android-23/arch-mips/usr/include/linux/
bcache.h 24 struct bkey { struct
30 #define KEY_FIELD(name, field, offset, size) BITMASK(name, struct bkey, field, offset, size)
31 #define PTR_FIELD(name, offset, size) static inline __u64 name(const struct bkey *k, unsigned i) { return (k->ptr[i] >> offset) & ~(~0ULL << size); } static inline void SET_##name(struct bkey *k, unsigned i, __u64 v) { k->ptr[i] &= ~(~(~0ULL << size) << offset); k->ptr[i] |= (v & ~(~0ULL << size)) << offset; }
35 #define KEY(inode, offset, size) ((struct bkey) { .high = (1ULL << 63) | ((__u64) (size) << 20) | (inode), .low = (offset) })
50 #define BKEY_PADDED(key) union { struct bkey key; __u64 key ## _pad[BKEY_PAD]; }
145 struct bkey start[0];
194 struct bkey start[0];
  /prebuilts/ndk/r10/platforms/android-23/arch-mips64/usr/include/linux/
bcache.h 24 struct bkey { struct
30 #define KEY_FIELD(name, field, offset, size) BITMASK(name, struct bkey, field, offset, size)
31 #define PTR_FIELD(name, offset, size) static inline __u64 name(const struct bkey *k, unsigned i) { return (k->ptr[i] >> offset) & ~(~0ULL << size); } static inline void SET_##name(struct bkey *k, unsigned i, __u64 v) { k->ptr[i] &= ~(~(~0ULL << size) << offset); k->ptr[i] |= (v & ~(~0ULL << size)) << offset; }
35 #define KEY(inode, offset, size) ((struct bkey) { .high = (1ULL << 63) | ((__u64) (size) << 20) | (inode), .low = (offset) })
50 #define BKEY_PADDED(key) union { struct bkey key; __u64 key ## _pad[BKEY_PAD]; }
145 struct bkey start[0];
194 struct bkey start[0];
  /prebuilts/ndk/r10/platforms/android-23/arch-x86/usr/include/linux/
bcache.h 24 struct bkey { struct
30 #define KEY_FIELD(name, field, offset, size) BITMASK(name, struct bkey, field, offset, size)
31 #define PTR_FIELD(name, offset, size) static inline __u64 name(const struct bkey *k, unsigned i) { return (k->ptr[i] >> offset) & ~(~0ULL << size); } static inline void SET_##name(struct bkey *k, unsigned i, __u64 v) { k->ptr[i] &= ~(~(~0ULL << size) << offset); k->ptr[i] |= (v & ~(~0ULL << size)) << offset; }
35 #define KEY(inode, offset, size) ((struct bkey) { .high = (1ULL << 63) | ((__u64) (size) << 20) | (inode), .low = (offset) })
50 #define BKEY_PADDED(key) union { struct bkey key; __u64 key ## _pad[BKEY_PAD]; }
145 struct bkey start[0];
194 struct bkey start[0];
  /prebuilts/ndk/r10/platforms/android-23/arch-x86_64/usr/include/linux/
bcache.h 24 struct bkey { struct
30 #define KEY_FIELD(name, field, offset, size) BITMASK(name, struct bkey, field, offset, size)
31 #define PTR_FIELD(name, offset, size) static inline __u64 name(const struct bkey *k, unsigned i) { return (k->ptr[i] >> offset) & ~(~0ULL << size); } static inline void SET_##name(struct bkey *k, unsigned i, __u64 v) { k->ptr[i] &= ~(~(~0ULL << size) << offset); k->ptr[i] |= (v & ~(~0ULL << size)) << offset; }
35 #define KEY(inode, offset, size) ((struct bkey) { .high = (1ULL << 63) | ((__u64) (size) << 20) | (inode), .low = (offset) })
50 #define BKEY_PADDED(key) union { struct bkey key; __u64 key ## _pad[BKEY_PAD]; }
145 struct bkey start[0];
194 struct bkey start[0];
  /prebuilts/ndk/r11/platforms/android-21/arch-arm/usr/include/linux/
bcache.h 24 struct bkey { struct
30 #define KEY_FIELD(name, field, offset, size) BITMASK(name, struct bkey, field, offset, size)
31 #define PTR_FIELD(name, offset, size) static inline __u64 name(const struct bkey *k, unsigned i) { return (k->ptr[i] >> offset) & ~(~0ULL << size); } static inline void SET_##name(struct bkey *k, unsigned i, __u64 v) { k->ptr[i] &= ~(~(~0ULL << size) << offset); k->ptr[i] |= (v & ~(~0ULL << size)) << offset; }
35 #define KEY(inode, offset, size) ((struct bkey) { .high = (1ULL << 63) | ((__u64) (size) << 20) | (inode), .low = (offset) })
50 #define BKEY_PADDED(key) union { struct bkey key; __u64 key ## _pad[BKEY_PAD]; }
145 struct bkey start[0];
194 struct bkey start[0];
  /prebuilts/ndk/r11/platforms/android-21/arch-arm64/usr/include/linux/
bcache.h 24 struct bkey { struct
30 #define KEY_FIELD(name, field, offset, size) BITMASK(name, struct bkey, field, offset, size)
31 #define PTR_FIELD(name, offset, size) static inline __u64 name(const struct bkey *k, unsigned i) { return (k->ptr[i] >> offset) & ~(~0ULL << size); } static inline void SET_##name(struct bkey *k, unsigned i, __u64 v) { k->ptr[i] &= ~(~(~0ULL << size) << offset); k->ptr[i] |= (v & ~(~0ULL << size)) << offset; }
35 #define KEY(inode, offset, size) ((struct bkey) { .high = (1ULL << 63) | ((__u64) (size) << 20) | (inode), .low = (offset) })
50 #define BKEY_PADDED(key) union { struct bkey key; __u64 key ## _pad[BKEY_PAD]; }
145 struct bkey start[0];
194 struct bkey start[0];
  /prebuilts/ndk/r11/platforms/android-21/arch-mips/usr/include/linux/
bcache.h 24 struct bkey { struct
30 #define KEY_FIELD(name, field, offset, size) BITMASK(name, struct bkey, field, offset, size)
31 #define PTR_FIELD(name, offset, size) static inline __u64 name(const struct bkey *k, unsigned i) { return (k->ptr[i] >> offset) & ~(~0ULL << size); } static inline void SET_##name(struct bkey *k, unsigned i, __u64 v) { k->ptr[i] &= ~(~(~0ULL << size) << offset); k->ptr[i] |= (v & ~(~0ULL << size)) << offset; }
35 #define KEY(inode, offset, size) ((struct bkey) { .high = (1ULL << 63) | ((__u64) (size) << 20) | (inode), .low = (offset) })
50 #define BKEY_PADDED(key) union { struct bkey key; __u64 key ## _pad[BKEY_PAD]; }
145 struct bkey start[0];
194 struct bkey start[0];
  /prebuilts/ndk/r11/platforms/android-21/arch-mips64/usr/include/linux/
bcache.h 24 struct bkey { struct
30 #define KEY_FIELD(name, field, offset, size) BITMASK(name, struct bkey, field, offset, size)
31 #define PTR_FIELD(name, offset, size) static inline __u64 name(const struct bkey *k, unsigned i) { return (k->ptr[i] >> offset) & ~(~0ULL << size); } static inline void SET_##name(struct bkey *k, unsigned i, __u64 v) { k->ptr[i] &= ~(~(~0ULL << size) << offset); k->ptr[i] |= (v & ~(~0ULL << size)) << offset; }
35 #define KEY(inode, offset, size) ((struct bkey) { .high = (1ULL << 63) | ((__u64) (size) << 20) | (inode), .low = (offset) })
50 #define BKEY_PADDED(key) union { struct bkey key; __u64 key ## _pad[BKEY_PAD]; }
145 struct bkey start[0];
194 struct bkey start[0];
  /prebuilts/ndk/r11/platforms/android-21/arch-x86/usr/include/linux/
bcache.h 24 struct bkey { struct
30 #define KEY_FIELD(name, field, offset, size) BITMASK(name, struct bkey, field, offset, size)
31 #define PTR_FIELD(name, offset, size) static inline __u64 name(const struct bkey *k, unsigned i) { return (k->ptr[i] >> offset) & ~(~0ULL << size); } static inline void SET_##name(struct bkey *k, unsigned i, __u64 v) { k->ptr[i] &= ~(~(~0ULL << size) << offset); k->ptr[i] |= (v & ~(~0ULL << size)) << offset; }
35 #define KEY(inode, offset, size) ((struct bkey) { .high = (1ULL << 63) | ((__u64) (size) << 20) | (inode), .low = (offset) })
50 #define BKEY_PADDED(key) union { struct bkey key; __u64 key ## _pad[BKEY_PAD]; }
145 struct bkey start[0];
194 struct bkey start[0];
  /prebuilts/ndk/r11/platforms/android-21/arch-x86_64/usr/include/linux/
bcache.h 24 struct bkey { struct
30 #define KEY_FIELD(name, field, offset, size) BITMASK(name, struct bkey, field, offset, size)
31 #define PTR_FIELD(name, offset, size) static inline __u64 name(const struct bkey *k, unsigned i) { return (k->ptr[i] >> offset) & ~(~0ULL << size); } static inline void SET_##name(struct bkey *k, unsigned i, __u64 v) { k->ptr[i] &= ~(~(~0ULL << size) << offset); k->ptr[i] |= (v & ~(~0ULL << size)) << offset; }
35 #define KEY(inode, offset, size) ((struct bkey) { .high = (1ULL << 63) | ((__u64) (size) << 20) | (inode), .low = (offset) })
50 #define BKEY_PADDED(key) union { struct bkey key; __u64 key ## _pad[BKEY_PAD]; }
145 struct bkey start[0];
194 struct bkey start[0];
  /prebuilts/ndk/r11/platforms/android-23/arch-arm/usr/include/linux/
bcache.h 24 struct bkey { struct
30 #define KEY_FIELD(name, field, offset, size) BITMASK(name, struct bkey, field, offset, size)
31 #define PTR_FIELD(name, offset, size) static inline __u64 name(const struct bkey *k, unsigned i) { return (k->ptr[i] >> offset) & ~(~0ULL << size); } static inline void SET_##name(struct bkey *k, unsigned i, __u64 v) { k->ptr[i] &= ~(~(~0ULL << size) << offset); k->ptr[i] |= (v & ~(~0ULL << size)) << offset; }
35 #define KEY(inode, offset, size) ((struct bkey) { .high = (1ULL << 63) | ((__u64) (size) << 20) | (inode), .low = (offset) })
50 #define BKEY_PADDED(key) union { struct bkey key; __u64 key ## _pad[BKEY_PAD]; }
145 struct bkey start[0];
194 struct bkey start[0];
  /prebuilts/ndk/r11/platforms/android-23/arch-arm64/usr/include/linux/
bcache.h 24 struct bkey { struct
30 #define KEY_FIELD(name, field, offset, size) BITMASK(name, struct bkey, field, offset, size)
31 #define PTR_FIELD(name, offset, size) static inline __u64 name(const struct bkey *k, unsigned i) { return (k->ptr[i] >> offset) & ~(~0ULL << size); } static inline void SET_##name(struct bkey *k, unsigned i, __u64 v) { k->ptr[i] &= ~(~(~0ULL << size) << offset); k->ptr[i] |= (v & ~(~0ULL << size)) << offset; }
35 #define KEY(inode, offset, size) ((struct bkey) { .high = (1ULL << 63) | ((__u64) (size) << 20) | (inode), .low = (offset) })
50 #define BKEY_PADDED(key) union { struct bkey key; __u64 key ## _pad[BKEY_PAD]; }
145 struct bkey start[0];
194 struct bkey start[0];
  /prebuilts/ndk/r11/platforms/android-23/arch-mips/usr/include/linux/
bcache.h 24 struct bkey { struct
30 #define KEY_FIELD(name, field, offset, size) BITMASK(name, struct bkey, field, offset, size)
31 #define PTR_FIELD(name, offset, size) static inline __u64 name(const struct bkey *k, unsigned i) { return (k->ptr[i] >> offset) & ~(~0ULL << size); } static inline void SET_##name(struct bkey *k, unsigned i, __u64 v) { k->ptr[i] &= ~(~(~0ULL << size) << offset); k->ptr[i] |= (v & ~(~0ULL << size)) << offset; }
35 #define KEY(inode, offset, size) ((struct bkey) { .high = (1ULL << 63) | ((__u64) (size) << 20) | (inode), .low = (offset) })
50 #define BKEY_PADDED(key) union { struct bkey key; __u64 key ## _pad[BKEY_PAD]; }
145 struct bkey start[0];
194 struct bkey start[0];
  /prebuilts/ndk/r11/platforms/android-23/arch-mips64/usr/include/linux/
bcache.h 24 struct bkey { struct
30 #define KEY_FIELD(name, field, offset, size) BITMASK(name, struct bkey, field, offset, size)
31 #define PTR_FIELD(name, offset, size) static inline __u64 name(const struct bkey *k, unsigned i) { return (k->ptr[i] >> offset) & ~(~0ULL << size); } static inline void SET_##name(struct bkey *k, unsigned i, __u64 v) { k->ptr[i] &= ~(~(~0ULL << size) << offset); k->ptr[i] |= (v & ~(~0ULL << size)) << offset; }
35 #define KEY(inode, offset, size) ((struct bkey) { .high = (1ULL << 63) | ((__u64) (size) << 20) | (inode), .low = (offset) })
50 #define BKEY_PADDED(key) union { struct bkey key; __u64 key ## _pad[BKEY_PAD]; }
145 struct bkey start[0];
194 struct bkey start[0];

Completed in 7278 milliseconds

1 2