Lines Matching refs:cn
1352 uint32_t cn;
1674 cn = fdep->de_StartCluster;
1675 bn = cntobn(pmp, cn);
2077 uint32_t cn;
2185 error = msdosfs_pcbmap(dep, (uint32_t)dir_cluster, 1, &bn, &cn, &blsize);
2398 uint32_t cn;
2410 cn = de_cluster(pmp, ap->a_foffset);
2413 numclusters = de_cluster(pmp, ap->a_foffset + ap->a_size - 1) - cn + 1;
2416 error = msdosfs_pcbmap(dep, cn, numclusters, &bn, NULL, &runsize);
2419 bn += (((uint32_t)ap->a_foffset - de_cn2off(pmp, cn)) >> pmp->pm_bnshift);
2420 runsize -= ((uint32_t)ap->a_foffset - (de_cn2off(pmp, cn)));
2684 uint32_t cn = 0; /* first cluster of symlink */
2757 error = msdosfs_clusteralloc(pmp, 0, clusters, CLUST_EOFE, &cn, &got);
2766 bp = buf_getblk(pmp->pm_devvp, cntobn(pmp, cn),
2796 buf_invalblkno(pmp->pm_devvp, cntobn(pmp, cn), BUF_WAIT);
2823 ndirent.de_StartCluster = cn;
2853 if (error != 0 && cn != 0)
2854 (void) msdosfs_freeclusterchain(pmp, cn);