Lines Matching defs:bytenr
57 * Simple bytenr based rb_tree relate structures
59 * Any structure wants to use bytenr as single search index should have their
64 u64 bytenr;
67 static inline struct rb_node *rb_simple_search(struct rb_root *root, u64 bytenr)
75 if (bytenr < entry->bytenr)
77 else if (bytenr > entry->bytenr)
86 * Search @root from an entry that starts or comes after @bytenr.
89 * @bytenr: bytenr to search from.
91 * Return the rb_node that start at or after @bytenr. If there is no entry at
95 u64 bytenr)
103 if (bytenr < entry->bytenr) {
104 if (!ret || entry->bytenr < ret_entry->bytenr) {
110 } else if (bytenr > entry->bytenr) {
120 static inline struct rb_node *rb_simple_insert(struct rb_root *root, u64 bytenr,
131 if (bytenr < entry->bytenr)
133 else if (bytenr > entry->bytenr)