/netbsd-6-1-5-RELEASE/usr.sbin/makefs/ffs/ |
H A D | buf.c | 81 offset = (*bpp)->b_blkno * sectorsize; /* XXX */ 84 (*bpp), (long long)(*bpp)->b_blkno, (long long) offset, 88 (long long)(*bpp)->b_blkno, (long long)offset); 140 offset = bp->b_blkno * sectorsize; /* XXX */ 143 bp, (long long)bp->b_blkno, (long long) offset, 176 (long long)bp->b_lblkno, (long long)bp->b_blkno, 212 bp->b_blkno = bp->b_lblkno = blkno;
|
H A D | buf.h | 48 daddr_t b_blkno; member in struct:buf
|
/netbsd-6-1-5-RELEASE/sys/arch/arm/arm/ |
H A D | disksubr_acorn.c | 201 bp->b_blkno = FILECORE_BOOT_SECTOR; 204 bp->b_cylinder = bp->b_blkno / lp->d_secpercyl; 253 bp->b_blkno = cyl * heads * sectors; 255 bp->b_blkno);*/ 256 bp->b_cylinder = bp->b_blkno / lp->d_secpercyl; 332 bp->b_blkno = FILECORE_BOOT_SECTOR; 335 bp->b_cylinder = bp->b_blkno / lp->d_secpercyl;
|
H A D | disksubr.c | 185 bp->b_blkno = netbsdpartoff + LABELSECTOR; 186 bp->b_cylinder = bp->b_blkno / lp->d_secpercyl; 226 bp->b_blkno = lp->d_secperunit - lp->d_nsectors + i; 228 bp->b_blkno *= lp->d_secsize / DEV_BSIZE; 230 bp->b_blkno /= DEV_BSIZE / lp->d_secsize; 366 bp->b_blkno = netbsdpartoff + LABELSECTOR;
|
/netbsd-6-1-5-RELEASE/sys/kern/ |
H A D | subr_disk.c | 133 printf("%" PRIdaddr, bp->b_blkno); 143 sn = bp->b_blkno; 151 (*pr)("%" PRIdaddr "-%" PRIdaddr "", bp->b_blkno, 152 bp->b_blkno + (bp->b_bcount - 1) / DEV_BSIZE); 318 * secsize, mediasize and b_blkno must all be the same units. 328 if (bp->b_blkno + sz > mediasize) { 329 sz = mediasize - bp->b_blkno; 376 if ((bp->b_blkno + sz) > p_size) { 377 sz = p_size - bp->b_blkno; 393 if (bp->b_blkno [all...] |
H A D | kern_physio.c | 129 off_t endoffset = dbtob(bp->b_blkno) + done; 141 __func__, bp->b_error, dbtob(bp->b_blkno), endoffset, 142 bp->b_blkno, bp->b_bcount, bp->b_flags)); 294 bp->b_blkno = btodb(uio->uio_offset); 295 if (dbtob(bp->b_blkno) != uio->uio_offset) {
|
/netbsd-6-1-5-RELEASE/sys/arch/vax/vax/ |
H A D | crl.c | 135 bp->b_blkno = uio->uio_offset>>9; 136 if (bp->b_blkno >= MAXSEC || (uio->uio_offset & 0x1FF) != 0) { 189 mtpr(bp->b_blkno<<8 | STXCS_IE | CRL_F_READ, PR_STXCS); 192 mtpr(bp->b_blkno<<8 | STXCS_IE | CRL_F_WRITE, PR_STXCS); 239 mtpr(bp->b_blkno<<8 | STXCS_IE | CRL_F_WRITE, PR_STXCS); 244 mtpr(bp->b_blkno<<8 | STXCS_IE | CRL_F_READ, PR_STXCS); 269 printf("crl: hard error sn%" PRId64 "\n", bp->b_blkno);
|
H A D | cfl.c | 175 bp->b_blkno = uio->uio_offset>>7; 176 if (bp->b_blkno >= CFL_MAXSEC || 252 mtpr(FLOP_DATA | (int)bp->b_blkno % (CFL_SECTORS + 1), PR_TXDB); 257 mtpr(FLOP_DATA | (int)bp->b_blkno / CFL_SECTORS, PR_TXDB);
|
/netbsd-6-1-5-RELEASE/sbin/fsck_lfs/ |
H A D | bufcache.h | 83 daddr_t b_blkno; /* Underlying physical block number */ member in struct:ubuf
|
/netbsd-6-1-5-RELEASE/sys/ufs/chfs/ |
H A D | chfs_subr.c | 269 bp->b_blkno = 0; 309 for (bp->b_blkno = blknum; bp->b_blkno * PAGE_SIZE < size; bp->b_blkno++) { 310 uint64_t writesize = MIN(size - bp->b_blkno * PAGE_SIZE, PAGE_SIZE); 315 memcpy(bp->b_data, buf + (bp->b_blkno * PAGE_SIZE), writesize); 317 if (bp->b_blkno != blknum) { 329 if (bp->b_blkno != blknum) {
|
/netbsd-6-1-5-RELEASE/sys/arch/sbmips/sbmips/ |
H A D | disksubr.c | 141 bp->b_blkno = MBR_BBSECTOR; 189 bp->b_blkno = dospartoff + LABELSECTOR; 231 bp->b_blkno = lp->d_secperunit - lp->d_nsectors + i; 233 bp->b_blkno *= lp->d_secsize / DEV_BSIZE; 235 bp->b_blkno /= DEV_BSIZE / lp->d_secsize; 340 bp->b_blkno = MBR_BBSECTOR; 364 bp->b_blkno = dospartoff + LABELSECTOR;
|
/netbsd-6-1-5-RELEASE/sys/arch/cobalt/cobalt/ |
H A D | disksubr.c | 143 bp->b_blkno = MBR_BBSECTOR; 186 bp->b_blkno = dospartoff + LABELSECTOR; 228 bp->b_blkno = lp->d_secperunit - lp->d_nsectors + i; 230 bp->b_blkno *= lp->d_secsize / DEV_BSIZE; 232 bp->b_blkno /= DEV_BSIZE / lp->d_secsize; 339 bp->b_blkno = MBR_BBSECTOR; 362 bp->b_blkno = dospartoff + LABELSECTOR;
|
/netbsd-6-1-5-RELEASE/sys/arch/evbppc/evbppc/ |
H A D | disksubr.c | 84 bp->b_blkno = LABELSECTOR; 126 bp->b_blkno = lp->d_secperunit - lp->d_nsectors + i; 128 bp->b_blkno *= lp->d_secsize / DEV_BSIZE; 130 bp->b_blkno /= DEV_BSIZE / lp->d_secsize; 233 bp->b_blkno = LABELSECTOR;
|
/netbsd-6-1-5-RELEASE/sys/arch/alpha/alpha/ |
H A D | disksubr.c | 79 bp->b_blkno = LABELSECTOR; 111 bp->b_blkno = lp->d_secperunit - lp->d_nsectors + i; 113 bp->b_blkno *= lp->d_secsize / DEV_BSIZE; 115 bp->b_blkno /= DEV_BSIZE / lp->d_secsize; 210 bp->b_blkno = LABELSECTOR;
|
/netbsd-6-1-5-RELEASE/sys/fs/adosfs/ |
H A D | adutil.c | 109 bp->b_blkno / (amp->bsize / DEV_BSIZE)); 120 bp->b_blkno / (amp->bsize / DEV_BSIZE), adoswordn(bp,0)); 145 bp->b_blkno / (amp->bsize / DEV_BSIZE), adoswordn(bp, amp->nwords - 1));
|
/netbsd-6-1-5-RELEASE/sys/arch/x68k/x68k/ |
H A D | disksubr.c | 103 bp->b_blkno = LABELSECTOR; 139 bp->b_blkno = DOSPARTOFF * DEF_BSIZE / lp->d_secsize; 220 bp->b_blkno = lp->d_secperunit - lp->d_nsectors + i; 222 bp->b_blkno *= lp->d_secsize / DEF_BSIZE; 224 bp->b_blkno /= DEF_BSIZE / lp->d_secsize; 341 bp->b_blkno = LABELSECTOR; 376 bp->b_blkno = DOSBBSECTOR; 388 bp->b_blkno = DOSPARTOFF;
|
/netbsd-6-1-5-RELEASE/sys/arch/sgimips/sgimips/ |
H A D | disksubr.c | 91 bp->b_blkno = LABELSECTOR; 94 bp->b_cylinder = bp->b_blkno / lp->d_secpercyl; 112 bp->b_blkno = 0; 115 bp->b_cylinder = bp->b_blkno / lp->d_secpercyl; 187 bp->b_blkno = 0; 190 bp->b_cylinder = bp->b_blkno / lp->d_secpercyl; 210 bp->b_blkno = LABELSECTOR; 212 bp->b_cylinder = bp->b_blkno / lp->d_secpercyl;
|
/netbsd-6-1-5-RELEASE/sys/arch/mipsco/mipsco/ |
H A D | disksubr.c | 87 bp->b_blkno = LABELSECTOR; 90 bp->b_cylinder = bp->b_blkno / lp->d_secpercyl; 108 bp->b_blkno = MIPS_VHSECTOR; 111 bp->b_cylinder = bp->b_blkno / lp->d_secpercyl; 205 bp->b_blkno = MIPS_VHSECTOR; 208 bp->b_cylinder = bp->b_blkno / lp->d_secpercyl; 228 bp->b_blkno = LABELSECTOR; 230 bp->b_cylinder = bp->b_blkno / lp->d_secpercyl;
|
/netbsd-6-1-5-RELEASE/sys/arch/ews4800mips/ews4800mips/ |
H A D | sector.c | 91 b->b_blkno = sector; 127 b->b_blkno = sector;
|
/netbsd-6-1-5-RELEASE/sys/arch/evbmips/evbmips/ |
H A D | disksubr.c | 116 bp->b_blkno = lp->d_secperunit - lp->d_nsectors + i; 118 bp->b_blkno *= lp->d_secsize / DEV_BSIZE; 120 bp->b_blkno /= DEV_BSIZE / lp->d_secsize; 208 bp->b_blkno = LABELSECTOR;
|
/netbsd-6-1-5-RELEASE/sys/arch/hp700/hp700/ |
H A D | disksubr.c | 101 bp->b_blkno = sec; 211 bp->b_blkno = btodb(HP700_LIF_VOLSTART); 235 dbp->b_blkno = btodb(HP700_LIF_DIRSTART); 367 bp->b_blkno = partoff + LABELSECTOR;
|
/netbsd-6-1-5-RELEASE/sys/ufs/lfs/ |
H A D | lfs_debug.c | 282 blkno = (*(sp->bpp))->b_blkno; 284 if ((*bpp)->b_blkno != blkno) { 288 (*bpp)->b_blkno, 299 (*bpp)->b_blkno);
|
/netbsd-6-1-5-RELEASE/sys/arch/hpc/hpc/ |
H A D | disksubr.c | 171 bp->b_blkno = MBR_BBSECTOR; 239 bp->b_blkno = dospartoff + LABELSECTOR; 281 bp->b_blkno = lp->d_secperunit - lp->d_nsectors + i; 283 bp->b_blkno *= lp->d_secsize / DEV_BSIZE; 285 bp->b_blkno /= DEV_BSIZE / lp->d_secsize; 392 bp->b_blkno = MBR_BBSECTOR; 424 bp->b_blkno = dospartoff + LABELSECTOR;
|
/netbsd-6-1-5-RELEASE/sys/arch/arc/arc/ |
H A D | disksubr.c | 195 bp->b_blkno = MBR_BBSECTOR; 270 bp->b_blkno = dospartoff + LABELSECTOR; 326 bp->b_blkno = lp->d_secperunit - lp->d_nsectors + i; 328 bp->b_blkno *= lp->d_secsize / DEV_BSIZE; 330 bp->b_blkno /= DEV_BSIZE / lp->d_secsize; 437 bp->b_blkno = MBR_BBSECTOR; 475 bp->b_blkno = dospartoff + LABELSECTOR;
|
/netbsd-6-1-5-RELEASE/sys/ufs/ext2fs/ |
H A D | ext2fs_balloc.c | 159 bp->b_blkno = fsbtodb(fs, newb); 193 bp->b_blkno = fsbtodb(fs, newb); 236 nbp->b_blkno = fsbtodb(fs, nb); 287 nbp->b_blkno = fsbtodb(fs, nb); 305 nbp->b_blkno = fsbtodb(fs, nb);
|