/linux/lib/lz4/ |
A D | lz4_decompress.c | 88 BYTE *cpy; in LZ4_decompress_generic() local 221 cpy = op + length; in LZ4_decompress_generic() 228 if (cpy > oend) { in LZ4_decompress_generic() 233 cpy = oend; in LZ4_decompress_generic() 247 && (cpy != oend)) { in LZ4_decompress_generic() 257 || (cpy > oend))) { in LZ4_decompress_generic() 279 LZ4_wildCopy(op, ip, cpy); in LZ4_decompress_generic() 281 op = cpy; in LZ4_decompress_generic() 375 cpy = op + length; in LZ4_decompress_generic() 419 if (cpy > oend - LASTLITERALS) { in LZ4_decompress_generic() [all …]
|
/linux/net/tipc/ |
A D | msg.c | 206 int mlen, cpy, rem = dlen; in tipc_msg_append() local 230 cpy = min_t(size_t, rem, mss - mlen); in tipc_msg_append() 231 if (cpy != copy_from_iter(skb->data + mlen, cpy, &m->msg_iter)) in tipc_msg_append() 233 msg_set_size(hdr, mlen + cpy); in tipc_msg_append() 234 skb_put(skb, cpy); in tipc_msg_append() 235 rem -= cpy; in tipc_msg_append() 680 __skb_queue_purge(cpy); in tipc_msg_skb_clone() 684 __skb_queue_tail(cpy, _skb); in tipc_msg_skb_clone() 798 struct sk_buff_head *cpy) in tipc_msg_pskb_copy() argument 805 __skb_queue_purge(cpy); in tipc_msg_pskb_copy() [all …]
|
A D | msg.h | 1202 struct sk_buff_head *cpy); 1205 bool tipc_msg_skb_clone(struct sk_buff_head *msg, struct sk_buff_head *cpy);
|
/linux/tools/lib/perf/ |
A D | mmap.c | 225 unsigned int len = min(sizeof(*event), size), cpy; in perf_mmap__read() local 229 cpy = min(map->mask + 1 - (offset & map->mask), len); in perf_mmap__read() 230 memcpy(dst, &data[offset & map->mask], cpy); in perf_mmap__read() 231 offset += cpy; in perf_mmap__read() 232 dst += cpy; in perf_mmap__read() 233 len -= cpy; in perf_mmap__read()
|
/linux/fs/ |
A D | file.c | 57 unsigned int cpy, set; in copy_fd_bitmaps() local 59 cpy = count / BITS_PER_BYTE; in copy_fd_bitmaps() 61 memcpy(nfdt->open_fds, ofdt->open_fds, cpy); in copy_fd_bitmaps() 62 memset((char *)nfdt->open_fds + cpy, 0, set); in copy_fd_bitmaps() 64 memset((char *)nfdt->close_on_exec + cpy, 0, set); in copy_fd_bitmaps() 66 cpy = BITBIT_SIZE(count); in copy_fd_bitmaps() 67 set = BITBIT_SIZE(nfdt->max_fds) - cpy; in copy_fd_bitmaps() 78 size_t cpy, set; in copy_fdtable() local 82 cpy = ofdt->max_fds * sizeof(struct file *); in copy_fdtable() 84 memcpy(nfdt->fd, ofdt->fd, cpy); in copy_fdtable() [all …]
|
/linux/drivers/media/usb/go7007/ |
A D | snd-go7007.c | 78 int cpy = runtime->dma_bytes - gosnd->w_idx; in parse_audio_stream_data() local 80 memcpy(runtime->dma_area + gosnd->w_idx, buf, cpy); in parse_audio_stream_data() 81 length -= cpy; in parse_audio_stream_data() 82 buf += cpy; in parse_audio_stream_data()
|
/linux/drivers/infiniband/ulp/rtrs/ |
A D | rtrs.c | 457 char *cpy; in rtrs_str_to_sockaddr() local 461 cpy = kstrndup(addr + 3, len - 3, GFP_KERNEL); in rtrs_str_to_sockaddr() 462 err = cpy ? inet_pton_with_scope(&init_net, AF_UNSPEC, in rtrs_str_to_sockaddr() 463 cpy, port_str, dst) : -ENOMEM; in rtrs_str_to_sockaddr() 464 kfree(cpy); in rtrs_str_to_sockaddr()
|
/linux/drivers/tty/serial/ |
A D | sunhv.c | 449 unsigned int cpy = fill_con_write_page(s, n, in sunhv_console_write_paged() local 452 n -= cpy; in sunhv_console_write_paged() 453 s += cpy; in sunhv_console_write_paged()
|
/linux/drivers/staging/media/atomisp/pci/ |
A D | sh_css_params.c | 3139 ia_css_ptr cpy; in ia_css_dequeue_param_buffers() local 3154 cpy = (ia_css_ptr)0; in ia_css_dequeue_param_buffers() 3157 (uint32_t *)&cpy) == 0) { in ia_css_dequeue_param_buffers() 3167 IA_CSS_LOG("dequeued param set %x from %d, release ref", cpy, 0); in ia_css_dequeue_param_buffers() 3168 free_ia_css_isp_parameter_set_info(cpy); in ia_css_dequeue_param_buffers() 3169 cpy = (ia_css_ptr)0; in ia_css_dequeue_param_buffers() 3218 ia_css_ptr cpy; in sh_css_param_update_isp_params() local 3349 err = write_ia_css_isp_parameter_set_info_to_ddr(&isp_params_info, &cpy); in sh_css_param_update_isp_params() 3354 IA_CSS_LOG("queue param set %x to %d", cpy, thread_id); in sh_css_param_update_isp_params() 3356 err = ia_css_bufq_enqueue_buffer(thread_id, queue_id, (uint32_t)cpy); in sh_css_param_update_isp_params() [all …]
|
/linux/lib/ |
A D | Kconfig.ubsan | 55 to the {str,mem}*cpy() family of functions (that is addressed
|
/linux/arch/arm/ |
A D | Kconfig | 1560 bool "Use kernel mem{cpy,set}() for {copy_to,clear}_user()"
|