Lines Matching defs:bytenr
59 * Simple bytenr based rb_tree relate structures
61 * Any structure wants to use bytenr as single search index should have their
66 u64 bytenr;
69 static inline struct rb_node *rb_simple_search(struct rb_root *root, u64 bytenr)
77 if (bytenr < entry->bytenr)
79 else if (bytenr > entry->bytenr)
88 * Search @root from an entry that starts or comes after @bytenr.
91 * @bytenr: bytenr to search from.
93 * Return the rb_node that start at or after @bytenr. If there is no entry at
97 u64 bytenr)
105 if (bytenr < entry->bytenr) {
106 if (!ret || entry->bytenr < ret_entry->bytenr) {
112 } else if (bytenr > entry->bytenr) {
122 static inline struct rb_node *rb_simple_insert(struct rb_root *root, u64 bytenr,
133 if (bytenr < entry->bytenr)
135 else if (bytenr > entry->bytenr)