Home
last modified time | relevance | path

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

/Linux-v5.4/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-v5.4/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-v5.4/net/sunrpc/xprtrdma/
Drpc_rdma.c941 int i, npages, curlen; in rpcrdma_inline_fixup() local
955 curlen = rqst->rq_rcv_buf.head[0].iov_len; in rpcrdma_inline_fixup()
956 if (curlen > copy_len) in rpcrdma_inline_fixup()
957 curlen = copy_len; in rpcrdma_inline_fixup()
958 trace_xprtrdma_fixup(rqst, copy_len, curlen); in rpcrdma_inline_fixup()
959 srcp += curlen; in rpcrdma_inline_fixup()
960 copy_len -= curlen; in rpcrdma_inline_fixup()
974 curlen = PAGE_SIZE - page_base; in rpcrdma_inline_fixup()
975 if (curlen > pagelist_len) in rpcrdma_inline_fixup()
976 curlen = pagelist_len; in rpcrdma_inline_fixup()
[all …]
/Linux-v5.4/drivers/gpu/drm/
Ddrm_dp_mst_topology.c440 memcpy(&msg->msg[msg->curlen], msg->chunk, msg->curchunk_len - 1); in drm_dp_sideband_msg_build()
441 msg->curlen += msg->curchunk_len - 1; in drm_dp_sideband_msg_build()
455 if (idx > raw->curlen) in drm_dp_sideband_parse_link_address()
465 if (idx > raw->curlen) in drm_dp_sideband_parse_link_address()
472 if (idx > raw->curlen) in drm_dp_sideband_parse_link_address()
477 if (idx > raw->curlen) in drm_dp_sideband_parse_link_address()
481 if (idx > raw->curlen) in drm_dp_sideband_parse_link_address()
488 if (idx > raw->curlen) in drm_dp_sideband_parse_link_address()
494 DRM_DEBUG_KMS("link address reply parse length fail %d %d\n", idx, raw->curlen); in drm_dp_sideband_parse_link_address()
504 if (idx > raw->curlen) in drm_dp_sideband_parse_remote_dpcd_read()
[all …]
/Linux-v5.4/drivers/staging/isdn/gigaset/
Dser-gigaset.c131 cs->cmdbytes -= cs->curlen; in send_cb()
136 cs->curlen = cb->len; in send_cb()
139 cs->curlen = 0; in send_cb()
215 cs->cmdbytes = cs->curlen = 0; in flush_send_queue()
253 cs->curlen = cb->len; in gigaset_write_cmd()
Dusb-gigaset.c434 cs->cmdbytes -= cs->curlen; in send_cb()
436 cs->curlen, cs->cmdbytes); in send_cb()
440 cs->curlen = cs->cmdbuf->len; in send_cb()
443 cs->curlen = 0; in send_cb()
504 cs->curlen = cb->len; in gigaset_write_cmd()
Dbas-gigaset.c1748 cs->cmdbytes -= cs->curlen; in complete_cb()
1750 cs->curlen, cs->cmdbytes); in complete_cb()
1754 cs->curlen = cs->cmdbuf->len; in complete_cb()
1758 cs->curlen = 0; in complete_cb()
2019 cs->curlen = cb->len; in gigaset_write_cmd()
Dcommon.c733 cs->curlen = 0; in gigaset_initcs()
841 cs->curlen = 0; in cleanup_cs()
Dgigaset.h434 unsigned curlen, cmdbytes; member
/Linux-v5.4/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-v5.4/sound/pci/
Dmaestro3.c692 int curlen; member
977 list->mem_addr + list->curlen, in snd_m3_add_list()
979 return list->curlen++; in snd_m3_add_list()
985 int lastindex = list->curlen - 1; in snd_m3_remove_list()
999 list->curlen--; in snd_m3_remove_list()
2164 chip->mixer_list.curlen = 0; in snd_m3_assp_init()
2167 chip->adc1_list.curlen = 0; in snd_m3_assp_init()
2170 chip->dma_list.curlen = 0; in snd_m3_assp_init()
2173 chip->msrc_list.curlen = 0; in snd_m3_assp_init()
/Linux-v5.4/include/trace/events/
Drpcrdma.h1058 int curlen
1061 TP_ARGS(rqst, pageno, pos, len, curlen),
1069 __field(int, curlen)
1078 __entry->curlen = curlen;
1083 __entry->pageno, __entry->pos, __entry->len, __entry->curlen
/Linux-v5.4/include/drm/
Ddrm_dp_mst_helper.h242 u8 curlen; /* total length of the msg */ member
/Linux-v5.4/drivers/staging/rtl8723bs/include/
Drtw_security.h206 u32 state[8], curlen; member