Lines Matching +defs:fnum +defs:data
608 int fnum;
614 char data[65520];
653 fnum = cli_open(cli, rname, O_RDONLY, DENY_NONE);
657 if (fnum == -1) {
672 if (!cli_getattrE(cli, fnum, &finfo.mode, &finfo.size, NULL, &atime, &mtime)) {
702 datalen = cli_read(cli, fnum, data, nread, read_size);
732 if (dotarbuf(tarhandle,data,datalen) != datalen) {
750 if (padit(data, (SMB_BIG_UINT)sizeof(data), finfo.size - nread))
766 cli_close(cli, fnum);
903 DEBUG(5, ("Reading more data into ltarbuf ...\n"));
964 int fnum = -1, pos = 0, dsize = 0, bpos = 0;
970 (fnum=cli_open(cli, finfo.name, O_RDWR|O_CREAT|O_TRUNC, DENY_NONE)) == -1) {
986 if (cli_write(cli, fnum, 0, buffer_p + bpos, pos, dsize) != dsize) {
1034 if (!cli_close(cli, fnum)) {
1070 has the data. We only want the long file name, as the loop in do_tarput