/freebsd-13-stable/usr.sbin/makefs/ffs/ |
H A D | buf.c | 73 offset = (*bpp)->b_blkno * fs->sectorsize + fs->offset; 76 (long long)(*bpp)->b_blkno, (long long) offset, 80 (long long)(*bpp)->b_blkno, (long long)offset); 133 offset = bp->b_blkno * fs->sectorsize + fs->offset; 136 (long long)bp->b_blkno, (long long) offset, 169 (long long)bp->b_lblkno, (long long)bp->b_blkno, 202 bp->b_blkno = bp->b_lblkno = blkno;
|
H A D | buf.h | 61 daddr_t b_blkno; member in struct:buf
|
H A D | ffs_balloc.c | 195 bp->b_blkno = fsbtodb(fs, newb); 233 bp->b_blkno = fsbtodb(fs, nb); 275 nbp->b_blkno = fsbtodb(fs, nb); 306 nbp->b_blkno = fsbtodb(fs, nb); 446 bp->b_blkno = fsbtodb(fs, newb); 484 bp->b_blkno = fsbtodb(fs, nb); 526 nbp->b_blkno = fsbtodb(fs, nb); 557 nbp->b_blkno = fsbtodb(fs, nb);
|
/freebsd-13-stable/sys/ufs/ffs/ |
H A D | ffs_balloc.c | 150 dbtofsb(fs, bp->b_blkno), dp->di_db[nb], 154 dp->di_db[nb] = dbtofsb(fs, bp->b_blkno); 185 bp->b_blkno = fsbtodb(fs, nb); 200 bp->b_blkno = fsbtodb(fs, nb); 211 dbtofsb(fs, bp->b_blkno), nb, 226 bp->b_blkno = fsbtodb(fs, newb); 233 dp->di_db[lbn] = dbtofsb(fs, bp->b_blkno); 273 bp->b_blkno = fsbtodb(fs, nb); 353 nbp->b_blkno = fsbtodb(fs, nb); 436 nbp->b_blkno [all...] |
H A D | ffs_alloc.c | 310 if (bp->b_blkno == bp->b_lblkno) { 313 bp->b_blkno = fsbtodb(fs, bprev); 331 if (bp->b_blkno != fsbtodb(fs, bno)) 397 bp->b_blkno = fsbtodb(fs, bno); 593 dbtofsb(fs, buflist->bs_children[i]->b_blkno), fs->fs_bsize)) 598 blkno = buflist->bs_children[0]->b_blkno; 601 if (buflist->bs_children[i]->b_blkno != blkno + (i * ssize)) 621 if (dtog(fs, dbtofsb(fs, buflist->bs_children[0]->b_blkno)) != 622 dtog(fs, dbtofsb(fs, buflist->bs_children[len - 1]->b_blkno))) 714 dbtofsb(fs, buflist->bs_children[i]->b_blkno), f [all...] |
H A D | ffs_rawread.c | 225 bp->b_lblkno = bp->b_blkno = blockno; 248 bp->b_blkno = blkno + blockoff;
|
H A D | ffs_snapshot.c | 1157 bp->b_blkno = fsbtodb(fs, blkno); 1443 bp->b_blkno = fsbtodb(fs, blkno); 1932 (intmax_t)cbp->b_blkno); 2198 lbn = fragstoblks(fs, dbtofsb(fs, bp->b_blkno)); 2325 lbn = fragstoblks(fs, dbtofsb(fs, bp->b_blkno)); 2440 (intmax_t)bp->b_lblkno, (intmax_t)cbp->b_blkno);
|
/freebsd-13-stable/sys/fs/ext2fs/ |
H A D | ext2_balloc.c | 86 bp->b_blkno = fsbtodb(fs, newblk); 146 bp->b_blkno = fsbtodb(fs, nb); 165 bp->b_blkno = fsbtodb(fs, newb); 169 ip->i_db[lbn] = dbtofsb(fs, bp->b_blkno); 200 bp->b_blkno = fsbtodb(fs, newb); 244 nbp->b_blkno = fsbtodb(fs, nb); 284 nbp->b_blkno = fsbtodb(fs, nb); 319 nbp->b_blkno = fsbtodb(fs, nb);
|
H A D | ext2_bmap.c | 173 bp->b_blkno = blkptrtodb(ump, daddr); 178 bp->b_iooffset = dbtob(bp->b_blkno);
|
H A D | ext2_inode.c | 151 * the on disk address, so we have to set the b_blkno field 160 bp->b_blkno = dbn; 162 bp->b_iooffset = dbtob(bp->b_blkno);
|
H A D | ext2_alloc.c | 255 if (dtog(fs, dbtofsb(fs, buflist->bs_children[0]->b_blkno)) != 256 dtog(fs, dbtofsb(fs, buflist->bs_children[len - 1]->b_blkno))) 321 if (buflist->bs_children[i]->b_blkno != fsbtodb(fs, *bap)) 361 ext2_blkfree(ip, dbtofsb(fs, buflist->bs_children[i]->b_blkno), 363 buflist->bs_children[i]->b_blkno = fsbtodb(fs, blkno);
|
/freebsd-13-stable/sys/kern/ |
H A D | vfs_cluster.c | 251 bp->b_iooffset = dbtob(bp->b_blkno); 297 rbp->b_blkno = blkno; 311 rbp->b_iooffset = dbtob(rbp->b_blkno); 373 tbp->b_blkno = blkno; 398 bp->b_blkno = blkno; 493 if (tbp->b_blkno == tbp->b_lblkno) { 494 tbp->b_blkno = bn; 495 } else if (tbp->b_blkno != bn) { 672 (bp->b_blkno != vp->v_lasta + btodb(lblocksize))) { 740 vp->v_lasta = bp->b_blkno; [all...] |
H A D | vfs_bio.c | 1420 (intmax_t)bp->b_blkno, 1697 bp->b_blkno = bp->b_lblkno = 0; 2129 rabp->b_iooffset = dbtob(rabp->b_blkno); 2202 bp->b_iooffset = dbtob(bp->b_blkno); 2300 bp->b_iooffset = dbtob(bp->b_blkno); 2425 if (vp->v_type != VCHR && bp->b_lblkno == bp->b_blkno) { 2426 VOP_BMAP(vp, bp->b_lblkno, NULL, &bp->b_blkno, NULL, NULL); 3162 if ((bpa->b_blkno != bpa->b_lblkno) && (bpa->b_blkno == blkno)) 3207 bp->b_blkno [all...] |
/freebsd-13-stable/sys/fs/cd9660/ |
H A D | cd9660_lookup.c | 267 ino = dbtob(bp->b_blkno) 284 ino = dbtob(bp->b_blkno) + entryoffsetinblock; 462 * We must BMAP the buffer because the directory code may use b_blkno 468 * reconstituted buffer will have no knowledge of b_blkno. 470 if (bp->b_blkno == bp->b_lblkno) { 471 bp->b_blkno = (ip->iso_start + bp->b_lblkno) << (bshift - DEV_BSHIFT);
|
H A D | cd9660_vnops.c | 574 idp->current.d_fileno = dbtob(bp->b_blkno) + 765 if (bp->b_blkno == bp->b_lblkno) { 766 bp->b_blkno = (ip->iso_start + bp->b_lblkno) << 769 bp->b_iooffset = dbtob(bp->b_blkno);
|
/freebsd-13-stable/cddl/lib/libdtrace/ |
H A D | io.d | 59 uint64_t b_blkno; /* expanded block # on device */ 74 b_blkno = 0;
|
/freebsd-13-stable/sys/fs/smbfs/ |
H A D | smbfs_io.c | 334 uiop->uio_offset = ((off_t)bp->b_blkno) * DEV_BSIZE; 354 if (((bp->b_blkno * DEV_BSIZE) + bp->b_dirtyend) > np->n_size) 355 bp->b_dirtyend = np->n_size - (bp->b_blkno * DEV_BSIZE); 359 uiop->uio_offset = ((off_t)bp->b_blkno) * DEV_BSIZE + bp->b_dirtyoff;
|
/freebsd-13-stable/sys/vm/ |
H A D | vnode_pager.c | 623 bp->b_blkno = fileaddr; 632 bp->b_iooffset = dbtob(bp->b_blkno); 848 error = VOP_BMAP(vp, foff / bsize, &bo, &bp->b_blkno, &after, &before); 886 if (bp->b_blkno == -1) { 899 blkno0 = bp->b_blkno; 901 bp->b_blkno += (foff % bsize) / DEV_BSIZE; 979 bp->b_blkno -= IDX_TO_OFF(i) / DEV_BSIZE; 1072 bp->b_iooffset = dbtob(bp->b_blkno); 1074 (blkno0 - bp->b_blkno) * DEV_BSIZE + 1077 "blkno0 %ju b_blkno [all...] |
H A D | swap_pager.c | 869 if (swp_pager_isondev(bp->b_blkno, sp)) { 1346 bp->b_blkno = blk; 1365 * NOTE: b_blkno is destroyed by the call to swapdev_strategy 1384 bp->b_bufobj, (intmax_t)bp->b_blkno, bp->b_bcount); 1553 bp->b_blkno = blk; 1580 * NOTE: b_blkno is destroyed by the call to swapdev_strategy. 1592 * NOTE: b_blkno is destroyed by the call to swapdev_strategy. 1635 (long)bp->b_blkno, 2891 bio->bio_offset = (bp->b_blkno - sp->sw_first) * PAGE_SIZE; 3031 bp->b_blkno [all...] |
/freebsd-13-stable/sys/fs/msdosfs/ |
H A D | msdosfs_vnops.c | 742 if (bp->b_blkno == bp->b_lblkno) { 745 bp->b_blkno = -1; 747 bp->b_blkno = bn; 749 if (bp->b_blkno == -1) { 1862 if (bp->b_blkno == bp->b_lblkno) { 1864 bp->b_blkno = blkno; 1871 if ((long)bp->b_blkno == -1) 1874 if (bp->b_blkno == -1) { 1882 bp->b_iooffset = dbtob(bp->b_blkno);
|
H A D | msdosfs_fat.c | 1077 bp->b_blkno = -1; 1078 if (bp->b_blkno == -1) 1081 bp->b_blkno = blkno;
|
/freebsd-13-stable/sys/ufs/ufs/ |
H A D | ufs_bmap.c | 116 bp->b_blkno = blkptrtodb(ump, daddr); 121 bp->b_iooffset = dbtob(bp->b_blkno);
|
/freebsd-13-stable/sys/fs/nfsclient/ |
H A D | nfs_clbio.c | 1171 (long)bp->b_blkno * DEV_BSIZE, 1338 bp->b_blkno = bn * (vp->v_bufobj.bo_bsize / DEV_BSIZE); 1648 uiop->uio_offset = ((off_t)bp->b_blkno) * DEV_BSIZE; 1720 off = ((u_quad_t)bp->b_blkno) * DEV_BSIZE + bp->b_dirtyoff; 1739 if ((off_t)bp->b_blkno * DEV_BSIZE + bp->b_dirtyend > np->n_size) 1740 bp->b_dirtyend = np->n_size - (off_t)bp->b_blkno * DEV_BSIZE; 1746 uiop->uio_offset = (off_t)bp->b_blkno * DEV_BSIZE
|
/freebsd-13-stable/sys/fs/udf/ |
H A D | udf_vnops.c | 1038 if (bp->b_blkno == bp->b_lblkno) { 1043 bp->b_blkno = -1; 1048 bp->b_blkno = sector << (node->udfmp->bshift - DEV_BSHIFT); 1051 bp->b_iooffset = dbtob(bp->b_blkno);
|
/freebsd-13-stable/sys/sys/ |
H A D | buf.h | 112 daddr_t b_blkno; /* Underlying physical block number. */ member in struct:buf
|