Searched refs:klip (Results 1 – 1 of 1) sorted by relevance
1550 free_lofi_ioctl(struct lofi_ioctl *klip) in free_lofi_ioctl() argument1553 bzero(klip->li_key, sizeof (klip->li_key)); in free_lofi_ioctl()1554 kmem_free(klip, sizeof (struct lofi_ioctl)); in free_lofi_ioctl()1565 struct lofi_ioctl *klip; in copy_in_lofi_ioctl() local1568 klip = *klipp = kmem_alloc(sizeof (struct lofi_ioctl), KM_SLEEP); in copy_in_lofi_ioctl()1569 error = ddi_copyin(ulip, klip, sizeof (struct lofi_ioctl), flag); in copy_in_lofi_ioctl()1574 klip->li_filename[MAXPATHLEN-1] = '\0'; in copy_in_lofi_ioctl()1575 klip->li_algorithm[MAXALGLEN-1] = '\0'; in copy_in_lofi_ioctl()1576 klip->li_cipher[CRYPTO_MAX_MECH_NAME-1] = '\0'; in copy_in_lofi_ioctl()1577 klip->li_iv_cipher[CRYPTO_MAX_MECH_NAME-1] = '\0'; in copy_in_lofi_ioctl()[all …]