Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/scsi/mpt3sas/
Dmpt3sas_scsih.c1579 struct _enclosure_node *enclosure_dev, *r; in mpt3sas_scsih_enclosure_find_by_handle() local
1582 list_for_each_entry(enclosure_dev, &ioc->enclosure_list, list) { in mpt3sas_scsih_enclosure_find_by_handle()
1583 if (le16_to_cpu(enclosure_dev->pg0.EnclosureHandle) != handle) in mpt3sas_scsih_enclosure_find_by_handle()
1585 r = enclosure_dev; in mpt3sas_scsih_enclosure_find_by_handle()
6887 struct _enclosure_node *enclosure_dev; in _scsih_expander_add() local
7027 enclosure_dev = in _scsih_expander_add()
7030 if (enclosure_dev) in _scsih_expander_add()
7032 le64_to_cpu(enclosure_dev->pg0.EnclosureLogicalID); in _scsih_expander_add()
7192 struct _enclosure_node *enclosure_dev = NULL; in _scsih_check_device() local
7254 enclosure_dev = mpt3sas_scsih_enclosure_find_by_handle(ioc, in _scsih_check_device()
[all …]
Dmpt3sas_base.c5748 struct _enclosure_node *enclosure_dev, *enclosure_dev_next; in mpt3sas_free_enclosure_list() local
5751 list_for_each_entry_safe(enclosure_dev, in mpt3sas_free_enclosure_list()
5753 list_del(&enclosure_dev->list); in mpt3sas_free_enclosure_list()
5754 kfree(enclosure_dev); in mpt3sas_free_enclosure_list()
/Linux-v6.1/drivers/scsi/mpi3mr/
Dmpi3mr_os.c1070 struct mpi3mr_enclosure_node *enclosure_dev = NULL; in mpi3mr_update_tgtdev() local
1085 enclosure_dev = mpi3mr_enclosure_find_by_handle(mrioc, in mpi3mr_update_tgtdev()
1087 if (enclosure_dev) in mpi3mr_update_tgtdev()
1089 enclosure_dev->pg0.enclosure_logical_id); in mpi3mr_update_tgtdev()
1347 struct mpi3mr_enclosure_node *enclosure_dev, *enclosure_dev_next; in mpi3mr_free_enclosure_list() local
1349 list_for_each_entry_safe(enclosure_dev, in mpi3mr_free_enclosure_list()
1351 list_del(&enclosure_dev->list); in mpi3mr_free_enclosure_list()
1352 kfree(enclosure_dev); in mpi3mr_free_enclosure_list()
1369 struct mpi3mr_enclosure_node *enclosure_dev, *r = NULL; in mpi3mr_enclosure_find_by_handle() local
1371 list_for_each_entry(enclosure_dev, &mrioc->enclosure_list, list) { in mpi3mr_enclosure_find_by_handle()
[all …]
Dmpi3mr_transport.c1954 struct mpi3mr_enclosure_node *enclosure_dev; in mpi3mr_expander_add() local
2132 enclosure_dev = in mpi3mr_expander_add()
2135 if (enclosure_dev) in mpi3mr_expander_add()
2137 enclosure_dev->pg0.enclosure_logical_id); in mpi3mr_expander_add()