Lines Matching refs:rl_used

885 	for (; i < le16_to_cpu(rb->rf_records.rl_used); i++) {
904 if (i < le16_to_cpu(rb->rf_records.rl_used) &&
1167 if (index < le16_to_cpu(rb->rf_records.rl_used) - 1)
1195 if (index < le16_to_cpu(rb->rf_records.rl_used) - 2)
1199 (le16_to_cpu(rb->rf_records.rl_used) - index - 2));
1201 memset(&rb->rf_records.rl_recs[le16_to_cpu(rb->rf_records.rl_used) - 1],
1203 le16_add_cpu(&rb->rf_records.rl_used, -1);
1257 if (index != le16_to_cpu(rl->rl_used) - 1) {
1259 (le16_to_cpu(rl->rl_used) - index - 1) *
1261 memset(&rl->rl_recs[le16_to_cpu(rl->rl_used) - 1],
1265 le16_add_cpu(&rl->rl_used, -1);
1350 le16_to_cpu(new_rb->rf_records.rl_used));
1414 int num_used = le16_to_cpu(rl->rl_used);
1461 le16_to_cpu(rl->rl_count), le16_to_cpu(rl->rl_used));
1475 sort(&rl->rl_recs, le16_to_cpu(rl->rl_used),
1488 num_moved = le16_to_cpu(rl->rl_used) - split_index;
1496 /* change old and new rl_used accordingly. */
1497 le16_add_cpu(&rl->rl_used, -num_moved);
1498 new_rl->rl_used = cpu_to_le16(num_moved);
1500 sort(&rl->rl_recs, le16_to_cpu(rl->rl_used),
1504 sort(&new_rl->rl_recs, le16_to_cpu(new_rl->rl_used),
1750 if (rf_list->rl_used == rf_list->rl_count) {
1781 if (index < le16_to_cpu(rf_list->rl_used))
1784 (le16_to_cpu(rf_list->rl_used) - index) *
1794 le16_add_cpu(&rf_list->rl_used, 1);
1875 if (le16_to_cpu(rf_list->rl_used) + recs_need >
1917 if (index != le16_to_cpu(rf_list->rl_used) - 1)
1920 (le16_to_cpu(rf_list->rl_used) - index - 1) *
1957 le16_add_cpu(&rf_list->rl_used, recs_need);
2085 BUG_ON(rb->rf_records.rl_used);
2208 if (!rb->rf_records.rl_used && ref_leaf_bh != ref_root_bh) {
2401 if (le16_to_cpu(rb->rf_records.rl_used) +
2464 if (le16_to_cpu(rb->rf_records.rl_used) + recs_add >
3553 if (le16_to_cpu(rb->rf_records.rl_used) + clusters * 2 >