Lines Matching refs:constraints
958 convert_constraint_string(char *constraints, size_t len) in convert_constraint_string() argument
965 ASSERT(constraints != NULL); in convert_constraint_string()
968 for (i = 0, p = constraints; strlen(p) > 0; i++, p += strlen(p) + 1) in convert_constraint_string()
974 kmem_free(constraints, len); in convert_constraint_string()
980 for (i = 0, p = constraints; i < n; i++, p += strlen(p) + 1) { in convert_constraint_string()
985 kmem_free(constraints, len); in convert_constraint_string()
997 char *constraints; in modctl_retire() local
1029 constraints = kmem_alloc(ulen, KM_SLEEP); in modctl_retire()
1030 if (copyin(uconstraints, constraints, ulen)) { in modctl_retire()
1031 kmem_free(constraints, ulen); in modctl_retire()
1035 cons_array = convert_constraint_string(constraints, ulen); in modctl_retire()