Searched refs:cpy (Results 1 - 9 of 9) sorted by relevance

/linux-master/lib/lz4/
H A Dlz4_decompress.c88 BYTE *cpy; local
221 cpy = op + length;
224 if (((endOnInput) && ((cpy > oend - MFLIMIT)
226 || ((!endOnInput) && (cpy > oend - WILDCOPYLENGTH))) {
228 if (cpy > oend) {
233 cpy = oend;
247 && (cpy != oend)) {
257 || (cpy > oend))) {
279 if (!partialDecoding || (cpy == oend) || (ip >= (iend - 2)))
282 /* may overwrite up to WILDCOPYLENGTH beyond cpy */
[all...]
/linux-master/drivers/media/usb/go7007/
H A Dsnd-go7007.c78 int cpy = runtime->dma_bytes - gosnd->w_idx; local
80 memcpy(runtime->dma_area + gosnd->w_idx, buf, cpy);
81 length -= cpy;
82 buf += cpy;
/linux-master/fs/
H A Dfile.c57 unsigned int cpy, set; local
59 cpy = count / BITS_PER_BYTE;
61 memcpy(nfdt->open_fds, ofdt->open_fds, cpy);
62 memset((char *)nfdt->open_fds + cpy, 0, set);
63 memcpy(nfdt->close_on_exec, ofdt->close_on_exec, cpy);
64 memset((char *)nfdt->close_on_exec + cpy, 0, set);
66 cpy = BITBIT_SIZE(count);
67 set = BITBIT_SIZE(nfdt->max_fds) - cpy;
68 memcpy(nfdt->full_fds_bits, ofdt->full_fds_bits, cpy);
69 memset((char *)nfdt->full_fds_bits + cpy,
78 size_t cpy, set; local
[all...]
/linux-master/tools/lib/perf/
H A Dmmap.c232 unsigned int len = size, cpy; local
244 cpy = min(map->mask + 1 - (offset & map->mask), len);
245 memcpy(dst, &data[offset & map->mask], cpy);
246 offset += cpy;
247 dst += cpy;
248 len -= cpy;
/linux-master/net/tipc/
H A Dmsg.c206 int mlen, cpy, rem = dlen; local
230 cpy = min_t(size_t, rem, mss - mlen);
231 if (cpy != copy_from_iter(skb->data + mlen, cpy, &m->msg_iter))
233 msg_set_size(hdr, mlen + cpy);
234 skb_put(skb, cpy);
235 rem -= cpy;
673 bool tipc_msg_skb_clone(struct sk_buff_head *msg, struct sk_buff_head *cpy) argument
680 __skb_queue_purge(cpy);
684 __skb_queue_tail(cpy, _sk
797 tipc_msg_pskb_copy(u32 dst, struct sk_buff_head *msg, struct sk_buff_head *cpy) 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);
/linux-master/drivers/infiniband/ulp/rtrs/
H A Drtrs.c459 char *cpy; local
463 cpy = kstrndup(addr + 3, len - 3, GFP_KERNEL);
464 err = cpy ? inet_pton_with_scope(&init_net, AF_UNSPEC,
465 cpy, port_str, dst) : -ENOMEM;
466 kfree(cpy);
/linux-master/drivers/tty/serial/
H A Dsunhv.c447 unsigned int cpy = fill_con_write_page(s, n, local
450 n -= cpy;
451 s += cpy;
/linux-master/drivers/staging/media/atomisp/pci/
H A Dsh_css_params.c2991 ia_css_ptr cpy; local
3006 cpy = (ia_css_ptr)0;
3009 (uint32_t *)&cpy) == 0) {
3019 IA_CSS_LOG("dequeued param set %x from %d, release ref", cpy, 0);
3020 free_ia_css_isp_parameter_set_info(cpy);
3021 cpy = (ia_css_ptr)0;
3070 ia_css_ptr cpy; local
3196 err = write_ia_css_isp_parameter_set_info_to_ddr(&isp_params_info, &cpy);
3201 IA_CSS_LOG("queue param set %x to %d", cpy, thread_id);
3203 err = ia_css_bufq_enqueue_buffer(thread_id, queue_id, (uint32_t)cpy);
[all...]

Completed in 170 milliseconds