/linux-master/net/sunrpc/ |
H A D | backchannel_rqst.c | 354 void xprt_complete_bc_request(struct rpc_rqst *req, uint32_t copied) argument 364 req->rq_private_buf.len = copied;
|
/linux-master/drivers/crypto/intel/keembay/ |
H A D | keembay-ocs-ecc.c | 582 size_t copied, nbytes, pubk_len; local 592 copied = sg_copy_to_buffer(req->src, 595 if (copied != pubk_len) 639 copied = sg_copy_from_buffer(req->dst, 643 if (copied != nbytes) 665 size_t copied; local 692 copied = sg_copy_from_buffer(req->dst, 696 if (copied != pubk_len)
|
/linux-master/fs/ |
H A D | seq_file.c | 174 size_t copied = 0; local 219 copied += n; 282 copied += n; 286 if (unlikely(!copied)) { 287 copied = m->count ? -EFAULT : err; 289 iocb->ki_pos += copied; 290 m->read_pos += copied; 293 return copied;
|
/linux-master/drivers/media/rc/ |
H A D | lirc_dev.c | 610 unsigned int copied; local 634 ret = kfifo_to_user(&fh->rawir, buffer, length, &copied); 638 } while (copied == 0); 640 return copied; 648 unsigned int copied; local 673 ret = kfifo_to_user(&fh->scancodes, buffer, length, &copied); 677 } while (copied == 0); 679 return copied;
|
/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); 617 u32 hr, len, ts, offset, copy, copied; 620 u32 hr, len, ts, offset, copy, copied; local [all...] |
/linux-master/drivers/net/ethernet/brocade/bna/ |
H A D | bfa_msgq.c | 279 int copied; local 285 copied = (cmdq->bytes_to_copy >= BFI_CMD_COPY_SZ) ? BFI_CMD_COPY_SZ : 288 memcpy(rsp->data, addr, copied); 291 cmdq->offset += copied; 292 cmdq->bytes_to_copy -= copied;
|
/linux-master/drivers/platform/surface/ |
H A D | surface_aggregator_cdev.c | 579 unsigned int copied; local 622 status = kfifo_to_user(&client->buffer, buf, count, &copied); 631 if (copied == 0 && (file->f_flags & O_NONBLOCK)) { 635 } while (copied == 0); 638 return copied;
|
/linux-master/drivers/char/hw_random/ |
H A D | cctrng.c | 217 size_t copied = 0; local 233 copied = size; 236 left = max - copied; 242 copied += size; 272 return copied;
|
/linux-master/drivers/gpu/drm/ |
H A D | drm_property.c | 465 int i, copied; local 491 copied = 0; 501 if (copy_to_user(&enum_ptr[copied].value, 505 if (copy_to_user(&enum_ptr[copied].name, 508 copied++;
|
/linux-master/fs/squashfs/ |
H A D | file.c | 367 int copied; local 371 copied = squashfs_copy_data(pageaddr, buffer, offset, avail); 372 memset(pageaddr + copied, 0, PAGE_SIZE - copied); 376 if (copied == avail)
|
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_inode_fork.c | 575 int64_t copied = 0; local 586 copied += sizeof(struct xfs_bmbt_rec); 590 ASSERT(copied > 0); 591 ASSERT(copied <= ifp->if_bytes); 592 return copied;
|
/linux-master/drivers/tty/serial/ |
H A D | men_z135_uart.c | 241 * Copy from RX FIFO and acknowledge number of bytes copied. 247 int copied; local 276 copied = tty_insert_flip_string(tport, uart->rxbuf, room); 277 if (copied != room) 279 "Only copied %d instead of %d bytes\n", 280 copied, room); 282 port->icount.rx += copied;
|
/linux-master/fs/orangefs/ |
H A D | inode.c | 375 loff_t pos, unsigned len, unsigned copied, struct page *page, void *fsdata) 378 loff_t last_pos = pos + copied; 390 if (copied < len) { 391 zero_user(page, from + copied, len - copied); 396 zero_user_segment(page, from + copied, PAGE_SIZE); 406 return copied; 374 orangefs_write_end(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned copied, struct page *page, void *fsdata) argument
|
/linux-master/kernel/bpf/ |
H A D | bpf_iter.c | 98 size_t n, offs, copied = 0; local 123 copied = n; 230 copied = n; 234 if (!copied) 235 copied = err; 237 *ppos += copied; 239 return copied;
|
/linux-master/net/ipv4/ |
H A D | raw.c | 743 size_t copied = 0; local 760 copied = skb->len; 761 if (len < copied) { 763 copied = len; 766 err = skb_copy_datagram_msg(skb, 0, msg, copied); 783 copied = skb->len; 789 return copied;
|
/linux-master/fs/bcachefs/ |
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/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...] |
H A D | mem.c | 192 unsigned long copied; local 238 copied = copy_from_user(ptr, buf, sz); 240 if (copied) { 241 written += sz - copied;
|
/linux-master/net/rxrpc/ |
H A D | recvmsg.c | 285 size_t copied = 0; local 404 flags, &copied); 438 ret = copied; 485 * data, even if we've already copied over the requested data.
|
/linux-master/arch/xtensa/lib/ |
H A D | usercopy.S | 26 * The returned value is the number of bytes not copied. Implies zero 134 movi a2, 0 # return success for len bytes copied 194 movi a2, 0 # return success for len bytes copied 282 movi a2, 0 # return success for len bytes copied 299 sub a2, a5, a2 /* a2 <-- bytes copied */ 300 sub a2, a11, a2 /* a2 <-- bytes not copied */
|
/linux-master/crypto/ |
H A D | algif_hash.c | 69 ssize_t copied = 0; local 159 copied += len; 169 return copied ?: err;
|
/linux-master/drivers/most/ |
H A D | most_cdev.c | 239 size_t to_copy, not_copied, copied; local 269 copied = to_copy - not_copied; 271 c->mbo_offs += copied; 278 return copied;
|
/linux-master/arch/s390/boot/ |
H A D | head_kdump.S | 47 lghi %r14,DATAMOVER_ADDR # Jump to copied data mover
|
/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/drivers/tty/serial/8250/ |
H A D | 8250_mtk.c | 98 int copied, total, cnt; local 115 copied = tty_insert_flip_string(tty_port, ptr, cnt); 121 copied += tty_insert_flip_string(tty_port, ptr, cnt); 125 up->port.icount.rx += copied;
|