/illumos-gate/usr/src/cmd/zdb/ |
H A D | zdb_il.c | 56 char blkbuf[BP_SPRINTF_LEN]; in print_log_bp() local 58 snprintf_blkptr(blkbuf, sizeof (blkbuf), bp); in print_log_bp() 59 (void) printf("%s%s\n", prefix, blkbuf); in print_log_bp() 346 char blkbuf[BP_SPRINTF_LEN + 10]; in print_log_block() local 354 (void) strcpy(blkbuf, ", "); in print_log_block() 355 snprintf_blkptr(blkbuf + strlen(blkbuf), in print_log_block() 356 sizeof (blkbuf) - strlen(blkbuf), bp); in print_log_block() 358 blkbuf[0] = '\0'; in print_log_block() 369 (u_longlong_t)bp->blk_cksum.zc_word[ZIL_ZC_SEQ], claim, blkbuf); in print_log_block()
|
H A D | zdb.c | 526 snprintf_blkptr_compact(blkbuf, sizeof (blkbuf), &bp); in dump_bpobj() 1187 snprintf_blkptr(blkbuf, sizeof (blkbuf), &blk); in dump_dde() 1512 (void) snprintf(blkbuf + strlen(blkbuf), in snprintf_blkptr_compact() 1519 (void) snprintf(blkbuf + strlen(blkbuf), in snprintf_blkptr_compact() 1525 (void) snprintf(blkbuf + strlen(blkbuf), in snprintf_blkptr_compact() 1758 snprintf_blkptr(blkbuf, sizeof (blkbuf), bp); in dump_bptree_cb() 2471 (void) snprintf_blkptr(blkbuf + strlen(blkbuf), in dump_dir() 3614 snprintf_blkptr(blkbuf, sizeof (blkbuf), bp); in zdb_blkptr_done() 3644 snprintf_blkptr(blkbuf, sizeof (blkbuf), bp); in zdb_blkptr_cb() 4509 snprintf_blkptr(blkbuf, sizeof (blkbuf), bp); in count_block_cb() [all …]
|
/illumos-gate/usr/src/boot/i386/isoboot/ |
H A D | cd9660read.c | 226 static char blkbuf[MAX(ISO_DEFAULT_BLOCK_SIZE, in cd9660_lookup() local 237 rc = read_iso_block(blkbuf, bno); in cd9660_lookup() 240 vd = (struct iso_primary_descriptor *)blkbuf; in cd9660_lookup() 264 rc = read_iso_block(blkbuf, bno + boff); in cd9660_lookup() 269 dp = (struct iso_directory_record *)blkbuf; in cd9660_lookup() 321 static char blkbuf[ISO_DEFAULT_BLOCK_SIZE]; in cd9660_fsread() local 354 read_iso_block(blkbuf, curblk); in cd9660_fsread() 362 memcpy(s, blkbuf + byte_off, n); in cd9660_fsread()
|
/illumos-gate/usr/src/boot/efi/libefi/ |
H A D | efipart.c | 1059 char *blkbuf; in efipart_realstrategy() local 1128 blkbuf = memalign(ioalign, bio_size); in efipart_realstrategy() 1129 if (blkbuf != NULL) in efipart_realstrategy() 1133 blkbuf = buf; in efipart_realstrategy() 1137 if (blkbuf == NULL) in efipart_realstrategy() 1161 rc = efipart_readwrite(blkio, rw, blk, x, blkbuf); in efipart_realstrategy() 1166 bcopy(blkbuf + blkoff, buf, blksz); in efipart_realstrategy() 1179 blkbuf); in efipart_realstrategy() 1188 blkbuf); in efipart_realstrategy() 1201 bcopy(buf, blkbuf + blkoff, blksz); in efipart_realstrategy() [all …]
|
/illumos-gate/usr/src/cmd/boot/installgrub/ |
H A D | pcfs_glue.c | 164 read_stage2_blocklist(int device_fd, unsigned int *blkbuf) in read_stage2_blocklist() argument 184 blocklist = blkbuf; in read_stage2_blocklist()
|
/illumos-gate/usr/src/cmd/savecore/ |
H A D | savecore.c | 698 char *blkbuf; member 903 if (s->blkbuf == NULL) in lzjbblock() 904 s->blkbuf = Zalloc(coreblksize); in lzjbblock() 934 out = s->blkbuf + PTOB(s->nout); in lzjbblock() 958 putpage(corefd, s->blkbuf, s->curpage, s->nout); in lzjbblock() 1026 if (s->blkbuf == NULL) in bz2block() 1027 s->blkbuf = Zalloc(coreblksize); in bz2block() 1054 out = s->blkbuf + PTOB(s->nout); in bz2block() 1073 putpage(corefd, s->blkbuf, s->curpage, s->nout); in bz2block()
|
/illumos-gate/usr/src/cmd/backup/dump/ |
H A D | dumptape.c | 1867 uchar_t *blkbuf; in dumpoffline() local 1870 blkbuf = xmalloc(sblock->fs_bsize); in dumpoffline() 1877 bread(p->br_dblk, (uchar_t *)blkbuf, p->br_size); in dumpoffline() 1886 for (i = p->br_size, cp = blkbuf; in dumpoffline() 1909 free(blkbuf); in dumpoffline()
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zvol.c | 495 char chrbuf[30], blkbuf[30]; in zvol_create_minor() local 537 (void) snprintf(blkbuf, sizeof (blkbuf), "%u", minor); in zvol_create_minor() 539 if (ddi_create_minor_node(zfs_dip, blkbuf, S_IFBLK, in zvol_create_minor()
|