Lines Matching refs:vi
33 struct vop_info *vi = s->private; in vop_dp_show() local
34 struct vop_device *vpdev = vi->vpdev; in vop_dp_show()
100 schedule_work(&vi->hotplug_work); in vop_dp_show()
124 struct vop_info *vi = s->private; in vop_vdev_info_show() local
129 mutex_lock(&vi->vop_mutex); in vop_vdev_info_show()
130 list_for_each_safe(pos, tmp, &vi->vdev_list) { in vop_vdev_info_show()
192 mutex_unlock(&vi->vop_mutex); in vop_vdev_info_show()
215 void vop_init_debugfs(struct vop_info *vi) in vop_init_debugfs() argument
219 snprintf(name, sizeof(name), "%s%d", KBUILD_MODNAME, vi->vpdev->dnode); in vop_init_debugfs()
220 vi->dbg = debugfs_create_dir(name, NULL); in vop_init_debugfs()
221 if (!vi->dbg) { in vop_init_debugfs()
225 debugfs_create_file("dp", 0444, vi->dbg, vi, &dp_ops); in vop_init_debugfs()
226 debugfs_create_file("vdev_info", 0444, vi->dbg, vi, &vdev_info_ops); in vop_init_debugfs()
229 void vop_exit_debugfs(struct vop_info *vi) in vop_exit_debugfs() argument
231 debugfs_remove_recursive(vi->dbg); in vop_exit_debugfs()