ubik: Abstract buffer matching and pass trans ptrs