Home
last modified time | relevance | path

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

12

/Linux-v5.10/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()
637 struct ila_addr *iaddr = ila_a2i(&ip6h->daddr); in ila_xlat_addr() local
648 ila = ila_lookup_wildcards(iaddr, skb->dev->ifindex, ilan); in ila_xlat_addr()
/Linux-v5.10/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-v5.10/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-v5.10/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-v5.10/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.h160 const void *iaddr, bool is_v6);
161 bool ipvlan_addr_busy(struct ipvl_port *port, void *iaddr, bool is_v6);
Dipvlan_main.c800 static int ipvlan_add_addr(struct ipvl_dev *ipvlan, void *iaddr, bool is_v6) in ipvlan_add_addr() argument
810 memcpy(&addr->ip4addr, iaddr, sizeof(struct in_addr)); in ipvlan_add_addr()
814 memcpy(&addr->ip6addr, iaddr, sizeof(struct in6_addr)); in ipvlan_add_addr()
830 static void ipvlan_del_addr(struct ipvl_dev *ipvlan, void *iaddr, bool is_v6) in ipvlan_del_addr() argument
835 addr = ipvlan_find_addr(ipvlan, iaddr, is_v6); in ipvlan_del_addr()
/Linux-v5.10/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-v5.10/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-v5.10/arch/m68k/include/asm/
Dtraps.h210 unsigned long iaddr; /* instruction address */ member
237 unsigned long iaddr; /* instruction address */ member
/Linux-v5.10/tools/testing/selftests/net/
Dtimestamping.c312 struct in_addr iaddr; in main() local
396 inet_aton("224.0.1.130", &iaddr); /* alternate PTP domain 1 */ in main()
397 addr.sin_addr = iaddr; in main()
398 imr.imr_multiaddr.s_addr = iaddr.s_addr; in main()
/Linux-v5.10/tools/perf/util/
Dmem-events.h22 struct addr_map_symbol iaddr; member
Dhist.c168 if (h->mem_info->iaddr.ms.sym) { in hists__calc_col_len()
169 symlen = (int)h->mem_info->iaddr.ms.sym->namelen + 4 in hists__calc_col_len()
463 map__get(he->mem_info->iaddr.ms.map); in hist_entry__init()
512 map__put(he->mem_info->iaddr.ms.map); in hist_entry__init()
1302 map__zput(he->mem_info->iaddr.ms.map); in hist_entry__delete()
Dmem-events.c428 if (!mi->daddr.ms.map || !mi->iaddr.ms.map) { in c2c_decode_stats()
Dsort.c1078 l = left->mem_info->iaddr.addr; in sort__iaddr_cmp()
1080 r = right->mem_info->iaddr.addr; in sort__iaddr_cmp()
1092 addr = he->mem_info->iaddr.addr; in hist_entry__iaddr_snprintf()
1093 ms = &he->mem_info->iaddr.ms; in hist_entry__iaddr_snprintf()
/Linux-v5.10/drivers/net/ethernet/i825xx/
Dsun3_82586.h219 unsigned char iaddr[6]; member
/Linux-v5.10/tools/perf/Documentation/
Dperf-c2c.txt83 Following fields are available: tid,pid,iaddr,dso
268 iaddr - coalesced by code address, following fields are displayed:
272 By default the coalescing is setup with 'pid,iaddr'.
/Linux-v5.10/drivers/mtd/nand/raw/
Dmeson_nand.c174 dma_addr_t iaddr; member
494 nfc->iaddr = dma_map_single(nfc->dev, infobuf, infolen, dir); in meson_nfc_dma_buffer_setup()
495 ret = dma_mapping_error(nfc->dev, nfc->iaddr); in meson_nfc_dma_buffer_setup()
502 cmd = GENCMDIADDRL(NFC_CMD_AIL, nfc->iaddr); in meson_nfc_dma_buffer_setup()
505 cmd = GENCMDIADDRH(NFC_CMD_AIH, nfc->iaddr); in meson_nfc_dma_buffer_setup()
520 dma_unmap_single(nfc->dev, nfc->iaddr, infolen, dir); in meson_nfc_dma_buffer_release()
/Linux-v5.10/arch/m68k/kernel/
Dtraps.c866 pr_cont("instr addr=%08lx\n", fp->un.fmt2.iaddr); in show_registers()
897 pr_cont("instr addr=%08lx\n", fp->un.fmt9.iaddr); in show_registers()
1112 addr = (void __user *) fp->un.fmt2.iaddr; in trap_c()
1118 addr = (void __user *) fp->un.fmt9.iaddr; in trap_c()
/Linux-v5.10/drivers/infiniband/hw/qib/
Dqib_sd7220.c1047 u64 __iomem *taddr, *iaddr; in qib_sd_setvals() local
1052 iaddr = dd->kregbase + kr_serdes_ddsrxeq0; in qib_sd_setvals()
1070 writeq(data, iaddr + idx); in qib_sd_setvals()
1098 writeq(rxeq_init_vals[idx].rdesc, iaddr + didx); in qib_sd_setvals()
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dinit.c934 u8 iaddr = nvbios_rd08(bios, init->offset + 0); in init_idx_addr_latched() local
937 trace("\t[0x%02x] = 0x%02x\n", iaddr, idata); in init_idx_addr_latched()
941 init_mask(init, creg, ~mask, data | iaddr); in init_idx_addr_latched()

12