Contents

buf_setdirtyend

Set the ending offset of the dirty region associated with a buffer.

Declaration

void buf_setdirtyend(buf_t bp, uint32_t);

Parameters

  • bp:

    Buffer whose dirty end to set.

Return Value

void.

Discussion

If the buffer's data was found incore and dirty, the dirty end is the size of the block; otherwise, unless someone outside of xnu explicitly changes it by calling buf_setdirtyend(), it will be zero.

See Also

Buffers