Searched refs:RID_MULTIPLIER (Results 1 – 3 of 3) sorted by relevance
501 return (uid_t)(((user_rid & (~USER_RID_TYPE)) - rid_offset)/RID_MULTIPLIER); in algorithmic_pdb_user_rid_to_uid()516 return (((((uint32)uid)*RID_MULTIPLIER) + rid_offset) | USER_RID_TYPE); in algorithmic_pdb_uid_to_user_rid()526 return (gid_t)(((group_rid & (~GROUP_RID_TYPE))- rid_offset)/RID_MULTIPLIER); in pdb_group_rid_to_gid()545 return (((((uint32)gid)*RID_MULTIPLIER) + rid_offset) | GROUP_RID_TYPE); in algorithmic_pdb_gid_to_group_rid()
487 return (uid_t)(((user_rid & (~USER_RID_TYPE)) - rid_offset)/RID_MULTIPLIER); in algorithmic_pdb_user_rid_to_uid()502 return (((((uint32_t)uid)*RID_MULTIPLIER) + rid_offset) | USER_RID_TYPE); in algorithmic_pdb_uid_to_user_rid()512 return (gid_t)(((group_rid & (~GROUP_RID_TYPE))- rid_offset)/RID_MULTIPLIER); in pdb_group_rid_to_gid()531 return (((((uint32_t)gid)*RID_MULTIPLIER) + rid_offset) | GROUP_RID_TYPE); in algorithmic_pdb_gid_to_group_rid()
139 #define RID_MULTIPLIER 2 macro