Tag: b67bfe0d42cac56c512dd5da4b1b347a23f4b70a

hlist: drop the node parameter from iterators

Author: Sasha Levin <sasha.levin@oracle.com> I’m not sure why, but the hlist for each entry iterators were conceived list_for_each_entry(pos, head, member) The hlist ones were greedy and wanted an extra parameter: hlist_for_each_entry(tpos, pos, head, member) Why did they need an extra pos parameter? I’m not quite sure. Not only they don’t really need it, it also …

Continue reading