Searched refs:CAP_TO_INDEX (Results 1 – 6 of 6) sorted by relevance
35 #ifndef CAP_TO_INDEX36 # define CAP_TO_INDEX(x) ((x) >> 5) macro
55 uint32_t *pE = &new[CAP_TO_INDEX(cap->id)].effective; in tst_cap_action()56 uint32_t *pP = &new[CAP_TO_INDEX(cap->id)].permitted; in tst_cap_action()
102 #ifndef CAP_TO_INDEX103 # define CAP_TO_INDEX(x) ((x) >> 5) /* 1 << 5 == bits in __u32 */ macro
36 #define raise_cap_mask(flat, c) (flat)[CAP_TO_INDEX(c)] |= CAP_TO_MASK(c)
422 #define CAP_TO_INDEX(x) ((x) >> 5) /* 1 << 5 == bits in __u32 */ macro
427 #define CAP_TO_INDEX(x) ((x) >> 5) /* 1 << 5 == bits in __u32 */ macro