Searched refs:protectionclass (Results 1 – 2 of 2) sorted by relevance
515 cp_is_valid_class(int isdir, int32_t protectionclass) in cp_is_valid_class() argument524 return (protectionclass >= PROTECTION_CLASS_DIR_NONE) && in cp_is_valid_class()525 (protectionclass <= PROTECTION_CLASS_D); in cp_is_valid_class()527 return (protectionclass >= PROTECTION_CLASS_A) && in cp_is_valid_class()528 (protectionclass <= PROTECTION_CLASS_F); in cp_is_valid_class()
219 int cp_is_valid_class(int isdir, int32_t protectionclass);