[英]Where is struct vop_vector declared?
I'm trying to understand the VFS of FreeBSD 10.3. 我试图了解FreeBSD 10.3的VFS。 One of its central structures is the struct vop_vector
which contains function pointers to the implementations of the abstract file system operations. 它的中心结构之一是struct vop_vector
,它包含指向抽象文件系统操作的实现的函数指针。
I expected it to be declared in /usr/include/sys/vnode.h
but it wasn't there. 我希望它可以在/usr/include/sys/vnode.h
声明,但是它不存在。 After 10 minutes of searching I haven't found the place where this structure is declared. 经过10分钟的搜索,我没有找到声明此结构的位置。 Where can I find it? 在哪里可以找到它?
AWK脚本/sys/tools/vnode_if.awk
生成带有-q
选项的声明:
/sys/tools/vnode_if.awk /sys/kern/vnode_if.src -q
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.