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