BEFS_BTREE_SEEKLEAF

Section: ()
Updated: 06 October 2005
Index Return to Main Contents

 

NAME

befs_btree_seekleaf - Find the first leafnode in the btree  

SYNOPSIS

"SYNOPSIS"

int befs_btree_seekleaf (struct super_block * sb, befs_data_stream * ds, befs_btree_super * bt_super, befs_btree_node * this_node, befs_off_t * node_off);  

ARGUMENTS

sb
Filesystem superblock
ds
Datastream containing btree
bt_super
Pointer to the superblock of the btree
this_node
Buffer to return the leafnode in
node_off
Pointer to offset of current node within datastream. Modified by the function.
 

DESCRIPTION

Helper function for btree traverse. Moves the current position to the start of the first leaf node.

Also checks for an empty tree. If there are no keys, returns BEFS_BT_EMPTY.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 05:30:25 GMT, October 06, 2005