MCPcopy Create free account
hub / github.com/bobranten/Ext4Fsd / rb_first

Function rb_first

Ext4Fsd/rbtree.c:294–304  ·  view source on GitHub ↗

* This function returns the first node (in sort order) of the tree. */

Source from the content-addressed store, hash-verified

292 * This function returns the first node (in sort order) of the tree.
293 */
294struct rb_node *rb_first(struct rb_root *root)
295{
296 struct rb_node *n;
297
298 n = root->rb_node;
299 if (!n)
300 return NULL;
301 while (n->rb_left)
302 n = n->rb_left;
303 return n;
304}
305EXPORT_SYMBOL(rb_first);
306
307struct rb_node *rb_last(struct rb_root *root)

Callers 3

Ext2FlushVcbFunction · 0.85
ext3_dx_readdirFunction · 0.85
ext4_xattr_purge_itemsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected