Searched defs:bno (Results 1 - 25 of 26) sorted by relevance

12

/illumos-gate/usr/src/cmd/fs.d/ufs/fsirand/
H A Dfsirand.c65 int bno; local
138 bno = itod(fs, inum);
139 seekaddr = (offset_t)fsbtodb(fs, bno) * DEV_BSIZE;
/illumos-gate/usr/src/cmd/fs.d/ufs/tunefs/
H A Dtunefs.c413 bread(diskaddr_t bno, char *buf, int cnt) argument
417 if (llseek(fi, (offset_t)bno * DEV_BSIZE, 0) < 0) {
/illumos-gate/usr/src/uts/common/fs/pcfs/
H A Dpc_node.c382 daddr_t bno; local
392 error = pc_balloc(pcp, (daddr_t)(llcn - 1), 1, &bno);
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_thread.c1008 daddr_t bno; local
1067 bno = fsbtodb(fs, itod(fs, ino));
1068 if ((bp == 0) || (bp->b_blkno != bno)) {
1072 ufsvfsp->vfs_dev, bno, fs->fs_bsize);
H A Dufs_trans.c231 ufs_trans_push_buf(ufsvfs_t *ufsvfsp, delta_t dtyp, daddr_t bno) argument
235 bp = (struct buf *)UFS_GETBLK(ufsvfsp, ufsvfsp->vfs_dev, bno, 1);
H A Dufs_alloc.c109 daddr_t bno; local
145 bno = (daddr_t)hashalloc(ip, cg, (long)bpref, size,
147 if (bno > 0) {
148 *bnp = bno;
185 daddr_t bno; local
224 bno = fragextend(ip, cg, (long)bprev, osize, nsize);
225 if (bno != 0) {
226 *bnp = bno;
246 bno = (daddr_t)hashalloc(ip, cg, (long)bpref, request,
248 if (bno >
623 free(struct inode *ip, daddr_t bno, off_t size, int flags) argument
684 ip->i_dev, bno, ip->i_number, fs->fs_fsmnt); local
901 long bno; local
982 int bno, frags; local
1109 daddr_t bno; local
1387 daddr_t bno, cfrag; local
[all...]
H A Dufs_inode.c460 daddr_t bno; local
532 bno = fsbtodb(fs, itod(fs, ino));
534 ip->i_doff = (offset_t)ioff + ldbtob(bno);
561 bp = UFS_BREAD(ufsvfsp, ip->i_dev, bno, (int)fs->fs_bsize);
H A Dlufs.c275 daddr_t bno; /* in disk blocks */ local
333 bno = nebp->ic_extents[0].ic_pbno;
334 bp = UFS_BREAD(ufsvfsp, ufsvfsp->vfs_dev, bno, DEV_BSIZE);
337 bp = UFS_BREAD(ufsvfsp, ufsvfsp->vfs_dev, bno + 1, DEV_BSIZE);
352 tbp->b_blkno = bno;
504 daddr_t bno,
515 bp = UFS_GETBLK(ufsvfsp, ufsvfsp->vfs_dev, bno, dbtob(LS_SECTORS));
669 daddr_t bno; /* in disk blocks */ local
698 bno = fsbtodb(fs, fno);
700 bp = UFS_BREAD(ufsvfsp, ufsvfsp->vfs_dev, bno, f
502 lufs_initialize( ufsvfs_t *ufsvfsp, daddr_t bno, size_t nb, struct fiolog *flp) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/udfs/
H A Dudf_bmap.c131 daddr_t bno; local
161 bno = ud_xlate_to_daddr(ip->i_udf,
165 *bnp = bno << l2d;
713 daddr_t bno; local
718 bno = ud_xlate_to_daddr(ip->i_udf, cont->ib_prn, cont->ib_block,
720 bp = ud_bread(ip->i_dev, bno << ip->i_udf->udf_l2d_shift,
1254 uint32_t bno, dummy; local
1266 bno = ud_xlate_to_daddr(udf_vfsp,
1277 bp->b_blkno = bno << udf_vfsp->udf_l2d_shift;
H A Dudf_alloc.c236 uint32_t bno, begin, dummy, temp, lbsz, bb_count; local
283 for (bno = loop_begin + HDR_BLKS; bno + blkcount < loop_end; ) {
291 ((eblk - bno) < blkcount)) {
296 bno / bb_count;
312 if (blkcount > (eblk - bno)) {
313 temp = eblk - bno;
318 bno - bblk, temp)) == temp) {
319 ud_mark_used(addr, bno - bblk, temp);
321 *start_blkno = bno
1357 uint32_t bno, sz; local
[all...]
H A Dudf_inode.c1315 daddr_t bno; local
1376 bno = ud_xlate_to_daddr(ip->i_udf,
1381 bno << ip->i_udf->udf_l2d_shift,
H A Dudf_subr.c299 ud_ip_off2bno(struct ud_inode *ip, uint32_t offset, uint32_t *bno) argument
307 *bno = ip->i_icb_block;
319 *bno = iext->ib_block +
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_temp.c216 int bno, off; local
221 bno = (atl >> OFFBTS) & BLKMSK;
223 if (bno >= NMBLKS) {
238 if (bno == iblock) {
243 if (bno == iblock2) {
248 if (bno == oblock)
260 iblock2 = bno;
261 blkio(bno, ibuff2, read);
276 iblock = bno;
277 blkio(bno, ibuf
[all...]
H A Dexrecover.c613 int bno, cnt, bad, was; local
619 bno = (maxt >> OFFBTS) & BLKMSK;
621 fprintf(stderr, "size %ld, maxt %o, bno %d\n", size, maxt, bno);
629 while (bno > 0) {
630 (void)lseek(tfile, (long) BUFSIZE * bno, 0); local
636 fprintf(stderr,"UNENCRYPTED: BLK %d\n",bno);
641 bno--;
649 maxt = ((bno << OFFBTS) | (cnt >> SHFT)) & ~1;
651 fprintf(stderr, "bno
781 int bno, off; local
[all...]
/illumos-gate/usr/src/cmd/fs.d/ufs/ncheck/
H A Dncheck.c124 void bread(diskaddr_t bno, char *buf, int cnt);
581 bread(diskaddr_t bno, char *buf, int cnt) argument
586 if (llseek(fi, (offset_t)bno * DEV_BSIZE, 0) == -1) {
588 (offset_t)bno * DEV_BSIZE);
602 bno, cnt, got);
/illumos-gate/usr/src/cmd/fs.d/ufs/quot/
H A Dquot.c382 bread(int fd, diskaddr_t bno, char *buf, int cnt) argument
386 if (llseek(fd, (offset_t)(bno * DEV_BSIZE), SEEK_SET) < 0) {
394 (void) fprintf(stderr, "quot: read error at block %lld\n", bno);
/illumos-gate/usr/src/cmd/fs.d/ufs/quotacheck/
H A Dquotacheck.c645 bread(diskaddr_t bno, char *buf, int cnt) argument
650 pos = (offset_t)bno * DEV_BSIZE;
/illumos-gate/usr/src/boot/lib/libstand/
H A Dcd9660.c119 #define cdb2devb(bno) ((bno) * ISO_DEFAULT_BLOCK_SIZE / DEV_BSIZE)
280 daddr_t bno, boff; local
288 for (bno = 16;; bno++) {
290 rc = f->f_dev->dv_strategy(f->f_devdata, F_READ, cdb2devb(bno),
315 bno = isonum_733(rec.extent) + isonum_711(rec.ext_attr_length);
325 cdb2devb(bno + boff),
387 bno = isonum_733(rec.extent) + isonum_711(rec.ext_attr_length);
389 rc = f->f_dev->dv_strategy(f->f_devdata, F_READ, cdb2devb(bno),
[all...]
/illumos-gate/usr/src/cmd/fs.d/udfs/fsdb/
H A Dfsdb.c802 uint32_t desc_type, bno, len; local
847 bno = SWAP_32(sad->sad_ext_loc);
851 bno = SWAP_32(lad->lad_ext_loc);
861 de[d].blkno = bno;
872 bno = de[i].blkno + ((off - b_off) >> l2b);
874 udh, de[i].prn, bno)) == 0) {
892 uint32_t bno, tcount; local
896 if (get_blkno(inode, &bno, off) != 0) {
899 if ((addr = getblk(bno << l2b)) == NULL) {
902 if (bno
[all...]
/illumos-gate/usr/src/cmd/fs.d/udfs/mkfs/
H A Dmkfs.c88 static void rdfs(daddr_t bno, int size, char *bf);
89 static void wtfs(daddr_t bno, int size, char *bf);
1132 rdfs(daddr_t bno, int size, char *bf) argument
1136 if (llseek(fsi, (offset_t)bno * sectorsize, 0) < 0) {
1140 bno, strerror(saverr));
1148 bno, strerror(saverr));
1157 wtfs(daddr_t bno, int size, char *bf) argument
1164 if (llseek(fso, (offset_t)bno * sectorsize, 0) < 0) {
1168 bno, strerror(saverr));
1178 bno, strerro
[all...]
/illumos-gate/usr/src/cmd/fs.d/ufs/df/
H A Ddf.c941 bread(char *file, int fi, daddr_t bno, char *buf, int cnt) argument
945 (void) llseek(fi, (offset_t)bno * DEV_BSIZE, 0);
951 (void) fprintf(stderr, "bno = %ld\n", bno);
956 "bno = %ld expected = %d count = %d\n", bno, cnt, n);
/illumos-gate/usr/src/cmd/fs.d/ufs/ff/
H A Dff.c141 void bread(diskaddr_t bno, char *buf, int cnt);
642 bread(diskaddr_t bno, char *buf, int cnt) argument
648 offset = (offset_t)bno * DEV_BSIZE;
662 "ff: (wanted %d got %d blk %lld)\n", cnt, got, bno);
/illumos-gate/usr/src/cmd/fs.d/ufs/newfs/
H A Dnewfs.c1085 int bno, inum; local
1102 bno = itod(fs, inum);
1103 seekaddr = (offset_t)fsbtodb(fs, bno) * DEV_BSIZE;
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dutilities.c1148 diskaddr_t bno; local
1308 bno = sblk.b_bno;
1311 sblkoff = ldbtob(bno);
1317 (longlong_t)bno, strerror(errno));
1322 report_io_prob("READ FROM", bno, size, io_res);
1335 (longlong_t)bno, strerror(errno));
1340 report_io_prob("WRITE TO", bno, size, io_res);
1371 report_io_prob(caddr_t what, diskaddr_t bno, size_t expected, ssize_t failure) argument
1375 what, (int)bno, strerror(errno));
1378 what, (int)bno);
[all...]
/illumos-gate/usr/src/cmd/ed/
H A Ded.c1717 int bno, off; local
1721 bno = atl >> 8;
1724 /* bno is limited to 16 bits */
1725 if (bno >= 65535) {
1730 if (bno == iblock) {
1734 if (bno == oblock)
1744 iblock = bno;
1745 blkio(bno, ibuff, read);
1764 oblock = bno;

Completed in 134 milliseconds

12