Home
last modified time | relevance | path

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

/system/core/toolbox/
Dnewfs_msdos.c263 u_int fat, bss, rds, cls, dir, lsn, x, x1, x2; in newfs_msdos_main() local
644 for (lsn = 0; lsn < dir + (fat == 32 ? bpb.spc : rds); lsn++) { in newfs_msdos_main()
645 x = lsn; in newfs_msdos_main()
658 if (!lsn || (fat == 32 && bpb.bkbs != MAXU16 && lsn == bpb.bkbs)) { in newfs_msdos_main()
712 (lsn == bpb.infs || (bpb.bkbs != MAXU16 && in newfs_msdos_main()
713 lsn == bpb.bkbs + bpb.infs))) { in newfs_msdos_main()
719 } else if (lsn >= bpb.res && lsn < dir && in newfs_msdos_main()
720 !((lsn - bpb.res) % (bpb.spf ? bpb.spf : bpb.bspf))) { in newfs_msdos_main()
724 } else if (lsn == dir && opt_L) { in newfs_msdos_main()
740 errx(1, "%s: can't write sector %u", fname, lsn); in newfs_msdos_main()