Home
last modified time | relevance | path

Searched refs:newoff (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/cmd/fs.d/udfs/fsck/
H A Dpass1.c304 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 Dlseek.c82 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/
H A Dvirtio.c568 uint32_t newoff; in vi_pci_read() local
600 newoff = offset - virtio_config_size; in vi_pci_read()
602 if (newoff + size > max) in vi_pci_read()
605 error = (*vc->vc_cfgread)(DEV_SOFTC(vs), newoff, size, &value); in vi_pci_read()
689 uint32_t newoff; in vi_pci_write() local
719 newoff = offset - virtio_config_size; in vi_pci_write()
721 if (newoff + size > max) in vi_pci_write()
724 error = (*vc->vc_cfgwrite)(DEV_SOFTC(vs), newoff, size, value); in vi_pci_write()
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb2_setinfo_file.c180 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 Dsmb_ofile.c1276 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 Diommu.c1197 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()
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()
1269 addr = (addr + newoff) & ~IOMMU_PAGEOFFSET; in iommu_map_window()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_print.c1655 ulong_t newoff; in elt_print() local
1684 newoff = off + e.cte_bits; in elt_print()
1686 newoff = off + nsize * NBBY; in elt_print()
1689 newoff = -1UL; /* ULONG_MAX */ in elt_print()
1692 hole->hi_offset = newoff; in elt_print()