Lines Matching refs:buflen
1275 int buflen;
1293 if (args->buflen >= args->sizeof_kproc) {
1312 args->buflen -= args->sizeof_kproc;
1329 int buflen = where != USER_ADDR_NULL ? req->oldlen : 0;
1389 args.buflen = buflen;
1851 int buflen = where != USER_ADDR_NULL ? *sizep : 0;
1871 buflen -= sizeof(int); /* reserve first word to return argc */
1873 /* we only care about buflen when where (oldp from sysctl) is not NULL. */
1877 if (where != USER_ADDR_NULL && (buflen <= 0 || buflen > ARG_MAX)) {
1880 arg_size = buflen;
2028 if ( (! error) && (buflen > 0 && (u_int)buflen > argslen) )
2066 if ( (buflen & ~(sizeof(int)-1)) >= ( argslen + extraSpaceNeeded ))