Помогите пожалуйста
Нужно определить функцию герундиев в этих предложениях,
1.I wondered at my mother s having allowed the journey.
2. I understand perfectly your wishing to start the work at once.
3. Everybody will discuss the event, there is no preventing it.
4. At last he broke the silence by inviting everybody to walk into the dining.