l_next_free_rec 775 fs/ocfs2/alloc.c for(i = 0; i < le16_to_cpu(el->l_next_free_rec); i++) { l_next_free_rec 974 fs/ocfs2/alloc.c retval = le16_to_cpu(el->l_count) - le16_to_cpu(el->l_next_free_rec); l_next_free_rec 1084 fs/ocfs2/alloc.c i = le16_to_cpu(el->l_next_free_rec) - 1; l_next_free_rec 1127 fs/ocfs2/alloc.c rec = &el->l_recs[le16_to_cpu(el->l_next_free_rec) - 1]; l_next_free_rec 1259 fs/ocfs2/alloc.c eb_el->l_next_free_rec = cpu_to_le16(1); l_next_free_rec 1308 fs/ocfs2/alloc.c i = le16_to_cpu(el->l_next_free_rec); l_next_free_rec 1312 fs/ocfs2/alloc.c le16_add_cpu(&el->l_next_free_rec, 1); l_next_free_rec 1395 fs/ocfs2/alloc.c eb_el->l_next_free_rec = root_el->l_next_free_rec; l_next_free_rec 1396 fs/ocfs2/alloc.c for (i = 0; i < le16_to_cpu(root_el->l_next_free_rec); i++) l_next_free_rec 1415 fs/ocfs2/alloc.c for (i = 1; i < le16_to_cpu(root_el->l_next_free_rec); i++) l_next_free_rec 1417 fs/ocfs2/alloc.c root_el->l_next_free_rec = cpu_to_le16(1); l_next_free_rec 1467 fs/ocfs2/alloc.c if (le16_to_cpu(el->l_next_free_rec) == 0) { l_next_free_rec 1473 fs/ocfs2/alloc.c i = le16_to_cpu(el->l_next_free_rec) - 1; l_next_free_rec 1494 fs/ocfs2/alloc.c if (le16_to_cpu(el->l_next_free_rec) < l_next_free_rec 1505 fs/ocfs2/alloc.c if (!lowest_bh && (el->l_next_free_rec == el->l_count)) l_next_free_rec 1598 fs/ocfs2/alloc.c int next_free = le16_to_cpu(el->l_next_free_rec); l_next_free_rec 1618 fs/ocfs2/alloc.c next_free = le16_to_cpu(el->l_next_free_rec); l_next_free_rec 1624 fs/ocfs2/alloc.c BUG_ON(el->l_next_free_rec == el->l_count && !has_empty); l_next_free_rec 1680 fs/ocfs2/alloc.c el->l_next_free_rec = cpu_to_le16(next_free); l_next_free_rec 1684 fs/ocfs2/alloc.c BUG_ON(le16_to_cpu(el->l_next_free_rec) > le16_to_cpu(el->l_count)); l_next_free_rec 1692 fs/ocfs2/alloc.c int size, num_recs = le16_to_cpu(el->l_next_free_rec); l_next_free_rec 1702 fs/ocfs2/alloc.c el->l_next_free_rec = cpu_to_le16(num_recs); l_next_free_rec 1715 fs/ocfs2/alloc.c int next_free = le16_to_cpu(el->l_next_free_rec); l_next_free_rec 1725 fs/ocfs2/alloc.c mlog_bug_on_msg(el->l_count == el->l_next_free_rec, l_next_free_rec 1734 fs/ocfs2/alloc.c le16_add_cpu(&el->l_next_free_rec, 1); l_next_free_rec 1802 fs/ocfs2/alloc.c if (le16_to_cpu(el->l_next_free_rec) == 0) { l_next_free_rec 1812 fs/ocfs2/alloc.c for(i = 0; i < le16_to_cpu(el->l_next_free_rec) - 1; i++) { l_next_free_rec 1847 fs/ocfs2/alloc.c if (le16_to_cpu(el->l_next_free_rec) > l_next_free_rec 1853 fs/ocfs2/alloc.c le16_to_cpu(el->l_next_free_rec), l_next_free_rec 1974 fs/ocfs2/alloc.c BUG_ON(le16_to_cpu(right_child_el->l_next_free_rec) <= 1); l_next_free_rec 2010 fs/ocfs2/alloc.c for(i = 0; i < le16_to_cpu(root_el->l_next_free_rec) - 1; i++) { l_next_free_rec 2019 fs/ocfs2/alloc.c BUG_ON(i >= (le16_to_cpu(root_el->l_next_free_rec) - 1)); l_next_free_rec 2072 fs/ocfs2/alloc.c idx = le16_to_cpu(left_el->l_next_free_rec) - 1; l_next_free_rec 2124 fs/ocfs2/alloc.c if (left_el->l_next_free_rec != left_el->l_count) { l_next_free_rec 2129 fs/ocfs2/alloc.c le16_to_cpu(left_el->l_next_free_rec)); l_next_free_rec 2170 fs/ocfs2/alloc.c mlog_bug_on_msg(!right_el->l_next_free_rec, "Inode %llu: Rotate fails " l_next_free_rec 2180 fs/ocfs2/alloc.c i = le16_to_cpu(left_el->l_next_free_rec) - 1; l_next_free_rec 2191 fs/ocfs2/alloc.c le16_add_cpu(&left_el->l_next_free_rec, -1); l_next_free_rec 2194 fs/ocfs2/alloc.c le16_add_cpu(&left_el->l_next_free_rec, 1); l_next_free_rec 2233 fs/ocfs2/alloc.c for(j = 0; j < le16_to_cpu(el->l_next_free_rec); j++) { l_next_free_rec 2316 fs/ocfs2/alloc.c next_free = le16_to_cpu(left_el->l_next_free_rec); l_next_free_rec 2326 fs/ocfs2/alloc.c int next_free = le16_to_cpu(el->l_next_free_rec); l_next_free_rec 2545 fs/ocfs2/alloc.c BUG_ON(le16_to_cpu(el->l_next_free_rec) == 0); l_next_free_rec 2546 fs/ocfs2/alloc.c idx = le16_to_cpu(el->l_next_free_rec) - 1; l_next_free_rec 2552 fs/ocfs2/alloc.c idx = le16_to_cpu(el->l_next_free_rec) - 1; l_next_free_rec 2583 fs/ocfs2/alloc.c if (le16_to_cpu(el->l_next_free_rec) > 1) { l_next_free_rec 2589 fs/ocfs2/alloc.c le16_to_cpu(el->l_next_free_rec)); l_next_free_rec 2596 fs/ocfs2/alloc.c el->l_next_free_rec = 0; l_next_free_rec 2623 fs/ocfs2/alloc.c for(i = 1; i < le16_to_cpu(root_el->l_next_free_rec); i++) l_next_free_rec 2627 fs/ocfs2/alloc.c BUG_ON(i >= le16_to_cpu(root_el->l_next_free_rec)); l_next_free_rec 2630 fs/ocfs2/alloc.c le16_add_cpu(&root_el->l_next_free_rec, -1); l_next_free_rec 2683 fs/ocfs2/alloc.c if (le16_to_cpu(right_leaf_el->l_next_free_rec) > 1) { l_next_free_rec 2698 fs/ocfs2/alloc.c le16_to_cpu(right_leaf_el->l_next_free_rec) == 1) { l_next_free_rec 2831 fs/ocfs2/alloc.c next_free = le16_to_cpu(el->l_next_free_rec); l_next_free_rec 2832 fs/ocfs2/alloc.c for(j = 0; j < le16_to_cpu(el->l_next_free_rec); j++) { l_next_free_rec 3093 fs/ocfs2/alloc.c el->l_next_free_rec = 0; l_next_free_rec 3193 fs/ocfs2/alloc.c if (le16_to_cpu(el->l_next_free_rec) > 1) l_next_free_rec 3196 fs/ocfs2/alloc.c if (le16_to_cpu(el->l_next_free_rec) == 0) { l_next_free_rec 3304 fs/ocfs2/alloc.c BUG_ON(left_el->l_next_free_rec != left_el->l_count); l_next_free_rec 3360 fs/ocfs2/alloc.c BUG_ON(index >= le16_to_cpu(el->l_next_free_rec)); l_next_free_rec 3363 fs/ocfs2/alloc.c if (index == le16_to_cpu(el->l_next_free_rec) - 1 && l_next_free_rec 3364 fs/ocfs2/alloc.c le16_to_cpu(el->l_next_free_rec) == le16_to_cpu(el->l_count)) { l_next_free_rec 3373 fs/ocfs2/alloc.c next_free = le16_to_cpu(right_el->l_next_free_rec); l_next_free_rec 3424 fs/ocfs2/alloc.c BUG_ON(index == le16_to_cpu(el->l_next_free_rec) - 1); l_next_free_rec 3538 fs/ocfs2/alloc.c BUG_ON(le16_to_cpu(left_el->l_next_free_rec) != l_next_free_rec 3542 fs/ocfs2/alloc.c le16_to_cpu(left_el->l_next_free_rec) - 1]; l_next_free_rec 3623 fs/ocfs2/alloc.c le16_to_cpu(el->l_next_free_rec) == 1) { l_next_free_rec 3899 fs/ocfs2/alloc.c if (le16_to_cpu(el->l_next_free_rec) == 0 || l_next_free_rec 3900 fs/ocfs2/alloc.c ((le16_to_cpu(el->l_next_free_rec) == 1) && l_next_free_rec 3903 fs/ocfs2/alloc.c el->l_next_free_rec = cpu_to_le16(1); l_next_free_rec 3911 fs/ocfs2/alloc.c i = le16_to_cpu(el->l_next_free_rec) - 1; l_next_free_rec 3917 fs/ocfs2/alloc.c mlog_bug_on_msg(le16_to_cpu(el->l_next_free_rec) >= l_next_free_rec 3925 fs/ocfs2/alloc.c le16_to_cpu(el->l_next_free_rec), l_next_free_rec 3932 fs/ocfs2/alloc.c le16_add_cpu(&el->l_next_free_rec, 1); l_next_free_rec 3967 fs/ocfs2/alloc.c next_free = le16_to_cpu(el->l_next_free_rec); l_next_free_rec 4011 fs/ocfs2/alloc.c next_free = le16_to_cpu(el->l_next_free_rec); l_next_free_rec 4389 fs/ocfs2/alloc.c if (le16_to_cpu(new_el->l_next_free_rec) != l_next_free_rec 4396 fs/ocfs2/alloc.c le16_to_cpu(new_el->l_next_free_rec), l_next_free_rec 4401 fs/ocfs2/alloc.c le16_to_cpu(new_el->l_next_free_rec) - 1]; l_next_free_rec 4419 fs/ocfs2/alloc.c if (index < (le16_to_cpu(el->l_next_free_rec) - 1)) l_next_free_rec 4421 fs/ocfs2/alloc.c else if (le16_to_cpu(el->l_next_free_rec) == le16_to_cpu(el->l_count) && l_next_free_rec 4444 fs/ocfs2/alloc.c if (le16_to_cpu(new_el->l_next_free_rec) <= 1) { l_next_free_rec 4450 fs/ocfs2/alloc.c le16_to_cpu(new_el->l_next_free_rec)); l_next_free_rec 4489 fs/ocfs2/alloc.c for(i = 0; i < le16_to_cpu(el->l_next_free_rec); i++) { l_next_free_rec 4537 fs/ocfs2/alloc.c if (!el->l_next_free_rec) l_next_free_rec 4542 fs/ocfs2/alloc.c if (le16_to_cpu(el->l_next_free_rec) == 1) l_next_free_rec 4546 fs/ocfs2/alloc.c i = le16_to_cpu(el->l_next_free_rec) - 1; l_next_free_rec 4616 fs/ocfs2/alloc.c le16_to_cpu(el->l_next_free_rec); l_next_free_rec 4937 fs/ocfs2/alloc.c if (le16_to_cpu(rightmost_el->l_next_free_rec) == l_next_free_rec 5318 fs/ocfs2/alloc.c if (le16_to_cpu(rightmost_el->l_next_free_rec) == l_next_free_rec 5377 fs/ocfs2/alloc.c if (index == (le16_to_cpu(el->l_next_free_rec) - 1) && l_next_free_rec 5412 fs/ocfs2/alloc.c if (left_cpos && le16_to_cpu(el->l_next_free_rec) > 1) { l_next_free_rec 5458 fs/ocfs2/alloc.c next_free = le16_to_cpu(el->l_next_free_rec); l_next_free_rec 7023 fs/ocfs2/alloc.c di->id2.i_list.l_next_free_rec = 0; l_next_free_rec 7291 fs/ocfs2/alloc.c if (le16_to_cpu(el->l_next_free_rec) == 0) { l_next_free_rec 7300 fs/ocfs2/alloc.c i = le16_to_cpu(el->l_next_free_rec) - 1; l_next_free_rec 798 fs/ocfs2/dir.c for (i = le16_to_cpu(el->l_next_free_rec) - 1; i >= 0; i--) { l_next_free_rec 303 fs/ocfs2/extent_map.c next_free = le16_to_cpu(el->l_next_free_rec); l_next_free_rec 324 fs/ocfs2/extent_map.c for(i = 0; i < le16_to_cpu(el->l_next_free_rec); i++) { l_next_free_rec 357 fs/ocfs2/extent_map.c if (i == le16_to_cpu(el->l_next_free_rec) && eb_bh) { l_next_free_rec 381 fs/ocfs2/extent_map.c if (i == le16_to_cpu(el->l_next_free_rec)) { l_next_free_rec 493 fs/ocfs2/extent_map.c if (i == (le16_to_cpu(el->l_next_free_rec) - 1)) { l_next_free_rec 1618 fs/ocfs2/file.c for (i = le16_to_cpu(el->l_next_free_rec) - 1; i >= 0; i--) { l_next_free_rec 575 fs/ocfs2/namei.c fel->l_next_free_rec = 0; l_next_free_rec 469 fs/ocfs2/ocfs2_fs.h __le16 l_next_free_rec; /* Next unused extent slot */ l_next_free_rec 1606 fs/ocfs2/ocfs2_fs.h if (!gd->bg_list.l_next_free_rec) l_next_free_rec 970 fs/ocfs2/refcounttree.c if (index < le16_to_cpu(el->l_next_free_rec) - 1) { l_next_free_rec 1034 fs/ocfs2/refcounttree.c for (i = 0; i < le16_to_cpu(tmp_el->l_next_free_rec); i++) { l_next_free_rec 1041 fs/ocfs2/refcounttree.c BUG_ON(i == le16_to_cpu(tmp_el->l_next_free_rec)); l_next_free_rec 1104 fs/ocfs2/refcounttree.c for (i = le16_to_cpu(el->l_next_free_rec) - 1; i >= 0; i--) { l_next_free_rec 1342 fs/ocfs2/refcounttree.c root_rb->rf_list.l_next_free_rec = cpu_to_le16(1); l_next_free_rec 1715 fs/ocfs2/refcounttree.c for (i = 0; i < le16_to_cpu(el->l_next_free_rec); i++) l_next_free_rec 1719 fs/ocfs2/refcounttree.c BUG_ON(i == le16_to_cpu(el->l_next_free_rec)); l_next_free_rec 2131 fs/ocfs2/refcounttree.c if (!rb->rf_list.l_next_free_rec) { l_next_free_rec 2666 fs/ocfs2/refcounttree.c for (i = 0; i < le16_to_cpu(el->l_next_free_rec); i++) { l_next_free_rec 2801 fs/ocfs2/refcounttree.c if (i + 1 == le16_to_cpu(el->l_next_free_rec) && l_next_free_rec 329 fs/ocfs2/suballoc.c if (!el->l_next_free_rec) l_next_free_rec 331 fs/ocfs2/suballoc.c rec = &el->l_recs[le16_to_cpu(el->l_next_free_rec)]; l_next_free_rec 339 fs/ocfs2/suballoc.c le16_add_cpu(&el->l_next_free_rec, 1); l_next_free_rec 509 fs/ocfs2/suballoc.c while ((needed > 0) && (le16_to_cpu(el->l_next_free_rec) < l_next_free_rec 560 fs/ocfs2/suballoc.c for (i = 0; i < le16_to_cpu(el->l_next_free_rec); i++) { l_next_free_rec 1655 fs/ocfs2/suballoc.c !bg->bg_list.l_next_free_rec) l_next_free_rec 1658 fs/ocfs2/suballoc.c for (i = 0; i < le16_to_cpu(bg->bg_list.l_next_free_rec); i++) { l_next_free_rec 2658 fs/ocfs2/xattr.c le16_to_cpu(el->l_next_free_rec)) * l_next_free_rec 2923 fs/ocfs2/xattr.c xr->xt_list.l_next_free_rec = cpu_to_le16(1); l_next_free_rec 3718 fs/ocfs2/xattr.c for (i = le16_to_cpu(el->l_next_free_rec) - 1; i >= 0; i--) { l_next_free_rec 3938 fs/ocfs2/xattr.c if (le16_to_cpu(el->l_next_free_rec) == 0) l_next_free_rec 4093 fs/ocfs2/xattr.c if (!el->l_next_free_rec || !rec_func) l_next_free_rec 4350 fs/ocfs2/xattr.c xr->xt_list.l_next_free_rec = cpu_to_le16(1); l_next_free_rec 6238 fs/ocfs2/xattr.c le16_to_cpu(xv->xr_list.l_next_free_rec); l_next_free_rec 6248 fs/ocfs2/xattr.c *num_recs += le16_to_cpu(xv->xr_list.l_next_free_rec); l_next_free_rec 6315 fs/ocfs2/xattr.c le16_to_cpu(rb->rf_list.l_next_free_rec) + 1; l_next_free_rec 6790 fs/ocfs2/xattr.c le16_to_cpu(rb->rf_list.l_next_free_rec) + 1;