Searched refs:CAP_TO_INDEX (Results 1 – 6 of 6) sorted by relevance
18 #ifndef CAP_TO_INDEX19 #define CAP_TO_INDEX(x) ((x) >> 5) // 1 << 5 == bits in __u32 macro
102 #ifndef CAP_TO_INDEX103 # define CAP_TO_INDEX(x) ((x) >> 5) /* 1 << 5 == bits in __u32 */ macro
26 #define raise_cap_mask(flat, c) (flat)[CAP_TO_INDEX(c)] |= CAP_TO_MASK(c)
187 const size_t index = CAP_TO_INDEX(cap_num); in SetCapabilitiesOnCurrentThread()234 const size_t index = CAP_TO_INDEX(cap_num); in HasCapability()
354 #define CAP_TO_INDEX(x) ((x) >> 5) /* 1 << 5 == bits in __u32 */ macro
363 #define CAP_TO_INDEX(x) ((x) >> 5) /* 1 << 5 == bits in __u32 */ macro