Go to the documentation of this file.
11 #include <asm/uaccess.h>
13 #define EFS_VERSION "1.0a"
19 #define EFS_BLOCKSIZE_BITS 9
20 #define EFS_BLOCKSIZE (1 << EFS_BLOCKSIZE_BITS)
25 #define EFS_DIRECTEXTENTS 12
79 #define EFS_DIRBSIZE_BITS EFS_BLOCKSIZE_BITS
80 #define EFS_DIRBSIZE (1 << EFS_DIRBSIZE_BITS)
88 #define EFS_DENTSIZE (sizeof(struct efs_dentry) - 3 + 1)
89 #define EFS_MAXNAMELEN ((1 << (sizeof(char) * 8)) - 1)
91 #define EFS_DIRBLK_HEADERSIZE 4
92 #define EFS_DIRBLK_MAGIC 0xbeef
102 #define EFS_MAXENTS \
103 ((EFS_DIRBSIZE - EFS_DIRBLK_HEADERSIZE) / \
104 (EFS_DENTSIZE + sizeof(char)))
106 #define EFS_SLOTAT(dir, slot) EFS_REALOFF((dir)->space[slot])
108 #define EFS_REALOFF(offset) ((offset << 1))
134 int fh_len,
int fh_type);
136 int fh_len,
int fh_type);