/netbsd-current/usr.sbin/makefs/ffs/ |
H A D | ffs_alloc.c | 105 daddr_t bno; local 121 bno = ffs_hashalloc(ip, cg, bpref, size, ffs_alloccg); 122 if (bno > 0) { 124 *bnp = bno; 303 daddr_t bno, blkno; local 322 bno = ffs_alloccgblk(ip, bp, bpref); 324 return (bno); 344 bno = ffs_alloccgblk(ip, bp, bpref); 345 bpref = dtogd(fs, bno); 355 return (bno); 388 int32_t bno; local 433 ffs_blkfree(struct inode *ip, daddr_t bno, long size) argument 540 int32_t bno; local [all...] |
H A D | mkfs.c | 801 ffs_rdfs(daddr_t bno, int size, void *bf, const fsinfo_t *fsopts) argument 806 offset = bno * (off_t)fsopts->sectorsize + fsopts->offset; 809 (long long)bno); 812 err(EXIT_FAILURE, "%s: read error bno %lld size %d", __func__, 813 (long long)bno, size); 817 (long long)bno); 824 ffs_wtfs(daddr_t bno, int size, void *bf, const fsinfo_t *fsopts) argument 829 offset = bno * (off_t)fsopts->sectorsize + fsopts->offset; 832 __func__, (intmax_t)offset, (intmax_t)bno); 836 (intmax_t)bno); [all...] |
/netbsd-current/sys/lib/libsa/ |
H A D | cd9660.c | 61 daddr_t bno; /* Starting block number */ member in struct:file 76 #define cdb2devb(bno) ((bno) * ISO_DEFAULT_BLOCK_SIZE / DEV_BSIZE) 142 daddr_t bno; local 152 for (bno = 16;; bno++) { 156 rc = DEV_STRATEGY(f->f_dev)(f->f_devdata, F_READ, cdb2devb(bno), 176 bno = isonum_732(vd->type_m_path_table); 187 rc = DEV_STRATEGY(f->f_dev)(f->f_devdata, F_READ, cdb2devb(bno), 199 bno 314 daddr_t bno; local [all...] |
/netbsd-current/sys/ufs/ffs/ |
H A D | ffs_alloc.c | 134 ffs_check_bad_allocation(const char *func, struct fs *fs, daddr_t bno, argument 138 ffs_fragnum(fs, bno) + ffs_numfrags(fs, size) > fs->fs_frag) { 139 panic("%s: bad size: dev = 0x%llx, bno = %" PRId64 141 (long long)dev, bno, fs->fs_bsize, size, fs->fs_fsmnt); 144 if (bno >= fs->fs_size) { 145 printf("%s: bad block %" PRId64 ", ino %llu\n", func, bno, 181 daddr_t bno; local 258 bno = ffs_hashalloc(ip, cg, bpref, size, 0, flags, ffs_alloccg); 259 if (bno > 0) { 265 *bnp = bno; 316 daddr_t bno; local 977 daddr_t bno; local 1058 int32_t bno; local 1189 int32_t bno; local 1442 ffs_blkalloc(struct inode *ip, daddr_t bno, long size) argument 1455 ffs_blkalloc_ump(struct ufsmount *ump, daddr_t bno, long size) argument 1560 ffs_blkfree_cg(struct fs *fs, struct vnode *devvp, daddr_t bno, long size) argument 1599 daddr_t bno; member in struct:discardopdata 1733 ffs_blkfree(struct fs *fs, struct vnode *devvp, daddr_t bno, long size, ino_t inum) argument 1832 ffs_blkfree_snap(struct fs *fs, struct vnode *devvp, daddr_t bno, long size, ino_t inum) argument 1872 ffs_blkfree_common(struct ufsmount *ump, struct fs *fs, dev_t dev, struct buf *bp, daddr_t bno, long size, bool devvp_is_snapshot) argument 2162 int32_t bno; local [all...] |
H A D | fs.h | 669 #define old_cbtocylno(fs, bno) \ 670 (FFS_FSBTODB(fs, bno) / (fs)->fs_old_spc) 671 #define old_cbtorpos(fs, bno) \ 673 (FFS_FSBTODB(fs, bno) % (fs)->fs_old_spc / (fs)->fs_old_nsect * (fs)->fs_old_trackskew + \ 674 FFS_FSBTODB(fs, bno) % (fs)->fs_old_spc % (fs)->fs_old_nsect * (fs)->fs_old_interleave) % \
|
H A D | ffs_snapshot.c | 1549 ffs_snapblkfree(struct fs *fs, struct vnode *devvp, daddr_t bno, argument 1564 lbn = ffs_fragstoblks(fs, bno); 1655 db_assign(ip, lbn, bno); 1657 idb_assign(ip, ibp->b_data, indiroff, bno);
|
/netbsd-current/sys/arch/sandpoint/stand/altboot/ |
H A D | dsk.c | 397 lba_read(struct disk *d, int64_t bno, int bcnt, void *buf) argument 412 for ( ; bcnt > 0; bno += rdcnt, bcnt -= rdcnt) { 413 issue = (bno < (1ULL<<28)) ? issue28 : issue48; 415 (*issue)(chan, bno, rdcnt); 419 d->xname, (unsigned)bno, err); 435 issue48(struct dvata_chan *chan, int64_t bno, int nblk) argument 439 CSR_WRITE_1(chan->cmd + _LBAL, (bno >> 24) & 0xff); 440 CSR_WRITE_1(chan->cmd + _LBAM, (bno >> 32) & 0xff); 441 CSR_WRITE_1(chan->cmd + _LBAH, (bno >> 40) & 0xff); 443 CSR_WRITE_1(chan->cmd + _LBAL, (bno >> 451 issue28(struct dvata_chan *chan, int64_t bno, int nblk) argument 548 int64_t bno; local [all...] |
/netbsd-current/sys/ufs/ext2fs/ |
H A D | ext2fs_alloc.c | 121 daddr_t bno; local 142 bno = (daddr_t)ext2fs_hashalloc(ip, cg, bpref, fs->e2fs_bsize, 144 if (bno > 0) { 147 *bnp = bno; 346 int error, bno, start, end, loc; local 377 bno = bpref; 394 bno = loc * NBBY; 400 bno = loc * NBBY; 405 bno = ext2fs_mapsearch(fs, bbp, bpref); 411 if (bno < 516 ext2fs_blkfree(struct inode *ip, daddr_t bno) argument [all...] |
/netbsd-current/sbin/badsect/ |
H A D | badsect.c | 251 rdfs(off_t bno, size_t size, void *bf) argument 255 if (lseek(fsi, bno * dev_bsize, SEEK_SET) == -1) 256 err(1, "seek error at block %lld", (long long)bno); 260 err(1, "read error at block %lld", (long long)bno); 266 errx(1, "incomplete read at block %lld", (long long)bno);
|
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/rx/ |
H A D | bcnd.d | 86 6c: 2d 80 bno\.b 0xffffffec 87 6e: 2d 7f bno\.b 0xed 88 70: 2d 00 bno\.b 0x70
|
/netbsd-current/sbin/newfs_ext2fs/ |
H A D | mke2fs.c | 1258 uint32_t loc, bno; local 1280 bno = loc * NBBY; 1293 bno = loc * NBBY; 1294 for (i = 0; i < NBBY; i++, bno++) { 1302 if (isset(bbp, bno)) 1305 setbit(bbp, bno); 1315 return sblock.e2fs.e2fs_first_dblock + bno; 1391 rdfs(daddr_t bno, int size, void *bf) argument 1396 offset = bno; 1400 __func__, (int64_t)bno); 1407 wtfs(daddr_t bno, int size, void *bf) argument [all...] |
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/fr30/ |
H A D | allinsn.s | 202 .global bno 203 bno: label 204 bno footext 262 bno:d delay_footext
|
H A D | allinsn.d | 206 0+00b2 <bno>: 207 b2: e1 a6 bno 0 \<add\> 264 dc: f1 f9 bno:d d0 \<jmp_d\>
|
/netbsd-current/usr.sbin/dumpfs/ |
H A D | dumpfs.c | 765 size_t count, blklen, bno, skip; local 783 for (bno=0; bno<count; bno += skip / blklen) { 787 boff = bno * blklen; 788 if (bno * blklen >= 2 * blklen && 794 (unsigned long)bno, (long long) boff);
|
/netbsd-current/sbin/fsdb/ |
H A D | fsdb.c | 1421 daddr_t bno; local 1432 bno = strtoll(argv[2], &cp, 0); 1442 DIP_SET(curinode, db[idx], bno); 1451 daddr_t bno; local 1462 bno = strtoll(argv[2], &cp, 0); 1472 DIP_SET(curinode, ib[idx], bno); 1481 daddr_t bno; local 1492 bno = strtoll(argv[2], &cp, 0); 1502 curinode->dp2.di_extb[idx] = bno;
|
/netbsd-current/sbin/newfs/ |
H A D | mkfs.c | 1423 rdfs(daddr_t bno, int size, void *bf) argument 1433 memmove(bf, membase + bno * sectorsize, size); 1437 offset = bno; 1441 (long long)bno, strerror(errno)); 1450 wtfs(daddr_t bno, int size, void *bf) argument 1459 memmove(membase + bno * sectorsize, bf, size); 1463 offset = bno; 1467 (long long)bno, strerror(errno));
|
/netbsd-current/sys/dev/ata/ |
H A D | wd.c | 1531 daddr_t bno; local 1550 bno = (pos + wd->sc_blksize - 1) / wd->sc_blksize; 1551 size = ((pos + len) / wd->sc_blksize) - bno; 1559 result = wd_trim(wd, bno + done, amount); 1956 wd_trim(struct wd_softc *wd, daddr_t bno, long size) argument 1966 req[0] = bno & 0xff; 1967 req[1] = (bno >> 8) & 0xff; 1968 req[2] = (bno >> 16) & 0xff; 1969 req[3] = (bno >> 24) & 0xff; 1970 req[4] = (bno >> 3 [all...] |
/netbsd-current/sys/arch/i386/stand/lib/ |
H A D | biosdisk.c | 195 #define devb2cdb(bno) (((bno) * DEV_BSIZE) / ISO_DEFAULT_BLOCK_SIZE) 622 daddr_t bno; local 624 for (bno = 16;; bno++) { 625 if (readsects(&d->ll, bno, 1, d->buf, 0))
|
/netbsd-current/usr.sbin/quotacheck/ |
H A D | quotacheck.c | 858 bread(daddr_t bno, char *buf, long cnt) argument 861 if (lseek(fi, (off_t)bno * dev_bsize, SEEK_SET) < 0 || 863 err(1, "block %lld", (long long)bno);
|
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/frv/ |
H A D | allinsn.s | 1054 .global bno 1055 bno: label 1056 bno
|
H A D | allinsn.d | 795 00000418 <bno>: 796 418: 80 18 00 00 bno
|
/netbsd-current/sys/dev/usb/ |
H A D | uaudio.c | 1080 int c, chs, ichs, ochs, nchs, i, o, bno, p, k; local 1135 #define _BIT(bno) ((bm[bno / 8] >> (7 - bno % 8)) & 1) 1142 bno = (p + c) * ochs + o; 1143 if (_BIT(bno))
|
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/s390/ |
H A D | esa-g5.s | 63 bno 4095(%r5,%r10)
|
H A D | esa-g5.d | 69 .*: 47 e5 af ff [ ]*bno 4095\(%r5,%r10\)
|
/netbsd-current/external/gpl3/gdb.old/dist/sim/frv/ |
H A D | sem.c | 7964 /* bno: bno$pack$hint_not_taken */ 7967 SEM_FN_NAME (frvbf,bno) (SIM_CPU *current_cpu, SEM_ARG sem_arg) 28433 { FRVBF_INSN_BNO, SEM_FN_NAME (frvbf,bno) },
|