Lines Matching refs:instance
62 struct megasas_instance *instance = inode->i_private; in megasas_debugfs_raidmap_open() local
66 fusion = instance->ctrl_context; in megasas_debugfs_raidmap_open()
72 debug->buf = (void *)fusion->ld_drv_map[(instance->map_id & 1)]; in megasas_debugfs_raidmap_open()
122 megasas_setup_debugfs(struct megasas_instance *instance) in megasas_setup_debugfs() argument
127 fusion = instance->ctrl_context; in megasas_setup_debugfs()
131 "scsi_host%d", instance->host->host_no); in megasas_setup_debugfs()
132 if (!instance->debugfs_root) { in megasas_setup_debugfs()
133 instance->debugfs_root = in megasas_setup_debugfs()
135 if (!instance->debugfs_root) { in megasas_setup_debugfs()
136 dev_err(&instance->pdev->dev, in megasas_setup_debugfs()
143 instance->raidmap_dump = in megasas_setup_debugfs()
145 instance->debugfs_root, instance, in megasas_setup_debugfs()
147 if (!instance->raidmap_dump) { in megasas_setup_debugfs()
148 dev_err(&instance->pdev->dev, in megasas_setup_debugfs()
150 debugfs_remove(instance->debugfs_root); in megasas_setup_debugfs()
161 void megasas_destroy_debugfs(struct megasas_instance *instance) in megasas_destroy_debugfs() argument
163 debugfs_remove_recursive(instance->debugfs_root); in megasas_destroy_debugfs()
173 void megasas_setup_debugfs(struct megasas_instance *instance) in megasas_setup_debugfs() argument
176 void megasas_destroy_debugfs(struct megasas_instance *instance) in megasas_destroy_debugfs() argument