Lines Matching refs:bdp
454 struct dirent *bdp; in linux_getdents() local
484 bdp = (struct dirent *) inp; in linux_getdents()
485 reclen = bdp->d_reclen; in linux_getdents()
486 linuxreclen = LINUX_RECLEN(bdp->d_namlen); in linux_getdents()
497 linux_dirent->d_ino = bdp->d_fileno; in linux_getdents()
503 lbuf[linuxreclen - 1] = bdp->d_type; in linux_getdents()
504 strlcpy(linux_dirent->d_name, bdp->d_name, in linux_getdents()
531 struct dirent *bdp; in linux_getdents64() local
561 bdp = (struct dirent *) inp; in linux_getdents64()
562 reclen = bdp->d_reclen; in linux_getdents64()
563 linuxreclen = LINUX_RECLEN64(bdp->d_namlen); in linux_getdents64()
574 linux_dirent64->d_ino = bdp->d_fileno; in linux_getdents64()
577 linux_dirent64->d_type = bdp->d_type; in linux_getdents64()
578 strlcpy(linux_dirent64->d_name, bdp->d_name, in linux_getdents64()
605 struct dirent *bdp; in linux_readdir() local
627 bdp = (struct dirent *) buf; in linux_readdir()
628 linuxreclen = LINUX_RECLEN(bdp->d_namlen); in linux_readdir()
631 linux_dirent->d_ino = bdp->d_fileno; in linux_readdir()
633 linux_dirent->d_reclen = bdp->d_namlen; in linux_readdir()
634 strlcpy(linux_dirent->d_name, bdp->d_name, in linux_readdir()