Searched refs:OFFSET_MAX (Results 1 – 5 of 5) sorted by relevance
139 if (fileoff >= OFFSET_MAX(fp) && (vp->v_type == VREG)) { in read()157 (fileoff + cnt > OFFSET_MAX(fp))) { in read()158 cnt = (ssize_t)(OFFSET_MAX(fp) - fileoff); in read()286 if (fileoff >= OFFSET_MAX(fp)) { in write()295 if (fileoff + cnt > OFFSET_MAX(fp)) in write()296 cnt = (ssize_t)(OFFSET_MAX(fp) - fileoff); in write()710 if ((vp->v_type == VREG) && (fileoff >= OFFSET_MAX(fp))) { in readv()727 if ((vp->v_type == VREG) && (fileoff + count > OFFSET_MAX(fp))) { in readv()728 count = (ssize_t)(OFFSET_MAX(fp) - fileoff); in readv()879 if (fileoff >= OFFSET_MAX(fp)) { in writev()[all …]
131 if (*fileoff >= OFFSET_MAX(fp)) in sendvec_chunk64()134 if (*fileoff + sfv_len > OFFSET_MAX(fp)) in sendvec_chunk64()
547 bf.l_start > OFFSET_MAX(fp)) { in fcntl()
144 #define OFFSET_MAX(fd) ((fd->f_flag & FOFFMAX) ? MAXOFFSET_T : MAXOFF32_T) macro
688 if ((offset_t)len > (OFFSET_MAX(fp) - pos)) in smmap_common()