Lines Matching refs:ulen
939 modctl_getmaj(char *uname, uint_t ulen, int *umajorp) in modctl_getmaj() argument
945 if (ulen == 0) in modctl_getmaj()
948 (ulen < 256) ? ulen : 256, 0)) != 0) in modctl_getmaj()
991 modctl_retire(char *path, char *uconstraints, size_t ulen) in modctl_retire() argument
1003 if ((uconstraints == NULL) ^ (ulen == 0)) in modctl_retire()
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()
1172 modctl_getname(char *uname, uint_t ulen, int *umajorp) in modctl_getname() argument
1181 if ((strlen(name) + 1) > ulen) in modctl_getname()
1183 return (copyoutstr(name, uname, ulen, NULL)); in modctl_getname()