Lines Matching refs:root
13 def rb_first(root): argument
14 if root.type == rb_root_type.get_type():
15 node = root.address.cast(rb_root_type.get_type().pointer())
16 elif root.type != rb_root_type.get_type().pointer():
17 raise gdb.GdbError("Must be struct rb_root not {}".format(root.type))
19 node = root['rb_node']
29 def rb_last(root): argument
30 if root.type == rb_root_type.get_type():
31 node = root.address.cast(rb_root_type.get_type().pointer())
32 elif root.type != rb_root_type.get_type().pointer():
33 raise gdb.GdbError("Must be struct rb_root not {}".format(root.type))
35 node = root['rb_node']
109 def invoke(self, root): argument
110 result = rb_first(root)
129 def invoke(self, root): argument
130 result = rb_last(root)