Searched refs:dirclust (Results 1 – 5 of 5) sorted by relevance
/freebsd/usr.sbin/makefs/msdos/ |
H A D | msdosfs_lookup.c | 79 u_long dirclust, diroffset; in createde() local 100 dirclust = de_clcount(pmp, diroffset); in createde() 101 error = m_extendfile(ddep, dirclust, 0, 0, DE_CLEAR); in createde() 110 ddep->de_FileSize += de_cn2off(pmp, dirclust); in createde() 119 &bn, &dirclust, &blsize); in createde() 123 if (dirclust != MSDOSFSROOT) in createde() 179 dirclust = dep->de_StartCluster; in createde() 180 if (FAT32(pmp) && dirclust == pmp->pm_rootdirblk) in createde() 181 dirclust = MSDOSFSROOT; in createde() 182 if (dirclust == MSDOSFSROOT) in createde() [all …]
|
H A D | msdosfs_denode.c | 83 deget(struct msdosfsmount *pmp, u_long dirclust, u_long diroffset, in deget() argument 93 pmp, dirclust, diroffset, depp)); in deget() 99 if (FAT32(pmp) && dirclust == MSDOSFSROOT) in deget() 100 dirclust = pmp->pm_rootdirblk; in deget() 102 inode = (uint64_t)pmp->pm_bpcluster * dirclust + diroffset; in deget() 107 ldep->de_dirclust = dirclust; in deget() 116 if ((dirclust == MSDOSFSROOT in deget() 117 || (FAT32(pmp) && dirclust == pmp->pm_rootdirblk)) in deget() 152 error = m_readep(pmp, dirclust, diroffset, &bp, &direntptr); in deget() 181 if (diroffset == 0 && ldep->de_StartCluster != dirclust) { in deget() [all …]
|
/freebsd/sys/fs/msdosfs/ |
H A D | msdosfs_denode.c | 98 deget(struct msdosfsmount *pmp, u_long dirclust, u_long diroffset, in deget() argument 112 pmp, dirclust, diroffset, lkflags, depp); in deget() 120 if (FAT32(pmp) && dirclust == MSDOSFSROOT) in deget() 121 dirclust = pmp->pm_rootdirblk; in deget() 136 inode = DETOI(pmp, dirclust, diroffset); in deget() 147 if ((*depp)->de_dirclust != dirclust) { in deget() 150 (*depp)->de_dirclust, dirclust); in deget() 182 ldep->de_dirclust = dirclust; in deget() 214 if ((dirclust == MSDOSFSROOT || in deget() 215 (FAT32(pmp) && dirclust == pmp->pm_rootdirblk)) && in deget() [all …]
|
H A D | msdosfs_lookup.c | 635 u_long dirclust, diroffset; in createde() local 658 dirclust = de_clcount(pmp, diroffset); in createde() 659 error = extendfile(ddep, dirclust, 0, 0, DE_CLEAR); in createde() 668 ddep->de_FileSize += de_cn2off(pmp, dirclust); in createde() 677 &bn, &dirclust, &blsize); in createde() 681 if (dirclust != MSDOSFSROOT) in createde() 743 dirclust = dep->de_StartCluster; in createde() 744 if (FAT32(pmp) && dirclust == pmp->pm_rootdirblk) in createde() 745 dirclust = MSDOSFSROOT; in createde() 746 if (dirclust == MSDOSFSROOT) in createde() [all …]
|
/freebsd/usr.sbin/makefs/ |
H A D | msdos.h | 63 int m_readep(struct msdosfsmount *pmp, u_long dirclust, u_long diroffset,
|