Contents

buf_setblkno

Set physical block number associated with a buffer.

Declaration

void buf_setblkno(buf_t bp, daddr64_t blkno);

Parameters

  • bp:

    Buffer whose physical block number to set.

  • blkno:

    Block number to set.

Return Value

void.

Discussion

Physical block number is generally set by the cluster layer or by buf_getblk().

See Also

Buffers