Searched refs:uoff (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_extvnops.c | 243 u_offset_t uoff, io_off; in ufs_alloc_data() local 288 uoff = offset; in ufs_alloc_data() 294 uoff, (io_len - done_len), ip->i_size, (void *)fdbp)); in ufs_alloc_data() 304 uoff = (u_offset_t)(io_off + done_len); in ufs_alloc_data() 305 offsetn = (int)blkoff(fs, uoff); in ufs_alloc_data() 309 uoff, nbytes)); in ufs_alloc_data() 311 if (uoff + nbytes > ip->i_size) { in ufs_alloc_data() 319 ip->i_size, uoff + nbytes)); in ufs_alloc_data() 321 error = bmap_write(ip, uoff, (offsetn + nbytes), in ufs_alloc_data() 331 if (uoff >= ip->i_size) { in ufs_alloc_data() [all …]
|
H A D | ufs_directio.c | 332 u_offset_t size, uoff; in ufs_directio_write() local 371 uoff = uio->uio_loffset; in ufs_directio_write() 377 if (uoff + resid > limit) in ufs_directio_write() 383 if ((uoff & (u_offset_t)(DEV_BSIZE - 1)) || (resid & (DEV_BSIZE - 1))) in ufs_directio_write() 407 if ((uoff + resid) > size) in ufs_directio_write() 475 error = bmap_read(ip, uoff, &bn, &len); in ufs_directio_write() 503 on = (int)blkoff(fs, uoff); in ufs_directio_write() 505 if ((uoff + n) > ip->i_size) { in ufs_directio_write() 506 error = bmap_write(ip, uoff, (int)(on + n), in ufs_directio_write() 507 (int)(uoff & (offset_t)MAXBOFFSET) == 0, in ufs_directio_write() [all …]
|
H A D | ufs_vnops.c | 812 u_offset_t uoff = uio->uio_loffset; in wrip() local 813 off = uoff & (offset_t)MAXBMASK; in wrip() 814 mapon = (int)(uoff & (offset_t)MAXBOFFSET); in wrip() 815 on = (int)blkoff(fs, uoff); in wrip() 819 if (type == IFREG && uoff + n >= limit) { in wrip() 820 if (uoff >= limit) { in wrip() 829 n = (int)(limit - (rlim64_t)uoff); in wrip() 831 if (uoff + n > ip->i_size) { in wrip() 838 error = bmap_write(ip, uoff, (int)(on + n), in wrip() 877 error = bmap_write(ip, uoff, (int)(on + n), in wrip() [all …]
|
H A D | ufs_alloc.c | 1559 u_offset_t resid, i, uoff; in ufs_allocsp() local 1635 uoff = (offset_t)(lp->l_start + done_len); in ufs_allocsp() 1636 offsetn = (int)blkoff(fs, uoff); in ufs_allocsp() 1640 berr = bmap_write(ip, uoff, offsetn + nbytes, in ufs_allocsp() 1655 if ((uoff + nbytes) > ip->i_size) in ufs_allocsp() 1656 ip->i_size = (uoff + nbytes); in ufs_allocsp() 1667 istart = (uoff + nbytes); in ufs_allocsp()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | cpuid_drv.c | 124 u_offset_t uoff; in cpuid_read() local 126 if ((uoff = (u_offset_t)uio->uio_loffset) > UINT_MAX) { in cpuid_read() 131 crs.cp_eax = (uint32_t)uoff; in cpuid_read() 137 uio->uio_loffset = uoff + 1; in cpuid_read()
|
/illumos-gate/usr/src/uts/common/fs/udfs/ |
H A D | udf_vnops.c | 1679 u_offset_t pgoff, eoff, uoff; in udf_getpage() local 1685 uoff = (u_offset_t)off; /* type conversion */ in udf_getpage() 1692 seqmode = ip->i_nextr == uoff && rw != S_CREATE; in udf_getpage() 1714 beyond_eof = uoff + len > ip->i_size + PAGEOFFSET; in udf_getpage() 1760 offset = uoff; in udf_getpage() 1761 while ((offset < uoff + len) && in udf_getpage() 1813 eoff = (uoff + len); in udf_getpage() 1814 for (pgoff = uoff, pgaddr = addr, pl = plarr; in udf_getpage() 3018 u_offset_t uoff = uio->uio_loffset; in ud_rdip() local 3019 off = uoff & (offset_t)MAXBMASK; in ud_rdip() [all …]
|
/illumos-gate/usr/src/cmd/zdb/ |
H A D | zdb.c | 3172 uint64_t uoff = VDEV_UBERBLOCK_OFFSET(&vd, i); in dump_label_uberblocks() local 3173 uberblock_t *ub = (void *)((char *)&label->label + uoff); in dump_label_uberblocks() 3320 uint64_t uoff = VDEV_UBERBLOCK_OFFSET(&vd, i); in dump_label() local 3321 uberblock_t *ub = (void *)((char *)label + uoff); in dump_label()
|