Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/iscsiadm/
H A Dsun_ima.c2845 isns_server_portal_group_list_t *server_pg_list = NULL; in SUN_IMA_RetrieveISNSServerTargets() local
2852 server_pg_list_sz = sizeof (*server_pg_list) + in SUN_IMA_RetrieveISNSServerTargets()
2856 server_pg_list = (isns_server_portal_group_list_t *)calloc(1, in SUN_IMA_RetrieveISNSServerTargets()
2858 if (server_pg_list == NULL) { in SUN_IMA_RetrieveISNSServerTargets()
2861 server_pg_list->addr_port_list.pg_in_cnt = in SUN_IMA_RetrieveISNSServerTargets()
2866 free(server_pg_list); in SUN_IMA_RetrieveISNSServerTargets()
2869 server_pg_list->addr.a_port = entry.e_port; in SUN_IMA_RetrieveISNSServerTargets()
2870 server_pg_list->addr.a_addr.i_insize = entry.e_insize; in SUN_IMA_RetrieveISNSServerTargets()
2872 server_pg_list->addr.a_addr.i_addr.in4.s_addr = in SUN_IMA_RetrieveISNSServerTargets()
2876 server_pg_list->addr.a_addr.i_addr.in6.s6_addr, 16); in SUN_IMA_RetrieveISNSServerTargets()
[all …]
/titanic_44/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi.c1504 isns_server_portal_group_list_t *server_pg_list = NULL; in iscsi_ioctl() local
4272 server_pg_list = (isns_server_portal_group_list_t *)kmem_zalloc( in iscsi_ioctl()
4275 bcopy(&(server_pg_list_hdr->addr), &(server_pg_list->addr), in iscsi_ioctl()
4276 sizeof (server_pg_list->addr)); in iscsi_ioctl()
4277 bcopy(pg_list, &server_pg_list->addr_port_list, pg_sz_copy_out); in iscsi_ioctl()
4279 if (ddi_copyout(server_pg_list, (caddr_t)arg, server_pg_list_sz, in iscsi_ioctl()
4291 kmem_free(server_pg_list, server_pg_list_sz); in iscsi_ioctl()
4292 server_pg_list = NULL; in iscsi_ioctl()