/illumos-gate/usr/src/uts/common/io/comstar/lu/stmf_sbd/ |
H A D | sbd_zvol.c | 137 uint64_t blksz = sl->sl_blksize; local 141 numsegs = (P2ROUNDUP(endoff, blksz) - P2ALIGN(off, blksz)) / blksz;
|
/illumos-gate/usr/src/lib/libast/common/sfio/ |
H A D | sfsetbuf.c | 102 ssize_t bufsize, blksz; local 156 blksz = -1; 158 { blksz = (ssize_t)size; 229 f->blksz = (size_t)st.st_blksize; 390 /* blksz is used for aligning disk block boundary while reading data to 391 ** optimize data transfer from disk (eg, via direct I/O). blksz can be 393 ** blksz should also be a power-of-2 for optimal disk seeks. 395 if(blksz <= 0 || (blksz & (blksz [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dmu_diff.c | 133 int blksz = BP_GET_LSIZE(bp); local 142 for (i = 0; i < blksz >> DNODE_SHIFT; i++) {
|
H A D | vdev_disk.c | 273 uint64_t capacity = 0, blksz = 0, pbsize; local 505 blksz = dkmext->dki_lbsize; 513 blksz = dkm->dki_lbsize; 514 pbsize = blksz; 534 *max_psize = capacity * blksz;
|
H A D | zfs_znode.c | 624 zfs_znode_alloc(zfsvfs_t *zfsvfs, dmu_buf_t *db, int blksz, argument 649 zp->z_blksz = blksz;
|
H A D | dnode.c | 1528 int blksz, blkshift, head, tail; local 1533 blksz = dn->dn_datablksz; 1545 if (ISP2(blksz)) { 1546 head = P2NPHASE(off, blksz); 1547 blkoff = P2PHASE(off, blksz); 1552 if (off == 0 && len >= blksz) { 1563 } else if (off >= blksz) { 1568 head = blksz - off; 1575 ASSERT3U(blkoff + head, ==, blksz); 1605 ASSERT(ISP2(blksz)); [all...] |
H A D | dbuf.c | 849 int blksz = db->db.db_size; local 853 abuf = arc_loan_buf(spa, B_FALSE, blksz); 854 bcopy(db->db.db_data, abuf->b_data, blksz); 2659 dbuf_spill_set_blksz(dmu_buf_t *db_fake, uint64_t blksz, dmu_tx_t *tx) argument 2666 if (blksz == 0) 2667 blksz = SPA_MINBLOCKSIZE; 2668 ASSERT3U(blksz, <=, spa_maxblocksize(dmu_objset_spa(db->db_objset))); 2669 blksz = P2ROUNDUP(blksz, SPA_MINBLOCKSIZE); 2674 dbuf_new_size(db, blksz, t [all...] |
H A D | dmu.c | 1398 uint32_t blksz = (uint32_t)arc_buf_lsize(buf); local 1413 if (offset == db->db.db_offset && blksz == db->db.db_size) { 1431 dmu_write(os, object, offset, blksz, buf->b_data, tx);
|
H A D | zfs_vnops.c | 578 int blksz = zp->z_blksz; local 582 if ((ISP2(blksz))) { 583 nblk = (P2ROUNDUP(offset + n, blksz) - P2ALIGN(offset, 584 blksz)) / blksz; 586 ASSERT(offset + n <= blksz); 599 blksz), 0, blksz); 4298 uint_t blksz; local 4320 blksz 5063 int blksz; local [all...] |
H A D | dmu_send.c | 331 int blksz, const blkptr_t *bp) 349 drrw->drr_length = blksz; 364 dump_spill(dmu_sendarg_t *dsp, uint64_t object, int blksz, void *data) argument 378 drrs->drr_length = blksz; 381 if (dump_record(dsp, data, blksz) != 0) 618 int blksz = BP_GET_LSIZE(bp); local 630 uint64_t dnobj = zb->zb_blkid * (blksz >> DNODE_SHIFT); 631 for (int i = 0; i < blksz >> DNODE_SHIFT; i++) { 640 int blksz = BP_GET_LSIZE(bp); local 647 err = dump_spill(dsa, zb->zb_object, blksz, abu 330 dump_write_embedded(dmu_sendarg_t *dsp, uint64_t object, uint64_t offset, int blksz, const blkptr_t *bp) argument 651 int blksz = dblkszsec << SPA_MINBLOCKSHIFT; local 659 int blksz = dblkszsec << SPA_MINBLOCKSHIFT; local [all...] |
/illumos-gate/usr/src/lib/libmalloc/common/ |
H A D | mallint.h | 103 long blksz; /* size of little blocks contained */ member in struct:holdblk 185 /* size of a holding block with small blocks of size blksz */ 186 #define HOLDSZ(blksz) \ 187 (sizeof (struct holdblk) - sizeof (struct lblk *) + blksz*numlblks)
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_nfs.c | 559 int fltype, mode, nlinks, uid, gid, size, blksz; local 568 blksz = getxdr_long(); 583 size, blksz, blocks);
|
/illumos-gate/usr/src/boot/sys/boot/efi/libefi/ |
H A D | efipart.c | 317 size_t blkoff, blksz; local 355 blksz = blkio->Media->BlockSize - blkoff; 360 if (size < blksz) 361 blksz = size; 362 bcopy(blkbuf + blkoff, buf, blksz); 363 buf += blksz; 364 size -= blksz; 367 blksz = blkio->Media->BlockSize;
|
/illumos-gate/usr/src/uts/common/io/sdcard/adapters/sdhost/ |
H A D | sdhost.c | 1407 uint16_t blksz; local 1410 blksz = cmdp->sc_blksz; 1416 if ((blksz < 1) || (blksz > 2048)) { 1422 ss->ss_blksz = blksz; 1439 ((blksz * nblks) <= SDHOST_BOUNCESZ)) { 1447 nblks * blksz); 1451 ss->ss_rcnt = nblks * blksz; 1455 PUT16(ss, REG_BLKSZ, BLKSZ_BOUNDARY_512K | blksz); 1462 PUT16(ss, REG_BLKSZ, blksz); [all...] |
/illumos-gate/usr/src/uts/common/fs/specfs/ |
H A D | specvnops.c | 1839 size_t blksz; local 1896 blksz = PAGESIZE; 1899 blksz = adj_klustsize; 1901 blksz = 1906 &io_len1, blkoff, blksz, 0); 1945 blksz = adj_klustsize; 1947 blksz = MIN(size - off2, adj_klustsize); 1950 &io_len2, off2, blksz, 1); 2119 size_t blksz; local 2138 blksz [all...] |
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_import.c | 961 diskaddr_t size, uint_t blksz) 974 if (blksz == 0) 975 blksz = DEV_BSIZE; 977 if ((size < (SPA_MINDEVSIZE / blksz)) && 960 check_one_slice(avl_tree_t *r, char *diskname, uint_t partno, diskaddr_t size, uint_t blksz) argument
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | fsys_zfs.c | 861 uint64_t blkid, blksz; /* the block id this object dnode is in */ local 866 blksz = mdn->dn_datablkszsec << SPA_MINBLOCKSHIFT; 867 epbs = zfs_log2(blksz) - DNODE_SHIFT; 878 if (dnode_buf && blksz == 1<<DNODE_BLOCK_SHIFT) { 885 stack += blksz; 1825 int blksz, length, movesize; local 1843 blksz = DNODE->dn_datablkszsec << SPA_MINBLOCKSHIFT; 1851 if (blksz > SPA_MAXBLOCKSIZE) { 1867 uint64_t blkid = filepos / blksz; 1872 file_start = blkid * blksz; [all...] |