Lines Matching defs:constraints
939 convert_constraint_string(char *constraints, size_t len)
946 ASSERT(constraints != NULL);
949 for (i = 0, p = constraints; strlen(p) > 0; i++, p += strlen(p) + 1)
955 kmem_free(constraints, len);
961 for (i = 0, p = constraints; i < n; i++, p += strlen(p) + 1) {
966 kmem_free(constraints, len);
978 char *constraints;
1010 constraints = kmem_alloc(ulen, KM_SLEEP);
1011 if (copyin(uconstraints, constraints, ulen)) {
1012 kmem_free(constraints, ulen);
1016 cons_array = convert_constraint_string(constraints, ulen);
1022 * is not retireable i.e. retire constraints forbid
1028 cmn_err(CE_WARN, "constraints forbid retire: %s", devpath);