Lines Matching full:head
23 def list_for_each(head): argument
24 if head.type == list_head.get_type().pointer():
25 head = head.dereference()
26 elif head.type != list_head.get_type():
28 .format(head.type))
30 if head['next'] == 0:
32 .format(head.address))
35 node = head['next'].dereference()
36 while node.address != head.address:
41 def list_for_each_entry(head, gdbtype, member): argument
42 for node in list_for_each(head):
46 def hlist_for_each(head): argument
47 if head.type == hlist_head.get_type().pointer():
48 head = head.dereference()
49 elif head.type != hlist_head.get_type():
51 .format(head.type))
53 node = head['first'].dereference()
59 def hlist_for_each_entry(head, gdbtype, member): argument
60 for node in hlist_for_each(head):
64 def list_check(head): argument
66 if (head.type == list_head.get_type().pointer()):
67 head = head.dereference()
68 elif (head.type != list_head.get_type()):
70 c = head
74 gdb.write('head is not accessible\n')
117 if c == head: