Lines Matching refs:dp
591 struct dirent *dp = &d;
619 bzero((caddr_t) dp, UIO_MX);
620 dp->d_fileno = dt->d_fileno;
621 dp->d_namlen = dt->d_namlen;
622 dp->d_type = DT_UNKNOWN;
623 dp->d_reclen = dt->d_reclen;
624 bcopy(dt->d_name, dp->d_name, dp->d_namlen+1);
625 error = uiomove((caddr_t) dp, UIO_MX, uio);
641 struct dirent *dp = &d;
643 bzero((caddr_t) dp, UIO_MX);
645 dp->d_namlen = snprintf(dp->d_name, sizeof(dp->d_name),
647 dp->d_reclen = UIO_MX;
648 dp->d_type = DT_UNKNOWN;
649 dp->d_fileno = i + FD_STDIN;
653 error = uiomove((caddr_t) dp, UIO_MX, uio);