HomeSort by relevance Sort by last modified time
    Searched defs:CAP_TO_INDEX (Results 1 - 4 of 4) sorted by null

  /bionic/libc/kernel/common/linux/
capability.h 117 #define CAP_TO_INDEX(x) ((x) >> 5)
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/
capability.h 349 #define CAP_TO_INDEX(x) ((x) >> 5) /* 1 << 5 == bits in __u32 */
  /system/core/include/private/
android_filesystem_capability.h 110 #define CAP_TO_INDEX(x) ((x) >> 5)
  /external/kernel-headers/original/linux/
capability.h 371 #define CAP_TO_INDEX(x) ((x) >> 5) /* 1 << 5 == bits in __u32 */
431 #define cap_raise(c, flag) ((c).cap[CAP_TO_INDEX(flag)] |= CAP_TO_MASK(flag))
432 #define cap_lower(c, flag) ((c).cap[CAP_TO_INDEX(flag)] &= ~CAP_TO_MASK(flag))
433 #define cap_raised(c, flag) ((c).cap[CAP_TO_INDEX(flag)] & CAP_TO_MASK(flag))
511 return !!(CAP_TO_MASK(cap) & __cap_fs_set.cap[CAP_TO_INDEX(cap)]);

Completed in 1172 milliseconds