Lines Matching refs:mat
982 * @mat - the ma_topiary, a linked list of dead nodes.
985 * Add the @dead_enode to the linked list in @mat.
987 static inline void mat_add(struct ma_topiary *mat,
992 if (!mat->tail) {
993 mat->tail = mat->head = dead_enode;
997 mte_to_mat(mat->tail)->next = dead_enode;
998 mat->tail = dead_enode;
1007 * @mat - the ma_topiary linked list of dead nodes to free.
1011 static void mas_mat_destroy(struct ma_state *mas, struct ma_topiary *mat)
1017 while (mat->head) {
1018 next = mte_to_mat(mat->head)->next;
1019 node = mte_to_node(mat->head);
1020 mt_destroy_walk(mat->head, mas->tree, !in_rcu);
1023 mat->head = next;