Home
last modified time | relevance | path

Searched refs:cookiebuf (Results 1 – 11 of 11) sorted by relevance

/netbsd/sys/compat/linux32/common/
H A Dlinux32_dirent.c115 off_t *cookiebuf = NULL, *cookie; in linux32_sys_getdents() local
167 error = VOP_READDIR(vp, &auio, fp->f_cred, &eofflag, &cookiebuf, in linux32_sys_getdents()
178 for (cookie = cookiebuf; len > 0; len -= reclen) { in linux32_sys_getdents()
241 if (cookiebuf) in linux32_sys_getdents()
242 free(cookiebuf, M_TEMP); in linux32_sys_getdents()
243 cookiebuf = NULL; in linux32_sys_getdents()
255 if (cookiebuf) in linux32_sys_getdents()
256 free(cookiebuf, M_TEMP); in linux32_sys_getdents()
/netbsd/sys/compat/common/
H A Dvfs_syscalls_12.c132 off_t *cookiebuf = NULL, *cookie; in compat_12_sys_getdirentries() local
179 error = VOP_READDIR(vp, &auio, fp->f_cred, &eofflag, &cookiebuf, in compat_12_sys_getdirentries()
190 for (cookie = cookiebuf; len > 0; len -= reclen) { in compat_12_sys_getdirentries()
242 if (cookiebuf) in compat_12_sys_getdirentries()
243 free(cookiebuf, M_TEMP); in compat_12_sys_getdirentries()
244 cookiebuf = NULL; in compat_12_sys_getdirentries()
253 if (cookiebuf) in compat_12_sys_getdirentries()
254 free(cookiebuf, M_TEMP); in compat_12_sys_getdirentries()
H A Dvfs_syscalls_43.c350 off_t *cookiebuf = NULL, *cookie; in compat_43_sys_getdirentries() local
397 error = VOP_READDIR(vp, &auio, fp->f_cred, &eofflag, &cookiebuf, in compat_43_sys_getdirentries()
408 for (cookie = cookiebuf; len > 0; len -= reclen) { in compat_43_sys_getdirentries()
460 if (cookiebuf) in compat_43_sys_getdirentries()
461 free(cookiebuf, M_TEMP); in compat_43_sys_getdirentries()
462 cookiebuf = NULL; in compat_43_sys_getdirentries()
471 if (cookiebuf) in compat_43_sys_getdirentries()
472 free(cookiebuf, M_TEMP); in compat_43_sys_getdirentries()
H A Dvfs_syscalls_30.c220 off_t *cookiebuf = NULL, *cookie; in compat_30_sys_getdents() local
256 error = VOP_READDIR(vp, &auio, fp->f_cred, &eofflag, &cookiebuf, in compat_30_sys_getdents()
267 for (cookie = cookiebuf; len > 0; len -= reclen) { in compat_30_sys_getdents()
314 if (cookiebuf) in compat_30_sys_getdents()
315 free(cookiebuf, M_TEMP); in compat_30_sys_getdents()
316 cookiebuf = NULL; in compat_30_sys_getdents()
325 if (cookiebuf) in compat_30_sys_getdents()
326 free(cookiebuf, M_TEMP); in compat_30_sys_getdents()
/netbsd/sys/rump/kern/lib/libsys_sunos/
H A Drump_sunos_compat.c271 off_t *cookiebuf, *cookie; in rump_sunos_sys_getdents() local
305 error = VOP_READDIR(vp, &auio, fp->f_cred, &eofflag, &cookiebuf, in rump_sunos_sys_getdents()
316 for (cookie = cookiebuf; len > 0; len -= reclen) { in rump_sunos_sys_getdents()
366 if (cookiebuf) in rump_sunos_sys_getdents()
367 free(cookiebuf, M_TEMP); in rump_sunos_sys_getdents()
368 cookiebuf = NULL; in rump_sunos_sys_getdents()
377 free(cookiebuf, M_TEMP); in rump_sunos_sys_getdents()
/netbsd/sys/compat/linux/common/
H A Dlinux_file64.c416 off_t *cookiebuf = NULL, *cookie; in linux_sys_getdents64() local
461 error = VOP_READDIR(vp, &auio, fp->f_cred, &eofflag, &cookiebuf, in linux_sys_getdents64()
472 for (cookie = cookiebuf; len > 0; len -= reclen) { in linux_sys_getdents64()
520 if (cookiebuf) in linux_sys_getdents64()
521 free(cookiebuf, M_TEMP); in linux_sys_getdents64()
522 cookiebuf = NULL; in linux_sys_getdents64()
531 if (cookiebuf) in linux_sys_getdents64()
532 free(cookiebuf, M_TEMP); in linux_sys_getdents64()
H A Dlinux_misc.c692 off_t *cookiebuf = NULL, *cookie; in linux_sys_getdents() local
744 error = VOP_READDIR(vp, &auio, fp->f_cred, &eofflag, &cookiebuf, in linux_sys_getdents()
755 for (cookie = cookiebuf; len > 0; len -= reclen) { in linux_sys_getdents()
819 if (cookiebuf) in linux_sys_getdents()
820 free(cookiebuf, M_TEMP); in linux_sys_getdents()
821 cookiebuf = NULL; in linux_sys_getdents()
833 if (cookiebuf) in linux_sys_getdents()
834 free(cookiebuf, M_TEMP); in linux_sys_getdents()
/netbsd/sys/compat/sunos/
H A Dsunos_misc.c375 off_t *cookiebuf, *cookie; in sunos_sys_getdents() local
409 error = VOP_READDIR(vp, &auio, fp->f_cred, &eofflag, &cookiebuf, in sunos_sys_getdents()
420 for (cookie = cookiebuf; len > 0; len -= reclen) { in sunos_sys_getdents()
472 if (cookiebuf) in sunos_sys_getdents()
473 free(cookiebuf, M_TEMP); in sunos_sys_getdents()
474 cookiebuf = NULL; in sunos_sys_getdents()
483 free(cookiebuf, M_TEMP); in sunos_sys_getdents()
/netbsd/sys/compat/sunos32/
H A Dsunos32_misc.c563 off_t *cookiebuf, *cookie; in sunos32_sys_getdents() local
598 error = VOP_READDIR(vp, &auio, fp->f_cred, &eofflag, &cookiebuf, in sunos32_sys_getdents()
609 for (cookie = cookiebuf; len > 0; len -= reclen) { in sunos32_sys_getdents()
661 if (cookiebuf) in sunos32_sys_getdents()
662 free(cookiebuf, M_TEMP); in sunos32_sys_getdents()
663 cookiebuf = NULL; in sunos32_sys_getdents()
672 free(cookiebuf, M_TEMP); in sunos32_sys_getdents()
/netbsd/external/bsd/ntp/dist/ntpd/
H A Dntp_crypto.c840 u_int32 *cookiebuf = malloc(RSA_size(rsa)); in crypto_recv() local
841 if (!cookiebuf) { in crypto_recv()
848 (u_char *)cookiebuf, in crypto_recv()
852 free(cookiebuf); in crypto_recv()
855 cookie = ntohl(*cookiebuf); in crypto_recv()
856 free(cookiebuf); in crypto_recv()
/netbsd/external/mpl/bind/dist/bin/dig/
H A Ddighost.c2090 char cookiebuf[256]; in setup_lookup() local
2468 isc_buffer_init(&b, cookiebuf, in setup_lookup()
2469 sizeof(cookiebuf)); in setup_lookup()