Lines Matching refs:curr
422 u16 curr, best; in ocfs2_find_smallest_chain() local
424 best = curr = 0; in ocfs2_find_smallest_chain()
425 while (curr < le16_to_cpu(cl->cl_count)) { in ocfs2_find_smallest_chain()
427 le32_to_cpu(cl->cl_recs[curr].c_total)) in ocfs2_find_smallest_chain()
428 best = curr; in ocfs2_find_smallest_chain()
429 curr++; in ocfs2_find_smallest_chain()
1375 u16 curr, best; in ocfs2_find_victim_chain() local
1379 best = curr = 0; in ocfs2_find_victim_chain()
1380 while (curr < le16_to_cpu(cl->cl_next_free_rec)) { in ocfs2_find_victim_chain()
1381 if (le32_to_cpu(cl->cl_recs[curr].c_free) > in ocfs2_find_victim_chain()
1383 best = curr; in ocfs2_find_victim_chain()
1384 curr++; in ocfs2_find_victim_chain()