From owner-freebsd-questions@FreeBSD.ORG Sun May 24 04:00:48 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D14F715B for ; Sun, 24 May 2015 04:00:48 +0000 (UTC) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B20B916DB for ; Sun, 24 May 2015 04:00:48 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id t4O40gFm033253 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 23 May 2015 21:00:42 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.14.2/Submit) with UUCP id t4O40fio033252; Sat, 23 May 2015 21:00:41 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: from fbsd81 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA14273; Sat, 23 May 15 20:36:18 PDT Date: Sat, 23 May 2015 20:36:17 -0700 From: perryh@pluto.rain.com (Perry Hutchison) To: ps06756@gmail.com Cc: freebsd-questions@freebsd.org, jd1008@gmail.com Subject: Re: Map virtual address to physical address Message-Id: <55614731.qluRRaPx6vh/ONPm%perryh@pluto.rain.com> References: <55612902.8090402@gmail.com> In-Reply-To: User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 May 2015 04:00:48 -0000 Pratik Singhal wrote: > Can you please tell in which header file is it declared ? find(1) and xargs(1) are your friends: find /usr/include /usr/src/sys -type f -name '*.h' -print0 \ | xargs -0 egrep -i vtop | less That will give you the correct answer(s) for whichever version of the source you are working with. (Shell command and continuation-line prompts not shown, since they depend on which shell you are using.)