Searched refs:stl_sz (Results 1 – 4 of 4) sorted by relevance
/titanic_50/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsid.c | 573 int stl_sz; in iscsid_do_sendtgts() local 585 stl_sz = sizeof (*stl_hdr) + ((stl_num_tgts - 1) * in iscsid_do_sendtgts() 587 stl_hdr = kmem_zalloc(stl_sz, KM_SLEEP); in iscsid_do_sendtgts() 599 kmem_free(stl_hdr, stl_sz); in iscsid_do_sendtgts() 611 kmem_free(stl_hdr, stl_sz); in iscsid_do_sendtgts() 619 kmem_free(stl_hdr, stl_sz); in iscsid_do_sendtgts() 620 stl_sz = sizeof (*stl_hdr) + in iscsid_do_sendtgts() 623 stl_hdr = kmem_zalloc(stl_sz, KM_SLEEP); in iscsid_do_sendtgts() 633 kmem_free(stl_hdr, stl_sz); in iscsid_do_sendtgts() 657 kmem_free(stl_hdr, stl_sz); in iscsid_do_sendtgts()
|
H A D | iscsi.c | 1495 int stl_sz; in iscsi_ioctl() local 4130 stl_sz = sizeof (*stl_hdr); in iscsi_ioctl() 4132 stl_sz += ((stl_hdr->stl_in_cnt - 1) * in iscsi_ioctl() 4137 istl = kmem_zalloc(stl_sz, KM_SLEEP); in iscsi_ioctl() 4147 rtn = iscsi_ioctl_copyout(istl, stl_sz, in iscsi_ioctl()
|
/titanic_50/usr/src/lib/libsun_ima/common/ |
H A D | ima.c | 3159 int stl_sz; in sendTargets() local 3165 stl_sz = sizeof (*stl_hdr) + ((SENDTGTS_DEFAULT_NUM_TARGETS - 1) * in sendTargets() 3167 stl_hdr = (iscsi_sendtgts_list_t *)calloc(1, stl_sz); in sendTargets() 3210 stl_sz = sizeof (*stl_hdr) + in sendTargets() 3214 realloc(stl_hdr, stl_sz); in sendTargets()
|
/titanic_50/usr/src/cmd/iscsiadm/ |
H A D | sun_ima.c | 817 int stl_sz; in SUN_IMA_SendTargets() local 826 stl_sz = sizeof (*stl_hdr) + ((SENDTGTS_DEFAULT_NUM_TARGETS - 1) * in SUN_IMA_SendTargets() 828 stl_hdr = (iscsi_sendtgts_list_t *)calloc(1, stl_sz); in SUN_IMA_SendTargets() 872 stl_sz = sizeof (*stl_hdr) + in SUN_IMA_SendTargets() 876 realloc(stl_hdr, stl_sz); in SUN_IMA_SendTargets()
|