/linux-master/fs/nfs/ |
H A D | file.c | 372 loff_t pos, unsigned len, unsigned copied, 390 unsigned end = offset + copied; 403 status = nfs_update_folio(file, folio, offset, copied); 410 NFS_I(mapping->host)->write_io += copied; 415 return copied; 371 nfs_write_end(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned copied, struct page *page, void *fsdata) argument
|
/linux-master/net/sunrpc/ |
H A D | xprtsock.c | 530 if (!transport->recv.copied) { 535 transport->recv.copied = transport->recv.offset; 566 transport->recv.copied + want, 567 transport->recv.copied, 570 transport->recv.copied += read; 629 if (transport->recv.copied && !req->rq_private_buf.len) 634 xprt_complete_bc_request(req, transport->recv.copied); 636 req->rq_private_buf.len = transport->recv.copied; 658 if (!req || (transport->recv.copied && !req->rq_private_buf.len)) { 669 xprt_complete_rqst(req->rq_task, transport->recv.copied); 1363 int repsize, copied; local [all...] |
H A D | rpc_pipe.c | 107 char *data = (char *)msg->data + msg->copied; 108 size_t mlen = min(msg->len - msg->copied, buflen); 118 msg->copied += mlen; 304 msg->copied = 0; 310 /* NOTE: it is up to the callback to update msg->copied */ 312 if (res < 0 || msg->len == msg->copied) { 376 len += msg->len - msg->copied;
|
/linux-master/fs/ntfs3/ |
H A D | file.c | 963 size_t copied, bytes; local 1003 copied = 0; 1016 copied += cp; 1051 pos += copied; 1052 written += copied;
|
/linux-master/drivers/crypto/allwinner/sun4i-ss/ |
H A D | sun4i-ss-hash.c | 201 size_t copied = 0; local 220 copied = sg_pcopy_to_buffer(areq->src, sg_nents(areq->src), 222 op->len += copied;
|
/linux-master/fs/ |
H A D | buffer.c | 2249 loff_t pos, unsigned len, unsigned copied, 2255 if (unlikely(copied < len)) { 2269 copied = 0; 2271 folio_zero_new_buffers(folio, start+copied, start+len); 2276 __block_commit_write(folio, start, start + copied); 2278 return copied; 2283 loff_t pos, unsigned len, unsigned copied, 2290 copied = block_write_end(file, mapping, pos, len, copied, page, fsdata); 2299 if (pos + copied > inod 2248 block_write_end(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned copied, struct page *page, void *fsdata) argument 2282 generic_write_end(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned copied, struct page *page, void *fsdata) argument [all...] |
H A D | pipe.c | 510 int copied; local 540 copied = copy_page_from_iter(page, 0, PAGE_SIZE, from); 541 if (unlikely(copied < PAGE_SIZE && iov_iter_count(from))) { 546 ret += copied; 547 buf->len = copied;
|
/linux-master/fs/netfs/ |
H A D | write_issue.c | 585 * pagecache. Data has been copied into the pagecache that we need to append 590 struct folio *folio, size_t copied, bool to_page_end, 594 wreq->debug_id, wreq->iter.count, wreq->wsize, copied, to_page_end); 610 wreq->len += copied; 589 netfs_advance_writethrough(struct netfs_io_request *wreq, struct writeback_control *wbc, struct folio *folio, size_t copied, bool to_page_end, struct folio **writethrough_cache) argument
|
/linux-master/net/ipv4/ |
H A D | ping.c | 857 int copied, err; local 872 copied = skb->len; 873 if (copied > len) { 875 copied = len; 879 err = skb_copy_datagram_msg(skb, 0, msg, copied); 931 err = copied;
|
/linux-master/fs/ubifs/ |
H A D | file.c | 526 loff_t pos, unsigned len, unsigned copied, 536 dbg_gen("ino %lu, pos %llu, pg %lu, len %u, copied %d, i_size %lld", 537 inode->i_ino, pos, folio->index, len, copied, inode->i_size); 539 if (unlikely(copied < len && !folio_test_uptodate(folio))) { 541 * VFS copied less data to the folio than it intended and 549 dbg_gen("copied %d instead of %d, read page and repeat", 550 copied, len); 558 copied = do_readpage(folio); 587 return copied; 525 ubifs_write_end(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned copied, struct page *page, void *fsdata) argument
|
/linux-master/net/netrom/ |
H A D | af_netrom.c | 1156 size_t copied; local 1179 copied = skb->len; 1181 if (copied > size) { 1182 copied = size; 1186 er = skb_copy_datagram_msg(skb, 0, msg, copied); 1204 return copied;
|
/linux-master/net/vmw_vsock/ |
H A D | vmci_transport_notify.c | 476 ssize_t copied, 492 if (copied >= 473 vmci_transport_notify_pkt_recv_post_dequeue( struct sock *sk, size_t target, ssize_t copied, bool data_read, struct vmci_transport_recv_notify_data *data) argument
|
/linux-master/fs/ext4/ |
H A D | inline.c | 743 unsigned copied, struct folio *folio) 751 if (unlikely(copied < len) && !folio_test_uptodate(folio)) 752 copied = 0; 754 if (likely(copied)) { 773 ext4_write_inline_data(inode, &iloc, kaddr, pos, copied); 787 ext4_update_inode_size(inode, pos + copied); 798 if (likely(copied)) 821 return ret ? ret : copied; 1257 * If succeeds, return 0. If not, extended the inline dir and copied data to 742 ext4_write_inline_data_end(struct inode *inode, loff_t pos, unsigned len, unsigned copied, struct folio *folio) argument
|
/linux-master/arch/s390/kernel/ |
H A D | ptrace.c | 434 int copied, ret; local 452 copied = 0; 453 while (copied < parea.len) { 467 copied += sizeof(unsigned long); 766 int copied, ret; local 784 copied = 0; 785 while (copied < parea.len) { 799 copied += sizeof(unsigned int);
|
/linux-master/include/linux/ |
H A D | virtio_vsock.h | 214 size_t target, ssize_t copied, bool data_read,
|
/linux-master/drivers/staging/gdm724x/ |
H A D | gdm_lte.c | 682 int copied; local 693 copied = data - multi_sdu->data; 694 if (len < copied + sizeof(*sdu)) { 710 len < copied + sizeof(*sdu) + (hci_len - 12)) {
|
/linux-master/drivers/hid/ |
H A D | hid-sensor-custom.c | 643 unsigned int copied; local 663 &copied); 667 } while (copied == 0); 669 return copied;
|
/linux-master/drivers/scsi/ |
H A D | iscsi_tcp.c | 299 unsigned int copied = 0; local 309 offset = segment->copied; 334 copied += r; 336 return copied;
|
/linux-master/net/appletalk/ |
H A D | ddp.c | 1359 * Order matters here: If a packet has to be copied to make a new 1728 int copied = 0; local 1741 copied = ntohs(ddp->deh_len_hops) & 1023; 1745 copied -= offset; 1748 if (copied > size) { 1749 copied = size; 1752 err = skb_copy_datagram_msg(skb, offset, msg, copied); 1767 return err ? : copied;
|
/linux-master/drivers/gpu/drm/ |
H A D | drm_connector.c | 2899 int copied = 0; local 2917 copied = 0; 2921 if (put_user(encoder->base.id, encoder_ptr + copied)) { 2925 copied++; 2968 copied = 0; 2984 if (copy_to_user(mode_ptr + copied, 2999 copied++;
|
/linux-master/net/bluetooth/ |
H A D | hci_sock.c | 1555 int copied, err; local 1574 copied = skb->len; 1575 if (len < copied) { 1577 copied = len; 1581 err = skb_copy_datagram_msg(skb, 0, msg, copied); 1603 copied = skblen; 1607 return err ? : copied;
|
/linux-master/fs/hugetlbfs/ |
H A D | inode.c | 323 size_t nr, copied, want; local 347 copied = iov_iter_zero(nr, to); 370 copied = copy_folio_to_iter(folio, offset, want, to); 373 offset += copied; 374 retval += copied; 375 if (copied != nr && iov_iter_count(to)) { 396 loff_t pos, unsigned len, unsigned copied, 395 hugetlbfs_write_end(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned copied, struct page *page, void *fsdata) argument
|
/linux-master/include/trace/events/ |
H A D | sunrpc.h | 737 unsigned int copied 740 TP_ARGS(xdr, offset, copied), 747 __field(unsigned int, copied) 770 __entry->copied = copied; 780 " %sv%d %s offset=%zu copied=%u xdr=[%p,%zu]/%u/[%p,%zu]/%u\n", 783 __entry->offset, __entry->copied, 1356 __field(unsigned long, copied) 1365 __entry->copied = xs->recv.copied; [all...] |
/linux-master/fs/nilfs2/ |
H A D | inode.c | 271 loff_t pos, unsigned len, unsigned copied, 280 start + copied); 281 copied = generic_write_end(file, mapping, pos, len, copied, page, 285 return err ? : copied; 270 nilfs_write_end(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned copied, struct page *page, void *fsdata) argument
|
/linux-master/fs/kernfs/ |
H A D | dir.c | 141 ssize_t copied; local 163 copied = strscpy(buf + len, parent_str, buflen - len); 164 if (copied < 0) 165 return copied; 166 len += copied;
|