Lines Matching refs:dep

155 	struct direntry *dep = NULL;
263 dep = (struct direntry *)(bp->b_data + blkoff);
273 if (dep->deName[0] == SLOT_EMPTY ||
274 dep->deName[0] == SLOT_DELETED) {
285 if (dep->deName[0] == SLOT_EMPTY) {
300 if (dep->deAttributes == ATTR_WIN95) {
305 (struct winentry *)dep, chksum,
322 if (dep->deAttributes & ATTR_VOLUME) {
330 chksum_ok = (chksum == winChksum(dep->deName));
332 && (!olddos || bcmp(dosfilename, dep->deName, 11))) {
448 isadir = dep->deAttributes & ATTR_DIRECTORY;
449 scn = getushort(dep->deStartCluster);
451 scn |= getushort(dep->deHighClust) << 16;
622 * dep - directory entry to copy into the directory
629 createde(struct denode *dep, struct denode *ddep, struct denode **depp,
641 printf("createde(dep %p, ddep %p, depp %p, cnp %p)\n",
642 dep, ddep, depp, cnp);
688 DE_EXTERNALIZE(ndep, dep);
740 if (dep->de_Attributes & ATTR_DIRECTORY) {
741 dirclust = dep->de_StartCluster;
760 dosdirempty(struct denode *dep)
767 struct msdosfsmount *pmp = dep->de_pmp;
776 if ((error = pcbmap(dep, cn, &bn, 0, &blsize)) != 0) {
839 struct denode *dep;
861 dep = target;
862 vget(DETOV(dep), LK_EXCLUSIVE);
864 if ((dep->de_Attributes & ATTR_DIRECTORY) == 0) {
868 scn = dep->de_StartCluster;
901 vput(DETOV(dep));
902 dep = NULL;
903 /* NOTE: deget() clears dep on error */
904 error = deget(pmp, scn, 0, LK_EXCLUSIVE | LK_NOWAIT, &dep);
914 if (dep != NULL)
915 vput(DETOV(dep));
948 * Read in the disk block containing the directory entry dep came from and
953 readde(struct denode *dep, struct buf **bpp, struct direntry **epp)
956 return (readep(dep->de_pmp, dep->de_dirclust, dep->de_diroffset,
969 * dep file to be removed
972 removede(struct denode *pdep, struct denode *dep)
983 printf("removede(): filename %s, dep %p, offset %08lx\n",
984 dep->de_Name, dep, offset);
987 dep->de_refcnt--;
1039 uniqdosname(struct denode *dep, struct componentname *cnp, u_char *cp)
1041 struct msdosfsmount *pmp = dep->de_pmp;
1066 if ((error = pcbmap(dep, cn, &bn, 0, &blsize)) != 0) {