Home
last modified time | relevance | path

Searched refs:bytes_to_copy (Results 1 – 17 of 17) sorted by relevance

/linux/fs/squashfs/
A Dblock.c47 int bytes_to_copy = min_t(int, bvec->bv_len - offset, in copy_bio_to_actor() local
50 bytes_to_copy = min_t(int, bytes_to_copy, in copy_bio_to_actor()
53 bytes_to_copy); in copy_bio_to_actor()
55 actor_offset += bytes_to_copy; in copy_bio_to_actor()
56 copied_bytes += bytes_to_copy; in copy_bio_to_actor()
57 offset += bytes_to_copy; in copy_bio_to_actor()
/linux/drivers/media/usb/cx231xx/
A Dcx231xx-vbi.c495 u32 bytes_to_copy; in cx231xx_copy_vbi_line() local
513 bytes_to_copy = dma_q->bytes_left_in_line; in cx231xx_copy_vbi_line()
514 if (bytes_to_copy > length) in cx231xx_copy_vbi_line()
515 bytes_to_copy = length; in cx231xx_copy_vbi_line()
518 dma_q->bytes_left_in_line -= bytes_to_copy; in cx231xx_copy_vbi_line()
529 dma_q->bytes_left_in_line -= bytes_to_copy; in cx231xx_copy_vbi_line()
532 return bytes_to_copy; in cx231xx_copy_vbi_line()
538 dma_q->pos += bytes_to_copy; in cx231xx_copy_vbi_line()
539 dma_q->bytes_left_in_line -= bytes_to_copy; in cx231xx_copy_vbi_line()
557 return bytes_to_copy; in cx231xx_copy_vbi_line()
[all …]
A Dcx231xx-video.c546 u32 bytes_to_copy; in cx231xx_copy_video_line() local
562 bytes_to_copy = dma_q->bytes_left_in_line; in cx231xx_copy_video_line()
563 if (bytes_to_copy > length) in cx231xx_copy_video_line()
564 bytes_to_copy = length; in cx231xx_copy_video_line()
567 dma_q->bytes_left_in_line -= bytes_to_copy; in cx231xx_copy_video_line()
578 dma_q->bytes_left_in_line -= bytes_to_copy; in cx231xx_copy_video_line()
581 return bytes_to_copy; in cx231xx_copy_video_line()
587 dma_q->pos += bytes_to_copy; in cx231xx_copy_video_line()
588 dma_q->bytes_left_in_line -= bytes_to_copy; in cx231xx_copy_video_line()
604 return bytes_to_copy; in cx231xx_copy_video_line()
[all …]
A Dcx231xx-vbi.h48 u8 *p_buffer, u32 bytes_to_copy);
A Dcx231xx.h805 u8 *p_buffer, u32 bytes_to_copy);
/linux/fs/verity/
A Dread_metadata.c42 unsigned int bytes_to_copy = min_t(u64, end_offset - offset, in fsverity_read_merkle_tree() local
57 if (copy_to_user(buf, virt + offs_in_page, bytes_to_copy)) { in fsverity_read_merkle_tree()
66 retval += bytes_to_copy; in fsverity_read_merkle_tree()
67 buf += bytes_to_copy; in fsverity_read_merkle_tree()
68 offset += bytes_to_copy; in fsverity_read_merkle_tree()
/linux/fs/
A Dexec.c548 int offset, bytes_to_copy; in copy_strings() local
560 bytes_to_copy = offset; in copy_strings()
561 if (bytes_to_copy > len) in copy_strings()
562 bytes_to_copy = len; in copy_strings()
564 offset -= bytes_to_copy; in copy_strings()
565 pos -= bytes_to_copy; in copy_strings()
566 str -= bytes_to_copy; in copy_strings()
567 len -= bytes_to_copy; in copy_strings()
629 pos -= bytes_to_copy; in copy_string_kernel()
630 arg -= bytes_to_copy; in copy_string_kernel()
[all …]
/linux/drivers/net/ethernet/brocade/bna/
A Dbfa_msgq.c59 cmdq->bytes_to_copy = 0; in cmdq_sm_stopped_entry()
260 if (cmdq->bytes_to_copy) in bfa_msgq_cmdq_copy_next()
272 cmdq->bytes_to_copy = ntohs(req->len); in bfa_msgq_cmdq_copy_req()
287 copied = (cmdq->bytes_to_copy >= BFI_CMD_COPY_SZ) ? BFI_CMD_COPY_SZ : in bfa_msgq_cmdq_copy_rsp()
288 cmdq->bytes_to_copy; in bfa_msgq_cmdq_copy_rsp()
294 cmdq->bytes_to_copy -= copied; in bfa_msgq_cmdq_copy_rsp()
A Dbfa_msgq.h70 int bytes_to_copy; member
/linux/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_blit.c360 u32 bytes_to_copy) in vmw_bo_cpu_blit_line() argument
364 while (bytes_to_copy) { in vmw_bo_cpu_blit_line()
365 u32 copy_size = bytes_to_copy; in vmw_bo_cpu_blit_line()
415 bytes_to_copy -= copy_size; in vmw_bo_cpu_blit_line()
/linux/drivers/gpu/drm/i915/gt/uc/
A Dintel_guc_log.c213 unsigned int buffer_size, read_offset, write_offset, bytes_to_copy, full_cnt; in guc_read_update_log_buffer() local
297 bytes_to_copy = buffer_size - read_offset; in guc_read_update_log_buffer()
299 bytes_to_copy = write_offset - read_offset; in guc_read_update_log_buffer()
302 src_data + read_offset, bytes_to_copy); in guc_read_update_log_buffer()
/linux/net/vmw_vsock/
A Dvirtio_transport_common.c434 size_t bytes_to_copy; in virtio_transport_seqpacket_do_dequeue() local
437 bytes_to_copy = min(user_buf_len, pkt_len); in virtio_transport_seqpacket_do_dequeue()
439 if (bytes_to_copy) { in virtio_transport_seqpacket_do_dequeue()
447 err = memcpy_to_msg(msg, pkt->buf, bytes_to_copy); in virtio_transport_seqpacket_do_dequeue()
454 user_buf_len -= bytes_to_copy; in virtio_transport_seqpacket_do_dequeue()
/linux/tools/bpf/bpftool/
A Dbtf_dumper.c323 int bytes_to_copy; in btf_dumper_bitfield() local
327 bytes_to_copy = BITS_ROUNDUP_BYTES(bits_to_copy); in btf_dumper_bitfield()
329 memcpy(print_num, data, bytes_to_copy); in btf_dumper_bitfield()
/linux/drivers/net/wireless/marvell/mwifiex/
A Dscan.c1223 u8 bytes_to_copy; in mwifiex_update_bss_desc_with_ie() local
1347 bytes_to_copy = in mwifiex_update_bss_desc_with_ie()
1351 bytes_to_copy = element_len; in mwifiex_update_bss_desc_with_ie()
1355 memcpy(rate, current_ptr + 2, bytes_to_copy); in mwifiex_update_bss_desc_with_ie()
1359 memcpy(rate, current_ptr + 2, bytes_to_copy); in mwifiex_update_bss_desc_with_ie()
/linux/drivers/net/ethernet/qlogic/qed/
A Dqed_mcp.c3006 u32 bytes_left = len, offset = 0, bytes_to_copy, read_len = 0; in qed_mcp_nvm_read() local
3017 bytes_to_copy = min_t(u32, bytes_left, MCP_DRV_NVM_BUF_LEN); in qed_mcp_nvm_read()
3022 (bytes_to_copy << in qed_mcp_nvm_read()
3152 u32 bytes_left, bytes_to_copy, buf_size, nvm_offset = 0; in qed_mcp_phy_sfp_read() local
3165 bytes_to_copy = min_t(u32, bytes_left, in qed_mcp_phy_sfp_read()
3172 nvm_offset |= (bytes_to_copy << in qed_mcp_phy_sfp_read()
A Dqed_debug.c1878 u32 ret_mcp_resp, ret_mcp_param, ret_read_size, bytes_to_copy; in qed_nvram_read() local
1888 bytes_to_copy = in qed_nvram_read()
1896 SET_MFW_FIELD(param, DRV_MB_PARAM_NVM_LEN, bytes_to_copy); in qed_nvram_read()
/linux/drivers/scsi/
A Dipr.c3143 u32 max_dump_size, bytes_to_copy, bytes_copied, rc; in ipr_get_ioa_dump() local
3212 bytes_to_copy = offsetof(struct ipr_sdt, entry) + in ipr_get_ioa_dump()
3215 bytes_to_copy / sizeof(__be32)); in ipr_get_ioa_dump()
3252 bytes_to_copy = be32_to_cpu(sdt->entry[i].end_token); in ipr_get_ioa_dump()
3258 bytes_to_copy = end_off - start_off; in ipr_get_ioa_dump()
3263 if (bytes_to_copy > max_dump_size) { in ipr_get_ioa_dump()
3270 bytes_to_copy); in ipr_get_ioa_dump()
3274 if (bytes_copied != bytes_to_copy) { in ipr_get_ioa_dump()

Completed in 104 milliseconds