Lines Matching refs:rl_used
887 for (; i < le16_to_cpu(rb->rf_records.rl_used); i++) {
906 if (i < le16_to_cpu(rb->rf_records.rl_used) &&
1169 if (index < le16_to_cpu(rb->rf_records.rl_used) - 1)
1197 if (index < le16_to_cpu(rb->rf_records.rl_used) - 2)
1201 (le16_to_cpu(rb->rf_records.rl_used) - index - 2));
1203 memset(&rb->rf_records.rl_recs[le16_to_cpu(rb->rf_records.rl_used) - 1],
1205 le16_add_cpu(&rb->rf_records.rl_used, -1);
1259 if (index != le16_to_cpu(rl->rl_used) - 1) {
1261 (le16_to_cpu(rl->rl_used) - index - 1) *
1263 memset(&rl->rl_recs[le16_to_cpu(rl->rl_used) - 1],
1267 le16_add_cpu(&rl->rl_used, -1);
1352 le16_to_cpu(new_rb->rf_records.rl_used));
1416 int num_used = le16_to_cpu(rl->rl_used);
1463 le16_to_cpu(rl->rl_count), le16_to_cpu(rl->rl_used));
1477 sort(&rl->rl_recs, le16_to_cpu(rl->rl_used),
1490 num_moved = le16_to_cpu(rl->rl_used) - split_index;
1498 /* change old and new rl_used accordingly. */
1499 le16_add_cpu(&rl->rl_used, -num_moved);
1500 new_rl->rl_used = cpu_to_le16(num_moved);
1502 sort(&rl->rl_recs, le16_to_cpu(rl->rl_used),
1506 sort(&new_rl->rl_recs, le16_to_cpu(new_rl->rl_used),
1752 if (rf_list->rl_used == rf_list->rl_count) {
1783 if (index < le16_to_cpu(rf_list->rl_used))
1786 (le16_to_cpu(rf_list->rl_used) - index) *
1796 le16_add_cpu(&rf_list->rl_used, 1);
1877 if (le16_to_cpu(rf_list->rl_used) + recs_need >
1919 if (index != le16_to_cpu(rf_list->rl_used) - 1)
1922 (le16_to_cpu(rf_list->rl_used) - index - 1) *
1959 le16_add_cpu(&rf_list->rl_used, recs_need);
2087 BUG_ON(rb->rf_records.rl_used);
2210 if (!rb->rf_records.rl_used && ref_leaf_bh != ref_root_bh) {
2403 if (le16_to_cpu(rb->rf_records.rl_used) +
2466 if (le16_to_cpu(rb->rf_records.rl_used) + recs_add >
3582 if (le16_to_cpu(rb->rf_records.rl_used) + clusters * 2 >