Contents

buf_dirtyoff

Get the starting offset of the dirty region associated with a buffer.

Declaration

uint32_t buf_dirtyoff(buf_t bp);

Parameters

  • bp:

    Buffer whose dirty offset to get.

Return Value

Dirty offset (0 if not explicitly changed).

Discussion

The dirty offset is zero unless someone explicitly calls buf_setdirtyoff() (which the kernel does not).

See Also

Buffers