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