Lines Matching defs:off
77 lseek32_common(file_t *fp, int stype, offset_t off, offset_t max,
94 noff = (u_offset_t)off;
102 if (reg && off > (max - curoff)) {
106 noff = (u_offset_t)(off + curoff);
118 if (reg && (off > (max - (offset_t)vattr.va_size))) {
122 noff = (u_offset_t)(off + (offset_t)vattr.va_size);
132 * data past "off"
134 noff = (u_offset_t)off;
142 * "off" is not past the end of file
161 * hole past "off"
163 noff = (u_offset_t)off;
170 * ioctl is not supported, if the off is valid return
177 if (off < (offset_t)vattr.va_size)
206 lseek32(int32_t fdes, off32_t off, int32_t stype)
228 error = lseek32_common(fp, stype, (offset_t)off,
231 error = lseek32_common(fp, stype, (offset_t)(uint_t)off,
250 offset_t off = ((u_offset_t)off2 << 32) | (u_offset_t)off1;
252 offset_t off = ((u_offset_t)off1 << 32) | (u_offset_t)off2;
258 error = lseek32_common(fp, stype, off, MAXOFFSET_T, &retoff);
274 lseek64(int fdes, off_t off, int stype)
287 new_off = off;
307 * data past "off"
309 new_off = (offset_t)off;
317 * The ioctl is not supported, check the supplied off
336 * hole past "off"
338 new_off = off;
345 * ioctl is not supported, if the off is valid return
352 if (off < (offset_t)vattr.va_size) {