tag | line | file | source code |
bytes_read | 3197 | drivers/block/ide-tape.c | int bytes_read; |
bytes_read | 3237 | drivers/block/ide-tape.c | bytes_read=tape->tape_block_size*(rq_ptr->nr_sectors-rq_ptr->current_nr_sectors); |
bytes_read | 3243 | drivers/block/ide-tape.c | if (bytes_read > blocks*tape->tape_block_size) { |
bytes_read | 3245 | drivers/block/ide-tape.c | bytes_read=blocks*tape->tape_block_size; |
bytes_read | 3248 | drivers/block/ide-tape.c | return (bytes_read); |
bytes_read | 3642 | drivers/block/ide-tape.c | int bytes_read,temp,actually_read=0; |
bytes_read | 3660 | drivers/block/ide-tape.c | bytes_read=idetape_queue_rw_tail (drive,IDETAPE_READ_REQUEST,0,tape->merge_buffer); |
bytes_read | 3661 | drivers/block/ide-tape.c | if (bytes_read < 0) |
bytes_read | 3662 | drivers/block/ide-tape.c | return (bytes_read); |
bytes_read | 3684 | drivers/block/ide-tape.c | bytes_read=idetape_add_chrdev_read_request (drive,tape->capabilities.ctl,tape->merge_buffer); |
bytes_read | 3685 | drivers/block/ide-tape.c | if (bytes_read <= 0) |
bytes_read | 3687 | drivers/block/ide-tape.c | memcpy_tofs (buf_ptr,tape->merge_buffer,bytes_read); |
bytes_read | 3688 | drivers/block/ide-tape.c | buf_ptr+=bytes_read;count-=bytes_read;actually_read+=bytes_read; |
bytes_read | 3692 | drivers/block/ide-tape.c | bytes_read=idetape_add_chrdev_read_request (drive,tape->capabilities.ctl,tape->merge_buffer); |
bytes_read | 3693 | drivers/block/ide-tape.c | if (bytes_read <= 0) |
bytes_read | 3695 | drivers/block/ide-tape.c | temp=IDETAPE_MIN (count,bytes_read); |
bytes_read | 3699 | drivers/block/ide-tape.c | tape->merge_buffer_size=bytes_read-temp; |
bytes_read | 165 | drivers/char/ftape/ftape-read.c | int bytes_read = 0; |
bytes_read | 244 | drivers/char/ftape/ftape-read.c | bytes_read = sector_count * SECTOR_SIZE; |
bytes_read | 245 | drivers/char/ftape/ftape-read.c | TRACEi(5, "partial read count:", bytes_read); |
bytes_read | 247 | drivers/char/ftape/ftape-read.c | bytes_read = result; |
bytes_read | 307 | drivers/char/ftape/ftape-read.c | bytes_read = 0; /* flag empty segment */ |
bytes_read | 357 | drivers/char/ftape/ftape-read.c | return bytes_read; |
bytes_read | 585 | drivers/char/ftape/ftape-read.c | int bytes_read = 0; |
bytes_read | 664 | drivers/char/ftape/ftape-read.c | bytes_read += cnt; /* what we got so far */ |
bytes_read | 670 | drivers/char/ftape/ftape-read.c | if (bytes_read == 0) { |
bytes_read | 677 | drivers/char/ftape/ftape-read.c | return bytes_read; |
bytes_read | 577 | fs/ncpfs/ncplib_kernel.c | char *target, int *bytes_read) |
bytes_read | 593 | fs/ncpfs/ncplib_kernel.c | *bytes_read = ntohs(ncp_reply_word(server, 0)); |
bytes_read | 595 | fs/ncpfs/ncplib_kernel.c | memcpy_tofs(target, ncp_reply_data(server, 2+(offset&1)), *bytes_read); |
bytes_read | 116 | fs/ncpfs/ncplib_kernel.h | char *target, int *bytes_read); |
bytes_read | 30 | scripts/lxdialog/textbox.c | static int hscroll = 0, fd, file_size, bytes_read; |
bytes_read | 73 | scripts/lxdialog/textbox.c | if ((bytes_read = read (fd, buf, BUF_SIZE)) == -1) { |
bytes_read | 78 | scripts/lxdialog/textbox.c | buf[bytes_read] = '\0'; /* mark end of valid data */ |
bytes_read | 145 | scripts/lxdialog/textbox.c | if (fpos > bytes_read) { /* Yes, we have to read it in */ |
bytes_read | 152 | scripts/lxdialog/textbox.c | if ((bytes_read = read (fd, buf, BUF_SIZE)) == -1) { |
bytes_read | 158 | scripts/lxdialog/textbox.c | buf[bytes_read] = '\0'; |
bytes_read | 185 | scripts/lxdialog/textbox.c | if ((bytes_read = read (fd, buf, BUF_SIZE)) == -1) { |
bytes_read | 191 | scripts/lxdialog/textbox.c | buf[bytes_read] = '\0'; |
bytes_read | 193 | scripts/lxdialog/textbox.c | page = buf + bytes_read; |
bytes_read | 335 | scripts/lxdialog/textbox.c | if (fpos > bytes_read) { /* Not beginning of file yet */ |
bytes_read | 342 | scripts/lxdialog/textbox.c | if (fpos < BUF_SIZE / 2 + bytes_read) { |
bytes_read | 350 | scripts/lxdialog/textbox.c | page = buf + fpos - bytes_read; |
bytes_read | 352 | scripts/lxdialog/textbox.c | if (lseek (fd, -(BUF_SIZE / 2 + bytes_read), SEEK_CUR) |
bytes_read | 361 | scripts/lxdialog/textbox.c | if ((bytes_read = read (fd, buf, BUF_SIZE)) == -1) { |
bytes_read | 366 | scripts/lxdialog/textbox.c | buf[bytes_read] = '\0'; |
bytes_read | 389 | scripts/lxdialog/textbox.c | if (fpos > bytes_read) { |
bytes_read | 391 | scripts/lxdialog/textbox.c | if (fpos < BUF_SIZE / 2 + bytes_read) { |
bytes_read | 399 | scripts/lxdialog/textbox.c | page = buf + fpos - bytes_read; |
bytes_read | 401 | scripts/lxdialog/textbox.c | if (lseek (fd, -(BUF_SIZE / 2 + bytes_read), |
bytes_read | 410 | scripts/lxdialog/textbox.c | if ((bytes_read = read (fd, buf, BUF_SIZE)) == -1) { |
bytes_read | 416 | scripts/lxdialog/textbox.c | buf[bytes_read] = '\0'; |
bytes_read | 490 | scripts/lxdialog/textbox.c | if ((bytes_read = read (fd, buf, BUF_SIZE)) == -1) { |
bytes_read | 495 | scripts/lxdialog/textbox.c | buf[bytes_read] = '\0'; |
bytes_read | 534 | scripts/lxdialog/textbox.c | 100 : ((fpos - bytes_read + page - buf) * 100) / file_size; |