| /onnv-gate/usr/src/uts/common/fs/ufs/ |
| H A D | ufs_extvnops.c | 245 u_offset_t uoff, io_off; in ufs_alloc_data() local 290 uoff = offset; in ufs_alloc_data() 296 uoff, (io_len - done_len), ip->i_size, (void *)fdbp)); in ufs_alloc_data() 306 uoff = (u_offset_t)(io_off + done_len); in ufs_alloc_data() 307 offsetn = (int)blkoff(fs, uoff); in ufs_alloc_data() 311 uoff, nbytes)); in ufs_alloc_data() 313 if (uoff + nbytes > ip->i_size) { in ufs_alloc_data() 321 ip->i_size, uoff + nbytes)); in ufs_alloc_data() 323 error = bmap_write(ip, uoff, (offsetn + nbytes), in ufs_alloc_data() 333 if (uoff >= ip->i_size) { in ufs_alloc_data() [all …]
|
| H A D | ufs_directio.c | 349 u_offset_t size, uoff; in ufs_directio_write() local 388 uoff = uio->uio_loffset; in ufs_directio_write() 394 if (uoff + resid > limit) in ufs_directio_write() 400 if ((uoff & (u_offset_t)(DEV_BSIZE - 1)) || (resid & (DEV_BSIZE - 1))) in ufs_directio_write() 424 if ((uoff + resid) > size) in ufs_directio_write() 492 error = bmap_read(ip, uoff, &bn, &len); in ufs_directio_write() 520 on = (int)blkoff(fs, uoff); in ufs_directio_write() 522 if ((uoff + n) > ip->i_size) { in ufs_directio_write() 523 error = bmap_write(ip, uoff, (int)(on + n), in ufs_directio_write() 524 (int)(uoff & (offset_t)MAXBOFFSET) == 0, in ufs_directio_write() [all …]
|
| H A D | ufs_vnops.c | 881 u_offset_t uoff = uio->uio_loffset; in wrip() local 882 off = uoff & (offset_t)MAXBMASK; in wrip() 883 mapon = (int)(uoff & (offset_t)MAXBOFFSET); in wrip() 884 on = (int)blkoff(fs, uoff); in wrip() 888 if (type == IFREG && uoff + n >= limit) { in wrip() 889 if (uoff >= limit) { in wrip() 898 n = (int)(limit - (rlim64_t)uoff); in wrip() 900 if (uoff + n > ip->i_size) { in wrip() 907 error = bmap_write(ip, uoff, (int)(on + n), in wrip() 946 error = bmap_write(ip, uoff, (int)(on + n), in wrip() [all …]
|
| H A D | ufs_alloc.c | 1560 u_offset_t resid, i, uoff; in ufs_allocsp() local 1636 uoff = (offset_t)(lp->l_start + done_len); in ufs_allocsp() 1637 offsetn = (int)blkoff(fs, uoff); in ufs_allocsp() 1641 berr = bmap_write(ip, uoff, offsetn + nbytes, in ufs_allocsp() 1656 if ((uoff + nbytes) > ip->i_size) in ufs_allocsp() 1657 ip->i_size = (uoff + nbytes); in ufs_allocsp() 1668 istart = (uoff + nbytes); in ufs_allocsp()
|
| /onnv-gate/usr/src/uts/common/io/ |
| H A D | cpuid_drv.c | 120 u_offset_t uoff; in cpuid_read() local 122 if ((uoff = (u_offset_t)uio->uio_loffset) > UINT_MAX) { in cpuid_read() 127 crs.cp_eax = (uint32_t)uoff; in cpuid_read() 133 uio->uio_loffset = uoff + 1; in cpuid_read()
|
| /onnv-gate/usr/src/uts/common/fs/udfs/ |
| H A D | udf_vnops.c | 1649 u_offset_t pgoff, eoff, uoff; in udf_getpage() local 1655 uoff = (u_offset_t)off; /* type conversion */ in udf_getpage() 1662 seqmode = ip->i_nextr == uoff && rw != S_CREATE; in udf_getpage() 1684 beyond_eof = uoff + len > ip->i_size + PAGEOFFSET; in udf_getpage() 1730 offset = uoff; in udf_getpage() 1731 while ((offset < uoff + len) && in udf_getpage() 1783 eoff = (uoff + len); in udf_getpage() 1784 for (pgoff = uoff, pgaddr = addr, pl = plarr; in udf_getpage() 3009 u_offset_t uoff = uio->uio_loffset; in ud_rdip() local 3010 off = uoff & (offset_t)MAXBMASK; in ud_rdip() [all …]
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ |
| H A D | sv.c | 5487 S_utf8_mg_pos(pTHX_ SV *sv, MAGIC **mgp, STRLEN **cachep, I32 i, I32 *offsetp, I32 uoff, U8 **sp, U… in S_utf8_mg_pos() argument 5497 if ((*cachep)[i] == (STRLEN)uoff) /* An exact match. */ in S_utf8_mg_pos() 5509 if ((*cachep)[i] > (STRLEN)uoff) { in S_utf8_mg_pos() 5510 forw = uoff; in S_utf8_mg_pos() 5511 backw = (*cachep)[i] - (STRLEN)uoff; in S_utf8_mg_pos() 5523 if ((STRLEN)uoff < ulen) { in S_utf8_mg_pos() 5524 forw = (STRLEN)uoff - (*cachep)[i]; in S_utf8_mg_pos() 5525 backw = ulen - (STRLEN)uoff; in S_utf8_mg_pos() 5551 (*cachep)[i] = (STRLEN)uoff; in S_utf8_mg_pos() 5579 I32 n = uoff; in S_utf8_mg_pos() [all …]
|
| H A D | proto.h | 1212 STATIC bool S_utf8_mg_pos(pTHX_ SV *sv, MAGIC **mgp, STRLEN **cachep, I32 i, I32 *offsetp, I32 uoff…
|
| /onnv-gate/usr/src/cmd/zdb/ |
| H A D | zdb.c | 1759 uint64_t uoff = VDEV_UBERBLOCK_OFFSET(vdp, i); in dump_label_uberblocks() local 1760 uberblock_t *ub = (void *)((char *)lbl + uoff); in dump_label_uberblocks()
|