/src/sys/rump/kern/lib/libsys_sunos/ |
rump_sunos_compat.c | 57 #define SUNOS_RECLEN(de,namlen) ALIGN((SUNOS_NAMEOFF(de) + (namlen) + 1)) 264 int resid, sunos_reclen;/* Sun-format */ local in function:rump_sunos_sys_getdents 336 sunos_reclen = SUNOS_RECLEN(&idb, bdp->d_namlen); 337 if (reclen > len || resid < sunos_reclen) { 353 idb.d_reclen = sunos_reclen; 355 if ((error = copyout((void *)&idb, outp, sunos_reclen)) != 0) 360 outp += sunos_reclen; 361 resid -= sunos_reclen;
|
/src/sys/compat/sunos/ |
sunos_misc.c | 368 int resid, sunos_reclen;/* Sun-format */ local in function:sunos_sys_getdents 441 sunos_reclen = SUNOS_RECLEN(&idb, bdp->d_namlen); 442 if (reclen > len || resid < sunos_reclen) { 458 idb.d_reclen = sunos_reclen; 461 if ((error = copyout((void *)&idb, outp, sunos_reclen)) != 0) 466 outp += sunos_reclen; 467 resid -= sunos_reclen;
|
/src/sys/compat/sunos32/ |
sunos32_misc.c | 556 int resid, sunos_reclen;/* Sun-format */ local in function:sunos32_sys_getdents 630 sunos_reclen = SUNOS32_RECLEN(&idb, bdp->d_namlen); 631 if (reclen > len || resid < sunos_reclen) { 647 idb.d_reclen = sunos_reclen; 650 if ((error = copyout((void *)&idb, outp, sunos_reclen)) != 0) 655 outp += sunos_reclen; 656 resid -= sunos_reclen;
|