Home
last modified time | relevance | path

Searched refs:cpy (Results 1 – 16 of 16) sorted by relevance

/openbmc/u-boot/lib/
H A Dlz4.c88 BYTE* cpy; in LZ4_decompress_generic() local
129 cpy = op+length; in LZ4_decompress_generic()
130 …if (((endOnInput) && ((cpy>(partialDecoding?oexit:oend-MFLIMIT)) || (ip+length>iend-(2+1+LASTLITER… in LZ4_decompress_generic()
131 || ((!endOnInput) && (cpy>oend-COPYLENGTH))) in LZ4_decompress_generic()
135 …if (cpy > oend) goto _output_error; /* Error : write attempt beyond end … in LZ4_decompress_generic()
140 …if ((!endOnInput) && (cpy != oend)) goto _output_error; /* Error : block decoding must stop … in LZ4_decompress_generic()
141 …if ((endOnInput) && ((ip+length != iend) || (cpy > oend))) goto _output_error; /* Error : input … in LZ4_decompress_generic()
148 LZ4_wildCopy(op, ip, cpy); in LZ4_decompress_generic()
149 ip += length; op = cpy; in LZ4_decompress_generic()
152 match = cpy - LZ4_readLE16(ip); ip+=2; in LZ4_decompress_generic()
[all …]
/openbmc/linux/lib/lz4/
H A Dlz4_decompress.c88 BYTE *cpy; in LZ4_decompress_generic() local
221 cpy = op + length; in LZ4_decompress_generic()
224 if (((endOnInput) && ((cpy > oend - MFLIMIT) in LZ4_decompress_generic()
226 || ((!endOnInput) && (cpy > oend - WILDCOPYLENGTH))) { 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 if (!partialDecoding || (cpy == oend) || (ip >= (iend - 2))) in LZ4_decompress_generic()
283 LZ4_wildCopy(op, ip, cpy); in LZ4_decompress_generic()
[all …]
/openbmc/u-boot/fs/zfs/
H A Dzfs_lzjb.c52 uint8_t *cpy, copymap = 0; in lzjb_decompress() local
68 cpy = dst - offset; in lzjb_decompress()
69 if (src > s_end || cpy < (uint8_t *) d_start) { in lzjb_decompress()
74 *dst++ = *cpy++; in lzjb_decompress()
/openbmc/linux/net/tipc/
H A Dmsg.c210 int mlen, cpy, rem = dlen; in tipc_msg_append() local
234 cpy = min_t(size_t, rem, mss - mlen); in tipc_msg_append()
235 if (cpy != copy_from_iter(skb->data + mlen, cpy, &m->msg_iter)) in tipc_msg_append()
237 msg_set_size(hdr, mlen + cpy); in tipc_msg_append()
238 skb_put(skb, cpy); in tipc_msg_append()
239 rem -= cpy; in tipc_msg_append()
677 bool tipc_msg_skb_clone(struct sk_buff_head *msg, struct sk_buff_head *cpy) in tipc_msg_skb_clone() argument
684 __skb_queue_purge(cpy); in tipc_msg_skb_clone()
688 __skb_queue_tail(cpy, _skb); in tipc_msg_skb_clone()
802 struct sk_buff_head *cpy) in tipc_msg_pskb_copy() argument
[all …]
H A Dmsg.h1179 struct sk_buff_head *cpy);
1182 bool tipc_msg_skb_clone(struct sk_buff_head *msg, struct sk_buff_head *cpy);
/openbmc/linux/tools/lib/perf/
H A Dmmap.c226 unsigned int len = min(sizeof(*event), size), cpy; in perf_mmap__read() local
230 cpy = min(map->mask + 1 - (offset & map->mask), len); in perf_mmap__read()
231 memcpy(dst, &data[offset & map->mask], cpy); in perf_mmap__read()
232 offset += cpy; in perf_mmap__read()
233 dst += cpy; in perf_mmap__read()
234 len -= cpy; in perf_mmap__read()
/openbmc/linux/drivers/media/usb/go7007/
H A Dsnd-go7007.c78 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()
/openbmc/linux/drivers/infiniband/ulp/rtrs/
H A Drtrs.c459 char *cpy; in rtrs_str_to_sockaddr() local
463 cpy = kstrndup(addr + 3, len - 3, GFP_KERNEL); in rtrs_str_to_sockaddr()
464 err = cpy ? inet_pton_with_scope(&init_net, AF_UNSPEC, in rtrs_str_to_sockaddr()
465 cpy, port_str, dst) : -ENOMEM; in rtrs_str_to_sockaddr()
466 kfree(cpy); in rtrs_str_to_sockaddr()
/openbmc/linux/drivers/tty/serial/
H A Dsunhv.c447 unsigned int cpy = fill_con_write_page(s, n, in sunhv_console_write_paged() local
450 n -= cpy; in sunhv_console_write_paged()
451 s += cpy; in sunhv_console_write_paged()
/openbmc/qemu/roms/
H A Dedk2-build.py224 for cpy in b:
225 if not cpy.startswith('cpy'):
229 b['dest'], b[cpy])
/openbmc/qemu/target/arm/tcg/
H A Da64.decode642 &cpy rs rn rd options
643 @cpy .. ... . ..... rs:5 options:4 .. rn:5 rd:5 &cpy
645 CPYFP 00 011 0 01000 ..... .... 01 ..... ..... @cpy
646 CPYFM 00 011 0 01010 ..... .... 01 ..... ..... @cpy
647 CPYFE 00 011 0 01100 ..... .... 01 ..... ..... @cpy
648 CPYP 00 011 1 01000 ..... .... 01 ..... ..... @cpy
649 CPYM 00 011 1 01010 ..... .... 01 ..... ..... @cpy
650 CPYE 00 011 1 01100 ..... .... 01 ..... ..... @cpy
/openbmc/linux/fs/
H A Dfile.c75 size_t cpy, set; in copy_fdtable() local
79 cpy = ofdt->max_fds * sizeof(struct file *); in copy_fdtable()
81 memcpy(nfdt->fd, ofdt->fd, cpy); in copy_fdtable()
82 memset((char *)nfdt->fd + cpy, 0, set); in copy_fdtable()
/openbmc/linux/drivers/staging/media/atomisp/pci/
H A Dsh_css_params.c2991 ia_css_ptr cpy; in ia_css_dequeue_param_buffers() local
3006 cpy = (ia_css_ptr)0; in ia_css_dequeue_param_buffers()
3009 (uint32_t *)&cpy) == 0) { in ia_css_dequeue_param_buffers()
3019 IA_CSS_LOG("dequeued param set %x from %d, release ref", cpy, 0); in ia_css_dequeue_param_buffers()
3020 free_ia_css_isp_parameter_set_info(cpy); in ia_css_dequeue_param_buffers()
3021 cpy = (ia_css_ptr)0; in ia_css_dequeue_param_buffers()
3070 ia_css_ptr cpy; in sh_css_param_update_isp_params() local
3196 err = write_ia_css_isp_parameter_set_info_to_ddr(&isp_params_info, &cpy); in sh_css_param_update_isp_params()
3201 IA_CSS_LOG("queue param set %x to %d", cpy, thread_id); in sh_css_param_update_isp_params()
3203 err = ia_css_bufq_enqueue_buffer(thread_id, queue_id, (uint32_t)cpy); in sh_css_param_update_isp_params()
[all …]
/openbmc/linux/include/net/bluetooth/
H A Dhci_core.h1962 struct hci_cb *cb, *cpy; in hci_cb_lookup() local
1967 cpy = kmalloc(sizeof(*cpy), GFP_ATOMIC); in hci_cb_lookup()
1968 if (!cpy) in hci_cb_lookup()
1971 *cpy = *cb; in hci_cb_lookup()
1972 INIT_LIST_HEAD(&cpy->list); in hci_cb_lookup()
1973 list_add_rcu(&cpy->list, list); in hci_cb_lookup()
/openbmc/linux/lib/
H A DKconfig.ubsan64 to the {str,mem}*cpy() family of functions (that is addressed
/openbmc/linux/arch/arm/
H A DKconfig1385 bool "Use kernel mem{cpy,set}() for {copy_to,clear}_user()"