NetBSD/sys/lib
riastradh 7fd36dbc4a Add container_of to libkern.
Given x = &c->f, container_of(x, T, f) yields c, where T is the type
of c.

Discussed on tech-kern a while ago:

https://mail-index.netbsd.org/tech-kern/2013/03/21/msg015131.html
2015-04-20 15:22:17 +00:00
..
libgnuefi
libkern Add container_of to libkern. 2015-04-20 15:22:17 +00:00
libsa
libunwind
libx86emu
libz