Lines Matching refs:Woffset

236 off_t Woffset = 0;		/* offset before last write */  variable
2021 Woffset = fsize; in growfile()
2025 Progname, Pid, __FILE__, __LINE__, (long)Woffset); in growfile()
2086 Woffset = stbuf.st_size; in growfile()
2134 if ((Woffset = lseek(fd, noffset, SEEK_SET)) == -1) { in growfile()
2145 (long)Woffset, (int)stbuf.st_size); in growfile()
2153 if ((Woffset = lseek(fd, 0, SEEK_END)) == -1) { in growfile()
2163 (long)Woffset); in growfile()
2167 datapidgen(STATIC_NUM, buf, grow_incr, Woffset); in growfile()
2169 datapidgen(Pid, buf, grow_incr, Woffset); in growfile()
2171 dataasciigen(NULL, buf, grow_incr, Woffset); in growfile()
2173 databingen('r', buf, grow_incr, Woffset); in growfile()
2175 databingen('a', buf, grow_incr, Woffset); in growfile()
2177 databingen('c', buf, grow_incr, Woffset); in growfile()
2179 databingen('C', buf, grow_incr, Woffset); in growfile()
2181 databingen('z', buf, grow_incr, Woffset); in growfile()
2183 databingen('o', buf, grow_incr, Woffset); in growfile()
2185 dataasciigen(NULL, buf, grow_incr, Woffset); in growfile()
2219 off_tmp = Woffset + grow_incr; in growfile()
2238 if (off_tmp != Woffset + grow_incr) { in growfile()
2247 (int64_t) Woffset + in growfile()
2250 off_tmp = Woffset + grow_incr; in growfile()
2275 if (off_tmp != Woffset + grow_incr) { in growfile()
2289 __LINE__, (long)off_tmp, (long)Woffset, in growfile()
2290 grow_incr, (long)(Woffset + grow_incr)); in growfile()
2303 (long)off_tmp, grow_incr, (long)Woffset); in growfile()
2305 Woffset = off_tmp - grow_incr; in growfile()
2306 if (Woffset < 0) in growfile()
2307 Woffset = 0; in growfile()
2317 size_grew = (Woffset + Grow_incr) - fsize; in growfile()
2330 __LINE__, Iter_cnt, Grow_incr, (long)Woffset, in growfile()
2336 __LINE__, Iter_cnt, Grow_incr, (long)Woffset); in growfile()
2516 (long)Woffset); in check_write()
2530 } else if (fsize <= Woffset) { in check_write()
2540 Iter_cnt, fsize, (long)Woffset); in check_write()
2544 } else if (fsize < (Woffset + Grow_incr)) { in check_write()
2552 Grow_incr = fsize - Woffset; in check_write()
2559 fsize, tmp - Grow_incr, (long)Woffset, tmp, in check_write()
2568 Progname, Pid, __FILE__, __LINE__, (long)Woffset, in check_write()
2573 if (lseek(fd, Woffset, 0) == -1) { in check_write()
2577 (long)Woffset, strerror(errno)); in check_write()
2582 (long)Woffset); in check_write()
2625 (int)(Woffset + in check_write()
2637 (int)(Woffset + (Grow_incr - (Buffer - ptr))), in check_write()
2646 datapidchk(STATIC_NUM, Buffer, Grow_incr, Woffset, &errmsg); in check_write()
2648 ret = datapidchk(Pid, Buffer, Grow_incr, Woffset, &errmsg); in check_write()
2650 ret = dataasciichk(NULL, Buffer, Grow_incr, Woffset, &errmsg); in check_write()
2653 ret = databinchk('a', Buffer, Grow_incr, Woffset, &errmsg); in check_write()
2655 ret = databinchk('c', Buffer, Grow_incr, Woffset, &errmsg); in check_write()
2657 ret = databinchk('C', Buffer, Grow_incr, Woffset, &errmsg); in check_write()
2659 ret = databinchk('z', Buffer, Grow_incr, Woffset, &errmsg); in check_write()
2661 ret = databinchk('o', Buffer, Grow_incr, Woffset, &errmsg); in check_write()
2663 ret = dataasciichk(NULL, Buffer, Grow_incr, Woffset, &errmsg); in check_write()
2674 lockfile, (long)Woffset, Grow_incr, in check_write()
2685 Progname, Pid, __FILE__, __LINE__, (long)Woffset, in check_write()