Li Zefan 18077bb413 Btrfs: rewrite BTRFS_SETGET_FUNCS
BTRFS_SETGET_FUNCS macro is used to generate btrfs_set_foo() and
btrfs_foo() functions, which read and write specific fields in the
extent buffer.

The total number of set/get functions is ~200, but in fact we only
need 8 functions: 2 for u8 field, 2 for u16, 2 for u32 and 2 for u64.

It results in redunction of ~37K bytes.

   text    data     bss     dec     hex filename
 629661   12489     216  642366   9cd3e fs/btrfs/btrfs.o.orig
 592637   12489     216  605342   93c9e fs/btrfs/btrfs.o

Signed-off-by: Li Zefan <lizefan@huawei.com>
2012-07-23 16:28:06 -04:00
..
2012-05-30 10:23:27 -04:00
2012-07-23 16:28:06 -04:00
2012-05-29 23:28:33 -04:00
2012-07-23 16:28:05 -04:00
2012-07-23 16:27:42 -04:00
2012-06-14 21:29:16 -04:00
2012-07-23 16:27:42 -04:00
2011-06-17 14:54:18 -04:00
2012-07-23 16:27:42 -04:00
2012-07-23 16:27:42 -04:00