Searched refs:stl_sz (Results 1 – 4 of 4) sorted by relevance
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsid.c | 587 int stl_sz; in iscsid_do_sendtgts() local 599 stl_sz = sizeof (*stl_hdr) + ((stl_num_tgts - 1) * in iscsid_do_sendtgts() 601 stl_hdr = kmem_zalloc(stl_sz, KM_SLEEP); in iscsid_do_sendtgts() 613 kmem_free(stl_hdr, stl_sz); in iscsid_do_sendtgts() 625 kmem_free(stl_hdr, stl_sz); in iscsid_do_sendtgts() 633 kmem_free(stl_hdr, stl_sz); in iscsid_do_sendtgts() 634 stl_sz = sizeof (*stl_hdr) + in iscsid_do_sendtgts() 637 stl_hdr = kmem_zalloc(stl_sz, KM_SLEEP); in iscsid_do_sendtgts() 647 kmem_free(stl_hdr, stl_sz); in iscsid_do_sendtgts() 671 kmem_free(stl_hdr, stl_sz); in iscsid_do_sendtgts()
|
H A D | iscsi.c | 1494 int stl_sz; in iscsi_ioctl() local 4129 stl_sz = sizeof (*stl_hdr); in iscsi_ioctl() 4131 stl_sz += ((stl_hdr->stl_in_cnt - 1) * in iscsi_ioctl() 4136 istl = kmem_zalloc(stl_sz, KM_SLEEP); in iscsi_ioctl() 4146 rtn = iscsi_ioctl_copyout(istl, stl_sz, in iscsi_ioctl()
|
/illumos-gate/usr/src/lib/libsun_ima/common/ |
H A D | ima.c | 3141 int stl_sz; in sendTargets() local 3147 stl_sz = sizeof (*stl_hdr) + ((SENDTGTS_DEFAULT_NUM_TARGETS - 1) * in sendTargets() 3149 stl_hdr = (iscsi_sendtgts_list_t *)calloc(1, stl_sz); in sendTargets() 3192 stl_sz = sizeof (*stl_hdr) + in sendTargets() 3196 realloc(stl_hdr, stl_sz); in sendTargets()
|
/illumos-gate/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()
|