G_PART macro definitions

Andrey V. Elsukov bu7cher at yandex.ru
Mon Nov 29 07:36:49 UTC 2010


On 29.11.2010 10:07, perryh at pluto.rain.com wrote:
> Yes, I had figured that was probably the sort of thing that was
> happening, but am looking for the details of how the macros are
> defined (so I can figure out what they expand to) and how the
> underlying data structures get initialized.  For example, I would
> expect to find -- somewhere -- some definitions along the lines of
> 
> #define G_PART_PROBE(table, cp) (*(table->XXX))(table, cp)

They are generated from g_part_if.m by with awk script. Look at your build
directory, there are g_part_if.[ch] files.

-- 
WBR, Andrey V. Elsukov

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20101129/96e308bc/signature.pgp


More information about the freebsd-geom mailing list