shithub: lwext4

ref: 2af977421c02df80c89b93851ee8c943fd0fc8be
dir: /include/plan9/generated/ext4_config.h/

View raw version
#ifndef __plan9__
#define __plan9__

#include <u.h>
#include <libc.h>

typedef u8int uint8_t;
typedef u16int uint16_t;
typedef u32int uint32_t;
typedef u64int uint64_t;

typedef s32int int32_t;
typedef s64int int64_t;

typedef usize size_t;
typedef uintptr ptrdiff_t;

typedef enum { false, true } bool;

#define NULL nil
#define USED USED

#define CONFIG_HAVE_OWN_ERRNO 1
#define CONFIG_HAVE_OWN_ASSERT 0
#define CONFIG_DEBUG_PRINTF 0
#define CONFIG_DEBUG_ASSERT 1

#define CONFIG_EXT4_MAX_BLOCKDEV_NAME 128
#define CONFIG_EXT4_MAX_MP_NAME 128

#define CONFIG_EXT4_BLOCKDEVS_COUNT 32
#define CONFIG_EXT4_MOUNTPOINTS_COUNT 32
#define CONFIG_BLOCK_DEV_CACHE_SIZE 1024
#define CONFIG_JOURNALING_ENABLE 1
#define CONFIG_EXTENTS_ENABLE 1
#define CONFIG_XATTR_ENABLE 0

#if defined(__amd64__) || defined(__386__)
#define CONFIG_UNALIGNED_ACCESS 1
#endif

#endif