Lines Matching refs:vi
21 struct vop_info *vi = s->private; in vop_dp_show() local
22 struct vop_device *vpdev = vi->vpdev; in vop_dp_show()
88 schedule_work(&vi->hotplug_work); in vop_dp_show()
96 struct vop_info *vi = s->private; in vop_vdev_info_show() local
101 mutex_lock(&vi->vop_mutex); in vop_vdev_info_show()
102 list_for_each_safe(pos, tmp, &vi->vdev_list) { in vop_vdev_info_show()
164 mutex_unlock(&vi->vop_mutex); in vop_vdev_info_show()
171 void vop_init_debugfs(struct vop_info *vi) in vop_init_debugfs() argument
175 snprintf(name, sizeof(name), "%s%d", KBUILD_MODNAME, vi->vpdev->dnode); in vop_init_debugfs()
176 vi->dbg = debugfs_create_dir(name, NULL); in vop_init_debugfs()
177 debugfs_create_file("dp", 0444, vi->dbg, vi, &vop_dp_fops); in vop_init_debugfs()
178 debugfs_create_file("vdev_info", 0444, vi->dbg, vi, &vop_vdev_info_fops); in vop_init_debugfs()
181 void vop_exit_debugfs(struct vop_info *vi) in vop_exit_debugfs() argument
183 debugfs_remove_recursive(vi->dbg); in vop_exit_debugfs()