static int v9fs_walk_marshal(V9fsPDU *pdu, uint16_t nwnames, V9fsQID *qids)

{

    int i;

    size_t offset = 7;

    offset += pdu_marshal(pdu, offset, "w", nwnames);

    for (i = 0; i < nwnames; i++) {

        offset += pdu_marshal(pdu, offset, "Q", &qids[i]);

    }

    return offset;

}

static int v9fs_walk_marshal(V9fsPDU *pdu, uint16_t nwnames, V9fsQID *qids)

{

    int i;

    size_t offset = 7;

    offset += pdu_marshal(pdu, offset, "w", nwnames);

    for (i = 0; i < nwnames; i++) {

        offset += pdu_marshal(pdu, offset, "Q", &qids[i]);

    }

    return offset;

}

static int FUNC_0(V9fsPDU *VAR_0, uint16_t VAR_1, V9fsQID *VAR_2)

{

    int VAR_3;

    size_t offset = 7;

    offset += pdu_marshal(VAR_0, offset, "w", VAR_1);

    for (VAR_3 = 0; VAR_3 < VAR_1; VAR_3++) {

        offset += pdu_marshal(VAR_0, offset, "Q", &VAR_2[VAR_3]);

    }

    return offset;

}

static int FUNC_0(V9fsPDU *VAR_0, uint16_t VAR_1, V9fsQID *VAR_2)
{ int VAR_3; size_t offset = 7; offset += pdu_marshal(VAR_0, offset, "w", VAR_1); for (VAR_3 = 0; VAR_3 < VAR_1; VAR_3++) { offset += pdu_marshal(VAR_0, offset, "Q", &VAR_2[VAR_3]); } return offset; }