Lines Matching defs:mat
881 * @mat: the ma_topiary, a linked list of dead nodes.
884 * Add the @dead_enode to the linked list in @mat.
886 static inline void mat_add(struct ma_topiary *mat,
891 if (!mat->tail) {
892 mat->tail = mat->head = dead_enode;
896 mte_to_mat(mat->tail)->next = dead_enode;
897 mat->tail = dead_enode;
906 * @mat: the ma_topiary linked list of dead nodes to free.
910 static void mas_mat_destroy(struct ma_state *mas, struct ma_topiary *mat)
916 while (mat->head) {
917 next = mte_to_mat(mat->head)->next;
918 node = mte_to_node(mat->head);
919 mt_destroy_walk(mat->head, mas->tree, !in_rcu);
922 mat->head = next;