Lines Matching refs:le16_to_cpu
98 (sizeof(struct ext4_extent) * le16_to_cpu((hdr)->eh_max)))
167 (le16_to_cpu((__path__)->p_hdr->eh_entries) \
168 < le16_to_cpu((__path__)->p_hdr->eh_max))
170 (EXT_FIRST_EXTENT((__hdr__)) + le16_to_cpu((__hdr__)->eh_entries) - 1)
172 (EXT_FIRST_INDEX((__hdr__)) + le16_to_cpu((__hdr__)->eh_entries) - 1)
174 ((le16_to_cpu((__hdr__)->eh_max)) ? \
175 ((EXT_FIRST_EXTENT((__hdr__)) + le16_to_cpu((__hdr__)->eh_max) - 1)) \
178 ((le16_to_cpu((__hdr__)->eh_max)) ? \
179 ((EXT_FIRST_INDEX((__hdr__)) + le16_to_cpu((__hdr__)->eh_max) - 1)) : 0)
193 return le16_to_cpu(ext_inode_hdr(inode)->eh_depth);
199 BUG_ON((le16_to_cpu(ext->ee_len) & ~EXT_INIT_MAX_LEN) == 0);
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));
230 block |= ((ext4_fsblk_t) le16_to_cpu(ex->ee_start_hi) << 31) << 1;
243 block |= ((ext4_fsblk_t) le16_to_cpu(ix->ei_leaf_hi) << 31) << 1;