Date: Wed, 7 Nov 2012 17:31:35 +0200 From: Konstantin Belousov <kostikbel@gmail.com> To: Larry Rosenman <ler@lerctr.org> Cc: freebsd-current@freebsd.org Subject: Re: sysutils/lsof Author Question (for CLANG).... Message-ID: <20121107153135.GS73505@kib.kiev.ua> In-Reply-To: <5d4c4abe37bd6fffd0c206c1b7b68ce1@webmail.lerctr.org> References: <5d4c4abe37bd6fffd0c206c1b7b68ce1@webmail.lerctr.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--C64opeEuicNVb5KK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 07, 2012 at 09:27:32AM -0600, Larry Rosenman wrote: > Vic Abell (the lsof author) asked me the following: > In adjusting for clang I have come up with an unanswered > question. Where is the VOP_UNLOCK() macro defined? >=20 > I've done a full search of all the files in /usr/src/sys > and can't find its definition, but I find many, many > uses. >=20 > Perhaps someone on the freebsd-current list knows. >=20 > Can someone help me help him? >=20 It is located in the autogenerated file vnode_if.c, which is produced in the kernel build directory by the tools/vnode_if.awk script from the kern/vnode_if.src declaration. --C64opeEuicNVb5KK Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlCaftcACgkQC3+MBN1Mb4gVcgCaAkMPd58zb2IazCxZ54A819A+ uUAAnjZuG2IZ6KT4geWX65nw5AGWQaLg =6eqK -----END PGP SIGNATURE----- --C64opeEuicNVb5KK--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121107153135.GS73505>