Go to the documentation of this file.
41 #define MAXXLEN ((1 << 24) - 1)
44 #define L2XTSLOTSIZE 4
47 #define XADoffset(xad, offset64)\
49 (xad)->off1 = ((u64)offset64) >> 32;\
50 (xad)->off2 = __cpu_to_le32((offset64) & 0xffffffff);\
52 #define XADaddress(xad, address64)\
54 (xad)->addr1 = ((u64)address64) >> 32;\
55 (xad)->addr2 = __cpu_to_le32((address64) & 0xffffffff);\
57 #define XADlength(xad, length32) (xad)->len = __cpu_to_le24(length32)
60 #define offsetXAD(xad)\
61 ( ((s64)((xad)->off1)) << 32 | __le32_to_cpu((xad)->off2))
62 #define addressXAD(xad)\
63 ( ((s64)((xad)->addr1)) << 32 | __le32_to_cpu((xad)->addr2))
64 #define lengthXAD(xad) __le24_to_cpu((xad)->len)
75 #define XAD_EXTENDED 0x02
76 #define XAD_COMPRESSED 0x04
77 #define XAD_NOTRECORDED 0x08
82 #define XTROOTINITSLOT_DIR 6
83 #define XTROOTINITSLOT 10
84 #define XTROOTMAXSLOT 18
85 #define XTPAGEMAXSLOT 256
86 #define XTENTRYSTART 2
128 xad_t * oxad,
s64 nxaddr,
int xtype);
131 int *xlenp,
s64 * xaddrp,
int flag);