Lines Matching refs:dp
448 struct direct *dp;
463 dp = (struct direct *)buf;
465 while (dp < edp) {
466 if (dp->d_ino == (ino_t)0)
468 namlen = dp->d_namlen;
470 !strcmp(name, dp->d_name)) {
472 *inumber_p = dp->d_ino;
476 dp = (struct direct *)((char *)dp + dp->d_reclen);
835 struct direct *dp;
849 dp = (struct direct *)buf;
850 fp->f_seekp += dp->d_reclen;
851 if (dp->d_ino == (ino_t)0)
855 strcpy(d->d_name, dp->d_name);