Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_ioctl.c88 iscsi_conn_list_t *cl_tmp; in iscsi_ioctl_conn_oid_list_get_copyin() local
94 cl_tmp = (iscsi_conn_list_t *)kmem_zalloc(sizeof (*cl_tmp), KM_SLEEP); in iscsi_ioctl_conn_oid_list_get_copyin()
96 if (ddi_copyin(arg, cl_tmp, sizeof (*cl_tmp), mode) == 0) { in iscsi_ioctl_conn_oid_list_get_copyin()
98 if (cl_tmp->cl_vers == ISCSI_INTERFACE_VERSION) { in iscsi_ioctl_conn_oid_list_get_copyin()
100 if (cl_tmp->cl_in_cnt != 0) { in iscsi_ioctl_conn_oid_list_get_copyin()
101 alloc_len += ((cl_tmp->cl_in_cnt - 1) * in iscsi_ioctl_conn_oid_list_get_copyin()
107 bcopy(cl_tmp, cl, sizeof (*cl_tmp)); in iscsi_ioctl_conn_oid_list_get_copyin()
110 kmem_free(cl_tmp, sizeof (*cl_tmp)); in iscsi_ioctl_conn_oid_list_get_copyin()