Home
last modified time | relevance | path

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

/linux/net/ipv6/ila/
H A 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 …]
H A Dila_lwt.c143 struct ila_addr *iaddr; in ila_build_state()
162 iaddr = (struct ila_addr *)&cfg6->fc_dst; in ila_build_state()
179 eff_ident_type = iaddr->ident.type; in ila_build_state()
217 ila_csum_neutral_set(iaddr->ident)) { in ila_build_state()
246 p->locator_match = iaddr->loc; in ila_build_state()
138 struct ila_addr *iaddr; ila_build_state() local
H A Dila_xlat.c55 struct ila_addr *iaddr, int ifindex) in ila_cmp_wildcards() argument
121 static inline struct ila_map *ila_lookup_wildcards(struct ila_addr *iaddr, in ila_lookup_wildcards() argument
127 ila = rhashtable_lookup_fast(&ilan->xlat.rhash_table, &iaddr->loc, in ila_lookup_wildcards()
130 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/include/net/
H A 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/fs/befs/
H A 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()
H A 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()
H A Dio.h6 befs_inode_addr iaddr);
/linux/drivers/misc/
H A Dphantom.c47 u32 __iomem *iaddr; member
71 iowrite32(PHN_CTL_IRQ, dev->iaddr + PHN_CONTROL); in phantom_status()
123 iowrite32(r.value, dev->iaddr + r.reg); in phantom_ioctl()
124 ioread32(dev->iaddr); /* PCI posting */ in phantom_ioctl()
144 ioread32(dev->iaddr); /* PCI posting */ in phantom_ioctl()
156 r.value = ioread32(dev->iaddr + r.reg); in phantom_ioctl()
174 rs.values[i] = ioread32(dev->iaddr + i); in phantom_ioctl()
291 ctl = ioread32(dev->iaddr + PHN_CONTROL); in phantom_isr()
297 iowrite32(0, dev->iaddr); in phantom_isr()
298 iowrite32(0xc0, dev->iaddr); in phantom_isr()
[all …]
/linux/drivers/net/ipvlan/
H A Dipvlan_core.c37 static u8 ipvlan_get_v6_hash(const void *iaddr) in ipvlan_get_v6_hash() argument
39 const struct in6_addr *ip6_addr = iaddr; in ipvlan_get_v6_hash()
45 static u8 ipvlan_get_v6_hash(const void *iaddr) in ipvlan_get_v6_hash() argument
51 static u8 ipvlan_get_v4_hash(const void *iaddr) in ipvlan_get_v4_hash() argument
53 const struct in_addr *ip4_addr = iaddr; in ipvlan_get_v4_hash()
59 static bool addr_equal(bool is_v6, struct ipvl_addr *addr, const void *iaddr) in addr_equal() argument
62 struct in_addr *i4addr = (struct in_addr *)iaddr; in addr_equal()
67 struct in6_addr *i6addr = (struct in6_addr *)iaddr; in addr_equal()
77 const void *iaddr, bool is_v6) in ipvlan_ht_addr_lookup() argument
82 hash = is_v6 ? ipvlan_get_v6_hash(iaddr) : in ipvlan_ht_addr_lookup()
[all …]
H A Dipvlan.h161 const void *iaddr, bool is_v6);
162 bool ipvlan_addr_busy(struct ipvl_port *port, void *iaddr, bool is_v6);
H A Dipvlan_main.c807 static int ipvlan_add_addr(struct ipvl_dev *ipvlan, void *iaddr, bool is_v6) in ipvlan_add_addr() argument
817 memcpy(&addr->ip4addr, iaddr, sizeof(struct in_addr)); in ipvlan_add_addr()
821 memcpy(&addr->ip6addr, iaddr, sizeof(struct in6_addr)); in ipvlan_add_addr()
837 static void ipvlan_del_addr(struct ipvl_dev *ipvlan, void *iaddr, bool is_v6) in ipvlan_del_addr() argument
842 addr = ipvlan_find_addr(ipvlan, iaddr, is_v6); in ipvlan_del_addr()
/linux/arch/x86/math-emu/
H A 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/arch/arm/probes/
H A 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/tools/perf/util/
H A Dmem-info.h11 struct addr_map_symbol iaddr; in DECLARE_RC_STRUCT() local
32 return &RC_CHK_ACCESS(mi)->iaddr; in mem_info__iaddr()
/linux/arch/m68k/include/asm/
H A Dtraps.h210 unsigned long iaddr; /* instruction address */ member
237 unsigned long iaddr; /* instruction address */ member
/linux/tools/testing/selftests/net/
H A 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/drivers/net/ethernet/i825xx/
H A Dsun3_82586.h220 unsigned char iaddr[6]; member
H A Dsun3_82586.c464 memcpy((char *)&ias_cmd->iaddr,(const char *) dev->dev_addr,ETH_ALEN); in init586()
/linux/drivers/mtd/nand/raw/
H A Dmeson_nand.c192 dma_addr_t iaddr; member
610 nfc->iaddr = dma_map_single(nfc->dev, infobuf, infolen, dir); in meson_nfc_dma_buffer_setup()
611 ret = dma_mapping_error(nfc->dev, nfc->iaddr); in meson_nfc_dma_buffer_setup()
619 cmd = GENCMDIADDRL(NFC_CMD_AIL, nfc->iaddr); in meson_nfc_dma_buffer_setup()
622 cmd = GENCMDIADDRH(NFC_CMD_AIH, nfc->iaddr); in meson_nfc_dma_buffer_setup()
637 dma_unmap_single(nfc->dev, nfc->iaddr, infolen, dir); in meson_nfc_dma_buffer_release()
821 dma_sync_single_for_cpu(nfc->dev, nfc->iaddr, nfc->info_bytes, in meson_nfc_check_ecc_pages_valid()
/linux/drivers/infiniband/hw/qib/
H A 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/tools/perf/Documentation/
H A Dperf-c2c.txt89 Following fields are available: tid,pid,iaddr,dso
303 iaddr - coalesced by code address, following fields are displayed:
307 By default the coalescing is setup with 'pid,iaddr'.
/linux/drivers/net/wireless/ath/ath11k/
H A Dqmi.h106 void __iomem *iaddr; member
H A 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()
2061 if (!ab->qmi.target_mem[idx].iaddr) in ath11k_qmi_assign_target_mem_chunk()
2086 ab->qmi.target_mem[idx].iaddr = in ath11k_qmi_assign_target_mem_chunk()
2089 if (!ab->qmi.target_mem[idx].iaddr) in ath11k_qmi_assign_target_mem_chunk()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A 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()