/Linux-v5.4/arch/sh/kernel/ |
D | io_trapped.c | 180 static unsigned long long copy_word(unsigned long src_addr, int src_len, in copy_word() argument 187 tmp = __raw_readb(src_addr); in copy_word() 190 tmp = __raw_readw(src_addr); in copy_word() 193 tmp = __raw_readl(src_addr); in copy_word() 196 tmp = __raw_readq(src_addr); in copy_word() 221 unsigned long src_addr = (unsigned long)src; in from_device() local 224 pr_debug("trapped io read 0x%08lx (%ld)\n", src_addr, cnt); in from_device() 225 tiop = lookup_tiop(src_addr); in from_device() 228 src_addr = lookup_address(tiop, src_addr); in from_device() 229 if (!src_addr) in from_device() [all …]
|
/Linux-v5.4/mm/ |
D | userfaultfd.c | 25 unsigned long src_addr, in mcopy_atomic_pte() argument 45 (const void __user *) src_addr, in mcopy_atomic_pte() 184 unsigned long src_addr, dst_addr; in __mcopy_atomic_hugetlb() local 204 src_addr = src_start; in __mcopy_atomic_hugetlb() 261 while (src_addr < src_start + len) { in __mcopy_atomic_hugetlb() 290 dst_addr, src_addr, &page); in __mcopy_atomic_hugetlb() 302 (const void __user *)src_addr, in __mcopy_atomic_hugetlb() 317 src_addr += vma_hpagesize; in __mcopy_atomic_hugetlb() 397 unsigned long src_addr, in mfill_atomic_pte() argument 416 dst_addr, src_addr, page); in mfill_atomic_pte() [all …]
|
/Linux-v5.4/lib/ |
D | strnlen_user.c | 101 unsigned long max_addr, src_addr; in strnlen_user() local 107 src_addr = (unsigned long)untagged_addr(str); in strnlen_user() 108 if (likely(src_addr < max_addr)) { in strnlen_user() 109 unsigned long max = max_addr - src_addr; in strnlen_user()
|
D | strncpy_from_user.c | 106 unsigned long max_addr, src_addr; in strncpy_from_user() local 112 src_addr = (unsigned long)untagged_addr(src); in strncpy_from_user() 113 if (likely(src_addr < max_addr)) { in strncpy_from_user() 114 unsigned long max = max_addr - src_addr; in strncpy_from_user()
|
/Linux-v5.4/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_blit.c | 341 u8 *src_addr; member 370 bool unmap_src = d->src_addr && (src_page != d->mapped_src || in vmw_bo_cpu_blit_line() 377 ttm_kunmap_atomic_prot(d->src_addr, d->src_prot); in vmw_bo_cpu_blit_line() 378 d->src_addr = NULL; in vmw_bo_cpu_blit_line() 399 if (!d->src_addr) { in vmw_bo_cpu_blit_line() 403 d->src_addr = in vmw_bo_cpu_blit_line() 406 if (!d->src_addr) in vmw_bo_cpu_blit_line() 412 d->src_addr + src_page_offset, copy_size); in vmw_bo_cpu_blit_line() 481 d.src_addr = NULL; in vmw_bo_cpu_blit() 501 if (d.src_addr) in vmw_bo_cpu_blit() [all …]
|
/Linux-v5.4/drivers/staging/ralink-gdma/ |
D | ralink-gdma.c | 91 dma_addr_t src_addr; member 208 chan->fifo_addr = config->src_addr; in gdma_dma_config() 273 dma_addr_t src_addr, dst_addr; in rt305x_gdma_start_transfer() local 288 src_addr = sg->src_addr; in rt305x_gdma_start_transfer() 294 src_addr = chan->fifo_addr; in rt305x_gdma_start_transfer() 304 src_addr = sg->src_addr; in rt305x_gdma_start_transfer() 321 gdma_dma_write(dma_dev, GDMA_REG_SRC_ADDR(chan->id), src_addr); in rt305x_gdma_start_transfer() 350 dma_addr_t src_addr, dst_addr; in rt3883_gdma_start_transfer() local 365 src_addr = sg->src_addr; in rt3883_gdma_start_transfer() 371 src_addr = chan->fifo_addr; in rt3883_gdma_start_transfer() [all …]
|
/Linux-v5.4/drivers/pci/endpoint/functions/ |
D | pci-epf-test.c | 58 u64 src_addr; member 78 void __iomem *src_addr; in pci_epf_test_copy() local 88 src_addr = pci_epc_mem_alloc_addr(epc, &src_phys_addr, reg->size); in pci_epf_test_copy() 89 if (!src_addr) { in pci_epf_test_copy() 96 ret = pci_epc_map_addr(epc, epf->func_no, src_phys_addr, reg->src_addr, in pci_epf_test_copy() 120 memcpy(dst_addr, src_addr, reg->size); in pci_epf_test_copy() 131 pci_epc_mem_free_addr(epc, src_phys_addr, src_addr, reg->size); in pci_epf_test_copy() 140 void __iomem *src_addr; in pci_epf_test_read() local 150 src_addr = pci_epc_mem_alloc_addr(epc, &phys_addr, reg->size); in pci_epf_test_read() 151 if (!src_addr) { in pci_epf_test_read() [all …]
|
/Linux-v5.4/drivers/dma/ |
D | coh901318_lli.c | 152 lli->src_addr = src; in coh901318_lli_fill_memcpy() 157 lli->src_addr = src; in coh901318_lli_fill_memcpy() 168 lli->src_addr = src; in coh901318_lli_fill_memcpy() 212 lli->src_addr = src; in coh901318_lli_fill_single() 224 lli->src_addr = src; in coh901318_lli_fill_single() 292 lli->src_addr = src; in coh901318_lli_fill_sg()
|
D | stm32-mdma.c | 479 u32 ctbr_mask, u32 src_addr) in stm32_mdma_set_bus() argument 486 mask = src_addr & 0xF0000000; in stm32_mdma_set_bus() 504 phys_addr_t src_addr, dst_addr; in stm32_mdma_set_xfer_param() local 616 src_addr = chan->dma_config.src_addr; in stm32_mdma_set_xfer_param() 653 src_addr); in stm32_mdma_set_xfer_param() 659 stm32_mdma_write(dmadev, STM32_MDMA_CSAR(chan->id), src_addr); in stm32_mdma_set_xfer_param() 692 dma_addr_t src_addr, dma_addr_t dst_addr, in stm32_mdma_setup_hwdesc() argument 707 hwdesc->csar = src_addr; in stm32_mdma_setup_hwdesc() 734 dma_addr_t src_addr, dst_addr; in stm32_mdma_setup_xfer() local 745 src_addr = sg_dma_address(sg); in stm32_mdma_setup_xfer() [all …]
|
D | fsl-edma-common.c | 230 addr = fsl_chan->cfg.src_addr; in fsl_edma_prep_slave_dma() 451 u32 src_addr, dst_addr, last_sg, nbytes; in fsl_edma_prep_dma_cyclic() local 490 src_addr = dma_buf_next; in fsl_edma_prep_dma_cyclic() 495 src_addr = fsl_chan->dma_dev_addr; in fsl_edma_prep_dma_cyclic() 501 fsl_edma_fill_tcd(fsl_desc->tcd[i].vtcd, src_addr, dst_addr, in fsl_edma_prep_dma_cyclic() 519 u32 src_addr, dst_addr, last_sg, nbytes; in fsl_edma_prep_slave_sg() local 552 src_addr = sg_dma_address(sg); in fsl_edma_prep_slave_sg() 557 src_addr = fsl_chan->dma_dev_addr; in fsl_edma_prep_slave_sg() 566 fsl_edma_fill_tcd(fsl_desc->tcd[i].vtcd, src_addr, in fsl_edma_prep_slave_sg() 572 fsl_edma_fill_tcd(fsl_desc->tcd[i].vtcd, src_addr, in fsl_edma_prep_slave_sg()
|
D | ep93xx_dma.c | 123 u32 src_addr; member 373 bus_addr = desc->src_addr; in m2p_fill_desc() 428 desc->txd.cookie, desc->src_addr, desc->dst_addr, in m2p_hw_interrupt() 535 writel(desc->src_addr, edmac->regs + M2M_SAR_BASE0); in m2m_fill_desc() 539 writel(desc->src_addr, edmac->regs + M2M_SAR_BASE1); in m2m_fill_desc() 687 desc->src_addr = 0; in ep93xx_dma_desc_get() 1002 desc->src_addr = src + offset; in ep93xx_dma_prep_dma_memcpy() 1073 desc->src_addr = sg_dma_address(sg); in ep93xx_dma_prep_slave_sg() 1076 desc->src_addr = edmac->runtime_addr; in ep93xx_dma_prep_slave_sg() 1153 desc->src_addr = dma_addr + offset; in ep93xx_dma_prep_dma_cyclic() [all …]
|
D | iop-adma.h | 84 u32 src_addr; member 113 u32 src_addr; member 140 u32 src_addr; member 420 return hw_desc.dma->src_addr; in iop_desc_get_src_addr() 430 return hw_desc.aau->src_edc[__desc_idx(src_idx)].src_addr; in iop_desc_get_src_addr() 439 hw_desc->src_edc[__desc_idx(src_idx)].src_addr = addr; in iop3xx_aau_desc_set_src_addr() 659 hw_desc.dma->src_addr = 0; in iop_desc_init_interrupt() 718 hw_desc->src_addr = addr; in iop_desc_set_memcpy_src_addr()
|
/Linux-v5.4/drivers/net/wireless/marvell/libertas/ |
D | rx.c | 24 u8 src_addr[6]; member 101 lbs_deb_hex(LBS_DEB_RX, "RX Data: Src", p_rx_pkt->eth803_hdr.src_addr, in lbs_process_rxed_packet() 102 sizeof(p_rx_pkt->eth803_hdr.src_addr)); in lbs_process_rxed_packet() 120 - sizeof(p_rx_pkt->eth803_hdr.src_addr) in lbs_process_rxed_packet() 123 memcpy(p_ethhdr->h_source, p_rx_pkt->eth803_hdr.src_addr, in lbs_process_rxed_packet()
|
/Linux-v5.4/drivers/infiniband/core/ |
D | addr.c | 58 struct sockaddr_storage src_addr; member 62 void (*callback)(int status, struct sockaddr *src_addr, 627 src_in = (struct sockaddr *)&req->src_addr; in process_one_req() 644 req->callback(req->status, (struct sockaddr *)&req->src_addr, in process_one_req() 662 int rdma_resolve_ip(struct sockaddr *src_addr, const struct sockaddr *dst_addr, in rdma_resolve_ip() argument 664 void (*callback)(int status, struct sockaddr *src_addr, in rdma_resolve_ip() 676 src_in = (struct sockaddr *) &req->src_addr; in rdma_resolve_ip() 679 if (src_addr) { in rdma_resolve_ip() 680 if (src_addr->sa_family != dst_addr->sa_family) { in rdma_resolve_ip() 685 memcpy(src_in, src_addr, rdma_addr_size(src_addr)); in rdma_resolve_ip() [all …]
|
D | cma.c | 405 union cma_ip_addr src_addr; member 538 return (struct sockaddr *) &id_priv->id.route.addr.src_addr; in cma_src_addr() 548 return id_priv->id.route.addr.src_addr.ss_family; in cma_family() 672 rdma_ip2gid((struct sockaddr *)&id_priv->id.route.addr.src_addr, in cma_acquire_dev_by_src_ip() 725 rdma_ip2gid((struct sockaddr *)&id_priv->id.route.addr.src_addr, in cma_ib_acquire_dev() 1234 static void cma_save_ib_info(struct sockaddr *src_addr, in cma_save_ib_info() argument 1241 listen_ib = (struct sockaddr_ib *) &listen_id->route.addr.src_addr; in cma_save_ib_info() 1242 if (src_addr) { in cma_save_ib_info() 1243 ib = (struct sockaddr_ib *)src_addr; in cma_save_ib_info() 1271 static void cma_save_ip4_info(struct sockaddr_in *src_addr, in cma_save_ip4_info() argument [all …]
|
/Linux-v5.4/drivers/dma/ioat/ |
D | hw.h | 92 uint64_t src_addr; member 125 uint64_t src_addr; member 179 uint64_t src_addr; member 223 uint64_t src_addr; member
|
/Linux-v5.4/drivers/crypto/ |
D | n2_core.h | 36 u64 src_addr; member 47 u64 src_addr; member 58 u64 src_addr; member
|
/Linux-v5.4/include/uapi/rdma/ |
D | rdma_user_cm.h | 126 struct sockaddr_in6 src_addr; member 138 struct __kernel_sockaddr_storage src_addr; member 162 struct sockaddr_in6 src_addr; member 176 struct __kernel_sockaddr_storage src_addr; member
|
/Linux-v5.4/fs/f2fs/ |
D | inline.c | 46 void *src_addr, *dst_addr; in f2fs_do_read_inline_data() local 56 src_addr = inline_data_addr(inode, ipage); in f2fs_do_read_inline_data() 58 memcpy(dst_addr, src_addr, MAX_INLINE_DATA(inode)); in f2fs_do_read_inline_data() 222 void *src_addr, *dst_addr; in f2fs_write_inline_data() local 239 src_addr = kmap_atomic(page); in f2fs_write_inline_data() 241 memcpy(dst_addr, src_addr, MAX_INLINE_DATA(inode)); in f2fs_write_inline_data() 242 kunmap_atomic(src_addr); in f2fs_write_inline_data() 259 void *src_addr, *dst_addr; in f2fs_recover_inline_data() local 281 src_addr = inline_data_addr(inode, npage); in f2fs_recover_inline_data() 283 memcpy(dst_addr, src_addr, MAX_INLINE_DATA(inode)); in f2fs_recover_inline_data()
|
/Linux-v5.4/drivers/net/ethernet/qlogic/qed/ |
D | qed_hw.c | 637 u64 src_addr, in qed_dmae_execute_sub_operation() argument 650 cmd->src_addr_hi = cpu_to_le32(upper_32_bits(src_addr)); in qed_dmae_execute_sub_operation() 651 cmd->src_addr_lo = cpu_to_le32(lower_32_bits(src_addr)); in qed_dmae_execute_sub_operation() 658 (void *)(uintptr_t)src_addr, in qed_dmae_execute_sub_operation() 689 src_addr, dst_addr, length_dw); in qed_dmae_execute_sub_operation() 703 u64 src_addr, u64 dst_addr, in qed_dmae_execute_command() argument 720 src_addr, src_type, dst_addr, dst_type, in qed_dmae_execute_command() 740 src_addr_split = src_addr; in qed_dmae_execute_command() 748 src_addr_split = src_addr + offset; in qed_dmae_execute_command() 750 src_addr_split = src_addr + (offset * 4); in qed_dmae_execute_command() [all …]
|
/Linux-v5.4/drivers/misc/habanalabs/include/goya/ |
D | goya_packets.h | 132 __le64 src_addr; member 139 __le64 src_addr; member
|
/Linux-v5.4/drivers/video/fbdev/via/ |
D | accel.c | 41 u32 *src_mem, u32 src_addr, u32 src_pitch, u32 src_x, u32 src_y, in hw_bitblt_1() argument 52 if (op != VIA_BITBLT_FILL && !src_mem && src_addr == dst_addr) { in hw_bitblt_1() 117 tmp = src_mem ? 0 : src_addr; in hw_bitblt_1() 174 u32 *src_mem, u32 src_addr, u32 src_pitch, u32 src_x, u32 src_y, in hw_bitblt_2() argument 185 if (op != VIA_BITBLT_FILL && !src_mem && src_addr == dst_addr) { in hw_bitblt_2() 262 tmp = src_mem ? 0 : src_addr; in hw_bitblt_2()
|
/Linux-v5.4/sound/soc/sprd/ |
D | sprd-pcm-compress.c | 147 dma_addr_t src_addr, dst_addr; in sprd_platform_compr_dma_config() local 174 src_addr = stream->iram_buffer.addr; in sprd_platform_compr_dma_config() 186 src_addr = stream->compr_buffer.addr; in sprd_platform_compr_dma_config() 205 config.src_addr = src_addr; in sprd_platform_compr_dma_config() 209 config.src_addr = dst_addr; in sprd_platform_compr_dma_config() 210 config.dst_addr = src_addr; in sprd_platform_compr_dma_config()
|
/Linux-v5.4/drivers/net/ppp/ |
D | pptp.c | 111 sock->proto.pptp.src_addr = *sa; in add_chan() 126 clear_bit(sock->proto.pptp.src_addr.call_id, callid_bitmap); in del_chan() 127 RCU_INIT_POINTER(callid_sock[sock->proto.pptp.src_addr.call_id], NULL); in del_chan() 156 opt->src_addr.sin_addr.s_addr, in pptp_xmit() 435 if (!opt->src_addr.sin_addr.s_addr || !sp->sa_addr.pptp.sin_addr.s_addr) { in pptp_connect() 445 opt->src_addr.sin_addr.s_addr, in pptp_connect() 484 sp.sa_addr.pptp = pppox_sk(sock->sk)->proto.pptp.src_addr; in pptp_getname()
|
/Linux-v5.4/net/ieee802154/ |
D | socket.c | 439 struct ieee802154_addr src_addr; member 519 ro->src_addr = haddr; in dgram_bind() 628 dev = ieee802154_get_dev(sock_net(sk), &ro->src_addr); in dgram_sendmsg() 675 ro->bound ? &ro->src_addr : NULL, size); in dgram_sendmsg() 778 if (ro->src_addr.mode == IEEE802154_ADDR_LONG && in ieee802154_match_sock() 779 hw_addr == ro->src_addr.extended_addr) in ieee802154_match_sock() 782 if (ro->src_addr.mode == IEEE802154_ADDR_SHORT && in ieee802154_match_sock() 783 pan_id == ro->src_addr.pan_id && in ieee802154_match_sock() 784 short_addr == ro->src_addr.short_addr) in ieee802154_match_sock()
|