/linux-master/fs/ntfs3/ |
H A D | inode.c | 945 u32 len, u32 copied, struct page *page, void *fsdata) 971 err = copied; 976 err = generic_write_end(file, mapping, pos, len, copied, page, 944 ntfs_write_end(struct file *file, struct address_space *mapping, loff_t pos, u32 len, u32 copied, struct page *page, void *fsdata) argument
|
H A D | file.c | 954 size_t copied, bytes; local 994 copied = 0; 1007 copied += cp; 1042 pos += copied; 1043 written += copied;
|
/linux-master/fs/bcachefs/ |
H A D | thread_with_file.c | 115 size_t copied = 0, b; local 137 copied += b; 146 return copied ?: ret; 168 size_t copied = 0; local 193 copied += b; 212 return copied ?: ret; 361 size_t copied = 0; local 386 copied += b; 394 return copied ?: ret;
|
H A D | debug.c | 323 int copied = bytes - copy_to_user(i->ubuf, i->buf.buf, bytes); local 325 i->ret += copied; 326 i->ubuf += copied; 327 i->size -= copied; 328 i->buf.pos -= copied; 329 memmove(i->buf.buf, i->buf.buf + copied, i->buf.pos); 331 if (copied != bytes)
|
/linux-master/fs/nilfs2/ |
H A D | dir.c | 94 size_t copied, len = to - from; local 99 copied = block_write_end(NULL, mapping, pos, len, len, &folio->page, NULL); 100 if (pos + copied > dir->i_size) 101 i_size_write(dir, pos + copied);
|
/linux-master/fs/fuse/ |
H A D | file.c | 1240 /* If we copied full page, mark it uptodate */ 2438 loff_t pos, unsigned len, unsigned copied, 2443 /* Haven't copied anything? Skip zeroing, size extending, dirtying. */ 2444 if (!copied) 2447 pos += copied; 2465 return copied; 3230 * pages (including partial ones) from the cache that have been copied, 2437 fuse_write_end(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned copied, struct page *page, void *fsdata) argument
|
/linux-master/drivers/char/ |
H A D | random.c | 425 size_t ret = 0, copied; local 451 copied = copy_to_iter(block, sizeof(block), iter); 452 ret += copied; 453 if (!iov_iter_count(iter) || copied != sizeof(block)) 1056 * The size of the copied stack pool is explicitly 2 longs so that we 1403 size_t copied; local 1409 copied = copy_from_iter(block, sizeof(block), iter); 1410 ret += copied; 1411 mix_pool_bytes(block, copied); 1412 if (!iov_iter_count(iter) || copied ! [all...] |
/linux-master/net/xdp/ |
H A D | xsk.c | 203 u32 copied = 0; local 209 copied += copy_len; 210 if (rem == copied) 211 return copied; 221 return copied; 280 u32 copied; local 285 copied = xsk_copy_xdp(copy_to, ©_from, to_len, &from_len, &frag, rem); 286 rem -= copied; 289 __xsk_rcv_zc(xs, xskb, copied - meta_len, rem ? XDP_PKT_CONTD : 0); 620 u32 hr, len, ts, offset, copy, copied; local [all...] |
/linux-master/net/nfc/ |
H A D | llcp_sock.c | 832 unsigned int copied, rlen; local 863 copied = min_t(unsigned int, rlen, len); 866 if (skb_copy_datagram_msg(cskb, 0, msg, copied)) { 897 skb_pull(skb, copied); 912 copied = rlen; 914 return copied;
|
/linux-master/drivers/isdn/mISDN/ |
H A D | socket.c | 112 int copied, err; local 146 copied = skb->len + MISDN_HEADER_LEN; 147 if (len < copied) { 157 err = skb_copy_datagram_msg(skb, 0, msg, copied); 163 return err ? : copied;
|
/linux-master/fs/vboxsf/ |
H A D | file.c | 310 loff_t pos, unsigned int len, unsigned int copied, 321 if (!PageUptodate(page) && copied < len) 322 zero_user(page, from + copied, len - copied); 309 vboxsf_write_end(struct file *file, struct address_space *mapping, loff_t pos, unsigned int len, unsigned int copied, struct page *page, void *fsdata) argument
|
/linux-master/drivers/scsi/lpfc/ |
H A D | lpfc_debugfs.c | 2192 int copied = 0; local 2207 if ((copied + LPFC_RAS_MAX_ENTRY_SIZE) >= (size - 1)) { 2208 memcpy(buffer + copied, dmabuf->virt, 2209 size - copied - 1); 2210 copied += size - copied - 1; 2213 memcpy(buffer + copied, dmabuf->virt, LPFC_RAS_MAX_ENTRY_SIZE); 2214 copied += LPFC_RAS_MAX_ENTRY_SIZE; 2216 return copied; 4558 * @len: The length of bytes to copied [all...] |
/linux-master/net/rxrpc/ |
H A D | sendmsg.c | 288 int ret, copied = 0; local 326 if (len - copied > call->tx_total_len) 328 if (!more && len - copied != call->tx_total_len) 372 copied += copy; 403 ret = copied; 418 if (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/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;
|
/linux-master/fs/exfat/ |
H A D | inode.c | 465 loff_t pos, unsigned int len, unsigned int copied, 472 err = generic_write_end(file, mapping, pos, len, copied, pagep, fsdata); 464 exfat_write_end(struct file *file, struct address_space *mapping, loff_t pos, unsigned int len, unsigned int copied, struct page *pagep, void *fsdata) argument
|
/linux-master/fs/ceph/ |
H A D | file.c | 1148 size_t plen, copied; local 1152 copied = copy_page_to_iter(pages[idx++], 1154 off += copied; 1155 left -= copied; 1157 if (copied < plen) {
|
/linux-master/drivers/tty/ |
H A D | tty_buffer.c | 305 size_t copied = 0; local 308 size_t goal = min_t(size_t, size - copied, TTY_BUFFER_PAGE); 328 copied += space; 334 } while (unlikely(size > copied)); 336 return copied;
|
/linux-master/drivers/tty/serial/ |
H A D | sh-sci.c | 881 int i, count, copied = 0; local 937 copied += count; 941 if (copied) { 954 int copied = 0; local 965 copied++; 973 copied++; 981 copied++; 984 if (copied) 987 return copied; 995 int copied local 1019 int copied = 0; local 1239 int copied; local [all...] |
H A D | samsung_tty.c | 514 int copied; local 527 copied = tty_insert_flip_string(tty, 529 if (copied != count) {
|
/linux-master/drivers/tty/serial/8250/ |
H A D | 8250_bcm7271.c | 447 u32 copied; local 473 copied = (u32)tty_insert_flip_string( 477 if (copied != length) { 479 length - copied); 480 up->icount.overrun += length - copied;
|
/linux-master/drivers/staging/pi433/ |
H A D | pi433_if.c | 820 unsigned int required, available, copied; local 868 retval = kfifo_from_user(&device->tx_fifo, buf, count, &copied); 869 if (retval || copied != count) 876 dev_dbg(device->dev, "write: generated new msg with %d bytes.\n", copied); 878 return copied;
|
/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/staging/axis-fifo/ |
H A D | axis-fifo.c | 354 unsigned int copied; local 425 copied = 0; 434 if (copy_to_user(buf + copied * sizeof(u32), tmp_buf, 441 copied += copy; 473 unsigned int copied; local 539 copied = 0; 543 if (copy_from_user(tmp_buf, buf + copied * sizeof(u32), 554 copied += copy; 558 ret = copied * sizeof(u32);
|
/linux-master/drivers/greybus/ |
H A D | es2.c | 1117 size_t copied; local 1127 copied = kfifo_out(&es2->apb_log_fifo, tmp_buf, count); 1128 ret = simple_read_from_buffer(buf, count, ppos, tmp_buf, copied);
|