[buffer] Rename swap_buffers() to sync()
11 files changed