/linux-master/drivers/android/ |
H A D | binder.c | 2398 size_t bytes_copied = 0; local 2400 while (bytes_copied < sgc->length) { 2402 size_t bytes_left = sgc->length - bytes_copied; 2403 size_t offset = sgc->offset + bytes_copied; 2414 sgc->sender_uaddr + bytes_copied, 2416 bytes_copied += copy_size; 2427 bytes_copied += pf->skip_size; 2436 bytes_copied += sizeof(pf->fixup_data);
|
/linux-master/drivers/scsi/lpfc/ |
H A D | lpfc_bsg.c | 214 unsigned int transfer_bytes, bytes_copied = 0; local 258 bytes_copied += transfer_bytes; 269 return bytes_copied;
|
/linux-master/net/sctp/ |
H A D | socket.c | 6152 int bytes_copied; local 6184 bytes_copied = ((char __user *)to) - optval; 6185 if (put_user(bytes_copied, optlen)) 6192 size_t space_left, int *bytes_copied) 6228 *bytes_copied += addrlen; 6250 int bytes_copied = 0; local 6290 space_left, &bytes_copied); 6314 bytes_copied += addrlen; 6320 if (copy_to_user(to, addrs, bytes_copied)) { 6331 if (put_user(bytes_copied, optle 6191 sctp_copy_laddrs(struct sock *sk, __u16 port, void *to, size_t space_left, int *bytes_copied) argument [all...] |
/linux-master/fs/nfsd/ |
H A D | nfs4proc.c | 1641 ssize_t bytes_copied = 0; local 1655 bytes_copied = nfsd_copy_file_range(src, src_pos, dst, dst_pos, 1657 if (bytes_copied <= 0) 1659 bytes_total -= bytes_copied; 1660 copy->cp_res.wr_bytes_written += bytes_copied; 1661 src_pos += bytes_copied; 1662 dst_pos += bytes_copied; 1674 return bytes_copied;
|
/linux-master/drivers/net/wireless/intel/iwlwifi/pcie/ |
H A D | trans.c | 2913 ssize_t *bytes_copied) 2915 ssize_t buf_size_left = count - *bytes_copied; 2922 *bytes_copied += *size; 2938 ssize_t size, bytes_copied = 0; local 2969 &bytes_copied); 2978 &bytes_copied); 2985 &bytes_copied); 3002 &bytes_copied); 3009 return bytes_copied; 2911 iwl_write_to_user_buf(char __user *user_buf, ssize_t count, void *buf, ssize_t *size, ssize_t *bytes_copied) argument
|
/linux-master/drivers/scsi/ |
H A D | ipr.c | 2881 int bytes_copied = 0; local 2892 while (bytes_copied < length && 2893 (ioa_dump->hdr.len + bytes_copied) < max_dump_size) { 2900 return bytes_copied; 2909 rem_len = length - bytes_copied; 2918 pci_address + bytes_copied, 2926 bytes_copied += cur_len; 2934 return bytes_copied; 3056 u32 max_dump_size, bytes_to_copy, bytes_copied, rc; local 3182 bytes_copied [all...] |
/linux-master/drivers/media/usb/cx231xx/ |
H A D | cx231xx-video.c | 501 u32 bytes_copied = 0; local 515 return bytes_copied; 529 return bytes_copied; 536 bytes_copied = cx231xx_copy_video_line(dev, dma_q, p_buffer, 539 return bytes_copied;
|
H A D | cx231xx-vbi.c | 445 u32 bytes_copied = 0; local 462 return bytes_copied; 466 bytes_copied = 470 return bytes_copied;
|
/linux-master/arch/powerpc/include/asm/ |
H A D | ps3.h | 484 unsigned long *bytes_copied); 486 unsigned long count, unsigned long *bytes_copied);
|
/linux-master/fs/reiserfs/ |
H A D | inode.c | 2364 int bytes_copied = 0; local 2397 if (bytes_copied > 0) { 2399 "bytes_copied %d", bytes_copied); 2440 memcpy(ih_item_body(bh, ih) + pos_in_item, p + bytes_copied, 2444 bytes_copied += copy_size; 2448 if (bytes_copied < bh_result->b_size && 2449 (byte_offset + bytes_copied) < inode->i_size) {
|
/linux-master/drivers/infiniband/hw/mlx5/ |
H A D | qp.c | 112 * @bytes_copied: number of bytes to copy (return value) 123 size_t *bytes_copied) 140 if (!ret && bytes_copied) 141 *bytes_copied = copy_length; 150 size_t bytes_copied = 0; local 164 while (bytes_copied < wqe_length) { 166 min_t(size_t, buflen - bytes_copied, MLX5_SEND_WQE_BB); 171 memcpy(buffer + bytes_copied, p, copy_length); 172 bytes_copied += copy_length; 177 *bc = bytes_copied; 119 mlx5_ib_read_user_wqe_common(struct ib_umem *umem, void *buffer, size_t buflen, int wqe_index, int wq_offset, int wq_wqe_cnt, int wq_wqe_shift, int bcnt, size_t *bytes_copied) argument 188 size_t bytes_copied; local 254 size_t bytes_copied; local 289 size_t bytes_copied; local [all...] |
H A D | odp.c | 1203 size_t bytes_copied; local 1229 &bytes_copied); 1233 dev, pfault, qp, &wqe, &wqe_end, bytes_copied); 1236 &bytes_copied); 1240 dev, qp, wqe, &wqe_end, bytes_copied); 1245 &bytes_copied); 1249 dev, srq, &wqe, &wqe_end, bytes_copied);
|
/linux-master/drivers/infiniband/hw/irdma/ |
H A D | uk.c | 529 u32 bytes_copied; local 531 bytes_copied = min(sge_len, quanta_bytes_remaining); 532 memcpy(wqe, cur_sge, bytes_copied); 533 wqe += bytes_copied; 534 cur_sge += bytes_copied; 535 quanta_bytes_remaining -= bytes_copied; 536 sge_len -= bytes_copied; 595 u32 bytes_copied; local 597 bytes_copied = min(sge_len, quanta_bytes_remaining); 598 memcpy(wqe, cur_sge, bytes_copied); [all...] |
/linux-master/drivers/usb/gadget/function/ |
H A D | f_printer.c | 435 size_t bytes_copied; local 465 bytes_copied = 0; 526 bytes_copied += size; 563 DBG(dev, "printer_read returned %d bytes\n", (int)bytes_copied); 565 if (bytes_copied) 566 return bytes_copied; 577 size_t bytes_copied = 0; local 648 return bytes_copied; 651 bytes_copied += size; 682 DBG(dev, "printer_write sent %d bytes\n", (int)bytes_copied); [all...] |
/linux-master/drivers/memstick/host/ |
H A D | r592.c | 383 int bytes_copied = local 385 buffer += bytes_copied; 386 len -= bytes_copied;
|
/linux-master/drivers/ps3/ |
H A D | ps3-lpm.c | 910 * @bytes_copied: Pointer to a variable that will receive the number of 914 * and bytes_copied will be set to the number of bytes successfully copied. 918 unsigned long *bytes_copied) 922 *bytes_copied = 0; 932 while (*bytes_copied < count) { 933 const unsigned long request = count - *bytes_copied; 950 *bytes_copied += tmp; 954 *bytes_copied); local 965 * @bytes_copied: Pointer to a variable that will receive the number of 969 * and bytes_copied wil 917 ps3_lpm_copy_tb(unsigned long offset, void *buf, unsigned long count, unsigned long *bytes_copied) argument 972 ps3_lpm_copy_tb_to_user(unsigned long offset, void __user *buf, unsigned long count, unsigned long *bytes_copied) argument 1017 *bytes_copied); local [all...] |
/linux-master/drivers/misc/vmw_vmci/ |
H A D | vmci_queue_pair.c | 337 size_t bytes_copied = 0; local 339 while (bytes_copied < size) { 341 (queue_offset + bytes_copied) / PAGE_SIZE; 343 (queue_offset + bytes_copied) & (PAGE_SIZE - 1); 353 if (size - bytes_copied > PAGE_SIZE - page_offset) 357 to_copy = size - bytes_copied; 365 bytes_copied += to_copy; 384 size_t bytes_copied = 0; local 386 while (bytes_copied < size) { 388 (queue_offset + bytes_copied) / PAGE_SIZ [all...] |
/linux-master/drivers/platform/x86/dell/ |
H A D | dell_rbu.c | 251 int bytes_copied = 0; local 270 bytes_copied = (*list_read_count - bytes_read); 273 bytes_copied = length; 274 memcpy(data, ptemp_buf, bytes_copied); 276 return bytes_copied; 283 int bytes_copied = 0; local 296 bytes_copied = do_packet_read(pdest, newpacket, 298 remaining_bytes -= bytes_copied; 299 bytes_read += bytes_copied; 300 pdest += bytes_copied; [all...] |
/linux-master/sound/soc/intel/atom/sst/ |
H A D | sst_drv_interface.c | 260 fw_tstamp.bytes_copied = stream->cumm_bytes; 262 fw_tstamp.bytes_copied, bytes); 264 offset = offsetof(struct snd_sst_tstamp, bytes_copied); 265 sst_shim_write(addr, offset, fw_tstamp.bytes_copied);
|
/linux-master/sound/soc/intel/atom/ |
H A D | sst-mfld-dsp.h | 254 u64 bytes_copied; member in struct:snd_sst_tstamp
|