Home
last modified time | relevance | path

Searched refs:src_addr (Results 1 – 25 of 332) sorted by relevance

12345678910>>...14

/Linux-v6.1/arch/sh/kernel/
Dio_trapped.c183 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-v6.1/tools/testing/selftests/vm/
Dmremap_test.c172 void *src_addr = NULL; in get_source_mapping() local
182 src_addr = mmap((void *) addr, c.region_size, PROT_READ | PROT_WRITE, in get_source_mapping()
185 if (src_addr == MAP_FAILED) { in get_source_mapping()
198 if (((unsigned long long) src_addr & (c.src_alignment - 1)) || in get_source_mapping()
199 !((unsigned long long) src_addr & c.src_alignment)) { in get_source_mapping()
200 munmap(src_addr, c.region_size); in get_source_mapping()
204 if (!src_addr) in get_source_mapping()
207 return src_addr; in get_source_mapping()
218 void *addr, *src_addr, *dest_addr; in remap_region() local
229 src_addr = get_source_mapping(c); in remap_region()
[all …]
/Linux-v6.1/mm/
Duserfaultfd.c146 unsigned long src_addr, in mcopy_atomic_pte() argument
178 (const void __user *) src_addr, in mcopy_atomic_pte()
336 unsigned long src_addr, dst_addr; in __mcopy_atomic_hugetlb() local
355 src_addr = src_start; in __mcopy_atomic_hugetlb()
395 while (src_addr < src_start + len) { in __mcopy_atomic_hugetlb()
427 dst_addr, src_addr, mode, &page, in __mcopy_atomic_hugetlb()
440 (const void __user *)src_addr, in __mcopy_atomic_hugetlb()
456 src_addr += vma_hpagesize; in __mcopy_atomic_hugetlb()
491 unsigned long src_addr, in mfill_atomic_pte() argument
516 dst_addr, src_addr, page, in mfill_atomic_pte()
[all …]
/Linux-v6.1/net/bridge/
Dbr_multicast_eht.c34 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-v6.1/lib/
Dstrnlen_user.c94 unsigned long max_addr, src_addr; in strnlen_user() local
100 src_addr = (unsigned long)untagged_addr(str); in strnlen_user()
101 if (likely(src_addr < max_addr)) { in strnlen_user()
102 unsigned long max = max_addr - src_addr; in strnlen_user()
Dstrncpy_from_user.c115 unsigned long max_addr, src_addr; in strncpy_from_user() local
124 src_addr = (unsigned long)untagged_addr(src); in strncpy_from_user()
125 if (likely(src_addr < max_addr)) { in strncpy_from_user()
126 unsigned long max = max_addr - src_addr; in strncpy_from_user()
/Linux-v6.1/drivers/gpu/drm/vmwgfx/
Dvmwgfx_blit.c342 u8 *src_addr; member
371 bool unmap_src = d->src_addr && (src_page != d->mapped_src || in vmw_bo_cpu_blit_line()
378 kunmap_atomic(d->src_addr); in vmw_bo_cpu_blit_line()
379 d->src_addr = NULL; in vmw_bo_cpu_blit_line()
400 if (!d->src_addr) { in vmw_bo_cpu_blit_line()
404 d->src_addr = in vmw_bo_cpu_blit_line()
407 if (!d->src_addr) in vmw_bo_cpu_blit_line()
413 d->src_addr + src_page_offset, copy_size); in vmw_bo_cpu_blit_line()
483 d.src_addr = NULL; in vmw_bo_cpu_blit()
503 if (d.src_addr) in vmw_bo_cpu_blit()
[all …]
/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_lsdma.c47 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()
Damdgpu_lsdma.h32 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,
Dlsdma_v6_0.c40 uint64_t src_addr, in lsdma_v6_0_copy_mem() argument
47 WREG32_SOC15(LSDMA, 0, regLSDMA_PIO_SRC_ADDR_LO, lower_32_bits(src_addr)); in lsdma_v6_0_copy_mem()
48 WREG32_SOC15(LSDMA, 0, regLSDMA_PIO_SRC_ADDR_HI, upper_32_bits(src_addr)); in lsdma_v6_0_copy_mem()
/Linux-v6.1/drivers/net/wwan/t7xx/
Dt7xx_pcie_mac.c61 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-v6.1/drivers/net/wireless/marvell/libertas/
Drx.c24 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-v6.1/drivers/misc/habanalabs/include/gaudi/
Dgaudi_packets.h160 __le64 src_addr; member
185 __le64 src_addr; member
191 __le64 src_addr; member
/Linux-v6.1/drivers/misc/habanalabs/include/gaudi2/
Dgaudi2_packets.h159 __le64 src_addr; member
188 __le64 src_addr; member
194 __le64 src_addr; member
/Linux-v6.1/drivers/dma/ioat/
Dhw.h92 uint64_t src_addr; member
125 uint64_t src_addr; member
179 uint64_t src_addr; member
223 uint64_t src_addr; member
/Linux-v6.1/drivers/net/ethernet/intel/ice/
Dice_protocol_type.h140 u8 src_addr[ETH_ALEN]; member
149 u8 src_addr[ETH_ALEN]; member
167 __be32 src_addr; member
176 u8 src_addr[ICE_IPV6_ADDR_LENGTH]; member
/Linux-v6.1/drivers/infiniband/core/
Dcma_trace.h38 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,
Daddr.c57 struct sockaddr_storage src_addr; member
61 void (*callback)(int status, struct sockaddr *src_addr,
629 src_in = (struct sockaddr *)&req->src_addr; in process_one_req()
646 req->callback(req->status, (struct sockaddr *)&req->src_addr, in process_one_req()
663 int rdma_resolve_ip(struct sockaddr *src_addr, const struct sockaddr *dst_addr, in rdma_resolve_ip() argument
665 void (*callback)(int status, struct sockaddr *src_addr, in rdma_resolve_ip()
677 src_in = (struct sockaddr *) &req->src_addr; in rdma_resolve_ip()
680 if (src_addr) { in rdma_resolve_ip()
681 if (src_addr->sa_family != dst_addr->sa_family) { in rdma_resolve_ip()
686 memcpy(src_in, src_addr, rdma_addr_size(src_addr)); in rdma_resolve_ip()
[all …]
/Linux-v6.1/drivers/pci/endpoint/functions/
Dpci-epf-test.c67 u64 src_addr; member
136 sconf.src_addr = dma_remote; in pci_epf_test_data_transfer()
316 void __iomem *src_addr; in pci_epf_test_copy() local
327 src_addr = pci_epc_mem_alloc_addr(epc, &src_phys_addr, reg->size); in pci_epf_test_copy()
328 if (!src_addr) { in pci_epf_test_copy()
336 reg->src_addr, reg->size); in pci_epf_test_copy()
388 memcpy_fromio(buf, src_addr, reg->size); in pci_epf_test_copy()
405 pci_epc_mem_free_addr(epc, src_phys_addr, src_addr, reg->size); in pci_epf_test_copy()
414 void __iomem *src_addr; in pci_epf_test_read() local
428 src_addr = pci_epc_mem_alloc_addr(epc, &phys_addr, reg->size); in pci_epf_test_read()
[all …]
/Linux-v6.1/drivers/crypto/
Dn2_core.h36 u64 src_addr; member
47 u64 src_addr; member
58 u64 src_addr; member
/Linux-v6.1/drivers/dma/
Dstm32-mdma.c458 u32 ctbr_mask, u32 src_addr) in stm32_mdma_set_bus() argument
465 mask = src_addr & 0xF0000000; in stm32_mdma_set_bus()
483 phys_addr_t src_addr, dst_addr; in stm32_mdma_set_xfer_param() local
605 src_addr = chan->dma_config.src_addr; in stm32_mdma_set_xfer_param()
609 src_addr_width = stm32_mdma_get_max_width(src_addr, buf_len, 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()
735 dma_addr_t src_addr, dst_addr; in stm32_mdma_setup_xfer() local
[all …]
/Linux-v6.1/include/uapi/rdma/
Drdma_user_cm.h126 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-v6.1/drivers/net/ethernet/qlogic/qed/
Dqed_hw.c604 u64 src_addr, in qed_dmae_execute_sub_operation() argument
617 cmd->src_addr_hi = cpu_to_le32(upper_32_bits(src_addr)); in qed_dmae_execute_sub_operation()
618 cmd->src_addr_lo = cpu_to_le32(lower_32_bits(src_addr)); in qed_dmae_execute_sub_operation()
625 (void *)(uintptr_t)src_addr, in qed_dmae_execute_sub_operation()
656 src_addr, dst_addr, length_dw); in qed_dmae_execute_sub_operation()
670 u64 src_addr, u64 dst_addr, in qed_dmae_execute_command() argument
687 src_addr, src_type, dst_addr, dst_type, in qed_dmae_execute_command()
707 src_addr_split = src_addr; in qed_dmae_execute_command()
715 src_addr_split = src_addr + offset; in qed_dmae_execute_command()
717 src_addr_split = src_addr + (offset * 4); in qed_dmae_execute_command()
[all …]
/Linux-v6.1/drivers/net/ethernet/mediatek/
Dmtk_ppe_offload.c21 __be32 src_addr; member
26 struct in6_addr src_addr; member
59 data->v4.src_addr, data->src_port, in mtk_flow_set_ipv4_addr()
68 data->v6.src_addr.s6_addr32, data->src_port, in mtk_flow_set_ipv6_addr()
150 dest = &data->v4.src_addr; in mtk_flow_mangle_ipv4()
373 data.v4.src_addr = addrs.key->src; in mtk_flow_offload_replace()
384 data.v6.src_addr = addrs.key->src; in mtk_flow_offload_replace()
/Linux-v6.1/drivers/misc/habanalabs/include/goya/
Dgoya_packets.h120 __le64 src_addr; member
127 __le64 src_addr; member

12345678910>>...14