/openbmc/qemu/tcg/ |
H A D | tcg-op-ldst.c | 93 if (TCG_TARGET_REG_BITS == 64 || tcg_ctx->addr_type == TCG_TYPE_I32) { in gen_ldst() 140 if (tcg_ctx->addr_type == TCG_TYPE_I32) { in plugin_maybe_preserve_addr() 159 if (tcg_ctx->addr_type == TCG_TYPE_I32) { in plugin_gen_mem_callbacks() 248 if (tcg_ctx->addr_type == TCG_TYPE_I32) { in tcg_gen_qemu_ld_i32_int() 274 MemOp memop, TCGType addr_type) in tcg_gen_qemu_ld_i32_chk() argument 276 tcg_debug_assert(addr_type == tcg_ctx->addr_type); in tcg_gen_qemu_ld_i32_chk() 310 if (tcg_ctx->addr_type == TCG_TYPE_I32) { in tcg_gen_qemu_st_i32_int() 316 if (tcg_ctx->addr_type == TCG_TYPE_I32) { in tcg_gen_qemu_st_i32_int() 331 MemOp memop, TCGType addr_type) in tcg_gen_qemu_st_i32_chk() argument 333 tcg_debug_assert(addr_type == tcg_ctx->addr_type); in tcg_gen_qemu_st_i32_chk() [all …]
|
/openbmc/linux/net/core/ |
H A D | dev_addr_lists.c | 52 unsigned char addr_type, bool global, bool sync) in __hw_addr_create() argument 64 ha->type = addr_type; in __hw_addr_create() 75 unsigned char addr_type, bool global, bool sync, in __hw_addr_add_ex() argument 90 diff = memcmp(&addr_type, &ha->type, sizeof(addr_type)); in __hw_addr_add_ex() 118 ha = __hw_addr_create(addr, addr_len, addr_type, global, sync); in __hw_addr_add_ex() 133 unsigned char addr_type) in __hw_addr_add() argument 135 return __hw_addr_add_ex(list, addr, addr_len, addr_type, false, false, in __hw_addr_add() 168 unsigned char addr_type) in __hw_addr_lookup() argument 178 if (diff == 0 && addr_type) in __hw_addr_lookup() 179 diff = memcmp(&addr_type, &ha->type, sizeof(addr_type)); in __hw_addr_lookup() [all …]
|
/openbmc/linux/net/bluetooth/ |
H A D | msft.c | 85 __u8 addr_type; member 119 __u8 addr_type; member 212 (struct hci_dev *hdev, u8 addr_type, bdaddr_t *addr, in msft_find_address_data() argument 220 addr_type == entry->addr_type && in msft_find_address_data() 230 bdaddr_t *bdaddr, __u8 addr_type, in msft_monitor_device_del() argument 243 addr_type == dev->addr_type))) { in msft_monitor_device_del() 247 dev->addr_type); in msft_monitor_device_del() 790 __u8 addr_type, __u16 mgmt_handle) in msft_device_found() argument 802 dev->addr_type = addr_type; in msft_device_found() 813 __u8 addr_type, __u16 mgmt_handle) in msft_device_lost() argument [all …]
|
H A D | 6lowpan.c | 502 u8 addr_type; in bt_xmit() local 516 err = setup_header(skb, netdev, &addr, &addr_type); in bt_xmit() 525 netdev->name, &addr, addr_type, in bt_xmit() 952 static int get_l2cap_conn(char *buf, bdaddr_t *addr, u8 *addr_type, in get_l2cap_conn() argument 962 addr_type); in get_l2cap_conn() 973 hcon = hci_conn_hash_lookup_le(hdev, addr, *addr_type); in get_l2cap_conn() 1091 u8 addr_type; in lowpan_control_write() local 1100 ret = get_l2cap_conn(&buf[8], &addr, &addr_type, &conn); in lowpan_control_write() 1126 addr_type); in lowpan_control_write() 1129 ret = bt_6lowpan_connect(&addr, addr_type); in lowpan_control_write() [all …]
|
H A D | hci_core.c | 1157 u8 addr_type, u8 role) in hci_find_ltk() argument 1163 if (addr_type != k->bdaddr_type || bacmp(bdaddr, &k->bdaddr)) in hci_find_ltk() 1220 u8 addr_type) in hci_find_irk_by_addr() argument 1226 if (addr_type == ADDR_LE_DEV_RANDOM && (bdaddr->b[5] & 0xc0) != 0xc0) in hci_find_irk_by_addr() 1231 if (addr_type == irk->addr_type && in hci_find_irk_by_addr() 1300 u8 addr_type, u8 type, u8 authenticated, in hci_add_ltk() argument 1306 old_key = hci_find_ltk(hdev, bdaddr, addr_type, role); in hci_add_ltk() 1317 key->bdaddr_type = addr_type; in hci_add_ltk() 1329 u8 addr_type, u8 val[16], bdaddr_t *rpa) in hci_add_irk() argument 1333 irk = hci_find_irk_by_addr(hdev, bdaddr, addr_type); in hci_add_irk() [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | ipmi.h | 54 int addr_type; member 66 int addr_type; member 77 int addr_type; member 90 int addr_type; member 116 int addr_type; member
|
/openbmc/linux/net/ipv4/ |
H A D | netfilter.c | 20 …t ip_route_me_harder(struct net *net, struct sock *sk, struct sk_buff *skb, unsigned int addr_type) in ip_route_me_harder() argument 34 if (addr_type == RTN_UNSPEC) in ip_route_me_harder() 35 addr_type = inet_addr_type_dev_table(net, dev, saddr); in ip_route_me_harder() 36 if (addr_type == RTN_LOCAL || addr_type == RTN_UNICAST) in ip_route_me_harder()
|
/openbmc/linux/drivers/hwtracing/coresight/ |
H A D | coresight-etm3x-sysfs.c | 84 config->addr_type[i] = ETM_ADDR_TYPE_NONE; in reset_store() 320 if (!(config->addr_type[idx] == ETM_ADDR_TYPE_NONE || in addr_single_show() 321 config->addr_type[idx] == ETM_ADDR_TYPE_SINGLE)) { in addr_single_show() 348 if (!(config->addr_type[idx] == ETM_ADDR_TYPE_NONE || in addr_single_store() 349 config->addr_type[idx] == ETM_ADDR_TYPE_SINGLE)) { in addr_single_store() 355 config->addr_type[idx] = ETM_ADDR_TYPE_SINGLE; in addr_single_store() 376 if (!((config->addr_type[idx] == ETM_ADDR_TYPE_NONE && in addr_range_show() 377 config->addr_type[idx + 1] == ETM_ADDR_TYPE_NONE) || in addr_range_show() 378 (config->addr_type[idx] == ETM_ADDR_TYPE_RANGE && in addr_range_show() 379 config->addr_type[idx + 1] == ETM_ADDR_TYPE_RANGE))) { in addr_range_show() [all …]
|
H A D | coresight-etm4x-sysfs.c | 34 if (config->addr_type[idx] != ETM_ADDR_TYPE_RANGE || in etm4_set_mode_exclude() 35 config->addr_type[idx + 1] != ETM_ADDR_TYPE_RANGE) in etm4_set_mode_exclude() 253 config->addr_type[i] = ETM_ADDR_TYPE_NONE; in reset_store() 913 if (!(config->addr_type[idx] == ETM_ADDR_TYPE_NONE || in addr_single_show() 914 config->addr_type[idx] == ETM_ADDR_TYPE_SINGLE)) { in addr_single_show() 937 if (!(config->addr_type[idx] == ETM_ADDR_TYPE_NONE || in addr_single_store() 938 config->addr_type[idx] == ETM_ADDR_TYPE_SINGLE)) { in addr_single_store() 944 config->addr_type[idx] = ETM_ADDR_TYPE_SINGLE; in addr_single_store() 965 if (!((config->addr_type[idx] == ETM_ADDR_TYPE_NONE && in addr_range_show() 966 config->addr_type[idx + 1] == ETM_ADDR_TYPE_NONE) || in addr_range_show() [all …]
|
/openbmc/linux/drivers/net/ipvlan/ |
H A D | ipvlan_core.c | 357 int addr_type, bool use_dest) in ipvlan_addr_lookup() argument 361 switch (addr_type) { in ipvlan_addr_lookup() 597 int addr_type; in ipvlan_xmit_mode_l3() local 599 lyr3h = ipvlan_get_L3_hdr(ipvlan->port, skb, &addr_type); in ipvlan_xmit_mode_l3() 604 addr = ipvlan_addr_lookup(ipvlan->port, lyr3h, addr_type, true); in ipvlan_xmit_mode_l3() 625 int addr_type; in ipvlan_xmit_mode_l2() local 629 lyr3h = ipvlan_get_L3_hdr(ipvlan->port, skb, &addr_type); in ipvlan_xmit_mode_l2() 631 addr = ipvlan_addr_lookup(ipvlan->port, lyr3h, addr_type, true); in ipvlan_xmit_mode_l2() 697 int addr_type; in ipvlan_external_frame() local 700 lyr3h = ipvlan_get_L3_hdr(port, skb, &addr_type); in ipvlan_external_frame() [all …]
|
H A D | ipvlan_l3s.c | 18 int addr_type; in ipvlan_skb_to_addr() local 28 lyr3h = ipvlan_get_L3_hdr(port, skb, &addr_type); in ipvlan_skb_to_addr() 32 addr = ipvlan_addr_lookup(port, lyr3h, addr_type, true); in ipvlan_skb_to_addr()
|
/openbmc/ipmitool/src/plugins/open/ |
H A D | open.h | 49 int addr_type; member 82 int addr_type; member 88 int addr_type; member
|
/openbmc/linux/net/ipv6/netfilter/ |
H A D | ip6t_rpfilter.c | 22 int addr_type = ipv6_addr_type(addr); in rpfilter_addr_unicast() local 23 return addr_type & IPV6_ADDR_UNICAST; in rpfilter_addr_unicast() 28 int addr_type = ipv6_addr_type(addr); in rpfilter_addr_linklocal() local 29 return addr_type & IPV6_ADDR_LINKLOCAL; in rpfilter_addr_linklocal()
|
/openbmc/linux/net/rds/ |
H A D | bind.c | 192 int addr_type; in rds_bind() local 196 addr_type = ipv6_addr_type(&sin6->sin6_addr); in rds_bind() 197 if (!(addr_type & IPV6_ADDR_UNICAST)) { in rds_bind() 200 if (!(addr_type & IPV6_ADDR_MAPPED)) in rds_bind() 213 if (addr_type & IPV6_ADDR_LINKLOCAL) { in rds_bind()
|
/openbmc/linux/drivers/char/ipmi/ |
H A D | ipmi_poweroff.c | 188 smi_addr.addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE; in pps_poweroff_atca() 217 smi_addr.addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE; in ipmi_atca_detect() 252 smi_addr.addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE; in ipmi_poweroff_atca() 327 smi_addr.addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE; in ipmi_poweroff_cpi1() 366 ipmb_addr.addr_type = IPMI_IPMB_ADDR_TYPE; in ipmi_poweroff_cpi1() 474 smi_addr.addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE; in ipmi_poweroff_chassis() 578 smi_addr.addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE; in ipmi_po_new_smi()
|
/openbmc/linux/include/net/bluetooth/ |
H A D | hci_core.h | 213 u8 addr_type; member 282 __u8 addr_type; member 777 u8 addr_type; member 1699 bdaddr_t *addr, u8 addr_type); 1701 bdaddr_t *addr, u8 addr_type); 1702 void hci_conn_params_del(struct hci_dev *hdev, bdaddr_t *addr, u8 addr_type); 1711 u8 addr_type); 1721 u8 addr_type, u8 type, u8 authenticated, 1724 u8 addr_type, u8 role); 1731 u8 addr_type); [all …]
|
/openbmc/linux/net/l2tp/ |
H A D | l2tp_ip6.c | 267 int addr_type; in l2tp_ip6_bind() local 275 addr_type = ipv6_addr_type(&addr->l2tp_addr); in l2tp_ip6_bind() 278 if (addr_type == IPV6_ADDR_MAPPED) in l2tp_ip6_bind() 282 if (addr_type & IPV6_ADDR_MULTICAST) in l2tp_ip6_bind() 298 if (addr_type != IPV6_ADDR_ANY) { in l2tp_ip6_bind() 301 if (addr_type & IPV6_ADDR_LINKLOCAL) { in l2tp_ip6_bind() 365 int addr_type; in l2tp_ip6_connect() local 374 addr_type = ipv6_addr_type(&usin->sin6_addr); in l2tp_ip6_connect() 375 if (addr_type & IPV6_ADDR_MULTICAST) in l2tp_ip6_connect() 378 if (addr_type & IPV6_ADDR_MAPPED) { in l2tp_ip6_connect()
|
/openbmc/linux/net/netfilter/ |
H A D | xt_addrtype.c | 71 int addr_type = ipv6_addr_type(addr); in match_type6() local 74 !(addr_type & IPV6_ADDR_MULTICAST)) in match_type6() 76 if ((mask & XT_ADDRTYPE_UNICAST) && !(addr_type & IPV6_ADDR_UNICAST)) in match_type6() 78 if ((mask & XT_ADDRTYPE_UNSPEC) && addr_type != IPV6_ADDR_ANY) in match_type6()
|
/openbmc/linux/drivers/net/ethernet/mediatek/ |
H A D | mtk_ppe_offload.c | 251 u16 addr_type = 0; in mtk_flow_offload_replace() local 271 addr_type = match.key->addr_type; in mtk_flow_offload_replace() 285 switch (addr_type) { in mtk_flow_offload_replace() 377 if (addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in mtk_flow_offload_replace() 388 if (addr_type == FLOW_DISSECTOR_KEY_IPV6_ADDRS) { in mtk_flow_offload_replace() 425 if (addr_type == FLOW_DISSECTOR_KEY_IPV4_ADDRS) { in mtk_flow_offload_replace()
|
/openbmc/linux/net/ipv6/ |
H A D | ping.c | 67 int addr_type; in ping_v6_sendmsg() local 114 addr_type = ipv6_addr_type(daddr); in ping_v6_sendmsg() 115 if ((__ipv6_addr_needs_scope_id(addr_type) && !oif) || in ping_v6_sendmsg() 116 (addr_type & IPV6_ADDR_MAPPED) || in ping_v6_sendmsg()
|
H A D | af_inet6.c | 288 int addr_type = 0; in __inet6_bind() local 294 addr_type = ipv6_addr_type(&addr->sin6_addr); in __inet6_bind() 295 if ((addr_type & IPV6_ADDR_MULTICAST) && sk->sk_type == SOCK_STREAM) in __inet6_bind() 314 if (addr_type == IPV6_ADDR_MAPPED) { in __inet6_bind() 346 if (addr_type != IPV6_ADDR_ANY) { in __inet6_bind() 350 if (__ipv6_addr_needs_scope_id(addr_type)) { in __inet6_bind() 378 if (!(addr_type & IPV6_ADDR_MULTICAST)) { in __inet6_bind() 395 if (!(addr_type & IPV6_ADDR_MULTICAST)) in __inet6_bind() 399 if (addr_type != IPV6_ADDR_ANY && addr_type != IPV6_ADDR_MAPPED) in __inet6_bind() 423 if (addr_type != IPV6_ADDR_ANY) in __inet6_bind()
|
H A D | datagram.c | 150 int addr_type; in __ip6_datagram_connect() local 180 addr_type = ipv6_addr_type(&usin->sin6_addr); in __ip6_datagram_connect() 184 if (addr_type & IPV6_ADDR_MAPPED) { in __ip6_datagram_connect() 220 if (__ipv6_addr_needs_scope_id(addr_type)) { in __ip6_datagram_connect() 230 if (!sk->sk_bound_dev_if && (addr_type & IPV6_ADDR_MULTICAST)) in __ip6_datagram_connect() 773 int addr_type; in ip6_datagram_send_ctl() local 814 addr_type = __ipv6_addr_type(&src_info->ipi6_addr); in ip6_datagram_send_ctl() 823 } else if (addr_type & IPV6_ADDR_LINKLOCAL) { in ip6_datagram_send_ctl() 828 if (addr_type != IPV6_ADDR_ANY) { in ip6_datagram_send_ctl() 829 int strict = __ipv6_addr_src_scope(addr_type) <= IPV6_ADDR_SCOPE_LINKLOCAL; in ip6_datagram_send_ctl()
|
/openbmc/linux/include/net/ |
H A D | ieee802154_netdev.h | 26 IEEE802154_REQUIRED_SIZE(struct ieee802154_addr_sa, addr_type)) 271 switch (sa->addr_type) { in ieee802154_sockaddr_check_size() 292 a->mode = sa->addr_type; in ieee802154_addr_from_sa() 308 sa->addr_type = a->mode; in ieee802154_addr_to_sa()
|
H A D | inet_sock.h | 425 int addr_type) in inet_addr_valid_or_nonlocal() argument 429 addr_type == RTN_LOCAL || in inet_addr_valid_or_nonlocal() 430 addr_type == RTN_MULTICAST || in inet_addr_valid_or_nonlocal() 431 addr_type == RTN_BROADCAST; in inet_addr_valid_or_nonlocal()
|
/openbmc/linux/drivers/peci/ |
H A D | request.c | 361 __ep_mmio_read(struct peci_device *device, u8 bar, u8 addr_type, u8 seg, in __ep_mmio_read() argument 377 req->tx.buf[6] = addr_type; in __ep_mmio_read() 382 if (addr_type == PECI_ENDPTCFG_ADDR_TYPE_MMIO_D) in __ep_mmio_read() 471 #define __read_ep_mmio(x, y, addr_type, type1, type2) \ argument 475 return __ep_mmio_read(device, bar, addr_type, seg, bus, dev, func, \
|