/kernel/linux/linux-5.10/fs/jffs2/ |
H A D | readinode.c | 943 int err, to_read = needed_len - *rdlen; in read_more() local 948 int rem = to_read % c->wbuf_pagesize; in read_more() 951 to_read += c->wbuf_pagesize - rem; in read_more() 957 dbg_readinode("read more %d bytes\n", to_read); in read_more() 959 err = jffs2_flash_read(c, offs, to_read, &retlen, buf + *rdlen); in read_more() 962 "error code: %d.\n", to_read, offs, err); in read_more() 966 if (retlen < to_read) { in read_more() 968 offs, retlen, to_read); in read_more() 972 *rdlen += to_read; in read_more()
|
/kernel/linux/linux-6.6/fs/jffs2/ |
H A D | readinode.c | 943 int err, to_read = needed_len - *rdlen; in read_more() local 948 int rem = to_read % c->wbuf_pagesize; in read_more() 951 to_read += c->wbuf_pagesize - rem; in read_more() 957 dbg_readinode("read more %d bytes\n", to_read); in read_more() 959 err = jffs2_flash_read(c, offs, to_read, &retlen, buf + *rdlen); in read_more() 962 "error code: %d.\n", to_read, offs, err); in read_more() 966 if (retlen < to_read) { in read_more() 968 offs, retlen, to_read); in read_more() 972 *rdlen += to_read; in read_more()
|
/kernel/linux/linux-5.10/fs/cifs/ |
H A D | smbdirect.c | 1772 int to_copy, to_read, data_read, offset; in smbd_recv_buf() local 1798 to_read = size; in smbd_recv_buf() 1828 to_copy = min_t(int, data_length - offset, to_read); in smbd_recv_buf() 1859 to_read -= to_copy; in smbd_recv_buf() 1862 log_read(INFO, "_get_first_reassembly memcpy %d bytes data_transfer_length-offset=%d after that to_read=%d data_read=%d offset=%d\n", in smbd_recv_buf() 1864 to_read, data_read, offset); in smbd_recv_buf() 1900 * to_read: the length of data to read 1905 unsigned int to_read) in smbd_recv_page() 1914 info->reassembly_data_length >= to_read || in smbd_recv_page() 1923 log_read(INFO, "reading from page=%p address=%p to_read in smbd_recv_page() 1903 smbd_recv_page(struct smbd_connection *info, struct page *page, unsigned int page_offset, unsigned int to_read) smbd_recv_page() argument 1941 unsigned int to_read, page_offset; smbd_recv() local [all...] |
H A D | cifsproto.h | 232 unsigned int to_read); 234 size_t to_read); 238 unsigned int to_read);
|
/kernel/linux/linux-6.6/fs/smb/client/ |
H A D | smbdirect.c | 1740 int to_copy, to_read, data_read, offset; in smbd_recv_buf() local 1766 to_read = size; in smbd_recv_buf() 1796 to_copy = min_t(int, data_length - offset, to_read); in smbd_recv_buf() 1827 to_read -= to_copy; in smbd_recv_buf() 1830 log_read(INFO, "_get_first_reassembly memcpy %d bytes data_transfer_length-offset=%d after that to_read=%d data_read=%d offset=%d\n", in smbd_recv_buf() 1832 to_read, data_read, offset); in smbd_recv_buf() 1868 * to_read: the length of data to read 1873 unsigned int to_read) in smbd_recv_page() 1882 info->reassembly_data_length >= to_read || in smbd_recv_page() 1891 log_read(INFO, "reading from page=%p address=%p to_read in smbd_recv_page() 1871 smbd_recv_page(struct smbd_connection *info, struct page *page, unsigned int page_offset, unsigned int to_read) smbd_recv_page() argument 1909 unsigned int to_read, page_offset; smbd_recv() local [all...] |
H A D | cifsproto.h | 250 unsigned int to_read); 252 size_t to_read); 256 unsigned int to_read); 259 unsigned int to_read);
|
H A D | connect.c | 746 unsigned int to_read) in cifs_read_from_socket() 749 struct kvec iov = {.iov_base = buf, .iov_len = to_read}; in cifs_read_from_socket() 750 iov_iter_kvec(&smb_msg.msg_iter, ITER_DEST, &iov, 1, to_read); in cifs_read_from_socket() 756 cifs_discard_from_socket(struct TCP_Server_Info *server, size_t to_read) in cifs_discard_from_socket() argument 765 iov_iter_discard(&smb_msg.msg_iter, ITER_DEST, to_read); in cifs_discard_from_socket() 772 unsigned int page_offset, unsigned int to_read) in cifs_read_page_from_socket() 777 bvec_set_page(&bv, page, to_read, page_offset); in cifs_read_page_from_socket() 778 iov_iter_bvec(&smb_msg.msg_iter, ITER_DEST, &bv, 1, to_read); in cifs_read_page_from_socket() 784 unsigned int to_read) in cifs_read_iter_from_socket() 789 iov_iter_truncate(&smb_msg.msg_iter, to_read); in cifs_read_iter_from_socket() 745 cifs_read_from_socket(struct TCP_Server_Info *server, char *buf, unsigned int to_read) cifs_read_from_socket() argument 771 cifs_read_page_from_socket(struct TCP_Server_Info *server, struct page *page, unsigned int page_offset, unsigned int to_read) cifs_read_page_from_socket() argument 783 cifs_read_iter_from_socket(struct TCP_Server_Info *server, struct iov_iter *iter, unsigned int to_read) cifs_read_iter_from_socket() argument [all...] |
/third_party/backends/backend/ |
H A D | rts8891_low.c | 700 while (read < length && dev->read < dev->to_read in read_data() 770 DBG (DBG_io2, "read_data: %d/%d\n", dev->read, dev->to_read); in read_data() 783 if (count == 0 && dev->read < dev->to_read) in read_data() 796 if (dev->read >= dev->to_read) in read_data()
|
H A D | rts8891_low.h | 249 SANE_Int to_read; member
|
H A D | teco1.c | 724 get_filled_data_length (Teco_Scanner * dev, size_t * to_read) in get_filled_data_length() argument 732 *to_read = 0; in get_filled_data_length() 748 *to_read = B24TOI (&dev->buffer[9]); in get_filled_data_length() 785 DBG (DBG_info, "get_filled_data_length: to read = %ld\n", (long) *to_read); in get_filled_data_length()
|
/kernel/linux/linux-5.10/drivers/mtd/ubi/ |
H A D | eba.c | 752 int to_read; in ubi_eba_read_leb_sg() local 760 to_read = len; in ubi_eba_read_leb_sg() 762 to_read = sg->length - sgl->page_pos; in ubi_eba_read_leb_sg() 766 to_read, check); in ubi_eba_read_leb_sg() 770 offset += to_read; in ubi_eba_read_leb_sg() 771 len -= to_read; in ubi_eba_read_leb_sg() 773 sgl->page_pos += to_read; in ubi_eba_read_leb_sg()
|
/kernel/linux/linux-6.6/drivers/mtd/ubi/ |
H A D | eba.c | 751 int to_read; in ubi_eba_read_leb_sg() local 759 to_read = len; in ubi_eba_read_leb_sg() 761 to_read = sg->length - sgl->page_pos; in ubi_eba_read_leb_sg() 765 to_read, check); in ubi_eba_read_leb_sg() 769 offset += to_read; in ubi_eba_read_leb_sg() 770 len -= to_read; in ubi_eba_read_leb_sg() 772 sgl->page_pos += to_read; in ubi_eba_read_leb_sg()
|
/third_party/ffmpeg/libavformat/ |
H A D | mpeg.c | 964 int n, to_read, startcode; in vobsub_read_packet() local 975 to_read = ret & 0xffff; in vobsub_read_packet() 988 ret = av_grow_packet(pkt, to_read); in vobsub_read_packet() 992 n = avio_read(pb, pkt->data + (pkt->size - to_read), to_read); in vobsub_read_packet() 993 if (n < to_read) in vobsub_read_packet() 994 pkt->size -= to_read - n; in vobsub_read_packet()
|
/third_party/backends/frontend/ |
H A D | tstbackend.c | 1135 size_t to_read; in test_scan() local 1238 to_read = params.bytes_per_line * params.lines; in test_scan() 1268 to_read -= len; in test_scan() 1272 check(ERR, (to_read == 0), in test_scan() 1347 to_read = params.bytes_per_line * params.lines; in test_scan() 1389 to_read -= len; in test_scan() 1393 check(ERR, (to_read == 0), in test_scan() 1424 to_read = params.bytes_per_line * params.lines; in test_scan() 1462 to_read -= len; in test_scan() 1466 check(ERR, (to_read in test_scan() [all...] |
/third_party/ntfs-3g/libntfs-3g/ |
H A D | win32_io.c | 1445 s64 old_pos, to_read, i, br = 0; in ntfs_device_win32_read() local 1452 to_read = (ofs + count + fd->geo_sector_size - 1) & in ntfs_device_win32_read() 1455 if (to_read > 0x80000000) { in ntfs_device_win32_read() 1456 int delta = to_read - count; in ntfs_device_win32_read() 1457 to_read = 0x80000000; in ntfs_device_win32_read() 1458 count = to_read - delta; in ntfs_device_win32_read() 1461 "ofs = %i, to_read = 0x%llx.\n", fd, b, in ntfs_device_win32_read() 1463 (long long)to_read); in ntfs_device_win32_read() 1468 alignedbuffer = (BYTE *)VirtualAlloc(NULL, to_read, MEM_COMMIT, in ntfs_device_win32_read() 1484 to_read in ntfs_device_win32_read() [all...] |
H A D | runlist.c | 1116 s64 bytes_read, to_read, ofs, total; in ntfs_rl_pread() local 1141 to_read = min(count, (rl->length << in ntfs_rl_pread() 1143 memset(b, 0, to_read); in ntfs_rl_pread() 1145 total += to_read; in ntfs_rl_pread() 1146 count -= to_read; in ntfs_rl_pread() 1147 b = (u8*)b + to_read; in ntfs_rl_pread() 1151 to_read = min(count, (rl->length << vol->cluster_size_bits) - in ntfs_rl_pread() 1155 vol->cluster_size_bits) + ofs, to_read, b); in ntfs_rl_pread()
|
H A D | attrib.c | 991 s64 br, to_read, ofs, total, total2, max_read, max_init; in ntfs_attr_pread_i() local 1154 to_read = min(count, (rl->length << in ntfs_attr_pread_i() 1156 memset(b, 0, to_read); in ntfs_attr_pread_i() 1158 total += to_read; in ntfs_attr_pread_i() 1159 count -= to_read; in ntfs_attr_pread_i() 1160 b = (u8*)b + to_read; in ntfs_attr_pread_i() 1164 to_read = min(count, (rl->length << vol->cluster_size_bits) - in ntfs_attr_pread_i() 1168 " %lld.\n", (long long)to_read, (long long)rl->vcn, in ntfs_attr_pread_i() 1171 ofs, to_read, b); in ntfs_attr_pread_i() 1178 if (br == to_read) in ntfs_attr_pread_i() [all...] |
/kernel/linux/linux-5.10/drivers/lightnvm/ |
H A D | pblk-rb.c | 560 unsigned int pad = 0, to_read = nr_entries; in pblk_rb_read_to_bio() local 566 to_read = count; in pblk_rb_read_to_bio() 573 c_ctx->nr_valid = to_read; in pblk_rb_read_to_bio() 576 for (i = 0; i < to_read; i++) { in pblk_rb_read_to_bio()
|
/third_party/ntfs-3g/ntfsprogs/ |
H A D | ntfsdecrypt.c | 319 int f, to_read, total, attempts, br; in ntfs_pkcs12_load_pfxfile() local 352 to_read = key_stat.st_size; in ntfs_pkcs12_load_pfxfile() 355 br = read(f, *pfx + total, to_read); in ntfs_pkcs12_load_pfxfile() 362 to_read -= br; in ntfs_pkcs12_load_pfxfile() 364 } while (to_read > 0 && attempts < 3); in ntfs_pkcs12_load_pfxfile()
|
/third_party/selinux/libsepol/src/ |
H A D | policydb.c | 2358 int rc, to_read = 2; in role_read() local 2365 to_read = 3; in role_read() 2367 rc = next_entry(buf, fp, sizeof(uint32_t) * to_read); in role_read() 2437 int rc, to_read; in type_read() local 2447 to_read = 5; in type_read() 2449 to_read = 4; in type_read() 2452 to_read = 3; in type_read() 2454 to_read = 5; in type_read() 2456 to_read = 4; in type_read() 2458 rc = next_entry(buf, fp, sizeof(uint32_t) * to_read); in type_read() 3333 int rc, to_read = 2; user_read() local [all...] |
/kernel/linux/linux-5.10/security/selinux/ss/ |
H A D | policydb.c | 1394 int rc, to_read = 2; in role_read() local 1403 to_read = 3; in role_read() 1405 rc = next_entry(buf, fp, sizeof(buf[0]) * to_read); in role_read() 1450 int rc, to_read = 3; in type_read() local 1459 to_read = 4; in type_read() 1461 rc = next_entry(buf, fp, sizeof(buf[0]) * to_read); in type_read() 1524 int rc, to_read = 2; in user_read() local 1533 to_read = 3; in user_read() 1535 rc = next_entry(buf, fp, sizeof(buf[0]) * to_read); in user_read()
|
/kernel/linux/linux-6.6/security/selinux/ss/ |
H A D | policydb.c | 1390 unsigned int to_read = 2; in role_read() local 1399 to_read = 3; in role_read() 1401 rc = next_entry(buf, fp, sizeof(buf[0]) * to_read); in role_read() 1447 unsigned int to_read = 3; in type_read() local 1456 to_read = 4; in type_read() 1458 rc = next_entry(buf, fp, sizeof(buf[0]) * to_read); in type_read() 1522 unsigned int to_read = 2; in user_read() local 1531 to_read = 3; in user_read() 1533 rc = next_entry(buf, fp, sizeof(buf[0]) * to_read); in user_read()
|
/kernel/linux/linux-5.10/drivers/md/ |
H A D | raid5.h | 284 int locked, uptodate, to_read, to_write, failed, written; member
|
/kernel/linux/linux-6.6/drivers/md/ |
H A D | raid5.h | 285 int locked, uptodate, to_read, to_write, failed, written; member
|
/kernel/linux/linux-6.6/fs/smb/server/ |
H A D | transport_rdma.c | 677 int to_copy, to_read, data_read, offset; in smb_direct_read() local 707 to_read = size; in smb_direct_read() 737 to_copy = min_t(int, data_length - offset, to_read); in smb_direct_read() 762 to_read -= to_copy; in smb_direct_read()
|