/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ntfs-3g-2009.3.8/libntfs-3g/ |
H A D | compress.c | 327 s64 br, to_read, ofs, total, total2; local 429 to_read = min(count, cb_size - ofs); 430 memset(b, 0, to_read); 432 total += to_read; 433 count -= to_read; 434 b = (u8*)b + to_read; 450 to_read = min(count, cb_size - ofs); 457 br = ntfs_attr_pread(na, ofs, to_read, b); 473 to_read -= br; 475 } while (to_read > [all...] |
H A D | win32_io.c | 1015 s64 old_pos, to_read, i, br = 0; local 1022 to_read = (ofs + count + NTFS_BLOCK_SIZE - 1) & 1025 if (to_read > 0x80000000) { 1026 int delta = to_read - count; 1027 to_read = 0x80000000; 1028 count = to_read - delta; 1031 "ofs = %i, to_read = 0x%llx.\n", fd, b, 1033 (long long)to_read); 1038 alignedbuffer = (BYTE *)VirtualAlloc(NULL, to_read, MEM_COMMIT, 1054 to_read [all...] |
H A D | runlist.c | 1061 s64 bytes_read, to_read, ofs, total; local 1086 to_read = min(count, (rl->length << 1088 memset(b, 0, to_read); 1090 total += to_read; 1091 count -= to_read; 1092 b = (u8*)b + to_read; 1096 to_read = min(count, (rl->length << vol->cluster_size_bits) - 1100 vol->cluster_size_bits) + ofs, to_read, b);
|
H A D | attrib.c | 785 s64 br, to_read, ofs, total, total2; local 895 to_read = min(count, (rl->length << 897 memset(b, 0, to_read); 899 total += to_read; 900 count -= to_read; 901 b = (u8*)b + to_read; 905 to_read = min(count, (rl->length << vol->cluster_size_bits) - 909 " %lld.\n", (long long)to_read, (long long)rl->vcn, 912 ofs, to_read, b); 919 if (br == to_read) [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/isdn/hardware/eicon/ |
H A D | istream.c | 156 int read = 0, to_read = -1; local 170 if (to_read < 0) 175 if (to_read < 0) 179 to_read = min(max_length, (int)tmp[1]); 180 if (to_read) { 188 (word)to_read); 189 max_length -= to_read; 190 read += to_read; 191 data_ptr += to_read;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ncpfs/ |
H A D | mmap.c | 60 int to_read; local 62 to_read = bufsize - (pos % bufsize); 64 to_read = min_t(unsigned int, to_read, count - already_read); 68 pos, to_read, 76 if (read_this_time < to_read) {
|
H A D | file.c | 149 size_t to_read = min_t(unsigned int, local 155 pos, to_read, buf, &read_this_time, 165 if (read_this_time != to_read) {
|
H A D | ncplib_kernel.c | 963 __u32 offset, __u16 to_read, char *target, int *bytes_read) 972 ncp_add_be16(server, to_read); 995 (vmalloced) chunk of memory with size >= to_read... 999 __u32 offset, __u16 to_read, char __user *target, int *bytes_read, 1008 ncp_add_be16(server, to_read); 1015 if (len <= to_read) { 962 ncp_read_kernel(struct ncp_server *server, const char *file_id, __u32 offset, __u16 to_read, char *target, int *bytes_read) argument 998 ncp_read_bounce(struct ncp_server *server, const char *file_id, __u32 offset, __u16 to_read, char __user *target, int *bytes_read, void* bounce, __u32 bufsize) argument
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/ubi/ |
H A D | gluebi.c | 127 size_t to_read = mtd->erasesize - offs; local 129 if (to_read > total_read) 130 to_read = total_read; 133 to_read, 0); 139 total_read -= to_read; 140 buf += to_read;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ntfs/ |
H A D | logfile.c | 389 int have_read, to_read; local 395 to_read = le32_to_cpu(rp->system_page_size) - size; 408 size = min_t(int, to_read, PAGE_CACHE_SIZE); 412 to_read -= size; 414 } while (to_read > 0);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/jffs2/ |
H A D | readinode.c | 912 int err, to_read = needed_len - *rdlen; local 917 int rem = to_read % c->wbuf_pagesize; 920 to_read += c->wbuf_pagesize - rem; 926 dbg_readinode("read more %d bytes\n", to_read); 928 err = jffs2_flash_read(c, offs, to_read, &retlen, buf + *rdlen); 931 "error code: %d.\n", to_read, offs, err); 935 if (retlen < to_read) { 937 offs, retlen, to_read); 941 *rdlen += to_read;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libgpg-error-1.10/src/ |
H A D | w32-gettext.c | 1206 size_t to_read; 1229 to_read = size; 1233 long int nb = fread (read_ptr, 1, to_read, fp); 1234 if (nb < to_read) 1241 to_read -= nb; 1243 while (to_read > 0); 1202 size_t to_read; local
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-runtime/intl/ |
H A D | loadmsgcat.c | 863 size_t to_read; local 870 to_read = size; 874 long int nb = (long int) read (fd, read_ptr, to_read); 884 to_read -= nb; 886 while (to_read > 0);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/md/ |
H A D | raid5.c | 1356 int locked=0, uptodate=0, to_read=0, to_write=0, failed=0, written=0; local 1410 if (dev->toread) to_read++; 1431 PRINTK("locked=%d uptodate=%d to_read=%d" 1433 locked, uptodate, to_read, to_write, failed, failed_num); 1437 if (failed > 1 && to_read+to_write+written) { 1492 if (bi) to_read--; 1564 if (to_read || non_overwrite || (syncing && (uptodate < disks)) || expanding) { 1893 int locked=0, uptodate=0, to_read=0, to_write=0, failed=0, written=0; local 1950 if (dev->toread) to_read++; 1972 PRINTK("locked=%d uptodate=%d to_read [all...] |