Contents

buf_lblkno

Get logical block number associated with a buffer.

Declaration

daddr64_t buf_lblkno(buf_t bp);

Parameters

  • bp:

    Buffer whose logical block number to get.

Return Value

Block number.

Discussion

Logical block number is set on traditionally-used buffers by an argument passed to buf_getblk(), for example by buf_bread().

See Also

Buffers