Lines Matching refs:le16_to_cpu
106 depth = le16_to_cpu(path_root_el(path)->l_tree_depth);
167 BUG_ON(le16_to_cpu(root_el->l_tree_depth) >= OCFS2_MAX_PATH_DEPTH);
171 path->p_tree_depth = le16_to_cpu(root_el->l_tree_depth);
233 le16_to_cpu(ext->e_leaf_clusters));
244 le16_to_cpu(left->e_leaf_clusters);
322 retval = le16_to_cpu(el->l_count) - le16_to_cpu(el->l_next_free_rec);
442 i = le16_to_cpu(el->l_next_free_rec) - 1;
492 new_blocks = le16_to_cpu(el->l_tree_depth);
594 i = le16_to_cpu(el->l_next_free_rec);
682 for(i = 0; i < le16_to_cpu(fe_el->l_next_free_rec); i++)
705 for(i = 1; i < le16_to_cpu(fe_el->l_next_free_rec); i++)
768 while(le16_to_cpu(el->l_tree_depth) > 1) {
769 if (le16_to_cpu(el->l_next_free_rec) == 0) {
776 i = le16_to_cpu(el->l_next_free_rec) - 1;
807 if (le16_to_cpu(el->l_next_free_rec) <
808 le16_to_cpu(el->l_count)) {
845 int next_free = le16_to_cpu(el->l_next_free_rec);
846 int count = le16_to_cpu(el->l_count);
865 next_free = le16_to_cpu(el->l_next_free_rec);
902 insert_cpos, insert_index, has_empty, next_free, le16_to_cpu(el->l_count));
905 BUG_ON(insert_index >= le16_to_cpu(el->l_count));
912 BUG_ON(next_free >= le16_to_cpu(el->l_count));
931 BUG_ON(le16_to_cpu(el->l_next_free_rec) > le16_to_cpu(el->l_count));
946 int next_free = le16_to_cpu(el->l_next_free_rec);
948 BUG_ON(le16_to_cpu(el->l_tree_depth) != 0);
959 le16_to_cpu(el->l_count),
960 le16_to_cpu(el->l_tree_depth));
1034 if (le16_to_cpu(el->l_next_free_rec) == 0) {
1039 le16_to_cpu(el->l_tree_depth));
1045 for(i = 0; i < le16_to_cpu(el->l_next_free_rec) - 1; i++) {
1065 le16_to_cpu(el->l_tree_depth), i);
1087 if (le16_to_cpu(el->l_next_free_rec) >
1088 le16_to_cpu(el->l_count)) {
1094 le16_to_cpu(el->l_next_free_rec),
1095 le16_to_cpu(el->l_count));
1154 if (le16_to_cpu(el->l_tree_depth) == 0) {
1244 BUG_ON(le16_to_cpu(root_el->l_tree_depth) <=
1245 le16_to_cpu(left_el->l_tree_depth));
1247 for(i = 0; i < le16_to_cpu(root_el->l_next_free_rec) - 1; i++) {
1256 BUG_ON(i >= (le16_to_cpu(root_el->l_next_free_rec) - 1));
1307 idx = le16_to_cpu(left_el->l_next_free_rec) - 1;
1373 le16_to_cpu(left_el->l_next_free_rec));
1430 i = le16_to_cpu(left_el->l_next_free_rec) - 1;
1487 for(j = 0; j < le16_to_cpu(el->l_next_free_rec); j++) {
1563 next_free = le16_to_cpu(left_el->l_next_free_rec);
1739 BUG_ON(le16_to_cpu(el->l_tree_depth) != 0);
1751 le16_to_cpu(insert_rec->e_leaf_clusters));
1758 if (le16_to_cpu(el->l_next_free_rec) == 0 ||
1759 ((le16_to_cpu(el->l_next_free_rec) == 1) &&
1770 i = le16_to_cpu(el->l_next_free_rec) - 1;
1773 + le16_to_cpu(rec->e_leaf_clusters);
1776 mlog_bug_on_msg(le16_to_cpu(el->l_next_free_rec) >=
1777 le16_to_cpu(el->l_count),
1782 le16_to_cpu(el->l_tree_depth),
1783 le16_to_cpu(el->l_count),
1784 le16_to_cpu(el->l_next_free_rec),
1786 le16_to_cpu(el->l_recs[i].e_leaf_clusters),
1788 le16_to_cpu(insert_rec->e_leaf_clusters));
1842 next_free = le16_to_cpu(el->l_next_free_rec);
1896 next_free = le16_to_cpu(el->l_next_free_rec);
1909 le16_to_cpu(insert_rec->e_leaf_clusters));
2029 if (le16_to_cpu(el->l_tree_depth) == 0) {
2086 le16_to_cpu(insert_rec->e_leaf_clusters));
2107 BUG_ON(le16_to_cpu(el->l_tree_depth) != 0);
2109 for(i = 0; i < le16_to_cpu(el->l_next_free_rec); i++) {
2140 BUG_ON(le16_to_cpu(el->l_tree_depth) != 0);
2147 if (le16_to_cpu(el->l_next_free_rec) == 1)
2151 i = le16_to_cpu(el->l_next_free_rec) - 1;
2155 (le32_to_cpu(rec->e_cpos) + le16_to_cpu(rec->e_leaf_clusters)))
2191 insert->ins_tree_depth = le16_to_cpu(el->l_tree_depth);
2211 insert->ins_free_records = le16_to_cpu(el->l_count) -
2212 le16_to_cpu(el->l_next_free_rec);
2417 mlog_bug_on_msg(le16_to_cpu(tl->tl_used) > le16_to_cpu(tl->tl_count),
2420 le16_to_cpu(tl->tl_used), le16_to_cpu(tl->tl_count));
2421 return le16_to_cpu(tl->tl_used) == le16_to_cpu(tl->tl_count);
2431 if (!le16_to_cpu(tl->tl_used))
2434 tail_index = le16_to_cpu(tl->tl_used) - 1;
2468 tl_count = le16_to_cpu(tl->tl_count);
2475 le16_to_cpu(tl->tl_count));
2478 index = le16_to_cpu(tl->tl_used);
2543 i = le16_to_cpu(tl->tl_used) - 1;
2624 num_to_flush = le16_to_cpu(tl->tl_used);
2784 if (le16_to_cpu(tl->tl_used)) {
2786 le16_to_cpu(tl->tl_used));
2844 num_recs = le16_to_cpu(tl->tl_used);
2971 next_free = le16_to_cpu(el->l_next_free_rec);
2997 if (le16_to_cpu(rec->e_leaf_clusters) > clusters_to_del)
3059 BUG_ON(le16_to_cpu(el->l_next_free_rec) == 0);
3062 (path->p_tree_depth - le16_to_cpu(el->l_tree_depth))) {
3072 i = le16_to_cpu(el->l_next_free_rec) - 1;
3079 le16_to_cpu(el->l_next_free_rec));
3083 if (le16_to_cpu(el->l_tree_depth) == 0) {
3108 i < le16_to_cpu(el->l_next_free_rec); i++)
3129 new_edge = le16_to_cpu(rec->e_leaf_clusters);
3137 le16_to_cpu(rec->e_leaf_clusters));
3142 if (le16_to_cpu(rec->e_leaf_clusters) == 0) {
3157 if (le16_to_cpu(el->l_next_free_rec) == 0)
3191 le16_to_cpu(el->l_next_free_rec));
3197 if (index > 0 && le16_to_cpu(el->l_next_free_rec) == 0) {
3215 if (le16_to_cpu(eb->h_suballoc_slot) == 0) {
3302 inode->i_ino, le16_to_cpu(el->l_tree_depth));
3655 if (le16_to_cpu(el->l_next_free_rec) == 0) {
3664 i = le16_to_cpu(el->l_next_free_rec) - 1;