Home
last modified time | relevance | path

Searched refs:iaddr (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.1.9/net/ipv6/ila/
Dila_common.c26 static __wsum get_csum_diff_iaddr(struct ila_addr *iaddr, struct ila_params *p) in get_csum_diff_iaddr() argument
32 (__be32 *)&iaddr->loc); in get_csum_diff_iaddr()
40 static void ila_csum_do_neutral_fmt(struct ila_addr *iaddr, in ila_csum_do_neutral_fmt() argument
43 __sum16 *adjust = (__force __sum16 *)&iaddr->ident.v16[3]; in ila_csum_do_neutral_fmt()
46 diff = get_csum_diff_iaddr(iaddr, p); in ila_csum_do_neutral_fmt()
48 fval = (__force __wsum)(ila_csum_neutral_set(iaddr->ident) ? in ila_csum_do_neutral_fmt()
60 iaddr->ident.csum_neutral ^= 1; in ila_csum_do_neutral_fmt()
63 static void ila_csum_do_neutral_nofmt(struct ila_addr *iaddr, in ila_csum_do_neutral_nofmt() argument
66 __sum16 *adjust = (__force __sum16 *)&iaddr->ident.v16[3]; in ila_csum_do_neutral_nofmt()
69 diff = get_csum_diff_iaddr(iaddr, p); in ila_csum_do_neutral_nofmt()
[all …]
Dila_lwt.c138 struct ila_addr *iaddr; in ila_build_state() local
157 iaddr = (struct ila_addr *)&cfg6->fc_dst; in ila_build_state()
174 eff_ident_type = iaddr->ident.type; in ila_build_state()
212 ila_csum_neutral_set(iaddr->ident)) { in ila_build_state()
241 p->locator_match = iaddr->loc; in ila_build_state()
Dila_xlat.c56 struct ila_addr *iaddr, int ifindex) in ila_cmp_wildcards() argument
127 static inline struct ila_map *ila_lookup_wildcards(struct ila_addr *iaddr, in ila_lookup_wildcards() argument
133 ila = rhashtable_lookup_fast(&ilan->xlat.rhash_table, &iaddr->loc, in ila_lookup_wildcards()
136 if (!ila_cmp_wildcards(ila, iaddr, ifindex)) in ila_lookup_wildcards()
641 struct ila_addr *iaddr = ila_a2i(&ip6h->daddr); in ila_xlat_addr() local
652 ila = ila_lookup_wildcards(iaddr, skb->dev->ifindex, ilan); in ila_xlat_addr()
/linux-6.1.9/include/net/
Dinetpeer.h73 static inline void inetpeer_set_addr_v4(struct inetpeer_addr *iaddr, __be32 ip) in inetpeer_set_addr_v4() argument
75 iaddr->a4.addr = ip; in inetpeer_set_addr_v4()
76 iaddr->a4.vif = 0; in inetpeer_set_addr_v4()
77 iaddr->family = AF_INET; in inetpeer_set_addr_v4()
80 static inline __be32 inetpeer_get_addr_v4(struct inetpeer_addr *iaddr) in inetpeer_get_addr_v4() argument
82 return iaddr->a4.addr; in inetpeer_get_addr_v4()
85 static inline void inetpeer_set_addr_v6(struct inetpeer_addr *iaddr, in inetpeer_set_addr_v6() argument
88 iaddr->a6 = *in6; in inetpeer_set_addr_v6()
89 iaddr->family = AF_INET6; in inetpeer_set_addr_v6()
92 static inline struct in6_addr *inetpeer_get_addr_v6(struct inetpeer_addr *iaddr) in inetpeer_get_addr_v6() argument
[all …]
/linux-6.1.9/fs/befs/
Dio.c27 befs_bread_iaddr(struct super_block *sb, befs_inode_addr iaddr) in befs_bread_iaddr() argument
34 "[%u, %hu, %hu]", __func__, iaddr.allocation_group, in befs_bread_iaddr()
35 iaddr.start, iaddr.len); in befs_bread_iaddr()
37 if (iaddr.allocation_group > befs_sb->num_ags) { in befs_bread_iaddr()
39 iaddr.allocation_group, befs_sb->num_ags); in befs_bread_iaddr()
43 block = iaddr2blockno(sb, &iaddr); in befs_bread_iaddr()
Dbefs.h123 iaddr2blockno(struct super_block *sb, const befs_inode_addr *iaddr) in iaddr2blockno() argument
125 return ((iaddr->allocation_group << BEFS_SB(sb)->ag_shift) + in iaddr2blockno()
126 iaddr->start); in iaddr2blockno()
132 befs_inode_addr iaddr; in blockno2iaddr() local
134 iaddr.allocation_group = blockno >> BEFS_SB(sb)->ag_shift; in blockno2iaddr()
135 iaddr.start = in blockno2iaddr()
136 blockno - (iaddr.allocation_group << BEFS_SB(sb)->ag_shift); in blockno2iaddr()
137 iaddr.len = 1; in blockno2iaddr()
139 return iaddr; in blockno2iaddr()
Dio.h6 befs_inode_addr iaddr);
/linux-6.1.9/drivers/misc/
Dphantom.c44 u32 __iomem *iaddr; member
68 iowrite32(PHN_CTL_IRQ, dev->iaddr + PHN_CONTROL); in phantom_status()
120 iowrite32(r.value, dev->iaddr + r.reg); in phantom_ioctl()
121 ioread32(dev->iaddr); /* PCI posting */ in phantom_ioctl()
141 ioread32(dev->iaddr); /* PCI posting */ in phantom_ioctl()
153 r.value = ioread32(dev->iaddr + r.reg); in phantom_ioctl()
171 rs.values[i] = ioread32(dev->iaddr + i); in phantom_ioctl()
289 ctl = ioread32(dev->iaddr + PHN_CONTROL); in phantom_isr()
295 iowrite32(0, dev->iaddr); in phantom_isr()
296 iowrite32(0xc0, dev->iaddr); in phantom_isr()
[all …]
/linux-6.1.9/drivers/net/ipvlan/
Dipvlan_core.c34 static u8 ipvlan_get_v6_hash(const void *iaddr) in ipvlan_get_v6_hash() argument
36 const struct in6_addr *ip6_addr = iaddr; in ipvlan_get_v6_hash()
42 static u8 ipvlan_get_v6_hash(const void *iaddr) in ipvlan_get_v6_hash() argument
48 static u8 ipvlan_get_v4_hash(const void *iaddr) in ipvlan_get_v4_hash() argument
50 const struct in_addr *ip4_addr = iaddr; in ipvlan_get_v4_hash()
56 static bool addr_equal(bool is_v6, struct ipvl_addr *addr, const void *iaddr) in addr_equal() argument
59 struct in_addr *i4addr = (struct in_addr *)iaddr; in addr_equal()
64 struct in6_addr *i6addr = (struct in6_addr *)iaddr; in addr_equal()
74 const void *iaddr, bool is_v6) in ipvlan_ht_addr_lookup() argument
79 hash = is_v6 ? ipvlan_get_v6_hash(iaddr) : in ipvlan_ht_addr_lookup()
[all …]
Dipvlan.h161 const void *iaddr, bool is_v6);
162 bool ipvlan_addr_busy(struct ipvl_port *port, void *iaddr, bool is_v6);
Dipvlan_main.c802 static int ipvlan_add_addr(struct ipvl_dev *ipvlan, void *iaddr, bool is_v6) in ipvlan_add_addr() argument
812 memcpy(&addr->ip4addr, iaddr, sizeof(struct in_addr)); in ipvlan_add_addr()
816 memcpy(&addr->ip6addr, iaddr, sizeof(struct in6_addr)); in ipvlan_add_addr()
832 static void ipvlan_del_addr(struct ipvl_dev *ipvlan, void *iaddr, bool is_v6) in ipvlan_del_addr() argument
837 addr = ipvlan_find_addr(ipvlan, iaddr, is_v6); in ipvlan_del_addr()
/linux-6.1.9/arch/x86/math-emu/
Dfpu_aux.c36 struct address *oaddr, *iaddr; in fpstate_init_soft() local
47 iaddr = (struct address *)&soft->fip; in fpstate_init_soft()
48 iaddr->offset = 0; in fpstate_init_soft()
49 iaddr->selector = 0; in fpstate_init_soft()
50 iaddr->opcode = 0; in fpstate_init_soft()
/linux-6.1.9/arch/arm/probes/
Ddecode-arm.c56 long iaddr = (long) regs->ARM_pc - 4; in simulate_bbl() local
60 regs->ARM_lr = iaddr + 4; in simulate_bbl()
62 regs->ARM_pc = iaddr + 8 + disp; in simulate_bbl()
68 long iaddr = (long) regs->ARM_pc - 4; in simulate_blx1() local
71 regs->ARM_lr = iaddr + 4; in simulate_blx1()
72 regs->ARM_pc = iaddr + 8 + disp + ((insn >> 23) & 0x2); in simulate_blx1()
/linux-6.1.9/arch/m68k/include/asm/
Dtraps.h210 unsigned long iaddr; /* instruction address */ member
237 unsigned long iaddr; /* instruction address */ member
/linux-6.1.9/tools/testing/selftests/net/
Dtimestamping.c332 struct in_addr iaddr; in main() local
429 inet_aton("224.0.1.130", &iaddr); /* alternate PTP domain 1 */ in main()
430 addr.sin_addr = iaddr; in main()
431 imr.imr_multiaddr.s_addr = iaddr.s_addr; in main()
/linux-6.1.9/tools/perf/util/
Dmem-events.h23 struct addr_map_symbol iaddr; member
Dhist.c170 if (h->mem_info->iaddr.ms.sym) { in hists__calc_col_len()
171 symlen = (int)h->mem_info->iaddr.ms.sym->namelen + 4 in hists__calc_col_len()
472 map__get(he->mem_info->iaddr.ms.map); in hist_entry__init()
521 map__put(he->mem_info->iaddr.ms.map); in hist_entry__init()
1313 map__zput(he->mem_info->iaddr.ms.map); in hist_entry__delete()
Dmem-events.c654 if (!mi->daddr.ms.map || !mi->iaddr.ms.map) { in c2c_decode_stats()
/linux-6.1.9/drivers/net/ethernet/i825xx/
Dsun3_82586.h219 unsigned char iaddr[6]; member
/linux-6.1.9/arch/m68k/kernel/
Dtraps.c862 pr_cont("instr addr=%08lx\n", fp->un.fmt2.iaddr); in show_registers()
893 pr_cont("instr addr=%08lx\n", fp->un.fmt9.iaddr); in show_registers()
1108 addr = (void __user *) fp->un.fmt2.iaddr; in trap_c()
1114 addr = (void __user *) fp->un.fmt9.iaddr; in trap_c()
/linux-6.1.9/drivers/mtd/nand/raw/
Dmeson_nand.c178 dma_addr_t iaddr; member
498 nfc->iaddr = dma_map_single(nfc->dev, infobuf, infolen, dir); in meson_nfc_dma_buffer_setup()
499 ret = dma_mapping_error(nfc->dev, nfc->iaddr); in meson_nfc_dma_buffer_setup()
506 cmd = GENCMDIADDRL(NFC_CMD_AIL, nfc->iaddr); in meson_nfc_dma_buffer_setup()
509 cmd = GENCMDIADDRH(NFC_CMD_AIH, nfc->iaddr); in meson_nfc_dma_buffer_setup()
524 dma_unmap_single(nfc->dev, nfc->iaddr, infolen, dir); in meson_nfc_dma_buffer_release()
/linux-6.1.9/tools/perf/Documentation/
Dperf-c2c.txt85 Following fields are available: tid,pid,iaddr,dso
293 iaddr - coalesced by code address, following fields are displayed:
297 By default the coalescing is setup with 'pid,iaddr'.
/linux-6.1.9/drivers/infiniband/hw/qib/
Dqib_sd7220.c1046 u64 __iomem *taddr, *iaddr; in qib_sd_setvals() local
1051 iaddr = dd->kregbase + kr_serdes_ddsrxeq0; in qib_sd_setvals()
1069 writeq(data, iaddr + idx); in qib_sd_setvals()
1097 writeq(rxeq_init_vals[idx].rdesc, iaddr + didx); in qib_sd_setvals()
/linux-6.1.9/drivers/net/wireless/ath/ath11k/
Dqmi.h106 void __iomem *iaddr; member
Dqmi.c1960 ab->qmi.target_mem[i].iaddr) in ath11k_qmi_free_target_mem_chunk()
1961 iounmap(ab->qmi.target_mem[i].iaddr); in ath11k_qmi_free_target_mem_chunk()
2058 ab->qmi.target_mem[idx].iaddr = in ath11k_qmi_assign_target_mem_chunk()
2083 ab->qmi.target_mem[idx].iaddr = in ath11k_qmi_assign_target_mem_chunk()

12