Home
last modified time | relevance | path

Searched refs:lsn (Results 1 – 8 of 8) sorted by relevance

/dragonfly/sys/vfs/hpfs/
H A Dhpfs_subr.c256 lsn_t lsn; in hpfs_cpinit() local
303 lsn = cpisp->s_next; in hpfs_cpinit()
348 i = lsn >> 5; in hpfs_bmlookup()
349 k = lsn & 0x1F; in hpfs_bmlookup()
354 *lsnp = lsn; in hpfs_bmlookup()
394 cband = (lsn >> 14); in hpfs_bmlookup()
531 lsn_t lsn, olsn; in hpfs_validateparent() local
615 lsn = DE_DOWNLSN(dep); in hpfs_validateparent()
622 olsn = lsn; in hpfs_validateparent()
623 lsn = dp->d_parent; in hpfs_validateparent()
[all …]
H A Dhpfs_lookup.c67 lsn_t lsn; in hpfs_genlookupbyname() local
73 lsn = ((alleaf_t *)dhp->h_fn.fn_abd)->al_lsn; in hpfs_genlookupbyname()
75 error = hpfs_breaddirblk (hpmp, lsn, &bp); in hpfs_genlookupbyname()
100 lsn = DE_DOWNLSN(dep); in hpfs_genlookupbyname()
129 lsn_t lsn, in hpfs_removedirent() argument
142 lsn, namelen, name, namelen)); in hpfs_removedirent()
144 error = hpfs_breaddirblk (hpmp, lsn, &bp); in hpfs_removedirent()
H A Dhpfs_subr.h76 #define hpfs_breadalsec(hpmp, lsn, bpp) \ argument
77 hpfs_breadstruct(hpmp, lsn, DEV_BSIZE, AS_MAGIC, bpp)
78 #define hpfs_breaddirblk(hpmp, lsn, bpp) \ argument
79 hpfs_breadstruct(hpmp, lsn, D_BSIZE, D_MAGIC, bpp)
H A Dhpfs.h37 lsn_t lsn; member
229 #define AN_SET(anp,nextoff,lsn) { \ argument
231 (anp)->an_lsn = (lsn); \
244 #define AL_SET(alp,off,len,lsn) { \ argument
247 (alp)->al_lsn = (lsn); \
H A Dhpfs_hash.c51 #define HPNOHASH(dev, lsn) (&hpfs_hphashtbl[(minor(dev) + (lsn)) & hpfs_hphash]) argument
H A Dhpfs_vnops.c775 lsn_t lsn; in hpfs_readdir() local
818 lsn = ((alleaf_t *)hp->h_fn.fn_abd)->al_lsn; in hpfs_readdir()
824 dprintf(("[dive 0x%x] ", lsn)); in hpfs_readdir()
825 error = bread(hp->h_devvp, dbtodoff(lsn), D_BSIZE, &bp); in hpfs_readdir()
884 lsn = DE_DOWNLSN(dep); in hpfs_readdir()
911 lsn = DE_DOWNLSN(dep); in hpfs_readdir()
919 olsn = lsn; in hpfs_readdir()
920 lsn = dp->d_parent; in hpfs_readdir()
H A Dhpfs_alsubr.c163 lsn_t lsn; in hpfs_allocalsec() local
168 error = hpfs_bmfblookup(hpmp, &lsn); in hpfs_allocalsec()
174 error = hpfs_bmmarkbusy(hpmp, lsn, 1); in hpfs_allocalsec()
178 bp = getblk(hpmp->hpm_devvp, dbtodoff(lsn), DEV_BSIZE, 0, 0); in hpfs_allocalsec()
184 asp->as_self = lsn; in hpfs_allocalsec()
/dragonfly/sbin/newfs_msdos/
H A Dmkfs_msdos.c640 for (lsn = 0; lsn < dir + (fat == 32 ? bpb.bpbSecPerClust : rds); lsn++) { in mkfs_msdos()
643 fname, lsn, in mkfs_msdos()
645 (lsn * 100) / (dir + in mkfs_msdos()
649 x = lsn; in mkfs_msdos()
670 if (!lsn || in mkfs_msdos()
672 lsn == bpb.bpbBackup)) { in mkfs_msdos()
726 (lsn == bpb.bpbFSInfo || in mkfs_msdos()
728 lsn == bpb.bpbBackup + bpb.bpbFSInfo))) { in mkfs_msdos()
734 } else if (lsn >= bpb.bpbResSectors && lsn < dir && in mkfs_msdos()
735 !((lsn - bpb.bpbResSectors) % in mkfs_msdos()
[all …]