Searched refs:lbc (Results 1 - 6 of 6) sorted by relevance

/netbsd-current/sys/arch/powerpc/booke/dev/
H A Dpq3obio.c67 if (!e500_cpunode_submatch(parent, cf, "lbc", aux))
103 const struct pq3lbc_softc *lbc; local
112 lbc = &sc->sc_lbcs[ga.ga_cs];
116 if (ga.ga_addr < lbc->lbc_base
117 || ga.ga_addr > lbc->lbc_limit)
120 ga.ga_addr = lbc->lbc_base;
126 for (cs = 0, lbc = sc->sc_lbcs;
128 cs++, lbc++) {
129 if (ga.ga_addr >= lbc->lbc_base
130 && ga.ga_addr <= lbc
195 struct pq3lbc_softc * const lbc = &sc->sc_lbcs[i]; local
219 struct pq3lbc_softc * const lbc = &sc->sc_lbcs[i]; local
[all...]
H A Dpq3nandfcm.c86 struct pq3lbc_softc * const lbc = &psc->sc_lbcs[ga->ga_cs]; local
88 if ((lbc->lbc_br & BR_V) == 0)
91 if (__SHIFTOUT(lbc->lbc_br,BR_MSEL) != BR_MSEL_FCM)
103 struct pq3lbc_softc * const lbc = &psc->sc_lbcs[ga->ga_cs]; local
107 sc->sc_lbc = lbc;
/netbsd-current/usr.sbin/makefs/ffs/
H A Dufs_bmap.c79 int lbc; local
101 for (lbc = 0, i = UFS_NIADDR;; i--, bn -= blockcnt) {
105 lbc += lognindir;
106 blockcnt = (int64_t)1 << lbc;
130 lbc -= lognindir;
131 blockcnt = (int64_t)1 << lbc;
132 off = (bn >> lbc) & (FFS_NINDIR(ip->i_fs) - 1);
140 metalbn -= -1 + (off << lbc);
/netbsd-current/sys/ufs/lfs/
H A Dulfs_bmap.c358 int lbc; local
379 for (lbc = 0, i = ULFS_NIADDR;; i--, bn -= blockcnt) {
383 lbc += fs->um_lognindir;
384 blockcnt = (int64_t)1 << lbc;
408 lbc -= fs->um_lognindir;
409 off = (bn >> lbc) & (MNINDIR(fs) - 1);
417 metalbn -= -1 + ((int64_t)off << lbc);
/netbsd-current/sys/ufs/ufs/
H A Dufs_bmap.c341 int lbc; local
361 for (lbc = 0, i = UFS_NIADDR;; i--, bn -= blockcnt) {
365 lbc += ump->um_lognindir;
366 blockcnt = (int64_t)1 << lbc;
390 lbc -= ump->um_lognindir;
391 off = (bn >> lbc) & (MNINDIR(ump) - 1);
399 metalbn -= -1 + ((int64_t)off << lbc);
/netbsd-current/sbin/fsck_lfs/
H A Dlfs.c232 int lbc; local
255 for (lbc = 0, i = ULFS_NIADDR;; i--, bn -= blockcnt) {
259 lbc += lognindir;
260 blockcnt = (int64_t) 1 << lbc;
282 lbc -= lognindir;
283 /*blockcnt = (int64_t) 1 << lbc;*/
284 off = (bn >> lbc) & (lfs_sb_getnindir(fs) - 1);
292 metalbn -= -1 + (off << lbc);

Completed in 213 milliseconds