linux/fs/btrfs
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
..
acl.c
async-thread.c
async-thread.h
backref.c
backref.h
btrfs_inode.h Btrfs: kill free_space pointer from inode structure 2012-07-23 16:28:05 -04:00
check-integrity.c
check-integrity.h
compat.h
compression.c
compression.h
ctree.c Btrfs: fix buffer leak in btrfs_next_old_leaf 2012-07-23 16:28:03 -04:00
ctree.h Btrfs: rewrite BTRFS_SETGET_FUNCS 2012-07-23 16:28:06 -04:00
delayed-inode.c Btrfs: zero unused bytes in inode item 2012-07-23 16:28:05 -04:00
delayed-inode.h
delayed-ref.c
delayed-ref.h
dir-item.c
disk-io.c Btrfs: avoid I/O repair BUG() from btree_read_extent_buffer_pages() 2012-07-23 16:27:59 -04:00
disk-io.h
export.c
export.h
extent_io.c btrfs read error corrected message floods the console during recovery 2012-07-23 16:28:04 -04:00
extent_io.h
extent_map.c
extent_map.h
extent-tree.c Btrfs: kill free_space pointer from inode structure 2012-07-23 16:28:05 -04:00
file-item.c Btrfs: kill root from btrfs_is_free_space_inode 2012-07-23 16:28:00 -04:00
file.c
free-space-cache.c Btrfs: do not count in readonly bytes 2012-07-23 16:28:03 -04:00
free-space-cache.h
hash.h
inode-item.c
inode-map.c
inode-map.h
inode.c Btrfs: zero unused bytes in inode item 2012-07-23 16:28:05 -04:00
ioctl.c Btrfs: do not set subvolume flags in readonly mode 2012-07-23 16:27:58 -04:00
ioctl.h Btrfs: add DEVICE_READY ioctl 2012-07-23 16:27:42 -04:00
Kconfig
locking.c
locking.h
lzo.c
Makefile
ordered-data.c
ordered-data.h
orphan.c
print-tree.c
print-tree.h
rcu-string.h
reada.c
relocation.c Btrfs: fix error handling in __add_reloc_root() 2012-07-23 16:27:53 -04:00
root-tree.c
scrub.c
struct-funcs.c Btrfs: rewrite BTRFS_SETGET_FUNCS 2012-07-23 16:28:06 -04:00
super.c Btrfs: add DEVICE_READY ioctl 2012-07-23 16:27:42 -04:00
sysfs.c
transaction.c Btrfs: change how we indicate we're adding csums 2012-07-23 16:27:55 -04:00
transaction.h Btrfs: change how we indicate we're adding csums 2012-07-23 16:27:55 -04:00
tree-defrag.c
tree-log.c Btrfs: return error of btrfs_update_inode() to caller 2012-07-23 16:27:54 -04:00
tree-log.h
ulist.c
ulist.h
version.h
volumes.c Btrfs: add DEVICE_READY ioctl 2012-07-23 16:27:42 -04:00
volumes.h Btrfs: add DEVICE_READY ioctl 2012-07-23 16:27:42 -04:00
xattr.c
xattr.h
zlib.c