Searched refs:oldlen (Results 1 - 13 of 13) sorted by relevance
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kern_newsysctl.c | 414 ((req->oldlen == sizeof(int)) && (valueSize == sizeof(long long)))) 463 if (trunc && req->oldptr && req->oldlen && (req->oldlen<strlen(pValue) + 1)) { 470 error = SYSCTL_OUT(req, pValue, req->oldlen-1); 1262 if (i > req->oldlen - req->oldidx) 1263 i = req->oldlen - req->oldidx; 1297 req.oldlen = *oldlenp; 1313 vsunlock(req.oldptr, (user_size_t)req.oldlen, B_WRITE); 1334 if (req->oldlen - req->oldidx < l) 1337 if (i > req->oldlen [all...] |
H A D | kern_sysctl.c | 380 size_t savelen = 0, oldlen = 0, newlen; local 457 oldlen = CAST_DOWN(size_t, oldlen64); 463 oldlen = 0xffffffffUL; 489 if (!useracc(uap->old, (user_size_t)oldlen, B_WRITE)) { 494 if (oldlen) { 495 if ((error = vslock(uap->old, (user_size_t)oldlen))) { 499 savelen = oldlen; 512 &oldlen, uap->new, newlen, p); 522 size_t tmp = oldlen; 524 uap->new, newlen, &oldlen); [all...] |
H A D | subr_prof.c | 171 size_t *oldlenp = req->oldlen; /* user buffer copy out size */ 214 req->oldidx += req->oldlen;
|
H A D | kern_credential.c | 5258 MALLOC( cred_listp, debug_ucred *, req->oldlen, M_TEMP, M_WAITOK ); 5306 if ( space > req->oldlen ) { 5312 req->oldlen = space; 5313 error = SYSCTL_OUT(req, cred_listp, req->oldlen); 5353 if ( space > req->oldlen ) { 5357 MALLOC( bt_bufp, cred_debug_buffer *, req->oldlen, M_TEMP, M_WAITOK ); 5375 req->oldlen = space; 5376 error = SYSCTL_OUT(req, bt_bufp, req->oldlen);
|
H A D | kern_proc.c | 1657 if (req->oldlen < sizeof(struct kinfo_lctx)) 1676 if (req->oldlen < (sizeof(struct kinfo_lctx) * alllctx_cnt)) {
|
/darwin-on-arm/xnu/SETUP/md/ |
H A D | md.c | 573 register int oldlen = OLDSALUTATIONLEN; local 582 ! strncmp(makbuf, OLDSALUTATION, oldlen))
|
/darwin-on-arm/xnu/bsd/security/audit/ |
H A D | audit_bsd.c | 129 if (req->oldlen < AU_MALLOC_DBINFO_SZ) 161 req->oldlen = sz;
|
H A D | audit_session.c | 513 if (req->oldlen < (entry_cnt * sizeof(au_sentry_debug_t))) { 559 req->oldlen = sz;
|
/darwin-on-arm/xnu/SETUP/config/ |
H A D | mkmakefile.c | 1174 register int oldlen = (sizeof OLDSALUTATION - 1); local 1177 if (! strncmp(makbuf, OLDSALUTATION, oldlen)) 1181 if (oldlen != 0) 1186 oldlen = 0;
|
/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | udp6_usrreq.c | 651 if (req->oldlen != sizeof(*(kauth_cred_t)0))
|
/darwin-on-arm/xnu/bsd/sys/ |
H A D | sysctl.h | 196 size_t oldlen; /* user buffer length (also returned) */ member in struct:sysctl_req
|
/darwin-on-arm/xnu/bsd/vfs/ |
H A D | vfs_subr.c | 3259 space = req->oldlen; 3260 req->oldlen = sysctl_vfs_getvfscnt() * sizeof(fsid_t); 3263 if (space < req->oldlen) 3266 MALLOC(fsidlst, fsid_t *, req->oldlen, M_TEMP, M_WAITOK); 3271 error = sysctl_vfs_getvfslist(fsidlst, req->oldlen / sizeof(fsid_t), 3279 req->oldlen = space;
|
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | tcp_input.c | 4913 req->oldlen= (size_t)sizeof(struct tcpstat); 4916 error = SYSCTL_OUT(req, &tcpstat, MIN(sizeof (tcpstat), req->oldlen));
|
Completed in 143 milliseconds