Lines Matching refs:krblk
797 rctl_opaque_t *krblk;
811 krblk = kmem_zalloc(sizeof (rctl_opaque_t), KM_SLEEP);
815 kmem_free(krblk, sizeof (rctl_opaque_t));
820 rctlsys_rblk_xfrm(krblk, krde, NULL, RBX_TO_BLK | RBX_CTL);
822 if (copyout(krblk, rblk, sizeof (rctl_opaque_t)) != 0) {
824 kmem_free(krblk, sizeof (rctl_opaque_t));
830 kmem_free(krblk, sizeof (rctl_opaque_t));
840 krblk = kmem_zalloc(sizeof (rctl_opaque_t), KM_SLEEP);
844 kmem_free(krblk, sizeof (rctl_opaque_t));
849 if (copyin(rblk, krblk, sizeof (rctl_opaque_t)) != 0) {
851 kmem_free(krblk, sizeof (rctl_opaque_t));
856 rctlsys_rblk_xfrm(krblk, krde, NULL, RBX_FROM_BLK | RBX_CTL);
860 kmem_free(krblk, sizeof (rctl_opaque_t));
866 kmem_free(krblk, sizeof (rctl_opaque_t));
888 rctl_opaque_t *krblk;
930 krblk = kmem_zalloc(sizeof (rctl_opaque_t) * size, KM_SLEEP);
932 if (copyin(rblk, krblk, sizeof (rctl_opaque_t) * size) == 0) {
938 rctlsys_rblk_xfrm(&krblk[count], NULL, new_val,
986 kmem_free(krblk, sizeof (rctl_opaque_t) * size);