Lines Matching refs:curr
388 u16 curr, best; in ocfs2_find_smallest_chain() local
390 best = curr = 0; in ocfs2_find_smallest_chain()
391 while (curr < le16_to_cpu(cl->cl_count)) { in ocfs2_find_smallest_chain()
393 le32_to_cpu(cl->cl_recs[curr].c_total)) in ocfs2_find_smallest_chain()
394 best = curr; in ocfs2_find_smallest_chain()
395 curr++; in ocfs2_find_smallest_chain()
1022 u16 curr, best; in ocfs2_find_victim_chain() local
1026 best = curr = 0; in ocfs2_find_victim_chain()
1027 while (curr < le16_to_cpu(cl->cl_next_free_rec)) { in ocfs2_find_victim_chain()
1028 if (le32_to_cpu(cl->cl_recs[curr].c_free) > in ocfs2_find_victim_chain()
1030 best = curr; in ocfs2_find_victim_chain()
1031 curr++; in ocfs2_find_victim_chain()