Lines Matching defs:scn
149 daddr_t scn; /* starting cluster number */
189 scn = MSDOSFSROOT;
451 scn = getushort(dep->deStartCluster);
453 scn |= getushort(dep->deHighClust) << 16;
454 if (scn == pmp->pm_rootdirblk) {
459 scn = MSDOSFSROOT;
464 cluster = scn;
483 * entry of the filesystems root directory. isadir and scn were
486 if (FAT32(pmp) && scn == MSDOSFSROOT)
487 scn = pmp->pm_rootdirblk;
517 if (dp->de_StartCluster == scn && isadir) { /* "." */
546 if (dp->de_StartCluster == scn && isadir)
583 error = msdosfs_lookup_ino(pdp, NULL, cnp, &scn, &blkoff);
589 if (FAT32(pmp) && scn == MSDOSFSROOT)
590 scn = pmp->pm_rootdirblk;
591 inode1 = DETOI(pmp, scn, blkoff);
599 } else if (dp->de_StartCluster == scn && isadir) {
838 daddr_t scn;
870 scn = dep->de_StartCluster;
871 error = bread(pmp->pm_devvp, cntobn(pmp, scn),
884 scn = getushort(ep->deStartCluster);
886 scn |= getushort(ep->deHighClust) << 16;
889 if (scn == source->de_StartCluster) {
893 if (scn == MSDOSFSROOT)
895 if (FAT32(pmp) && scn == pmp->pm_rootdirblk) {
897 * scn should be 0 in this case,
906 error = deget(pmp, scn, 0, LK_EXCLUSIVE | LK_NOWAIT, &dep);
908 *wait_scn = scn;