Lines Matching refs:hndl
225 rctl_hndl_t hndl; in rctlsys_get() local
251 if ((hndl = rctl_hndl_lookup(kname)) == -1) { in rctlsys_get()
280 if (rctl_set_find(rset, hndl, &rctl) == -1) { in rctlsys_get()
306 if (ret = rctl_local_get(hndl, NULL, nval, curproc)) { in rctlsys_get()
333 ret = rctl_local_get(hndl, oval, nval, curproc); in rctlsys_get()
391 rctl_hndl_t hndl; in rctlsys_set() local
421 if ((hndl = rctl_hndl_lookup(kname)) == -1) { in rctlsys_set()
428 rde = rctl_dict_lookup_hndl(hndl); in rctlsys_set()
587 if (ret = rctl_local_get(hndl, NULL, rval1, pp)) { in rctlsys_set()
600 } while (rctl_local_get(hndl, rval2, rval1, pp) == 0); in rctlsys_set()
665 if (ret = rctl_local_replace(hndl, oval, nval, pp)) { in rctlsys_set()
703 (rctl_local_get(hndl, NULL, rval1, pp) == 0)) { in rctlsys_set()
707 (void) rctl_local_delete(hndl, rval1, in rctlsys_set()
709 if (rctl_local_get(hndl, NULL, rval1, in rctlsys_set()
717 } while (rctl_local_get(hndl, rval2, rval1, pp) in rctlsys_set()
722 if (ret = rctl_local_insert(hndl, nval, pp)) { in rctlsys_set()
749 if (ret = rctl_local_delete(hndl, nval, pp)) { in rctlsys_set()
891 rctl_hndl_t hndl; in rctlsys_projset() local
911 if ((hndl = rctl_hndl_lookup(kname)) == -1) { in rctlsys_projset()
916 krde = rctl_dict_lookup_hndl(hndl); in rctlsys_projset()
1016 (void) rctl_local_replace_all(hndl, new_values, alloc_values, in rctlsys_projset()
1019 (void) rctl_local_insert_all(hndl, new_values, alloc_values, in rctlsys_projset()