Lines Matching refs:noff
81 u_offset_t noff; in lseek32_common() local
92 noff = (u_offset_t)off; in lseek32_common()
93 if (reg && noff > max) { in lseek32_common()
104 noff = (u_offset_t)(off + curoff); in lseek32_common()
105 if (reg && noff > max) { in lseek32_common()
120 noff = (u_offset_t)(off + (offset_t)vattr.va_size); in lseek32_common()
121 if (reg && noff > max) { in lseek32_common()
132 noff = (u_offset_t)off; in lseek32_common()
133 error = VOP_IOCTL(vp, _FIO_SEEK_DATA, (intptr_t)(&noff), in lseek32_common()
146 if (noff >= (u_offset_t)vattr.va_size) in lseek32_common()
149 if (reg && (noff > max)) in lseek32_common()
152 fp->f_offset = (offset_t)noff; in lseek32_common()
153 (*retoff) = (offset_t)noff; in lseek32_common()
161 noff = (u_offset_t)off; in lseek32_common()
162 error = VOP_IOCTL(vp, _FIO_SEEK_HOLE, (intptr_t)(&noff), in lseek32_common()
176 noff = (u_offset_t)vattr.va_size; in lseek32_common()
180 if (reg && (noff > max)) in lseek32_common()
183 fp->f_offset = (offset_t)noff; in lseek32_common()
184 (*retoff) = (offset_t)noff; in lseek32_common()
192 ASSERT((reg && noff <= max) || !reg); in lseek32_common()
193 newoff = (offset_t)noff; in lseek32_common()