Searched refs:CAP_TO_INDEX (Results 1 – 3 of 3) sorted by relevance
55 #ifndef CAP_TO_INDEX56 # 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()
66 return cap_data[CAP_TO_INDEX(capability)].permitted == in HasOnly()68 cap_data[1 - CAP_TO_INDEX(capability)].permitted == 0; in HasOnly()