Searched refs:NUM_TYPES (Results 1 – 2 of 2) sorted by relevance
420 #define NUM_TYPES ((sizeof (rc_types) / sizeof (*rc_types))) macro623 assert(type > 0 && type < NUM_TYPES); in rc_node_hash()658 assert(type > 0 && type < NUM_TYPES); in rc_node_match()895 if (parent == 0 || parent >= NUM_TYPES || in rc_check_parent_child()896 child == 0 || child >= NUM_TYPES) in rc_check_parent_child()916 if (type == 0 || type >= NUM_TYPES) in rc_check_type_name()
2410 #define NUM_TYPES 10 in ql_get_mac_protocol_registers() macro2420 for (type = 0; type < NUM_TYPES; type ++) { in ql_get_mac_protocol_registers()