Lines Matching defs:dep
155 struct direntry *dep = NULL;
265 dep = (struct direntry *)(bp->b_data + blkoff);
275 if (dep->deName[0] == SLOT_EMPTY ||
276 dep->deName[0] == SLOT_DELETED) {
287 if (dep->deName[0] == SLOT_EMPTY) {
302 if (dep->deAttributes == ATTR_WIN95) {
307 (struct winentry *)dep, chksum,
324 if (dep->deAttributes & ATTR_VOLUME) {
332 chksum_ok = (chksum == winChksum(dep->deName));
334 && (!olddos || bcmp(dosfilename, dep->deName, 11))) {
450 isadir = dep->deAttributes & ATTR_DIRECTORY;
451 scn = getushort(dep->deStartCluster);
453 scn |= getushort(dep->deHighClust) << 16;
624 * dep - directory entry to copy into the directory
631 createde(struct denode *dep, struct denode *ddep, struct denode **depp,
643 printf("createde(dep %p, ddep %p, depp %p, cnp %p)\n",
644 dep, ddep, depp, cnp);
690 DE_EXTERNALIZE(ndep, dep);
742 if (dep->de_Attributes & ATTR_DIRECTORY) {
743 dirclust = dep->de_StartCluster;
762 dosdirempty(struct denode *dep)
769 struct msdosfsmount *pmp = dep->de_pmp;
778 if ((error = pcbmap(dep, cn, &bn, 0, &blsize)) != 0) {
841 struct denode *dep;
863 dep = target;
864 vget(DETOV(dep), LK_EXCLUSIVE);
866 if ((dep->de_Attributes & ATTR_DIRECTORY) == 0) {
870 scn = dep->de_StartCluster;
903 vput(DETOV(dep));
904 dep = NULL;
905 /* NOTE: deget() clears dep on error */
906 error = deget(pmp, scn, 0, LK_EXCLUSIVE | LK_NOWAIT, &dep);
916 if (dep != NULL)
917 vput(DETOV(dep));
950 * Read in the disk block containing the directory entry dep came from and
955 readde(struct denode *dep, struct buf **bpp, struct direntry **epp)
958 return (readep(dep->de_pmp, dep->de_dirclust, dep->de_diroffset,
971 * dep file to be removed
974 removede(struct denode *pdep, struct denode *dep)
985 printf("removede(): filename %s, dep %p, offset %08lx\n",
986 dep->de_Name, dep, offset);
989 dep->de_refcnt--;
1041 uniqdosname(struct denode *dep, struct componentname *cnp, u_char *cp)
1043 struct msdosfsmount *pmp = dep->de_pmp;
1068 if ((error = pcbmap(dep, cn, &bn, 0, &blsize)) != 0) {