On Fri, Jun 29, 2012 at 9:47 PM, Hugo Mills <hugo@xxxxxxxxxxxxx> wrote: > 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 Great, thanks. > > 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 --- -- Regards, Zhi Yong Wu -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
