Lines Matching refs:ee_len
65 __le16 ee_len; /* number of blocks covered by extent */
142 * MSB of ee_len field in the extent datastructure to signify if this
147 * If ee_len is <= 0x8000, it is an initialized extent. Otherwise, it is an
148 * unwritten one. In other words, if MSB of ee_len is set, it is an
149 * unwritten extent with only one special scenario when ee_len = 0x8000.
199 BUG_ON((le16_to_cpu(ext->ee_len) & ~EXT_INIT_MAX_LEN) == 0);
200 ext->ee_len |= cpu_to_le16(EXT_INIT_MAX_LEN);
205 /* Extent with ee_len of 0x8000 is treated as an initialized extent */
206 return (le16_to_cpu(ext->ee_len) > EXT_INIT_MAX_LEN);
211 return (le16_to_cpu(ext->ee_len) <= EXT_INIT_MAX_LEN ?
212 le16_to_cpu(ext->ee_len) :
213 (le16_to_cpu(ext->ee_len) - EXT_INIT_MAX_LEN));
218 ext->ee_len = cpu_to_le16(ext4_ext_get_actual_len(ext));