void pdu_free(V9fsPDU *pdu)

{

    if (pdu) {

        V9fsState *s = pdu->s;

        /*

         * Cancelled pdu are added back to the freelist

         * by flush request .

         */

        if (!pdu->cancelled) {

            QLIST_REMOVE(pdu, next);

            QLIST_INSERT_HEAD(&s->free_list, pdu, next);

        }

    }

}

void pdu_free(V9fsPDU *pdu)

{

    if (pdu) {

        V9fsState *s = pdu->s;

        







        if (!pdu->cancelled) {

            QLIST_REMOVE(pdu, next);

            QLIST_INSERT_HEAD(&s->free_list, pdu, next);

        }

    }

}

void FUNC_0(V9fsPDU *VAR_0)

{

    if (VAR_0) {

        V9fsState *s = VAR_0->s;

        







        if (!VAR_0->cancelled) {

            QLIST_REMOVE(VAR_0, next);

            QLIST_INSERT_HEAD(&s->free_list, VAR_0, next);

        }

    }

}

void FUNC_0(V9fsPDU *VAR_0)
{ if (VAR_0) { V9fsState *s = VAR_0->s; if (!VAR_0->cancelled) { QLIST_REMOVE(VAR_0, next); QLIST_INSERT_HEAD(&s->free_list, VAR_0, next); } } }