/linux-6.12.1/net/tipc/ |
D | discover.c | 104 struct tipc_media_addr *maddr, in tipc_disc_msg_xmit() argument 117 tipc_bearer_xmit_skb(net, b->identity, skb, maddr); in tipc_disc_msg_xmit() 142 struct tipc_media_addr *maddr, in tipc_disc_addr_trial_msg() argument 183 self, sugg_addr, maddr, b); in tipc_disc_addr_trial_msg() 206 struct tipc_media_addr maddr; in tipc_disc_rcv() local 225 err = b->media->msg2addr(b, &maddr, msg_media_addr(hdr)); in tipc_disc_rcv() 227 if (err || maddr.broadcast) { in tipc_disc_rcv() 232 if (!memcmp(&maddr, &b->addr, sizeof(maddr))) in tipc_disc_rcv() 236 if (tipc_disc_addr_trial_msg(b->disc, &maddr, b, dst, in tipc_disc_rcv() 243 disc_dupl_alert(b, self, &maddr); in tipc_disc_rcv() [all …]
|
D | node.c | 69 struct tipc_media_addr maddr; member 176 struct tipc_media_addr **maddr); 841 tipc_bearer_xmit(n->net, bearer_id, &xmitq, &le->maddr, n); in tipc_node_timeout() 928 struct tipc_media_addr *maddr; in tipc_node_link_up() local 932 maddr = &n->links[bearer_id].maddr; in tipc_node_link_up() 933 tipc_bearer_xmit(n->net, bearer_id, xmitq, maddr, n); in tipc_node_link_up() 990 struct tipc_media_addr **maddr) in __tipc_node_link_down() argument 1040 *maddr = &n->links[*bearer_id].maddr; in __tipc_node_link_down() 1059 *maddr = &n->links[*bearer_id].maddr; in __tipc_node_link_down() 1065 struct tipc_media_addr *maddr = NULL; in tipc_node_link_down() local [all …]
|
/linux-6.12.1/drivers/scsi/aic7xxx/ |
D | aic79xx_osm_pci.c | 256 uint8_t __iomem **maddr) in ahd_linux_pci_reserve_mem_region() argument 277 *maddr = ioremap(base_page, base_offset + 512); in ahd_linux_pci_reserve_mem_region() 278 if (*maddr == NULL) { in ahd_linux_pci_reserve_mem_region() 282 *maddr += base_offset; in ahd_linux_pci_reserve_mem_region() 294 uint8_t __iomem *maddr; in ahd_pci_map_registers() local 303 maddr = NULL; in ahd_pci_map_registers() 304 error = ahd_linux_pci_reserve_mem_region(ahd, &base, &maddr); in ahd_pci_map_registers() 308 ahd->bshs[0].maddr = maddr; in ahd_pci_map_registers() 310 ahd->bshs[1].maddr = maddr + 0x100; in ahd_pci_map_registers() 321 iounmap(maddr); in ahd_pci_map_registers() [all …]
|
D | aic7xxx_osm_pci.c | 338 uint8_t __iomem **maddr) in ahc_linux_pci_reserve_mem_region() argument 350 *maddr = ioremap(start, 256); in ahc_linux_pci_reserve_mem_region() 351 if (*maddr == NULL) { in ahc_linux_pci_reserve_mem_region() 366 uint8_t __iomem *maddr; in ahc_pci_map_registers() local 375 maddr = NULL; in ahc_pci_map_registers() 376 error = ahc_linux_pci_reserve_mem_region(ahc, &base, &maddr); in ahc_pci_map_registers() 380 ahc->bsh.maddr = maddr; in ahc_pci_map_registers() 395 iounmap(maddr); in ahc_pci_map_registers() 398 ahc->bsh.maddr = NULL; in ahc_pci_map_registers() 399 maddr = NULL; in ahc_pci_map_registers() [all …]
|
/linux-6.12.1/drivers/isdn/mISDN/ |
D | socket.c | 129 DECLARE_SOCKADDR(struct sockaddr_mISDN *, maddr, msg->msg_name); in mISDN_sock_recvmsg() 131 maddr->family = AF_ISDN; in mISDN_sock_recvmsg() 132 maddr->dev = _pms(sk)->dev->id; in mISDN_sock_recvmsg() 135 maddr->channel = (mISDN_HEAD_ID(skb) >> 16) & 0xff; in mISDN_sock_recvmsg() 136 maddr->tei = (mISDN_HEAD_ID(skb) >> 8) & 0xff; in mISDN_sock_recvmsg() 137 maddr->sapi = mISDN_HEAD_ID(skb) & 0xff; in mISDN_sock_recvmsg() 139 maddr->channel = _pms(sk)->ch.nr; in mISDN_sock_recvmsg() 140 maddr->sapi = _pms(sk)->ch.addr & 0xFF; in mISDN_sock_recvmsg() 141 maddr->tei = (_pms(sk)->ch.addr >> 8) & 0xFF; in mISDN_sock_recvmsg() 143 msg->msg_namelen = sizeof(*maddr); in mISDN_sock_recvmsg() [all …]
|
/linux-6.12.1/arch/powerpc/mm/ |
D | cacheflush.c | 216 void *maddr; in flush_icache_user_page() local 218 maddr = kmap_local_page(page) + (addr & ~PAGE_MASK); in flush_icache_user_page() 219 flush_icache_range((unsigned long)maddr, (unsigned long)maddr + len); in flush_icache_user_page() 220 kunmap_local(maddr); in flush_icache_user_page()
|
/linux-6.12.1/fs/ |
D | binfmt_elf_fdpic.c | 922 unsigned long load_addr, base = ULONG_MAX, top = 0, maddr = 0; in elf_fdpic_map_file_constdisp_on_uclinux() local 942 maddr = vm_mmap(NULL, load_addr, top - base, in elf_fdpic_map_file_constdisp_on_uclinux() 944 if (IS_ERR_VALUE(maddr)) in elf_fdpic_map_file_constdisp_on_uclinux() 945 return (int) maddr; in elf_fdpic_map_file_constdisp_on_uclinux() 956 seg->addr = maddr + (phdr->p_vaddr - base); in elf_fdpic_map_file_constdisp_on_uclinux() 1018 unsigned long maddr, disp, excess, excess1; in elf_fdpic_map_file_by_direct_mmap() local 1036 maddr = 0; in elf_fdpic_map_file_by_direct_mmap() 1045 maddr = phdr->p_vaddr; in elf_fdpic_map_file_by_direct_mmap() 1055 maddr = load_addr; in elf_fdpic_map_file_by_direct_mmap() 1059 maddr = load_addr + phdr->p_vaddr - delta_vaddr; in elf_fdpic_map_file_by_direct_mmap() [all …]
|
/linux-6.12.1/arch/x86/xen/ |
D | mmu.c | 12 xmaddr_t maddr = arbitrary_virt_to_machine(vaddr); in arbitrary_virt_to_mfn() local 14 return PFN_DOWN(maddr.maddr); in arbitrary_virt_to_mfn()
|
D | p2m.c | 800 phys_addr_t maddr; member 821 mfn = PFN_DOWN(remap->maddr); in xen_do_remap_nonram() 853 if (phys + size > remap->maddr && in xen_acpi_os_ioremap() 854 phys < remap->maddr + remap->size) { in xen_acpi_os_ioremap() 855 WARN_ON(phys < remap->maddr || in xen_acpi_os_ioremap() 856 phys + size > remap->maddr + remap->size); in xen_acpi_os_ioremap() 857 phys += remap->paddr - remap->maddr; in xen_acpi_os_ioremap() 870 void __init xen_add_remap_nonram(phys_addr_t maddr, phys_addr_t paddr, in xen_add_remap_nonram() argument 873 BUG_ON((maddr & ~PAGE_MASK) != (paddr & ~PAGE_MASK)); in xen_add_remap_nonram() 886 xen_nonram_remap[nr_nonram_remap].maddr = maddr; in xen_add_remap_nonram()
|
D | enlighten_pv.c | 583 xmaddr_t maddr; in load_TLS_descriptor() local 592 maddr = arbitrary_virt_to_machine(&gdt[GDT_ENTRY_TLS_MIN+i]); in load_TLS_descriptor() 595 MULTI_update_descriptor(mc.mc, maddr.maddr, t->tls_array[i]); in load_TLS_descriptor() 634 if (HYPERVISOR_update_descriptor(mach_lp.maddr, entry)) in xen_write_ldt_entry() 903 xmaddr_t maddr = arbitrary_virt_to_machine(&dt[entry]); in xen_write_gdt_entry() local 906 if (HYPERVISOR_update_descriptor(maddr.maddr, *(u64 *)desc)) in xen_write_gdt_entry() 931 xmaddr_t maddr = virt_to_machine(&dt[entry]); in xen_write_gdt_entry_boot() local 933 if (HYPERVISOR_update_descriptor(maddr.maddr, *(u64 *)desc)) in xen_write_gdt_entry_boot()
|
D | mmu_pv.c | 233 u.ptr = arbitrary_virt_to_machine(ptr).maddr; in xen_set_pmd_hyper() 276 u.ptr = virt_to_machine(ptep).maddr | MMU_NORMAL_PT_UPDATE; in xen_batched_set_pte() 294 u.ptr = virt_to_machine(ptep).maddr | MMU_NORMAL_PT_UPDATE; in __xen_set_pte() 323 u.ptr = virt_to_machine(ptep).maddr | MMU_PT_UPDATE_PRESERVE_AD; in xen_ptep_modify_prot_commit() 417 u.ptr = arbitrary_virt_to_machine(ptr).maddr; in xen_set_pud_hyper() 481 u.ptr = virt_to_machine(ptr).maddr; in __xen_set_p4d_hyper() 1626 static unsigned long __init m2p(phys_addr_t maddr) in m2p() argument 1630 maddr &= XEN_PTE_MFN_MASK; in m2p() 1631 paddr = mfn_to_pfn(maddr >> PAGE_SHIFT) << PAGE_SHIFT; in m2p() 1637 static void * __init m2v(phys_addr_t maddr) in m2v() argument [all …]
|
/linux-6.12.1/kernel/ |
D | kexec_core.c | 712 unsigned long maddr; in kimage_load_normal_segment() local 724 maddr = segment->mem; in kimage_load_normal_segment() 726 result = kimage_set_destination(image, maddr); in kimage_load_normal_segment() 735 page = kimage_alloc_page(image, GFP_HIGHUSER, maddr); in kimage_load_normal_segment() 748 ptr += maddr & ~PAGE_MASK; in kimage_load_normal_segment() 750 PAGE_SIZE - (maddr & ~PAGE_MASK)); in kimage_load_normal_segment() 770 maddr += mchunk; in kimage_load_normal_segment() 787 unsigned long maddr; in kimage_load_crash_segment() local 800 maddr = segment->mem; in kimage_load_crash_segment() 806 page = boot_pfn_to_page(maddr >> PAGE_SHIFT); in kimage_load_crash_segment() [all …]
|
/linux-6.12.1/arch/sparc/include/asm/ |
D | cmpxchg_64.h | 72 unsigned long maddr = (unsigned long)m; in xchg16() local 75 unsigned int *ptr = (unsigned int *) (maddr & ~2); in xchg16() 133 unsigned long maddr = (unsigned long)m; in __cmpxchg_u8() local 136 unsigned int *ptr = (unsigned int *) (maddr & ~3); in __cmpxchg_u8()
|
/linux-6.12.1/arch/x86/include/asm/xen/ |
D | page.h | 21 phys_addr_t maddr; member 38 #define XMADDR(x) ((xmaddr_t) { .maddr = (x) }) 238 unsigned offset = machine.maddr & ~PAGE_MASK; in machine_to_phys() 239 return XPADDR(PFN_PHYS(mfn_to_pfn(PFN_DOWN(machine.maddr))) | offset); in machine_to_phys()
|
D | hypercall.h | 337 MULTI_update_descriptor(struct multicall_entry *mcl, u64 maddr, in MULTI_update_descriptor() argument 341 mcl->args[0] = maddr; in MULTI_update_descriptor()
|
/linux-6.12.1/tools/testing/selftests/net/ |
D | test_bridge_neigh_suppress.sh | 396 local maddr=$1; shift 404 …ss pref 1 handle 101 proto ipv6 flower indev swp1 ip_proto icmpv6 dst_ip $maddr src_ip $saddr type… 485 local maddr=ff02::1:ff00:2 487 neigh_suppress_ns_common $vid $saddr $daddr $maddr 492 maddr=ff02::1:ff00:2 494 neigh_suppress_ns_common $vid $saddr $daddr $maddr 635 local maddr=ff02::1:ff00:2 644 …ss pref 1 handle 101 proto ipv6 flower indev swp1 ip_proto icmpv6 dst_ip $maddr src_ip $saddr1 typ… 645 …ss pref 1 handle 102 proto ipv6 flower indev swp1 ip_proto icmpv6 dst_ip $maddr src_ip $saddr2 typ…
|
/linux-6.12.1/arch/loongarch/mm/ |
D | kasan_init.c | 50 unsigned long maddr = (unsigned long)addr; in kasan_mem_to_shadow() local 51 unsigned long xrange = (maddr >> XRANGE_SHIFT) & 0xffff; in kasan_mem_to_shadow() 54 if (maddr >= FIXADDR_START) in kasan_mem_to_shadow() 57 maddr &= XRANGE_SHADOW_MASK; in kasan_mem_to_shadow() 76 return (void *)((maddr >> KASAN_SHADOW_SCALE_SHIFT) + offset); in kasan_mem_to_shadow()
|
/linux-6.12.1/drivers/video/fbdev/ |
D | hitfb.c | 95 u32 maddr = 0; in hitfb_accel_bitblt() local 105 maddr = ((width >> 3) + 1) * (height + 1) - 1; in hitfb_accel_bitblt() 107 maddr = in hitfb_accel_bitblt() 133 maddr += mask_addr; in hitfb_accel_bitblt() 134 hitfb_writew(maddr & 0xffff, HD64461_BBTMARL); in hitfb_accel_bitblt() 135 hitfb_writew(maddr >> 16, HD64461_BBTMARH); in hitfb_accel_bitblt()
|
/linux-6.12.1/include/xen/arm/ |
D | page.h | 19 phys_addr_t maddr; member 27 #define XMADDR(x) ((xmaddr_t) { .maddr = (x) })
|
/linux-6.12.1/drivers/edac/ |
D | igen6_edac.c | 379 static u64 mem_addr_to_sys_addr(u64 maddr) in mem_addr_to_sys_addr() argument 381 if (maddr < igen6_tolud) in mem_addr_to_sys_addr() 382 return maddr; in mem_addr_to_sys_addr() 385 return maddr - igen6_tolud + _4GB; in mem_addr_to_sys_addr() 387 if (maddr < _4GB) in mem_addr_to_sys_addr() 388 return maddr - igen6_tolud + igen6_tom; in mem_addr_to_sys_addr() 390 return maddr; in mem_addr_to_sys_addr() 407 u64 maddr, hash, mask, ms_s_size; in tgl_err_addr_to_mem_addr() local 420 maddr = GET_BITFIELD(eaddr, intlv_bit, 63) << (intlv_bit + 1) | in tgl_err_addr_to_mem_addr() 423 hash = mem_slice_hash(maddr, mask, mc, intlv_bit); in tgl_err_addr_to_mem_addr() [all …]
|
/linux-6.12.1/arch/arm64/kernel/ |
D | mte.c | 410 void *maddr; in __access_remote_tags() local 437 maddr = page_address(page); in __access_remote_tags() 439 tags = mte_copy_tags_from_user(maddr + offset, buf, tags); in __access_remote_tags() 442 tags = mte_copy_tags_to_user(buf, maddr + offset, tags); in __access_remote_tags()
|
/linux-6.12.1/arch/arm64/kvm/ |
D | guest.c | 1055 void *maddr; in kvm_vm_ioctl_mte_copy_tags() local 1071 maddr = page_address(page); in kvm_vm_ioctl_mte_copy_tags() 1075 num_tags = mte_copy_tags_to_user(tags, maddr, in kvm_vm_ioctl_mte_copy_tags() 1089 num_tags = mte_copy_tags_from_user(maddr, tags, in kvm_vm_ioctl_mte_copy_tags() 1094 mte_clear_page_tags(maddr); in kvm_vm_ioctl_mte_copy_tags()
|
/linux-6.12.1/tools/testing/selftests/drivers/net/bonding/ |
D | bond_options.sh | 253 maddr_list=$(ip -n ${s_ns} maddr show dev eth${i}) 276 maddr_list=$(ip -n ${s_ns} maddr show dev eth${i})
|
/linux-6.12.1/drivers/net/ethernet/qlogic/qede/ |
D | qede.h | 445 #define BD_SET_UNMAP_ADDR_LEN(bd, maddr, len) \ argument 447 (bd)->addr.hi = cpu_to_le32(upper_32_bits(maddr)); \ 448 (bd)->addr.lo = cpu_to_le32(lower_32_bits(maddr)); \
|
/linux-6.12.1/drivers/net/ethernet/pasemi/ |
D | pasemi_mac.c | 175 const u8 *maddr; in pasemi_get_mac_addr() local 184 maddr = of_get_property(dn, "local-mac-address", &len); in pasemi_get_mac_addr() 186 if (maddr && len == ETH_ALEN) { in pasemi_get_mac_addr() 187 memcpy(mac->mac_addr, maddr, ETH_ALEN); in pasemi_get_mac_addr() 195 if (maddr == NULL) in pasemi_get_mac_addr() 196 maddr = of_get_property(dn, "mac-address", NULL); in pasemi_get_mac_addr() 198 if (maddr == NULL) { in pasemi_get_mac_addr() 204 if (!mac_pton(maddr, addr)) { in pasemi_get_mac_addr()
|