Lines Matching refs:ulen
920 modctl_getmaj(char *uname, uint_t ulen, int *umajorp) in modctl_getmaj() argument
926 if (ulen == 0) in modctl_getmaj()
929 (ulen < 256) ? ulen : 256, 0)) != 0) in modctl_getmaj()
972 modctl_retire(char *path, char *uconstraints, size_t ulen) in modctl_retire() argument
984 if ((uconstraints == NULL) ^ (ulen == 0)) in modctl_retire()
1010 constraints = kmem_alloc(ulen, KM_SLEEP); in modctl_retire()
1011 if (copyin(uconstraints, constraints, ulen)) { in modctl_retire()
1012 kmem_free(constraints, ulen); in modctl_retire()
1016 cons_array = convert_constraint_string(constraints, ulen); in modctl_retire()
1153 modctl_getname(char *uname, uint_t ulen, int *umajorp) in modctl_getname() argument
1162 if ((strlen(name) + 1) > ulen) in modctl_getname()
1164 return (copyoutstr(name, uname, ulen, NULL)); in modctl_getname()