Home
last modified time | relevance | path

Searched refs:dest_len (Results 1 – 12 of 12) sorted by relevance

/openbmc/linux/arch/sparc/prom/
H A Dprintf.c32 unsigned int dest_len; in prom_write() local
39 dest_len = 0; in prom_write()
44 dest_len++; in prom_write()
47 dest_len++; in prom_write()
48 if (dest_len >= CONSOLE_WRITE_BUF_SIZE - 1) { in prom_write()
49 prom_console_write_buf(console_write_buf, dest_len); in prom_write()
51 dest_len = 0; in prom_write()
54 if (dest_len) in prom_write()
55 prom_console_write_buf(console_write_buf, dest_len); in prom_write()
/openbmc/linux/lib/
H A Ddecompress_unlz4.c47 size_t dest_len; in unlz4() local
155 dest_len = uncomp_chunksize; in unlz4()
156 out_len -= dest_len; in unlz4()
158 dest_len = out_len; in unlz4()
160 ret = LZ4_decompress_fast(inp, outp, dest_len); in unlz4()
163 dest_len = uncomp_chunksize; in unlz4()
165 ret = LZ4_decompress_safe(inp, outp, chunksize, dest_len); in unlz4()
166 dest_len = ret; in unlz4()
174 if (flush && flush(outp, dest_len) != dest_len) in unlz4()
177 outp += dest_len; in unlz4()
H A Dstring_helpers.c1024 void memcpy_and_pad(void *dest, size_t dest_len, const void *src, size_t count, in memcpy_and_pad() argument
1027 if (dest_len > count) { in memcpy_and_pad()
1029 memset(dest + count, pad, dest_len - count); in memcpy_and_pad()
1031 memcpy(dest, src, dest_len); in memcpy_and_pad()
/openbmc/qemu/net/
H A Ddgram.c47 socklen_t dest_len; member
90 ret = sendto(s->fd, buf, size, 0, s->dest_addr, s->dest_len); in net_dgram_receive()
249 s->dest_len = 0; in net_dgram_cleanup()
393 s->dest_len = sizeof(*saddr); in net_dgram_mcast_init()
430 socklen_t dest_len; in net_init_dgram() local
509 dest_len = sizeof(raddr_in); in net_init_dgram()
510 dest_addr = g_malloc(dest_len); in net_init_dgram()
511 memcpy(dest_addr, &raddr_in, dest_len); in net_init_dgram()
556 dest_len = sizeof(raddr_un); in net_init_dgram()
557 dest_addr = g_malloc(dest_len); in net_init_dgram()
[all …]
/openbmc/qemu/hw/dma/
H A Dxlnx-zynq-devcfg.c161 btt = MIN(btt, dmah->dest_len); in xlnx_zynq_devcfg_dma_go()
168 if (loopback && (dmah->src_len || dmah->dest_len)) { in xlnx_zynq_devcfg_dma_go()
172 dmah->dest_len -= btt; in xlnx_zynq_devcfg_dma_go()
175 if (!dmah->src_len && !dmah->dest_len) { in xlnx_zynq_devcfg_dma_go()
255 .dest_len = s->regs[R_DMA_DST_LEN] << 2, in r_dma_dst_len_post_write()
340 VMSTATE_UINT32(dest_len, XlnxZynqDevcfgDMACmd),
/openbmc/linux/arch/x86/xen/
H A Dsetup.c742 phys_addr_t dest_off, src_off, dest_len, src_len, len; in xen_phys_memcpy() local
748 dest_len = n; in xen_phys_memcpy()
749 if (dest_len > (NR_FIX_BTMAPS << PAGE_SHIFT) - dest_off) in xen_phys_memcpy()
750 dest_len = (NR_FIX_BTMAPS << PAGE_SHIFT) - dest_off; in xen_phys_memcpy()
754 len = min(dest_len, src_len); in xen_phys_memcpy()
755 to = early_memremap(dest - dest_off, dest_len + dest_off); in xen_phys_memcpy()
758 early_memunmap(to, dest_len + dest_off); in xen_phys_memcpy()
/openbmc/u-boot/drivers/video/
H A Dvideomodes.c332 char *dest, int dest_len, const char *def) in video_get_option_string() argument
341 if (len >= dest_len) in video_get_option_string()
342 len = dest_len - 1; in video_get_option_string()
H A Dvideomodes.h89 char *dest, int dest_len, const char *def);
/openbmc/qemu/include/hw/dma/
H A Dxlnx-zynq-devcfg.h46 uint32_t dest_len; member
/openbmc/linux/arch/s390/include/asm/
H A Dcpacf.h502 u8 *dest, unsigned long dest_len, in cpacf_prno() argument
508 d.odd = (unsigned long)dest_len; in cpacf_prno()
/openbmc/linux/include/linux/
H A Dstring.h301 void memcpy_and_pad(void *dest, size_t dest_len, const void *src, size_t count,
/openbmc/linux/Documentation/networking/
H A Dswitchdev.rst373 to add/modify/delete IPv4 dst/dest_len prefix on table tb_id. The ``*fi``