Searched refs:sf_map (Results 1 – 2 of 2) sorted by relevance
/titanic_41/usr/src/lib/storage/libg_fc/common/ |
H A D | map.c | 1549 sf_al_map_t sf_map; in create_map() local 1853 (void) memset(&sf_map, 0, sizeof (struct sf_al_map)); in create_map() 1854 if (ioctl(fd, SFIOCGMAP, &sf_map) != 0) { in create_map() 1860 if ((sf_map.sf_count > 126) || (sf_map.sf_count < 0)) { in create_map() 1864 if (sf_map.sf_count == 0) { in create_map() 1869 map_ptr->count = sf_map.sf_count; in create_map() 1877 for (i = 0; i < sf_map.sf_count; i++, dev_ptr++) { in create_map() 1878 if (sf_map.sf_addr_pair[i].sf_al_pa > 0xef) { in create_map() 1886 sf_map.sf_addr_pair[i]; in create_map() 1890 sf_map.sf_hba_addr; in create_map() [all …]
|
/titanic_41/usr/src/cmd/luxadm/ |
H A D | g_adm.c | 6517 sf_al_map_t sf_map; in get_FC4_host_controller_pwwn() local 6532 memset(&sf_map, 0, sizeof (sf_al_map_t)); in get_FC4_host_controller_pwwn() 6534 if (ioctl(fd, SFIOCGMAP, &sf_map) != 0) { in get_FC4_host_controller_pwwn() 6541 if (sf_map.sf_count == 0) { in get_FC4_host_controller_pwwn() 6546 (void) memcpy(pwwn, &sf_map.sf_hba_addr.sf_port_wwn[0], WWN_SIZE); in get_FC4_host_controller_pwwn()
|