Searched refs:oldlen (Results 1 - 8 of 8) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | kern_newsysctl.c | 281 ((req->oldlen == sizeof(int)) && (valueSize == sizeof(long long)))) { 329 if (trunc && req->oldptr && req->oldlen && (req->oldlen<strlen(pValue) + 1)) { 336 error = SYSCTL_OUT(req, pValue, req->oldlen-1); 853 if (i > req->oldlen - req->oldidx) 854 i = req->oldlen - req->oldidx; 888 req.oldlen = *oldlenp; 904 vsunlock(req.oldptr, (user_size_t)req.oldlen, B_WRITE); 925 if (req->oldlen - req->oldidx < l) 928 if (i > req->oldlen [all...] |
H A D | kern_sysctl.c | 233 size_t savelen = 0, oldlen = 0, newlen; local 300 oldlen = CAST_DOWN(size_t, oldlen64); 306 oldlen = 0xffffffffUL; 310 if (!useracc(uap->old, (user_size_t)oldlen, B_WRITE)) 323 if (dolock && oldlen) { 324 if ((error = vslock(uap->old, (user_size_t)oldlen))) { 329 savelen = oldlen; 351 &oldlen, uap->new, newlen, p); 368 size_t tmp = oldlen; 378 1, uap->new, newlen, &oldlen); [all...] |
H A D | kern_credential.c | 4325 MALLOC( cred_listp, debug_ucred *, req->oldlen, M_TEMP, M_WAITOK ); 4357 if ( space > req->oldlen ) { 4363 req->oldlen = space; 4364 error = SYSCTL_OUT(req, cred_listp, req->oldlen); 4404 if ( space > req->oldlen ) { 4408 MALLOC( bt_bufp, cred_debug_buffer *, req->oldlen, M_TEMP, M_WAITOK ); 4426 req->oldlen = space; 4427 error = SYSCTL_OUT(req, bt_bufp, req->oldlen);
|
H A D | kern_proc.c | 1580 if (req->oldlen < sizeof(struct kinfo_lctx)) 1599 if (req->oldlen < (sizeof(struct kinfo_lctx) * alllctx_cnt)) {
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/ |
H A D | udp6_usrreq.c | 545 if (req->oldlen != sizeof(*(kauth_cred_t)0))
|
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/ |
H A D | sysctl.h | 200 size_t oldlen; member in struct:sysctl_req
|
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/ |
H A D | vfs_subr.c | 2929 space = req->oldlen; 2930 req->oldlen = sysctl_vfs_getvfscnt() * sizeof(fsid_t); 2933 if (space < req->oldlen) 2936 MALLOC(fsidlst, fsid_t *, req->oldlen, M_TEMP, M_WAITOK); 2937 error = sysctl_vfs_getvfslist(fsidlst, req->oldlen / sizeof(fsid_t), 2945 req->oldlen = space;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/ |
H A D | tcp_input.c | 3861 req->oldlen= (size_t)sizeof(struct tcpstat); 3864 error = SYSCTL_OUT(req, &tcpstat, MIN(sizeof (tcpstat), req->oldlen));
|
Completed in 123 milliseconds