Lines Matching refs:megasas_mgmt_info
174 struct megasas_mgmt_info megasas_mgmt_info; variable
1774 for (i = 0; i < megasas_mgmt_info.max_index; i++) { in megasas_lookup_instance()
1776 if ((megasas_mgmt_info.instance[i]) && in megasas_lookup_instance()
1777 (megasas_mgmt_info.instance[i]->host->host_no == host_no)) in megasas_lookup_instance()
1778 return megasas_mgmt_info.instance[i]; in megasas_lookup_instance()
6545 megasas_mgmt_info.count++; in megasas_probe_one()
6546 megasas_mgmt_info.instance[megasas_mgmt_info.max_index] = instance; in megasas_probe_one()
6547 megasas_mgmt_info.max_index++; in megasas_probe_one()
6577 megasas_mgmt_info.count--; in megasas_probe_one()
6578 megasas_mgmt_info.max_index--; in megasas_probe_one()
6579 megasas_mgmt_info.instance[megasas_mgmt_info.max_index] = NULL; in megasas_probe_one()
6943 for (i = 0; i < megasas_mgmt_info.max_index; i++) { in megasas_detach_one()
6944 if (megasas_mgmt_info.instance[i] == instance) { in megasas_detach_one()
6945 megasas_mgmt_info.count--; in megasas_detach_one()
6946 megasas_mgmt_info.instance[i] = NULL; in megasas_detach_one()
7120 for (i = 0; i < megasas_mgmt_info.max_index; i++) { in megasas_set_crash_dump_params_ioctl()
7121 local_instance = megasas_mgmt_info.instance[i]; in megasas_set_crash_dump_params_ioctl()
7843 memset(&megasas_mgmt_info, 0, sizeof(megasas_mgmt_info)); in megasas_init()