u-boot-brain/fs
Marek Behún 597b4aff7b fs: btrfs: Add disk-to-cpu and cpu-to-disk conversion functions
BTRFS on disk structures are stored in Little Endian. Add functions
to convert this structures to cpu and to disk format.

On Little Endian hosts, these functions do nothing.

On Big Endian the CALL_MACRO_FROM_EACH from variadic-macro.h is used
to define all the members for each structure on which cpu_to_le* or
le*_to_cpu is to be called.

Signed-off-by: Marek Behun <marek.behun@nic.cz>

 create mode 100644 fs/btrfs/conv-funcs.h
2017-10-02 21:52:17 -04:00
..
btrfs fs: btrfs: Add disk-to-cpu and cpu-to-disk conversion functions 2017-10-02 21:52:17 -04:00
cbfs fs: Kconfig: Add a separate config for FS_CBFS 2017-04-30 13:40:57 -04:00
cramfs fs: Kconfig: Add a separate option for FS_CRAMFS 2017-04-30 13:40:59 -04:00
ext4 fs: Create a common fs_devread for ext4/reiserfs/zfs 2017-10-02 21:51:50 -04:00
fat fs/fat: Reduce stack usage 2017-09-22 07:37:43 -04:00
jffs2 fs: use get_nand_dev_by_index() 2017-07-11 22:41:47 -04:00
reiserfs fs: Create a common fs_devread for ext4/reiserfs/zfs 2017-10-02 21:51:50 -04:00
sandbox sandboxfs: Fix resource leak 2016-12-02 10:37:47 -07:00
ubifs env: Rename common functions related to setenv() 2017-08-16 08:23:32 -04:00
yaffs2 Convert CONFIG_CMD_YAFFS2 to Kconfig 2017-08-11 17:44:50 -04:00
zfs fs: Create a common fs_devread for ext4/reiserfs/zfs 2017-10-02 21:51:50 -04:00
fs_internal.c fs: Create a common fs_devread for ext4/reiserfs/zfs 2017-10-02 21:51:50 -04:00
fs.c fat/fs: move ls to generic implementation 2017-09-15 09:03:13 -04:00
Kconfig Convert CONFIG_CMD_YAFFS2 to Kconfig 2017-08-11 17:44:50 -04:00
Makefile fs: Create a common fs_devread for ext4/reiserfs/zfs 2017-10-02 21:51:50 -04:00