Searched defs:blksize (Results 1 - 25 of 44) sorted by relevance

12

/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dmemalign.c63 register uint blksize; /* Current (shrinking) block size */ local
94 blksize = blk->size;
121 blksize -= frag_size;
122 aligned_blk->size = blksize;
131 frag_size = blksize - nbytes;
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dmemalign.c66 size_t blksize; /* Current (shrinking) block size */ local
127 blksize = SIZE(blk);
128 CLRBITS01(blksize);
158 blksize -= frag_size;
159 SIZE(aligned_blk) = blksize | BIT0;
169 frag_size = blksize - nbytes;
174 blksize = SIZE(aligned_blk);
177 SETOLD01(SIZE(aligned_blk), blksize); local
/illumos-gate/usr/src/man/man9p/
H A DMakefile30 blksize.9p \
32 device-blksize.9p \
47 blksize.9p := LINKSRC = size.9p
48 device-blksize.9p := LINKSRC = size.9p
/illumos-gate/usr/src/uts/common/sys/
H A Dbootstat.h76 size_t blksize; member in struct:compinfo
/illumos-gate/usr/src/cmd/ndmpstat/
H A Dndmpstat_main.c66 static int blksize = 1024; variable
200 adjprintf(" %*u", 4, (unsigned)(DELTA(rdisk) / blksize));
201 adjprintf(" %*u", 4, (unsigned)(DELTA(wdisk) / blksize));
202 adjprintf(" %*u", 4, (unsigned)(DELTA(rtape) / blksize));
203 adjprintf(" %*u", 4, (unsigned)(DELTA(wtape) / blksize));
208 rbytes /= blksize;
209 wbytes /= blksize;
/illumos-gate/usr/src/cmd/boot/fiocompress/
H A Dfiocompress.c68 size_t blksize = 8192; local
91 blksize = atoi(optarg);
92 if (blksize == 0 || (blksize & (blksize-1))) {
113 do_comp(blksize);
173 do_comp(size_t blksize) argument
181 blks = ((srclen - 1) / blksize) + 1;
193 hdr->ch_blksize = blksize;
195 dstlen = ZMAXBUF(blksize);
249 size_t blks, blksize; local
[all...]
/illumos-gate/usr/src/cmd/cdrw/
H A Dcopycd.c63 int blksize; local
79 blksize = 512;
82 blksize = 2048;
86 buf = (uchar_t *)my_zalloc(READ_BURST * blksize);
105 read_size = read_chunk * blksize;
198 int blksize, i; local
286 blksize = 2048;
289 blksize = 2352;
298 (end_tno > 1) ? "s" : "", (long)((total_nblks*blksize)/1024));
300 if ((ret = check_avail_temp_space(total_nblks*blksize)) !
[all...]
H A Dtrackio.c264 int blksize, i, sz_read, rem; local
277 blksize = DATA_TRACK_BLKSIZE;
279 blksize = AUDIO_TRACK_BLKSIZE;
282 init_tio_data(NBLKS_PER_BUF*blksize);
303 while ((rem = (sz_read % blksize)) != 0) {
313 if ((sz_read + (blksize - rem)) >
330 (blksize - rem));
344 ret = blksize - rem;
360 tio_iobs[i].iob_nblks = (sz_read/blksize);
454 while ((rem = (sz_read % blksize)) !
[all...]
/illumos-gate/usr/src/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd_zvol.c242 uint64_t blksize; local
262 blksize = sl->sl_blksize;
263 ASSERT(ISP2(blksize));
264 blkshift = highbit(blksize - 1);
292 seglen = P2NPHASE(offset, blksize);
294 seglen = blksize;
H A Dsbd_scsi.c219 uint64_t blksize = sl->sl_blksize; local
283 P2ALIGN(xfer_offset+xfer_len, blksize);
1083 uint64_t blksize = sl->sl_blksize; local
1146 P2ALIGN(xfer_offset+xfer_len, blksize);
1398 uint64_t blksize)
1411 if (len < task->task_copy_threshold || len < blksize)
1415 * The calculation is only valid if len >= blksize.
1417 no_copy_span = P2ALIGN(laddr+len, blksize) -
1418 P2ROUNDUP(laddr, blksize);
1778 uint16_t blksize; local
1397 sbd_zcopy_write_useful(scsi_task_t *task, uint64_t laddr, uint32_t len, uint64_t blksize) argument
1823 sbd_calc_geometry(uint64_t s, uint16_t blksize, uint8_t *nsectors, uint8_t *nheads, uint32_t *ncyl) argument
[all...]
/illumos-gate/usr/src/cmd/fs.d/hsfs/labelit/
H A Dlabelit.c83 int blksize; variable
370 blksize = HSV_BLK_SIZE(hs_buf);
386 blksize = ISO_BLK_SIZE(iso_buf);
402 blksize = ISO_BLK_SIZE(unix_buf);
431 printf("Logical block size is %d\n", blksize);
/illumos-gate/usr/src/uts/common/io/lvm/trans/
H A Dtrans_log.c179 md_alloc_rdbuf(cirbuf_ic_t *cb, size_t bufsize, size_t blksize) argument
200 * preallocate N bufs that are hard-sized to blksize
206 if (nb > blksize)
207 nb = blksize;
/illumos-gate/usr/src/cmd/fs.d/hsfs/fstyp/
H A Dfstyp.c401 int blksize; local
420 blksize = HSV_BLK_SIZE(h->hs_buf);
437 blksize = ISO_BLK_SIZE(h->iso_buf);
454 blksize = ISO_BLK_SIZE(h->unix_buf);
482 ADD_UINT64(h, "logical_block_size", blksize);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/tftp/
H A Dmain.c73 int blksize; variable
154 { "blksize", bshelp, setblksize },
639 if (blksize == 0)
642 (void) printf("%d bytes\n", blksize);
901 /* RFC 2348 specifies valid blksize range, allow 0 to turn option off */
905 blksize = b;
/illumos-gate/usr/src/lib/watchmalloc/common/
H A Dmalloc.c1123 size_t blksize; /* Current (shrinking) block size */ local
1179 blksize = SIZE(blk);
1180 CLRBITS01(blksize);
1212 blksize -= frag_size;
1213 SIZE(aligned_blk) = blksize | BIT0;
1229 frag_size = blksize - nbytes;
1234 blksize = SIZE(aligned_blk);
1238 SETOLD01(SIZE(aligned_blk), blksize); local
/illumos-gate/usr/src/uts/common/os/
H A Ddriver.c491 uint_t blksize; local
497 /* Get blksize, default to DEV_BSIZE */
498 if ((blksize = e_ddi_getprop(dev, VBLK, "blksize",
500 blksize = e_ddi_getprop(DDI_DEV_T_ANY, VBLK, "device-blksize",
503 if (blksize >= DEV_BSIZE)
504 return (nblocks * (blksize / DEV_BSIZE));
506 return (nblocks / (DEV_BSIZE / blksize));
516 uint_t blksize; local
[all...]
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_data.c860 size_t blksize; local
985 blksize = MBLKL(nmp) - pending_hdr;
986 bcopy(nmp->b_rptr + pending_hdr, bufp, blksize);
987 bufp += blksize;
1039 blksize = MBLKL(nmp) - skip;
1040 if (blksize > avail) {
1045 bcopy(nmp->b_rptr + skip, bufp, blksize);
1047 bufp += blksize;
1048 avail -= blksize;
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfs.h89 * information in the inode, using the ``blksize(fs, ip, lbn)'' macro.
433 #define blksize(fs, ip, lbn) \ macro
H A Dufs2.h410 #define blksize(fs, ip, lbn) \ macro
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dlufs_log.c483 alloc_rdbuf(cirbuf_t *cb, size_t bufsize, size_t blksize) argument
504 * preallocate N bufs that are hard-sized to blksize
510 if (nb > blksize)
511 nb = blksize;
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxdb.c1211 int blksize; local
1278 blksize = ldi_prop_get_int64(vdp->xs_ldi_hdl,
1280 "blksize", DEV_BSIZE);
1281 if (blksize == DEV_BSIZE)
1282 blksize = ldi_prop_get_int(vdp->xs_ldi_hdl,
1284 DDI_PROP_NOTPROM, "device-blksize", DEV_BSIZE);
1286 vdp->xs_sec_size = blksize;
1287 vdp->xs_sectors = devsize / blksize;
/illumos-gate/usr/src/boot/include/isofs/cd9660/
H A Diso.h264 #define blksize(imp, ip, lbn) ((imp)->logical_block_size) macro
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Drcp.c1715 allocbuf(BUF *bp, int fd, int blksize) argument
1724 size = roundup(stb.st_blksize, blksize);
1726 size = blksize;
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_vnops.c3717 uint_t blksize; local
3839 blksize = off + PAGESIZE - blkoff;
3841 blksize = rp->r_size - blkoff;
3844 blksize = PAGESIZE;
3847 blksize = bsize;
3851 &io_len, blkoff, blksize, 0);
3975 uint_t bsize, blksize; local
3988 blksize = rp->r_size - blkoff;
3990 blksize = bsize;
3994 &io_off, &io_len, blkoff, blksize,
[all...]
/illumos-gate/usr/src/uts/common/fs/specfs/
H A Dspecvnops.c318 uint_t blksize; local
406 blksize = DEV_BSIZE; /* default */
407 plen = sizeof (blksize);
409 /* try to get dev_t specific "blksize" */
412 "blksize", (caddr_t)&blksize, &plen) !=
415 * Try for dev_info node "device-blksize".
416 * If this fails then blksize will still be
422 "device-blksize", (caddr_t)&blksize,
[all...]

Completed in 482 milliseconds

12