From owner-freebsd-fs@freebsd.org Sun Feb 25 01:54:15 2018 Return-Path: Delivered-To: freebsd-fs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 65AD5F34BE3 for ; Sun, 25 Feb 2018 01:54:15 +0000 (UTC) (envelope-from aijazbaig1@gmail.com) Received: from mail-it0-x22e.google.com (mail-it0-x22e.google.com [IPv6:2607:f8b0:4001:c0b::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 04F9D82A9D for ; Sun, 25 Feb 2018 01:54:14 +0000 (UTC) (envelope-from aijazbaig1@gmail.com) Received: by mail-it0-x22e.google.com with SMTP id k79so4404979ita.2 for ; Sat, 24 Feb 2018 17:54:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=IF3iHuB/pSXrwOL8Z3Rn/e/Hh6jwcM1Pt8szY2uOyc4=; b=G3LHsnwmiWhIoibHz7nH3bvrXZidm+3rxASInm5CtY3F6XhmeISTws7HEOL0smMtBX VY2oWodcVi28HjDjYqflbRpYQhweSgFXnHiGRwKWub2eyuZMcxZo9Xu4eu0Y3NsErHNj s+841p/1UPXKlgTD2UDoMfl8zwN3cPxeXbP40Yn9B1ZdnZQyWXCzBNk04i2VKfiVAzq1 DPUfm0L9M+HKXSWWW/+kaRpFZXUYnoZgFi8d0G/xWQSLCSSRxjemFFMnysA+u+mvsUcF D4RAQXc8V1I9PSDWGOkqGkw+7x/9IrzRHntGxGBjoOWeeVtsFNRIzAPlQxAjRKohVtNb iaSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=IF3iHuB/pSXrwOL8Z3Rn/e/Hh6jwcM1Pt8szY2uOyc4=; b=ge7x24FVFyNEl+shBxOAy6LGY5ulMAhdAwYpHrcc13IMpC81rSsQYRS92Imn3wdmMF s6VN/peRqZj3vikcDMBThciRv2uV07r3qTMaJaYLoPkbTPsqGB0E/nxIbMbnbB6rGFln SZGx1u97/1qAc6qaRNZWNUhkBLmtcmiN7jc2jQtW9i8aLXQ0avIDqzg05R37B+sUetB1 +rmGQdh844AdrjHY5CmDnIryjNhnNb6Kr8ZIWIi6Mm6bOSrFx3w6ZYGj9gdGPSRUmg8C cDWNzQ3I9woMlOnkN7GEBPnPovC43WStKadZEhrpsqS7S+Wou5c33XyYPBVnXt4+URsW mUAA== X-Gm-Message-State: APf1xPBbXQe+y8NRU8K+SYzfWyyvqkcvZlSSx+hoV7M/htYUvI58/9B1 ifw8Ii6F0pf9NMMpqVHdUKa78Dot1EN8TWORVLIaaw== X-Google-Smtp-Source: AG47ELtbMa/RY06q69Df/cyjHhkitiO5L8rfY/EywHsnu0vJ7hpe1X14s2rgNv9BlmdDyvTBczGd+lVpmRYdtkZh5Co= X-Received: by 10.36.44.9 with SMTP id i9mr6843476iti.95.1519523654094; Sat, 24 Feb 2018 17:54:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.2.155.169 with HTTP; Sat, 24 Feb 2018 17:54:12 -0800 (PST) From: Aijaz Baig Date: Sun, 25 Feb 2018 07:24:12 +0530 Message-ID: Subject: Regarding vop_vector To: freebsd-fs@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Feb 2018 01:54:15 -0000 Hello I am trying to understand how the VFS layer within FreeBSD and I was rather stumped while trying to find where vop_vector was declared. Upon searching the internet, realized that an awk script is used to "generate" this like so: /sys/tools/vnode_if.awk /sys/kern/vnode_if.src -q So I was wondering if anyone could provide me a (brief would be fine as well) walk through the memory lane as to why such an 'odd looking' way was adopted (perhaps it is brilliant but my thick skull is unable to fathom it's brilliance). Keen to hear from you experts out there please! -- Best Regards, Aijaz Baig