Go to the documentation of this file.
4 #define UFS_MAX_GROUP_LOADED 8
5 #define UFS_CGNO_EMPTY ((unsigned)-1)
48 #define UFS_MOUNT_ONERROR 0x0000000F
49 #define UFS_MOUNT_ONERROR_PANIC 0x00000001
50 #define UFS_MOUNT_ONERROR_LOCK 0x00000002
51 #define UFS_MOUNT_ONERROR_UMOUNT 0x00000004
52 #define UFS_MOUNT_ONERROR_REPAIR 0x00000008
54 #define UFS_MOUNT_UFSTYPE 0x0000FFF0
55 #define UFS_MOUNT_UFSTYPE_OLD 0x00000010
56 #define UFS_MOUNT_UFSTYPE_44BSD 0x00000020
57 #define UFS_MOUNT_UFSTYPE_SUN 0x00000040
58 #define UFS_MOUNT_UFSTYPE_NEXTSTEP 0x00000080
59 #define UFS_MOUNT_UFSTYPE_NEXTSTEP_CD 0x00000100
60 #define UFS_MOUNT_UFSTYPE_OPENSTEP 0x00000200
61 #define UFS_MOUNT_UFSTYPE_SUNx86 0x00000400
62 #define UFS_MOUNT_UFSTYPE_HP 0x00000800
63 #define UFS_MOUNT_UFSTYPE_UFS2 0x00001000
64 #define UFS_MOUNT_UFSTYPE_SUNOS 0x00002000
66 #define ufs_clear_opt(o,opt) o &= ~UFS_MOUNT_##opt
67 #define ufs_set_opt(o,opt) o |= UFS_MOUNT_##opt
68 #define ufs_test_opt(o,opt) ((o) & UFS_MOUNT_##opt)
73 #ifdef CONFIG_UFS_DEBUG
74 # define UFSD(f, a...) { \
75 printk ("UFSD (%s, %d): %s:", \
76 __FILE__, __LINE__, __func__); \
80 # define UFSD(f, a...)
87 unsigned,
int *,
struct page *);
129 extern __printf(3, 4)
143 return sb->s_fs_info;