Lines Matching defs:bpos
1002 int pos = 0, dsize = 0, bpos = 0;
1020 dsize = MIN(tbufsiz - (buffer_p - tarbuf) - bpos, 65520); /* Calculate the size to write */
1022 DEBUG(5, ("writing %i bytes, bpos = %i ...\n", dsize, bpos));
1024 if (cli_write(cli, fnum, 0, buffer_p + bpos, pos, dsize) != dsize) {
1039 if ((bpos) && ((bpos + dsize) >= TBLOCK)) {
1040 dsize -= (TBLOCK - bpos); /* Get rid of the end of the first block */
1041 bpos = 0;
1067 bpos = dsize;