Lines Matching refs:krde
228 rctl_dict_entry_t *krde;
243 krde = kmem_alloc(sizeof (rctl_dict_entry_t), KM_SLEEP);
247 kmem_free(krde, sizeof (rctl_dict_entry_t));
253 kmem_free(krde, sizeof (rctl_dict_entry_t));
257 if (rctl_global_get(kname, krde) == -1) {
259 kmem_free(krde, sizeof (rctl_dict_entry_t));
274 if ((rset = rctl_entity_obtain_rset(krde, curproc)) == NULL) {
276 kmem_free(krde, sizeof (rctl_dict_entry_t));
283 kmem_free(krde, sizeof (rctl_dict_entry_t));
289 kmem_free(krde, sizeof (rctl_dict_entry_t));
301 kmem_free(krde, sizeof (rctl_dict_entry_t));
309 kmem_free(krde, sizeof (rctl_dict_entry_t));
325 kmem_free(krde, sizeof (rctl_dict_entry_t));
341 kmem_free(krde, sizeof (rctl_dict_entry_t));
348 rctlsys_rblk_xfrm(nblk, krde, nval, RBX_TO_BLK | RBX_VAL | RBX_CTL);
350 kmem_free(krde, sizeof (rctl_dict_entry_t));
796 rctl_dict_entry_t *krde;
810 krde = kmem_alloc(sizeof (rctl_dict_entry_t), KM_SLEEP);
813 if (rctl_global_get(kname, krde) == -1) {
814 kmem_free(krde, sizeof (rctl_dict_entry_t));
820 rctlsys_rblk_xfrm(krblk, krde, NULL, RBX_TO_BLK | RBX_CTL);
823 kmem_free(krde, sizeof (rctl_dict_entry_t));
829 kmem_free(krde, sizeof (rctl_dict_entry_t));
839 krde = kmem_alloc(sizeof (rctl_dict_entry_t), KM_SLEEP);
842 if (rctl_global_get(kname, krde) == -1) {
843 kmem_free(krde, sizeof (rctl_dict_entry_t));
850 kmem_free(krde, sizeof (rctl_dict_entry_t));
856 rctlsys_rblk_xfrm(krblk, krde, NULL, RBX_FROM_BLK | RBX_CTL);
858 if (rctl_global_set(kname, krde) == -1) {
859 kmem_free(krde, sizeof (rctl_dict_entry_t));
865 kmem_free(krde, sizeof (rctl_dict_entry_t));
887 rctl_dict_entry_t *krde;
916 krde = rctl_dict_lookup_hndl(hndl);
919 if ((krde->rcd_entity != RCENTITY_PROJECT) || (size <= 0)) {
950 } else if (rctl_invalid_value(krde, new_val) == 0) {