/linux-6.12.1/arch/sh/kernel/ |
D | io_trapped.c | 183 static unsigned long long copy_word(unsigned long src_addr, int src_len, in copy_word() argument 190 tmp = __raw_readb(src_addr); in copy_word() 193 tmp = __raw_readw(src_addr); in copy_word() 196 tmp = __raw_readl(src_addr); in copy_word() 199 tmp = __raw_readq(src_addr); in copy_word() 224 unsigned long src_addr = (unsigned long)src; in from_device() local 227 pr_debug("trapped io read 0x%08lx (%ld)\n", src_addr, cnt); in from_device() 228 tiop = lookup_tiop(src_addr); in from_device() 231 src_addr = lookup_address(tiop, src_addr); in from_device() 232 if (!src_addr) in from_device() [all …]
|
/linux-6.12.1/mm/ |
D | userfaultfd.c | 243 unsigned long src_addr, in mfill_atomic_pte_copy() argument 275 ret = copy_from_user(kaddr, (const void __user *) src_addr, in mfill_atomic_pte_copy() 502 unsigned long src_addr, dst_addr; in mfill_atomic_hugetlb() local 522 src_addr = src_start; in mfill_atomic_hugetlb() 566 while (src_addr < src_start + len) { in mfill_atomic_hugetlb() 598 src_addr, flags, &folio); in mfill_atomic_hugetlb() 611 (const void __user *)src_addr, true); in mfill_atomic_hugetlb() 624 src_addr += vma_hpagesize; in mfill_atomic_hugetlb() 659 unsigned long src_addr, in mfill_atomic_pte() argument 686 dst_addr, src_addr, in mfill_atomic_pte() [all …]
|
/linux-6.12.1/net/bridge/ |
D | br_multicast_eht.c | 34 union net_bridge_eht_addr *src_addr, 38 union net_bridge_eht_addr *src_addr, 105 union net_bridge_eht_addr *src_addr) in br_multicast_eht_set_lookup() argument 115 result = memcmp(src_addr, &this->src_addr, sizeof(*src_addr)); in br_multicast_eht_set_lookup() 218 &set_h->eht_set->src_addr, in br_multicast_eht_set_entry_expired() 339 union net_bridge_eht_addr *src_addr) in __eht_lookup_create_set() argument 350 result = memcmp(src_addr, &this->src_addr, sizeof(*src_addr)); in __eht_lookup_create_set() 364 memcpy(&eht_set->src_addr, src_addr, sizeof(*src_addr)); in __eht_lookup_create_set() 419 union net_bridge_eht_addr *src_addr, in br_multicast_create_eht_set_entry() argument 431 if (!allow_zero_src && !memcmp(src_addr, &zero_addr, sizeof(zero_addr))) in br_multicast_create_eht_set_entry() [all …]
|
/linux-6.12.1/lib/ |
D | strnlen_user.c | 94 unsigned long max_addr, src_addr; in strnlen_user() local 109 src_addr = (unsigned long)untagged_addr(str); in strnlen_user() 110 if (likely(src_addr < max_addr)) { in strnlen_user() 111 unsigned long max = max_addr - src_addr; in strnlen_user()
|
D | strncpy_from_user.c | 115 unsigned long max_addr, src_addr; in strncpy_from_user() local 133 src_addr = (unsigned long)untagged_addr(src); in strncpy_from_user() 134 if (likely(src_addr < max_addr)) { in strncpy_from_user() 135 unsigned long max = max_addr - src_addr; in strncpy_from_user()
|
/linux-6.12.1/tools/testing/selftests/mm/ |
D | mremap_test.c | 185 void *src_addr = NULL; in get_source_mapping() local 200 src_addr = mmap((void *) addr, c.region_size, PROT_READ | PROT_WRITE, in get_source_mapping() 203 if (src_addr == MAP_FAILED) { in get_source_mapping() 216 if (((unsigned long long) src_addr & (c.src_alignment - 1)) || in get_source_mapping() 217 !((unsigned long long) src_addr & c.src_alignment)) { in get_source_mapping() 218 munmap(src_addr, c.region_size); in get_source_mapping() 222 if (!src_addr) in get_source_mapping() 225 return src_addr; in get_source_mapping() 387 void *addr, *src_addr, *dest_addr, *dest_preamble_addr; in remap_region() local 399 src_addr = get_source_mapping(c); in remap_region() [all …]
|
/linux-6.12.1/drivers/crypto/intel/iaa/ |
D | iaa_crypto_main.c | 1013 dma_addr_t *src_addr, dma_addr_t *dst_addr); 1017 dma_addr_t src_addr, unsigned int slen, 1049 ctx->src_addr, ctx->dst_addr); in iaa_desc_complete() 1085 dma_addr_t src_addr, dst_addr; in iaa_desc_complete() local 1090 ret = iaa_remap_for_verify(dev, iaa_wq, ctx->req, &src_addr, &dst_addr); in iaa_desc_complete() 1097 ret = iaa_compress_verify(ctx->tfm, ctx->req, iaa_wq->wq, src_addr, in iaa_desc_complete() 1127 dma_addr_t src_addr, unsigned int slen, in iaa_compress() argument 1165 desc->src1_addr = (u64)src_addr; in iaa_compress() 1178 idxd_desc->crypto.src_addr = src_addr; in iaa_compress() 1185 src_addr, dst_addr); in iaa_compress() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_lsdma.c | 47 uint64_t src_addr, in amdgpu_lsdma_copy_mem() argument 59 ret = adev->lsdma.funcs->copy_mem(adev, src_addr, dst_addr, current_copy_size); in amdgpu_lsdma_copy_mem() 62 src_addr += current_copy_size; in amdgpu_lsdma_copy_mem()
|
D | amdgpu_lsdma.h | 32 int (*copy_mem)(struct amdgpu_device *adev, uint64_t src_addr, 39 int amdgpu_lsdma_copy_mem(struct amdgpu_device *adev, uint64_t src_addr,
|
/linux-6.12.1/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_blit.c | 344 u8 *src_addr; member 373 bool unmap_src = d->src_addr && (src_page != d->mapped_src || in vmw_bo_cpu_blit_line() 380 kunmap_atomic(d->src_addr); in vmw_bo_cpu_blit_line() 381 d->src_addr = NULL; in vmw_bo_cpu_blit_line() 402 if (!d->src_addr) { in vmw_bo_cpu_blit_line() 406 d->src_addr = in vmw_bo_cpu_blit_line() 409 if (!d->src_addr) in vmw_bo_cpu_blit_line() 415 d->src_addr + src_page_offset, copy_size); in vmw_bo_cpu_blit_line() 614 d.src_addr = NULL; in vmw_bo_cpu_blit() 634 if (d.src_addr) in vmw_bo_cpu_blit() [all …]
|
/linux-6.12.1/drivers/net/wwan/t7xx/ |
D | t7xx_pcie_mac.c | 61 u64 src_addr; member 94 if (cfg->src_addr & (cfg->size - 1)) { in t7xx_pcie_mac_atr_cfg() 121 value = (cfg->src_addr & ATR_PCIE_WIN0_ADDR_ALGMT) | (atr_size << 1) | BIT(0); in t7xx_pcie_mac_atr_cfg() 146 cfg.src_addr = pci_resource_start(t7xx_dev->pdev, T7XX_PCIE_REG_BAR); in t7xx_pcie_mac_atr_init() 159 cfg.src_addr = T7XX_PCIE_DEV_DMA_SRC_ADDR; in t7xx_pcie_mac_atr_init()
|
/linux-6.12.1/drivers/net/wireless/marvell/libertas/ |
D | rx.c | 24 u8 src_addr[6]; member 98 lbs_deb_hex(LBS_DEB_RX, "RX Data: Src", p_rx_pkt->eth803_hdr.src_addr, in lbs_process_rxed_packet() 99 sizeof(p_rx_pkt->eth803_hdr.src_addr)); in lbs_process_rxed_packet() 117 - sizeof(p_rx_pkt->eth803_hdr.src_addr) in lbs_process_rxed_packet() 120 memcpy(p_ethhdr->h_source, p_rx_pkt->eth803_hdr.src_addr, in lbs_process_rxed_packet()
|
/linux-6.12.1/drivers/infiniband/core/ |
D | addr.c | 57 struct sockaddr_storage src_addr; member 61 void (*callback)(int status, struct sockaddr *src_addr, 623 src_in = (struct sockaddr *)&req->src_addr; in process_one_req() 640 req->callback(req->status, (struct sockaddr *)&req->src_addr, in process_one_req() 657 int rdma_resolve_ip(struct sockaddr *src_addr, const struct sockaddr *dst_addr, in rdma_resolve_ip() argument 659 void (*callback)(int status, struct sockaddr *src_addr, in rdma_resolve_ip() 671 src_in = (struct sockaddr *) &req->src_addr; in rdma_resolve_ip() 674 if (src_addr) { in rdma_resolve_ip() 675 if (src_addr->sa_family != dst_addr->sa_family) { in rdma_resolve_ip() 680 memcpy(src_in, src_addr, rdma_addr_size(src_addr)); in rdma_resolve_ip() [all …]
|
D | cma_trace.h | 38 memcpy(__entry->srcaddr, &id_priv->id.route.addr.src_addr, 83 memcpy(__entry->srcaddr, &id_priv->id.route.addr.src_addr, 115 memcpy(__entry->srcaddr, &id_priv->id.route.addr.src_addr, 208 memcpy(__entry->srcaddr, &id_priv->id.route.addr.src_addr, 243 memcpy(__entry->srcaddr, &id_priv->id.route.addr.src_addr, 277 memcpy(__entry->srcaddr, &id_priv->id.route.addr.src_addr, 313 memcpy(__entry->srcaddr, &id_priv->id.route.addr.src_addr,
|
/linux-6.12.1/drivers/pci/endpoint/functions/ |
D | pci-epf-test.c | 70 u64 src_addr; member 144 sconf.src_addr = dma_remote; in pci_epf_test_data_transfer() 321 void __iomem *src_addr; in pci_epf_test_copy() local 330 src_addr = pci_epc_mem_alloc_addr(epc, &src_phys_addr, reg->size); in pci_epf_test_copy() 331 if (!src_addr) { in pci_epf_test_copy() 339 reg->src_addr, reg->size); in pci_epf_test_copy() 384 memcpy_fromio(buf, src_addr, reg->size); in pci_epf_test_copy() 402 pci_epc_mem_free_addr(epc, src_phys_addr, src_addr, reg->size); in pci_epf_test_copy() 415 void __iomem *src_addr; in pci_epf_test_read() local 426 src_addr = pci_epc_mem_alloc_addr(epc, &phys_addr, reg->size); in pci_epf_test_read() [all …]
|
D | pci-epf-mhi.c | 329 config.src_addr = buf_info->host_addr; in pci_epf_mhi_edma_read() 391 dma_addr_t src_addr; in pci_epf_mhi_edma_write() local 408 src_addr = dma_map_single(dma_dev, buf_info->dev_addr, buf_info->size, in pci_epf_mhi_edma_write() 410 ret = dma_mapping_error(dma_dev, src_addr); in pci_epf_mhi_edma_write() 416 desc = dmaengine_prep_slave_single(chan, src_addr, buf_info->size, in pci_epf_mhi_edma_write() 444 dma_unmap_single(dma_dev, src_addr, buf_info->size, DMA_TO_DEVICE); in pci_epf_mhi_edma_write() 503 config.src_addr = buf_info->host_addr; in pci_epf_mhi_edma_read_async() 576 dma_addr_t src_addr; in pci_epf_mhi_edma_write_async() local 590 src_addr = dma_map_single(dma_dev, buf_info->dev_addr, buf_info->size, in pci_epf_mhi_edma_write_async() 592 ret = dma_mapping_error(dma_dev, src_addr); in pci_epf_mhi_edma_write_async() [all …]
|
/linux-6.12.1/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-6.12.1/drivers/accel/habanalabs/include/gaudi2/ |
D | gaudi2_packets.h | 159 __le64 src_addr; member 188 __le64 src_addr; member 194 __le64 src_addr; member
|
/linux-6.12.1/drivers/accel/habanalabs/include/gaudi/ |
D | gaudi_packets.h | 160 __le64 src_addr; member 185 __le64 src_addr; member 191 __le64 src_addr; member
|
/linux-6.12.1/drivers/dma/stm32/ |
D | stm32-mdma.c | 456 u32 ctbr_mask, u32 src_addr) in stm32_mdma_set_bus() argument 463 mask = src_addr & 0xF0000000; in stm32_mdma_set_bus() 481 phys_addr_t src_addr, dst_addr; in stm32_mdma_set_xfer_param() local 603 src_addr = chan->dma_config.src_addr; in stm32_mdma_set_xfer_param() 607 src_addr_width = stm32_mdma_get_max_width(src_addr, buf_len, in stm32_mdma_set_xfer_param() 651 src_addr); in stm32_mdma_set_xfer_param() 657 stm32_mdma_write(dmadev, STM32_MDMA_CSAR(chan->id), src_addr); in stm32_mdma_set_xfer_param() 690 dma_addr_t src_addr, dma_addr_t dst_addr, in stm32_mdma_setup_hwdesc() argument 705 hwdesc->csar = src_addr; in stm32_mdma_setup_hwdesc() 733 dma_addr_t src_addr, dst_addr; in stm32_mdma_setup_xfer() local [all …]
|
/linux-6.12.1/drivers/crypto/ |
D | n2_core.h | 36 u64 src_addr; member 47 u64 src_addr; member 58 u64 src_addr; member
|
/linux-6.12.1/drivers/net/ethernet/meta/fbnic/ |
D | fbnic_rpc.c | 437 struct fbnic_mac_addr *src_addr = &fbd->mac_addr[src++]; in fbnic_sift_macda() local 440 if (!test_bit(FBNIC_MAC_ADDR_T_BMC, src_addr->act_tcam)) in fbnic_sift_macda() 444 if (src_addr->state == FBNIC_TCAM_S_DISABLED || in fbnic_sift_macda() 445 src_addr->state == FBNIC_TCAM_S_DELETE) in fbnic_sift_macda() 449 if (bitmap_weight(src_addr->act_tcam, in fbnic_sift_macda() 454 if (!is_zero_ether_addr(src_addr->mask.addr8)) in fbnic_sift_macda() 457 memcpy(dest_addr, src_addr, sizeof(*src_addr)); in fbnic_sift_macda() 458 src_addr->state = FBNIC_TCAM_S_DELETE; in fbnic_sift_macda()
|
/linux-6.12.1/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 178 struct __kernel_sockaddr_storage src_addr; member
|
/linux-6.12.1/drivers/net/ethernet/intel/ice/ |
D | ice_protocol_type.h | 139 u8 src_addr[ETH_ALEN]; member 148 u8 src_addr[ETH_ALEN]; member 166 __be32 src_addr; member 175 u8 src_addr[ICE_IPV6_ADDR_LENGTH]; member
|
/linux-6.12.1/drivers/dma/ |
D | fsl-edma-common.c | 306 addr = fsl_chan->cfg.src_addr; in fsl_edma_prep_slave_dma() 582 dma_addr_t src_addr, dst_addr, last_sg; in fsl_edma_prep_dma_cyclic() local 622 src_addr = dma_buf_next; in fsl_edma_prep_dma_cyclic() 627 src_addr = fsl_chan->dma_dev_addr; in fsl_edma_prep_dma_cyclic() 633 src_addr = fsl_chan->cfg.src_addr; in fsl_edma_prep_dma_cyclic() 639 fsl_edma_fill_tcd(fsl_chan, fsl_desc->tcd[i].vtcd, src_addr, dst_addr, in fsl_edma_prep_dma_cyclic() 656 dma_addr_t src_addr, dst_addr, last_sg; in fsl_edma_prep_slave_sg() local 687 src_addr = sg_dma_address(sg); in fsl_edma_prep_slave_sg() 692 src_addr = fsl_chan->dma_dev_addr; in fsl_edma_prep_slave_sg() 698 src_addr = fsl_chan->cfg.src_addr; in fsl_edma_prep_slave_sg() [all …]
|