Searched refs:protectionclass (Results 1 – 2 of 2) sorted by relevance
502 cp_is_valid_class(int isdir, int32_t protectionclass) in cp_is_valid_class() argument511 return (protectionclass >= PROTECTION_CLASS_DIR_NONE) && in cp_is_valid_class()512 (protectionclass <= PROTECTION_CLASS_D); in cp_is_valid_class()514 return (protectionclass >= PROTECTION_CLASS_A) && in cp_is_valid_class()515 (protectionclass <= PROTECTION_CLASS_F); in cp_is_valid_class()
213 int cp_is_valid_class(int isdir, int32_t protectionclass);