Lines Matching refs:cur
139 struct tree_mod_elem *cur;
148 cur = rb_entry(*new, struct tree_mod_elem, node);
150 if (cur->logical < tm->logical)
152 else if (cur->logical > tm->logical)
154 else if (cur->seq < tm->seq)
156 else if (cur->seq > tm->seq)
479 struct tree_mod_elem *cur = NULL;
486 cur = rb_entry(node, struct tree_mod_elem, node);
487 if (cur->logical < start) {
489 } else if (cur->logical > start) {
491 } else if (cur->seq < min_seq) {
496 BUG_ON(found->seq > cur->seq);
497 found = cur;
499 } else if (cur->seq > min_seq) {
502 BUG_ON(found->seq < cur->seq);
503 found = cur;
506 found = cur;