Home
last modified time | relevance | path

Searched refs:enclosure_dev (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/scsi/mpt3sas/
Dmpt3sas_scsih.c1369 struct _enclosure_node *enclosure_dev, *r; in mpt3sas_scsih_enclosure_find_by_handle() local
1372 list_for_each_entry(enclosure_dev, &ioc->enclosure_list, list) { in mpt3sas_scsih_enclosure_find_by_handle()
1373 if (le16_to_cpu(enclosure_dev->pg0.EnclosureHandle) != handle) in mpt3sas_scsih_enclosure_find_by_handle()
1375 r = enclosure_dev; in mpt3sas_scsih_enclosure_find_by_handle()
5651 struct _enclosure_node *enclosure_dev; in _scsih_expander_add() local
5775 enclosure_dev = in _scsih_expander_add()
5778 if (enclosure_dev) in _scsih_expander_add()
5780 le64_to_cpu(enclosure_dev->pg0.EnclosureLogicalID); in _scsih_expander_add()
5935 struct _enclosure_node *enclosure_dev = NULL; in _scsih_check_device() local
5993 enclosure_dev = mpt3sas_scsih_enclosure_find_by_handle(ioc, in _scsih_check_device()
[all …]
Dmpt3sas_base.c4671 struct _enclosure_node *enclosure_dev, *enclosure_dev_next; in mpt3sas_free_enclosure_list() local
4674 list_for_each_entry_safe(enclosure_dev, in mpt3sas_free_enclosure_list()
4676 list_del(&enclosure_dev->list); in mpt3sas_free_enclosure_list()
4677 kfree(enclosure_dev); in mpt3sas_free_enclosure_list()