Searched refs:stl_hdr (Results 1 - 4 of 4) sorted by relevance
/illumos-gate/usr/src/lib/libsun_ima/common/ |
H A D | ima.c | 3160 iscsi_sendtgts_list_t *stl_hdr = NULL; local 3165 stl_sz = sizeof (*stl_hdr) + ((SENDTGTS_DEFAULT_NUM_TARGETS - 1) * 3167 stl_hdr = (iscsi_sendtgts_list_t *)calloc(1, stl_sz); 3168 if (stl_hdr == NULL) { 3171 stl_hdr->stl_entry.e_vers = ISCSI_INTERFACE_VERSION; 3172 stl_hdr->stl_in_cnt = SENDTGTS_DEFAULT_NUM_TARGETS; 3177 stl_hdr->stl_entry.e_insize = sizeof (struct in_addr); 3180 stl_hdr->stl_entry.e_insize = sizeof (struct in6_addr); 3185 &stl_hdr->stl_entry.e_u, 3187 stl_hdr [all...] |
/illumos-gate/usr/src/cmd/iscsiadm/ |
H A D | sun_ima.c | 819 iscsi_sendtgts_list_t *stl_hdr = NULL; local 826 stl_sz = sizeof (*stl_hdr) + ((SENDTGTS_DEFAULT_NUM_TARGETS - 1) * 828 stl_hdr = (iscsi_sendtgts_list_t *)calloc(1, stl_sz); 829 if (stl_hdr == NULL) { 832 stl_hdr->stl_entry.e_vers = ISCSI_INTERFACE_VERSION; 833 stl_hdr->stl_in_cnt = SENDTGTS_DEFAULT_NUM_TARGETS; 840 stl_hdr->stl_entry.e_insize = sizeof (struct in_addr); 843 stl_hdr->stl_entry.e_insize = sizeof (struct in6_addr); 849 &stl_hdr->stl_entry.e_u, sizeof (ipAddr->ipAddress)); 851 stl_hdr [all...] |
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsid.c | 575 iscsi_sendtgts_list_t *stl_hdr = NULL; local 585 stl_sz = sizeof (*stl_hdr) + ((stl_num_tgts - 1) * 587 stl_hdr = kmem_zalloc(stl_sz, KM_SLEEP); 590 stl_hdr->stl_in_cnt = stl_num_tgts; 591 bcopy(disc_addr, &(stl_hdr->stl_entry), 592 sizeof (stl_hdr->stl_entry)); 593 stl_hdr->stl_entry.e_vers = ISCSI_INTERFACE_VERSION; 599 kmem_free(stl_hdr, stl_sz); 603 rc = iscsi_ioctl_sendtgts_get(ihp, stl_hdr); 611 kmem_free(stl_hdr, stl_s [all...] |
H A D | iscsi.c | 1493 iscsi_sendtgts_list_t *stl_hdr; local 4116 stl_hdr = iscsi_ioctl_copyin((caddr_t)arg, mode, 4117 sizeof (*stl_hdr)); 4118 if (stl_hdr == NULL) { 4123 if (stl_hdr->stl_entry.e_vers != ISCSI_INTERFACE_VERSION) { 4125 kmem_free(stl_hdr, sizeof (*stl_hdr)); 4130 stl_sz = sizeof (*stl_hdr); 4131 if (stl_hdr->stl_in_cnt > 0) { 4132 stl_sz += ((stl_hdr [all...] |
Completed in 282 milliseconds