Lines Matching refs:ee_len
74 __le16 ee_len; /* number of blocks covered by extent */
146 * MSB of ee_len field in the extent datastructure to signify if this
151 * If ee_len is <= 0x8000, it is an initialized extent. Otherwise, it is an
152 * uninitialized one. In other words, if MSB of ee_len is set, it is an
153 * uninitialized extent with only one special scenario when ee_len = 0x8000.
206 BUG_ON((le16_to_cpu(ext->ee_len) & ~EXT_INIT_MAX_LEN) == 0);
207 ext->ee_len |= cpu_to_le16(EXT_INIT_MAX_LEN);
212 /* Extent with ee_len of 0x8000 is treated as an initialized extent */
213 return (le16_to_cpu(ext->ee_len) > EXT_INIT_MAX_LEN);
218 return (le16_to_cpu(ext->ee_len) <= EXT_INIT_MAX_LEN ?
219 le16_to_cpu(ext->ee_len) :
220 (le16_to_cpu(ext->ee_len) - EXT_INIT_MAX_LEN));
225 ext->ee_len = cpu_to_le16(ext4_ext_get_actual_len(ext));