On Fri, Jun 29, 2012 at 09:41:47PM +0800, Zhi Yong Wu wrote:
> HI,
> 
> Can anyone let me know where the funtions are declared or defined,
> such as btrfs_header_nritems(), btrfs_header_level(), etc? thanks.

   ctree.h, somewhere around or after line 1550. They're all accessor
functions, defined by a set of macros. Look for the *_SETGET_* macros.
The actual definitions of BTRFS_SETGET_FUNCS are in struct-funcs.h

   Hugo.

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
       --- Great oxymorons of the world, no. 1: Family Holiday ---       

Attachment: signature.asc
Description: Digital signature

Reply via email to