Inline buffer mark and block functions