Home
last modified time | relevance | path

Searched refs:curlen (Results 1 – 14 of 14) sorted by relevance

/Linux-v4.19/arch/mips/txx9/rbtx4939/
Dsetup.c331 ssize_t curlen; in rbtx4939_flash_copy_from() local
338 curlen = min_t(unsigned long, len, in rbtx4939_flash_copy_from()
343 curlen); in rbtx4939_flash_copy_from()
344 len -= curlen; in rbtx4939_flash_copy_from()
345 from += curlen; in rbtx4939_flash_copy_from()
346 to += curlen; in rbtx4939_flash_copy_from()
354 curlen = min_t(unsigned long, len, in rbtx4939_flash_copy_from()
356 memcpy(to, (void *)(from ^ 0x400000), curlen); in rbtx4939_flash_copy_from()
357 len -= curlen; in rbtx4939_flash_copy_from()
358 from += curlen; in rbtx4939_flash_copy_from()
[all …]
/Linux-v4.19/lib/zlib_deflate/
Ddeftree.c634 int curlen; /* length of current code */ in scan_tree() local
644 curlen = nextlen; nextlen = tree[n+1].Len; in scan_tree()
645 if (++count < max_count && curlen == nextlen) { in scan_tree()
648 s->bl_tree[curlen].Freq += count; in scan_tree()
649 } else if (curlen != 0) { in scan_tree()
650 if (curlen != prevlen) s->bl_tree[curlen].Freq++; in scan_tree()
657 count = 0; prevlen = curlen; in scan_tree()
660 } else if (curlen == nextlen) { in scan_tree()
680 int curlen; /* length of current code */ in send_tree() local
690 curlen = nextlen; nextlen = tree[n+1].Len; in send_tree()
[all …]
/Linux-v4.19/net/sunrpc/xprtrdma/
Drpc_rdma.c901 int i, npages, curlen; in rpcrdma_inline_fixup() local
915 curlen = rqst->rq_rcv_buf.head[0].iov_len; in rpcrdma_inline_fixup()
916 if (curlen > copy_len) in rpcrdma_inline_fixup()
917 curlen = copy_len; in rpcrdma_inline_fixup()
918 trace_xprtrdma_fixup(rqst, copy_len, curlen); in rpcrdma_inline_fixup()
919 srcp += curlen; in rpcrdma_inline_fixup()
920 copy_len -= curlen; in rpcrdma_inline_fixup()
934 curlen = PAGE_SIZE - page_base; in rpcrdma_inline_fixup()
935 if (curlen > pagelist_len) in rpcrdma_inline_fixup()
936 curlen = pagelist_len; in rpcrdma_inline_fixup()
[all …]
/Linux-v4.19/drivers/gpu/drm/
Ddrm_dp_mst_topology.c375 memcpy(&msg->msg[msg->curlen], msg->chunk, msg->curchunk_len - 1); in drm_dp_sideband_msg_build()
376 msg->curlen += msg->curchunk_len - 1; in drm_dp_sideband_msg_build()
390 if (idx > raw->curlen) in drm_dp_sideband_parse_link_address()
400 if (idx > raw->curlen) in drm_dp_sideband_parse_link_address()
407 if (idx > raw->curlen) in drm_dp_sideband_parse_link_address()
412 if (idx > raw->curlen) in drm_dp_sideband_parse_link_address()
416 if (idx > raw->curlen) in drm_dp_sideband_parse_link_address()
423 if (idx > raw->curlen) in drm_dp_sideband_parse_link_address()
429 DRM_DEBUG_KMS("link address reply parse length fail %d %d\n", idx, raw->curlen); in drm_dp_sideband_parse_link_address()
439 if (idx > raw->curlen) in drm_dp_sideband_parse_remote_dpcd_read()
[all …]
/Linux-v4.19/drivers/isdn/gigaset/
Dser-gigaset.c134 cs->cmdbytes -= cs->curlen; in send_cb()
139 cs->curlen = cb->len; in send_cb()
142 cs->curlen = 0; in send_cb()
218 cs->cmdbytes = cs->curlen = 0; in flush_send_queue()
256 cs->curlen = cb->len; in gigaset_write_cmd()
Dusb-gigaset.c437 cs->cmdbytes -= cs->curlen; in send_cb()
439 cs->curlen, cs->cmdbytes); in send_cb()
443 cs->curlen = cs->cmdbuf->len; in send_cb()
446 cs->curlen = 0; in send_cb()
507 cs->curlen = cb->len; in gigaset_write_cmd()
Dbas-gigaset.c1750 cs->cmdbytes -= cs->curlen; in complete_cb()
1752 cs->curlen, cs->cmdbytes); in complete_cb()
1756 cs->curlen = cs->cmdbuf->len; in complete_cb()
1760 cs->curlen = 0; in complete_cb()
2021 cs->curlen = cb->len; in gigaset_write_cmd()
Dcommon.c736 cs->curlen = 0; in gigaset_initcs()
844 cs->curlen = 0; in cleanup_cs()
Dgigaset.h437 unsigned curlen, cmdbytes; member
/Linux-v4.19/arch/ia64/lib/
Dmemcpy_mck.S274 #define curlen r24 macro
299 and curlen=15,in2 // copy length after iteration
321 cmp.le p6,p7=8,curlen; // have at least 8 byte remaining?
396 (p6) add curlen=-8,curlen // update length
401 mov in2=curlen // remaining length
/Linux-v4.19/include/trace/events/
Drpcrdma.h767 int curlen
770 TP_ARGS(rqst, pageno, pos, len, curlen),
778 __field(int, curlen)
787 __entry->curlen = curlen;
792 __entry->pageno, __entry->pos, __entry->len, __entry->curlen
/Linux-v4.19/sound/pci/
Dmaestro3.c707 int curlen; member
992 list->mem_addr + list->curlen, in snd_m3_add_list()
994 return list->curlen++; in snd_m3_add_list()
1000 int lastindex = list->curlen - 1; in snd_m3_remove_list()
1014 list->curlen--; in snd_m3_remove_list()
2179 chip->mixer_list.curlen = 0; in snd_m3_assp_init()
2182 chip->adc1_list.curlen = 0; in snd_m3_assp_init()
2185 chip->dma_list.curlen = 0; in snd_m3_assp_init()
2188 chip->msrc_list.curlen = 0; in snd_m3_assp_init()
/Linux-v4.19/include/drm/
Ddrm_dp_mst_helper.h221 u8 curlen; /* total length of the msg */ member
/Linux-v4.19/drivers/staging/rtl8723bs/include/
Drtw_security.h206 u32 state[8], curlen; member