Lines Matching refs:curr
438 u16 curr, best; in ocfs2_find_smallest_chain() local
440 best = curr = 0; in ocfs2_find_smallest_chain()
441 while (curr < le16_to_cpu(cl->cl_count)) { in ocfs2_find_smallest_chain()
443 le32_to_cpu(cl->cl_recs[curr].c_total)) in ocfs2_find_smallest_chain()
444 best = curr; in ocfs2_find_smallest_chain()
445 curr++; in ocfs2_find_smallest_chain()
1392 u16 curr, best; in ocfs2_find_victim_chain() local
1396 best = curr = 0; in ocfs2_find_victim_chain()
1397 while (curr < le16_to_cpu(cl->cl_next_free_rec)) { in ocfs2_find_victim_chain()
1398 if (le32_to_cpu(cl->cl_recs[curr].c_free) > in ocfs2_find_victim_chain()
1400 best = curr; in ocfs2_find_victim_chain()
1401 curr++; in ocfs2_find_victim_chain()