Searched refs:newoff (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/ |
H A D | pass1.c | 304 int i, newoff, xoff = 0; in getdir() local 315 newoff = offset - dir_baseoff; in getdir() 316 if (newoff >= dir_basesize) { in getdir() 323 block = baseblock + (newoff / secsize); in getdir() 343 if (newoff < len) in getdir() 345 newoff -= len; in getdir() 391 if (newoff < len) in getdir() 393 newoff -= len; in getdir() 435 block, dir_baseoff, newoff); in getdir() 436 left = dir_basesize - newoff; in getdir() [all …]
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | lseek.c | 82 offset_t curoff, newoff; in lseek32_common() local 193 newoff = (offset_t)noff; in lseek32_common() 194 if ((error = VOP_SEEK(vp, curoff, &newoff, NULL)) == 0) { in lseek32_common() 195 fp->f_offset = newoff; in lseek32_common() 196 (*retoff) = newoff; in lseek32_common()
|
/illumos-gate/usr/src/cmd/bhyve/common/ |
H A D | virtio.c | 567 uint32_t newoff; in vi_pci_read() local 599 newoff = offset - virtio_config_size; in vi_pci_read() 601 if (newoff + size > max) in vi_pci_read() 604 error = (*vc->vc_cfgread)(DEV_SOFTC(vs), newoff, size, &value); in vi_pci_read() 688 uint32_t newoff; in vi_pci_write() local 718 newoff = offset - virtio_config_size; in vi_pci_write() 720 if (newoff + size > max) in vi_pci_write() 723 error = (*vc->vc_cfgwrite)(DEV_SOFTC(vs), newoff, size, value); in vi_pci_write()
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb2_setinfo_file.c | 180 uint64_t newoff; in smb2_setf_seek() local 182 if (smb_mbc_decodef(&si->si_data, "q", &newoff) != 0) in smb2_setf_seek() 187 of->f_seek_pos = newoff; in smb2_setf_seek()
|
H A D | smb_ofile.c | 1276 u_offset_t newoff = 0; in smb_ofile_seek() local 1288 newoff = 0; in smb_ofile_seek() 1290 newoff = (u_offset_t)off; in smb_ofile_seek() 1295 newoff = 0; in smb_ofile_seek() 1297 newoff = of->f_seek_pos + (u_offset_t)off; in smb_ofile_seek() 1309 newoff = 0; in smb_ofile_seek() 1311 newoff = attr.sa_vattr.va_size + (u_offset_t)off; in smb_ofile_seek() 1324 if (newoff > UINT_MAX) { in smb_ofile_seek() 1327 of->f_seek_pos = newoff; in smb_ofile_seek() 1328 *retoff = (uint32_t)newoff; in smb_ofile_seek()
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | iommu.c | 1197 uint_t newoff; in iommu_dma_win() local 1212 newoff = win * winsize; in iommu_dma_win() 1213 if (newoff > mp->dmai_object.dmao_size - mp->dmai_minxfer) in iommu_dma_win() 1222 *offp = (off_t)newoff; in iommu_dma_win() 1225 if (newoff == mp->dmai_offset) { in iommu_dma_win() 1232 if ((rval = iommu_map_window(mp, newoff, winsize)) != DDI_SUCCESS) in iommu_dma_win() 1244 iommu_map_window(ddi_dma_impl_t *mp, off_t newoff, size_t winsize) in iommu_map_window() argument 1256 mp->dmai_offset = newoff; in iommu_map_window() 1257 mp->dmai_size = mp->dmai_object.dmao_size - newoff; in iommu_map_window() 1265 pplist = pplist + (newoff >> MMU_PAGESHIFT); in iommu_map_window() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_print.c | 1652 ulong_t newoff; in elt_print() local 1681 newoff = off + e.cte_bits; in elt_print() 1683 newoff = off + nsize * NBBY; in elt_print() 1686 newoff = -1UL; /* ULONG_MAX */ in elt_print() 1689 hole->hi_offset = newoff; in elt_print()
|