Its only a valve. Topologically speaking, the passage from the mouth to the anus only constitutes one hole.
The passage of air into the lungs is not a hole however, that is a cavity. Same difference with the vagina, that's not a hole, that's a cavity.