Searched refs:maxlength (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/uts/intel/ia32/os/
H A Dcopy_subr.c46 copystr_nofault(const char *src, char *dst, size_t maxlength, argument
52 if ((leftover = maxlength) == 0)
67 *lencopied = maxlength - leftover;
73 copyinstr_noerr(const char *uaddr, char *kaddr, size_t maxlength, argument
86 return (copystr_nofault(ua, kaddr, maxlength, lencopied));
90 copyoutstr_noerr(const char *kaddr, char *uaddr, size_t maxlength, argument
103 return (copystr_nofault(kaddr, ua, maxlength, lencopied));
/illumos-gate/usr/src/uts/sun4/ml/
H A Dcopy.s58 * copystr(from, to, maxlength, lencopied)
60 * u_int maxlength, *lencopied;
67 copystr(const char *from, char *to, size_t maxlength, size_t *lencopied)
78 ! maxlength <= 0
80 bz %ncc, .cs_out ! maxlength = 0
83 b 2f ! maxlength < 0
127 copyinstr(const char *uaddr, char *kaddr, size_t maxlength,
203 copyinstr_noerr(const char *uaddr, char *kaddr, size_t maxlength,
212 ! maxlength is unsigned so the only error is if it's 0
261 copyoutstr(const char *kaddr, char *uaddr, size_t maxlength,
[all...]
/illumos-gate/usr/src/lib/pam_modules/authtok_check/
H A Dauthtok_check.c93 uint_t maxlength; /* maximum (significant) length */ member in struct:pwdefaults
282 p->maxlength = _PASS_MAX_XPG;
300 p->maxlength = _PASS_MAX;
302 p->maxlength = _PASS_MAX_XPG;
309 p->maxlength = _PASS_MAX;
330 if (p->maxlength < p->minlength) {
451 uint_t significant = pwdef->maxlength;
481 * If we only consider part of the password (the first maxlength
491 if (pwdef->maxlength < strlen(pw))
508 "contain at least %%d %%s."), progname, pwdef->maxlength);
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dwatchpoint.c946 size_t maxlength,
954 if ((resid = maxlength) == 0)
1052 *lencopied = maxlength - resid;
1060 size_t maxlength,
1068 if ((resid = maxlength) == 0)
1159 *lencopied = maxlength - resid;
943 watch_copyinstr( const char *uaddr, char *kaddr, size_t maxlength, size_t *lencopied) argument
1057 watch_copyoutstr( const char *kaddr, char *uaddr, size_t maxlength, size_t *lencopied) argument
/illumos-gate/usr/src/uts/intel/ia32/ml/
H A Dcopy.s2099 copystr(const char *from, char *to, size_t maxlength, size_t *lencopied)
2130 movq %rdx, %r8 /* save maxlength */
2132 cmpq $0, %rdx /* %rdx = maxlength */
2133 je copystr_enametoolong /* maxlength == 0 */
2206 je copystr_enametoolong /* maxlength == 0 */
2265 copyinstr(const char *uaddr, char *kaddr, size_t maxlength,
2388 copyoutstr(const char *kaddr, char *uaddr, size_t maxlength,

Completed in 81 milliseconds