Lines Matching refs:elem
229 static size_t tclas_elem_len(const struct tclas_element *elem) in tclas_elem_len() argument
237 if (elem->classifier_type == 4) { in tclas_elem_len()
246 ip_ver = elem->frame_classifier.type4_param.ip_version; in tclas_elem_len()
262 } else if (elem->classifier_type == 10) { in tclas_elem_len()
265 2 * elem->frame_classifier.type10_param.filter_len; in tclas_elem_len()
268 __func__, elem->classifier_type); in tclas_elem_len()
449 void free_up_tclas_elem(struct scs_desc_elem *elem) in free_up_tclas_elem() argument
451 struct tclas_element *tclas_elems = elem->tclas_elems; in free_up_tclas_elem()
452 unsigned int num_tclas_elem = elem->num_tclas_elem; in free_up_tclas_elem()
456 elem->tclas_elems = NULL; in free_up_tclas_elem()
457 elem->num_tclas_elem = 0; in free_up_tclas_elem()