Lines Matching refs:bdp
403 struct dirent *bdp; in linux_getdents() local
433 bdp = (struct dirent *) inp; in linux_getdents()
434 reclen = bdp->d_reclen; in linux_getdents()
435 linuxreclen = LINUX_RECLEN(bdp->d_namlen); in linux_getdents()
446 linux_dirent->d_ino = bdp->d_fileno; in linux_getdents()
447 linux_dirent->d_off = bdp->d_off; in linux_getdents()
452 lbuf[linuxreclen - 1] = bdp->d_type; in linux_getdents()
453 strlcpy(linux_dirent->d_name, bdp->d_name, in linux_getdents()
480 struct dirent *bdp; in linux_getdents64() local
510 bdp = (struct dirent *) inp; in linux_getdents64()
511 reclen = bdp->d_reclen; in linux_getdents64()
512 linuxreclen = LINUX_RECLEN64(bdp->d_namlen); in linux_getdents64()
522 linux_dirent64->d_ino = bdp->d_fileno; in linux_getdents64()
523 linux_dirent64->d_off = bdp->d_off; in linux_getdents64()
525 linux_dirent64->d_type = bdp->d_type; in linux_getdents64()
526 strlcpy(linux_dirent64->d_name, bdp->d_name, in linux_getdents64()
553 struct dirent *bdp; in linux_readdir() local
560 buflen = sizeof(*bdp); in linux_readdir()
575 bdp = (struct dirent *) buf; in linux_readdir()
576 linuxreclen = LINUX_RECLEN(bdp->d_namlen); in linux_readdir()
578 linux_dirent->d_ino = bdp->d_fileno; in linux_readdir()
579 linux_dirent->d_off = bdp->d_off; in linux_readdir()
580 linux_dirent->d_reclen = bdp->d_namlen; in linux_readdir()
581 strlcpy(linux_dirent->d_name, bdp->d_name, in linux_readdir()