/illumos-gate/usr/src/boot/sys/boot/arm/at91/boot2/ |
H A D | centipad_board.c | 65 drvread(void *buf, unsigned lba, unsigned nblk) argument 67 return (MCI_read((char *)buf, lba << 9, nblk << 9));
|
H A D | kb920x_board.c | 63 drvread(void *buf, unsigned lba, unsigned nblk) argument 65 return (MCI_read((char *)buf, lba << 9, nblk << 9));
|
H A D | bwct_board.c | 122 drvread(void *buf, unsigned lba, unsigned nblk) argument 124 return (MCI_read((char *)buf, lba << 9, nblk << 9));
|
H A D | boot2.c | 248 dskread(void *buf, unsigned lba, unsigned nblk) argument 290 return drvread(buf, dsk_start + lba, nblk);
|
/illumos-gate/usr/src/boot/sys/boot/i386/common/ |
H A D | drv.c | 60 drvread(struct dsk *dskp, void *buf, daddr_t lba, unsigned nblk) argument 68 packet.count = nblk; 85 v86.edx = nblk << 8 | dskp->drive; 98 drvwrite(struct dsk *dskp, void *buf, daddr_t lba, unsigned nblk) argument 102 packet.count = nblk;
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | nblk.c | 41 nblk(fsblkcnt_t size, ulong_t bsize, ulong_t frsize) function
|
/illumos-gate/usr/src/cmd/cdrw/ |
H A D | toshiba.c | 76 toshiba_read_audio(cd_device *target, uint_t start_blk, uint_t nblk, argument 90 scmd->uscsi_cdb[9] = nblk & 0xff; 91 scmd->uscsi_cdb[8] = (nblk >> 8) & 0xff; 92 scmd->uscsi_cdb[7] = (nblk >> 16) & 0xff; 93 scmd->uscsi_cdb[6] = (nblk >> 24) & 0xff; 96 scmd->uscsi_buflen = nblk*2352;
|
H A D | mmc.c | 280 read10(int fd, uint32_t start_blk, uint16_t nblk, uchar_t *buf, argument 290 scmd->uscsi_cdb[8] = nblk & 0xff; 291 scmd->uscsi_cdb[7] = (nblk >> 8) & 0xff; 301 write10(int fd, uint32_t start_blk, uint16_t nblk, uchar_t *buf, argument 316 scmd->uscsi_cdb[8] = nblk & 0xff; 317 scmd->uscsi_cdb[7] = (nblk >> 8) & 0xff; 398 read_cd(int fd, uint32_t start_blk, uint16_t nblk, uchar_t sector_type, argument 412 scmd->uscsi_cdb[8] = nblk & 0xff; 413 scmd->uscsi_cdb[7] = (nblk >> 8) & 0xff;
|
/illumos-gate/usr/src/boot/sys/boot/efi/boot1/ |
H A D | ufs_module.c | 47 dskread(void *buf, u_int64_t lba, int nblk) argument 53 size = nblk * DEV_BSIZE;
|
/illumos-gate/usr/src/cmd/boot/installgrub/ |
H A D | pcfs_glue.c | 57 add_stage2_block(int blocknum, int nblk) argument 62 blocklist[i + 1] += nblk; 72 blocklist[i + 1] = nblk;
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | rctlsys.c | 224 rctl_opaque_t *nblk; local 296 nblk = kmem_zalloc(sizeof (rctl_opaque_t), KM_SLEEP); 297 nblk->rcq_value = usage; 299 ret = copyout(nblk, new_rblk, sizeof (rctl_opaque_t)); 300 kmem_free(nblk, sizeof (rctl_opaque_t)); 346 nblk = kmem_alloc(sizeof (rctl_opaque_t), KM_SLEEP); 348 rctlsys_rblk_xfrm(nblk, krde, nval, RBX_TO_BLK | RBX_VAL | RBX_CTL); 353 if (copyout(nblk, new_rblk, sizeof (rctl_opaque_t)) == -1) { 354 kmem_free(nblk, sizeof (rctl_opaque_t)); 358 kmem_free(nblk, sizeo 390 rctl_opaque_t *nblk; local [all...] |
/illumos-gate/usr/src/boot/sys/boot/arm/ixp425/boot2/ |
H A D | boot2.c | 295 dskread(void *buf, unsigned lba, unsigned nblk) argument 366 return drvread(buf, dsk_start + lba, nblk); 370 drvread(void *buf, unsigned lba, unsigned nblk) argument 375 return (avila_read((char *)buf, lba, nblk));
|
/illumos-gate/usr/src/lib/libmalloc/common/ |
H A D | malloc.c | 590 struct header *nblk; /* next block */ local 598 nblk = blk->nextfree; 599 if (nblk != &(freeptr[1])) { 600 MOVEHEAD(nblk);
|
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | bcache.c | 190 daddr_t i, nblk; local 192 nblk = size / bcache_blksize; 195 for (i = 0; i < nblk; i++) { 214 size_t i, nblk, p_size, r_size, complete, ra; local 227 nblk = size / bcache_blksize; 228 if ((nblk == 0 && size != 0) || offset != 0) 229 nblk++; 234 for (i = 0; i < nblk; i++) { 236 bcache_misses += (nblk - i); 238 if (nblk 332 int nblk, cblk, ret; local [all...] |
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | malloc.c | 518 Dblk nblk; local 521 nblk = nextblk(retblk, nbytes); /* ^next block */ 522 nblk->size = allocp->size = retblk->size - nbytes; 530 allocp->block = nblk; 626 Dblk nblk = nextblk(oldblk,nbytes); local 627 if (nblk == neighbor_blk) { 634 } else if (nblk > neighbor_blk) { 651 Dblk nblk = nextblk(neighbor_blk, neighbor_size); local 652 if (nblk == oldblk) { 660 } else if (nblk > oldbl [all...] |
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_trans.c | 374 unsigned int nblk) 382 for (i = 0; i < nblk && *fragsp; ++i, ++blkp) 643 daddr_t nblk, maxfblk; local 665 nblk = lblkno(fs, blkroundup(fs, resid)); 670 nblk = MIN(nblk, ip->i_blocks); 722 ncg = nblk / avgbfree; 370 ufs_trans_mata_direct( struct inode *ip, daddr_t *fragsp, daddr32_t *blkp, unsigned int nblk) argument
|
H A D | ufs_alloc.c | 1956 daddr_t nblk = lblkno(fs, blkroundup(fs, nb)); local 1968 if ((startcg = findlogstartcg(fs, nblk, minblk)) == -1) 1988 while (cgbno < cgblks && savenblk < nblk) { 2006 if (++curnblk >= nblk) 2016 if (savenblk >= nblk)
|
H A D | lufs_log.c | 1384 size_t nblk, i; local 1400 nblk = btodb(bp->b_bcount); 1404 for (i = 0; i < nblk; ++i) {
|
/illumos-gate/usr/src/uts/i86pc/i86hvm/io/ |
H A D | xdf_shell.c | 693 xdfs_dump(dev_t dev, caddr_t addr, daddr_t blkno, int nblk) argument 700 return (ldi_dump(xsp->xdfss_tgt_lh[part], addr, blkno, nblk)); 704 return (xdfs_hvm_cb_ops->cb_dump(dev, addr, blkno, nblk));
|
/illumos-gate/usr/src/boot/sys/boot/sparc64/boot1/ |
H A D | boot1.c | 64 static int dskread(void *buf, u_int64_t lba, int nblk); 518 dskread(void *buf, u_int64_t lba, int nblk) argument 527 ofw_read(bootdev, buf, nblk * DEV_BSIZE);
|
/illumos-gate/usr/src/uts/common/cpr/ |
H A D | cpr_dump.c | 1030 int nblk; local 1037 nblk = btod(cpr_wptr - cpr_buf); 1040 error = VOP_DUMP(vp, (caddr_t)cpr_buf, cpr_file_bn, nblk, NULL); 1043 cpr_file_bn += nblk;
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/ |
H A D | pmcs_scsa.c | 2363 uint32_t *ptr, lhtag, iq, nblk, i, mtype; local 2428 asc = pmcs_SATA_rwparm(pkt->pkt_cdbp, &nblk, &lba, lba); 2448 amt = nblk; 2450 amt = pmcs_set_resid(pkt, amt, nblk << 9); 2517 fis[0] = ((nblk & 0xff) << 24) | (C_BIT << 8) | FIS_REG_H2DEV; 2524 fis[2] = ((nblk & 0xff00) << 16) | ((lba >> 24) & 0xffffff); 2547 fis[3] = nblk;
|
/illumos-gate/usr/src/uts/common/io/lvm/softpart/ |
H A D | sp.c | 1673 * nblk - number of blocks to dump. 1685 sp_dump(dev_t dev, caddr_t addr, daddr_t blkno, int nblk) argument 1705 if (((diskaddr_t)blkno + nblk) > un->c.un_total_blocks) 1709 nb = (sp_ext_length_t)dbtob(nblk); 1713 nblk = (int)(btodb(bp->b_bcount)); 1715 result = bdev_dump(bp->b_edev, addr, mapblk, nblk); 1721 blkno += nblk;
|
/illumos-gate/usr/src/uts/common/io/lvm/stripe/ |
H A D | stripe.c | 1047 stripe_dump(dev_t dev, caddr_t addr, daddr_t blkno, int nblk) argument 1068 if ((diskaddr_t)blkno + nblk > un->c.un_total_blocks) 1072 nb = ldbtob(nblk); 1076 nblk = btodb(bp->b_bcount); 1084 nblk); 1091 blkno += nblk;
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | driver_lyr.c | 2062 ldi_dump(ldi_handle_t lh, caddr_t addr, daddr_t blkno, int nblk) argument 2075 return (bdev_dump(dev, addr, blkno, nblk));
|