Mā has exactly the same function in mā zāla and mā dāma.

The Ism of Kāna and Its Sisters