sas_phymap_phys_next
while ((phynum = sas_phymap_phys_next(phys)) != -1) {
extern int sas_phymap_phys_next(sas_phymap_phys_t *phys);