/linux-4.1.27/drivers/infiniband/ulp/ipoib/ |
D | ipoib_vlan.c | 53 u16 pkey, int type) in __ipoib_vlan_add() argument 68 priv->pkey = pkey; in __ipoib_vlan_add() 71 priv->dev->broadcast[8] = pkey >> 8; in __ipoib_vlan_add() 72 priv->dev->broadcast[9] = pkey & 0xff; in __ipoib_vlan_add() 120 int ipoib_vlan_add(struct net_device *pdev, unsigned short pkey) in ipoib_vlan_add() argument 133 ppriv->dev->name, pkey); in ipoib_vlan_add() 148 if (ppriv->pkey == pkey) { in ipoib_vlan_add() 154 if (tpriv->pkey == pkey && in ipoib_vlan_add() 161 result = __ipoib_vlan_add(ppriv, priv, pkey, IPOIB_LEGACY_CHILD); in ipoib_vlan_add() 174 int ipoib_vlan_delete(struct net_device *pdev, unsigned short pkey) in ipoib_vlan_delete() argument [all …]
|
D | ipoib_main.c | 548 path->pathrec.pkey = cpu_to_be16(priv->pkey); in path_rec_create() 745 cb->hwaddr[8] = (priv->pkey >> 8) & 0xff; in ipoib_start_xmit() 746 cb->hwaddr[9] = priv->pkey & 0xff; in ipoib_start_xmit() 1439 return sprintf(buf, "0x%04x\n", priv->pkey); in show_pkey() 1441 static DEVICE_ATTR(pkey, S_IRUGO, show_pkey, NULL); 1484 int pkey; in create_child() local 1487 if (sscanf(buf, "%i", &pkey) != 1) in create_child() 1490 if (pkey <= 0 || pkey > 0xffff || pkey == 0x8000) in create_child() 1497 pkey |= 0x8000; in create_child() 1499 ret = ipoib_vlan_add(to_net_dev(dev), pkey); in create_child() [all …]
|
D | ipoib_ib.c | 700 ipoib_warn(priv, "P_Key 0x%04x is %s\n", priv->pkey, in ipoib_ib_dev_open() 701 (!(priv->pkey & 0x7fff) ? "Invalid" : "not found")); in ipoib_ib_dev_open() 742 if (!(priv->pkey & 0x7fff) || in ipoib_pkey_dev_check_presence() 743 ib_find_pkey(priv->ca, priv->port, priv->pkey, in ipoib_pkey_dev_check_presence() 947 prev_pkey = priv->pkey; in update_parent_pkey() 948 result = ib_query_pkey(priv->ca, priv->port, 0, &priv->pkey); in update_parent_pkey() 955 priv->pkey |= 0x8000; in update_parent_pkey() 957 if (prev_pkey != priv->pkey) { in update_parent_pkey() 959 prev_pkey, priv->pkey); in update_parent_pkey() 964 priv->dev->broadcast[8] = priv->pkey >> 8; in update_parent_pkey() [all …]
|
D | ipoib_netlink.c | 50 if (nla_put_u16(skb, IFLA_IPOIB_PKEY, priv->pkey)) in ipoib_fill_info() 119 child_pkey = ppriv->pkey; in ipoib_new_child_link()
|
D | ipoib.h | 342 u16 pkey; member 533 int ipoib_vlan_add(struct net_device *pdev, unsigned short pkey); 534 int ipoib_vlan_delete(struct net_device *pdev, unsigned short pkey); 537 u16 pkey, int child_type);
|
D | ipoib_verbs.c | 45 if (ib_find_pkey(priv->ca, priv->port, priv->pkey, &pkey_index)) { in ipoib_mcast_attach()
|
D | ipoib_multicast.c | 466 rec.pkey = cpu_to_be16(priv->pkey); in ipoib_mcast_join()
|
D | ipoib_cm.c | 1092 ret = ib_find_pkey(priv->ca, priv->port, priv->pkey, &qp_attr.pkey_index); in ipoib_cm_modify_tx_init() 1094 ipoib_warn(priv, "pkey 0x%x not found: %d\n", priv->pkey, ret); in ipoib_cm_modify_tx_init()
|
/linux-4.1.27/include/net/ |
D | neighbour.h | 194 __u32 (*hash)(const void *pkey, 197 bool (*key_eq)(const struct neighbour *, const void *pkey); 250 static inline bool neigh_key_eq16(const struct neighbour *n, const void *pkey) in neigh_key_eq16() argument 252 return *(const u16 *)n->primary_key == *(const u16 *)pkey; in neigh_key_eq16() 255 static inline bool neigh_key_eq32(const struct neighbour *n, const void *pkey) in neigh_key_eq32() argument 257 return *(const u32 *)n->primary_key == *(const u32 *)pkey; in neigh_key_eq32() 260 static inline bool neigh_key_eq128(const struct neighbour *n, const void *pkey) in neigh_key_eq128() argument 263 const u32 *p32 = pkey; in neigh_key_eq128() 271 bool (*key_eq)(const struct neighbour *n, const void *pkey), in ___neigh_lookup_noref() argument 272 __u32 (*hash)(const void *pkey, in ___neigh_lookup_noref() argument [all …]
|
D | ndisc.h | 147 static inline u32 ndisc_hashfn(const void *pkey, const struct net_device *dev, __u32 *hash_rnd) in ndisc_hashfn() argument 149 const u32 *p32 = pkey; in ndisc_hashfn() 157 static inline struct neighbour *__ipv6_neigh_lookup_noref(struct net_device *dev, const void *pkey) in __ipv6_neigh_lookup_noref() argument 159 return ___neigh_lookup_noref(&nd_tbl, neigh_key_eq128, ndisc_hashfn, pkey, dev); in __ipv6_neigh_lookup_noref() 162 static inline struct neighbour *__ipv6_neigh_lookup(struct net_device *dev, const void *pkey) in __ipv6_neigh_lookup() argument 167 n = __ipv6_neigh_lookup_noref(dev, pkey); in __ipv6_neigh_lookup()
|
D | arp.h | 12 static inline u32 arp_hashfn(const void *pkey, const struct net_device *dev, u32 *hash_rnd) in arp_hashfn() argument 14 u32 key = *(const u32 *)pkey; in arp_hashfn()
|
/linux-4.1.27/lib/ |
D | digsig.c | 81 MPI in = NULL, res = NULL, pkey[2]; in digsig_verify_rsa() local 110 pkey[i] = mpi_read_from_buffer(datap, &remaining); in digsig_verify_rsa() 111 if (!pkey[i]) in digsig_verify_rsa() 116 mblen = mpi_get_nbits(pkey[0]); in digsig_verify_rsa() 135 err = mpi_powm(res, in, pkey[1], pkey[0]); in digsig_verify_rsa() 167 mpi_free(pkey[i]); in digsig_verify_rsa()
|
/linux-4.1.27/include/rdma/ |
D | ib_cache.h | 85 u16 *pkey); 100 u16 pkey, 116 u16 pkey,
|
D | ib_addr.h | 122 static inline void ib_addr_set_pkey(struct rdma_dev_addr *dev_addr, u16 pkey) in ib_addr_set_pkey() argument 124 dev_addr->broadcast[8] = pkey >> 8; in ib_addr_set_pkey() 125 dev_addr->broadcast[9] = (unsigned char) pkey; in ib_addr_set_pkey()
|
D | ib_sa.h | 147 __be16 pkey; member 189 __be16 pkey; member 246 __be16 pkey; member
|
D | ib_pack.h | 205 __be16 pkey; member
|
D | ib_cm.h | 227 u16 pkey; member
|
D | ib_verbs.h | 1510 u8 port_num, u16 index, u16 *pkey); 1750 u8 port_num, u16 index, u16 *pkey); 1764 u8 port_num, u16 pkey, u16 *index);
|
/linux-4.1.27/drivers/infiniband/core/ |
D | uverbs_marshall.c | 108 dst->pkey = src->pkey; in ib_copy_path_rec_to_user() 134 dst->pkey = src->pkey; in ib_copy_path_rec_from_user()
|
D | cache.c | 137 u16 *pkey) in ib_get_cached_pkey() argument 153 *pkey = cache->table[index]; in ib_get_cached_pkey() 163 u16 pkey, in ib_find_cached_pkey() argument 182 if ((cache->table[i] & 0x7fff) == (pkey & 0x7fff)) { in ib_find_cached_pkey() 204 u16 pkey, in ib_find_exact_cached_pkey() argument 222 if (cache->table[i] == pkey) { in ib_find_exact_cached_pkey()
|
D | device.c | 611 u8 port_num, u16 index, u16 *pkey) in ib_query_pkey() argument 613 return device->query_pkey(device, port_num, index, pkey); in ib_query_pkey() 706 u8 port_num, u16 pkey, u16 *index) in ib_find_pkey() argument 716 if ((pkey & 0x7fff) == (tmp_pkey & 0x7fff)) { in ib_find_pkey()
|
D | cm.c | 232 __be16 pkey; member 374 be16_to_cpu(path->pkey), &av->pkey_index); in cm_init_av_by_path() 1030 req_msg->pkey = param->primary_path->pkey; in cm_format_req() 1106 (param->alternate_path->pkey != param->primary_path->pkey || in cm_validate_req_param() 1162 cm_id_priv->pkey = param->primary_path->pkey; in ib_send_cm_req() 1252 primary_path->pkey = req_msg->pkey; in cm_format_paths_from_req() 1273 alt_path->pkey = req_msg->pkey; in cm_format_paths_from_req() 1596 cm_id_priv->pkey = req_msg->pkey; in cm_req_handler() 2679 path->pkey = cm_id_priv->pkey; in cm_format_path_from_lap() 2918 sidr_req_msg->pkey = param->path->pkey; in cm_format_sidr_req() [all …]
|
D | cma.c | 428 u16 pkey, index; in cma_resolve_ib_dev() local 435 pkey = ntohs(addr->sib_pkey); in cma_resolve_ib_dev() 442 if (ib_find_cached_pkey(cur_dev->device, p, pkey, &index)) in cma_resolve_ib_dev() 701 u16 pkey; in cma_ib_init_qp_attr() local 705 pkey = ib_addr_get_pkey(dev_addr); in cma_ib_init_qp_attr() 707 pkey = 0xffff; in cma_ib_init_qp_attr() 710 pkey, &qp_attr->pkey_index); in cma_ib_init_qp_attr() 849 ib->sib_pkey = path->pkey; in cma_save_ib_info() 864 ib->sib_pkey = path->pkey; in cma_save_ib_info() 1230 ib_addr_set_pkey(&rt->addr.dev_addr, be16_to_cpu(rt->path_rec[0].pkey)); in cma_new_conn_id() [all …]
|
D | multicast.c | 302 if (comp_mask & IB_SA_MCMEMBER_REC_PKEY && src->pkey != dst->pkey) in cmp_rec() 402 be16_to_cpu(group->rec.pkey), &pkey_index); in process_group_error() 530 be16_to_cpu(rec->pkey), &pkey_index); in join_handler()
|
D | sysfs.c | 304 u16 pkey; in show_port_pkey() local 307 ret = ib_query_pkey(p->ibdev, p->port_num, tab_attr->index, &pkey); in show_port_pkey() 311 return sprintf(buf, "0x%04x\n", pkey); in show_port_pkey()
|
D | ucma.c | 640 resp->ib_route[0].pkey = cpu_to_be16(ib_addr_get_pkey(dev_addr)); in ucma_copy_ib_route() 666 resp->ib_route[0].pkey = cpu_to_be16(0xffff); in ucma_copy_iboe_route() 763 resp->pkey = (__force __u16) cpu_to_be16( in ucma_query_device_addr() 847 addr->sib_pkey = (__force __be16) resp.pkey; in ucma_query_gid() 860 addr->sib_pkey = (__force __be16) resp.pkey; in ucma_query_gid()
|
D | cm_msgs.h | 74 __be16 pkey; member 800 __be16 pkey; member
|
D | sa_query.c | 178 { PATH_REC_FIELD(pkey), 258 { MCMEMBER_REC_FIELD(pkey), 322 { SERVICE_REC_FIELD(pkey),
|
D | ud_header.c | 175 { STRUCT_FIELD(bth, pkey),
|
D | ucm.c | 307 uvt->resp.u.sidr_req_resp.pkey = in ib_ucm_event_process() 308 evt->param.sidr_req_rcvd.pkey; in ib_ucm_event_process()
|
/linux-4.1.27/include/uapi/rdma/ |
D | ib_user_sa.h | 63 __be16 pkey; member
|
D | rdma_user_cm.h | 164 __u16 pkey; member
|
D | ib_user_cm.h | 287 __u16 pkey; member
|
/linux-4.1.27/net/core/ |
D | neighbour.c | 396 struct neighbour *neigh_lookup(struct neigh_table *tbl, const void *pkey, in neigh_lookup() argument 404 n = __neigh_lookup_noref(tbl, pkey, dev); in neigh_lookup() 417 const void *pkey) in neigh_lookup_nodev() argument 428 hash_val = tbl->hash(pkey, NULL, nht->hash_rnd) >> (32 - nht->hash_shift); in neigh_lookup_nodev() 433 if (!memcmp(n->primary_key, pkey, key_len) && in neigh_lookup_nodev() 447 struct neighbour *__neigh_create(struct neigh_table *tbl, const void *pkey, in __neigh_create() argument 461 memcpy(n->primary_key, pkey, key_len); in __neigh_create() 495 hash_val = tbl->hash(pkey, dev, nht->hash_rnd) >> (32 - nht->hash_shift); in __neigh_create() 507 if (dev == n1->dev && !memcmp(n1->primary_key, pkey, key_len)) { in __neigh_create() 535 static u32 pneigh_hash(const void *pkey, int key_len) in pneigh_hash() argument [all …]
|
/linux-4.1.27/net/decnet/ |
D | dn_neigh.c | 65 static u32 dn_neigh_hash(const void *pkey, in dn_neigh_hash() argument 69 return jhash_2words(*(__u16 *)pkey, 0, hash_rnd[0]); in dn_neigh_hash() 72 static bool dn_key_eq(const struct neighbour *neigh, const void *pkey) in dn_key_eq() argument 74 return neigh_key_eq16(neigh, pkey); in dn_key_eq()
|
/linux-4.1.27/net/ipv4/ |
D | fib_trie.c | 1355 t_key pkey = pn->key; in fib_table_lookup() local 1368 cindex = get_index(pkey, pn); in fib_table_lookup() 1569 t_key pkey = pn->key; in leaf_walk_rcu() local 1572 cindex = get_index(pkey, pn) + 1; in leaf_walk_rcu() 1611 t_key pkey = pn->key; in fib_trie_free() local 1623 cindex = get_index(pkey, pn); in fib_trie_free() 1727 t_key pkey = pn->key; in fib_table_flush_external() local 1735 cindex = get_index(pkey, pn); in fib_table_flush_external() 1803 t_key pkey = pn->key; in fib_table_flush() local 1811 cindex = get_index(pkey, pn); in fib_table_flush() [all …]
|
D | arp.c | 124 static u32 arp_hash(const void *pkey, const struct net_device *dev, __u32 *hash_rnd); 125 static bool arp_key_eq(const struct neighbour *n, const void *pkey); 210 static u32 arp_hash(const void *pkey, in arp_hash() argument 214 return arp_hashfn(pkey, dev, hash_rnd); in arp_hash() 217 static bool arp_key_eq(const struct neighbour *neigh, const void *pkey) in arp_key_eq() argument 219 return neigh_key_eq32(neigh, pkey); in arp_key_eq()
|
D | route.c | 444 const __be32 *pkey = daddr; in ipv4_neigh_lookup() local 450 pkey = (const __be32 *) &rt->rt_gateway; in ipv4_neigh_lookup() 452 pkey = &ip_hdr(skb)->daddr; in ipv4_neigh_lookup() 454 n = __ipv4_neigh_lookup(dev, *(__force u32 *)pkey); in ipv4_neigh_lookup() 457 return neigh_create(&arp_tbl, pkey, dev); in ipv4_neigh_lookup()
|
/linux-4.1.27/drivers/infiniband/hw/usnic/ |
D | usnic_ib_verbs.h | 36 u16 *pkey);
|
D | usnic_ib_verbs.c | 409 u16 *pkey) in usnic_ib_query_pkey() argument 414 *pkey = 0xffff; in usnic_ib_query_pkey()
|
/linux-4.1.27/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.h | 47 int ocrdma_query_pkey(struct ib_device *, u8 port, u16 index, u16 *pkey);
|
D | ocrdma_verbs.c | 40 int ocrdma_query_pkey(struct ib_device *ibdev, u8 port, u16 index, u16 *pkey) in ocrdma_query_pkey() argument 45 *pkey = 0xffff; in ocrdma_query_pkey()
|
/linux-4.1.27/net/ipv6/ |
D | ndisc.c | 84 static u32 ndisc_hash(const void *pkey, 87 static bool ndisc_key_eq(const struct neighbour *neigh, const void *pkey); 293 static u32 ndisc_hash(const void *pkey, in ndisc_hash() argument 297 return ndisc_hashfn(pkey, dev, hash_rnd); in ndisc_hash() 300 static bool ndisc_key_eq(const struct neighbour *n, const void *pkey) in ndisc_key_eq() argument 302 return neigh_key_eq128(n, pkey); in ndisc_key_eq() 687 static int pndisc_is_router(const void *pkey, in pndisc_is_router() argument 694 n = __pneigh_lookup(&nd_tbl, dev_net(dev), pkey, dev); in pndisc_is_router()
|
/linux-4.1.27/drivers/infiniband/ulp/srp/ |
D | ib_srp.h | 215 __be16 pkey; member
|
D | ib_srp.c | 271 be16_to_cpu(target->pkey), in srp_init_qp() 307 ch->path.pkey = target->pkey; in srp_new_cm_id() 2266 ch->path.pkey = cpi->redirect_pkey; in srp_cm_rej_handler() 2588 return sprintf(buf, "0x%04x\n", be16_to_cpu(target->pkey)); in show_pkey() 2697 static DEVICE_ATTR(pkey, S_IRUGO, show_pkey, NULL); 2992 target->pkey = cpu_to_be16(token); in srp_parse_options() 3298 be16_to_cpu(target->pkey), in srp_create_target()
|
/linux-4.1.27/drivers/infiniband/hw/qib/ |
D | qib_ud.c | 395 static unsigned qib_lookup_pkey(struct qib_ibport *ibp, u16 pkey) in qib_lookup_pkey() argument 402 pkey &= 0x7fff; /* remove limited/full membership bit */ in qib_lookup_pkey() 405 if ((dd->rcd[ctxt]->pkeys[i] & 0x7fff) == pkey) in qib_lookup_pkey()
|
D | qib_verbs.c | 1953 u16 *pkey) in qib_query_pkey() argument 1963 *pkey = qib_get_pkey(to_iport(ibdev, port), index); in qib_query_pkey()
|
/linux-4.1.27/drivers/infiniband/hw/ehca/ |
D | ehca_hca.c | 281 int ehca_query_pkey(struct ib_device *ibdev, u8 port, u16 index, u16 *pkey) in ehca_query_pkey() argument 307 memcpy(pkey, &rblock->pkey_entries + index, sizeof(u16)); in ehca_query_pkey()
|
D | ehca_iverbs.h | 55 int ehca_query_pkey(struct ib_device *ibdev, u8 port, u16 index, u16 * pkey);
|
/linux-4.1.27/drivers/infiniband/hw/ipath/ |
D | ipath_file_ops.c | 709 u64 pkey; in ipath_set_part_key() local 714 pkey = in ipath_set_part_key() 722 (unsigned long long) pkey); in ipath_set_part_key() 724 dd, dd->ipath_kregs->kr_partitionkey, pkey); in ipath_set_part_key() 839 u64 pkey = (u64) dd->ipath_pkeys[0] | in ipath_clean_part_key() local 846 (unsigned long long) pkey); in ipath_clean_part_key() 848 pkey); in ipath_clean_part_key()
|
D | ipath_mad.c | 761 u64 pkey; in set_pkeys() local 764 pkey = (u64) dd->ipath_pkeys[0] | in set_pkeys() 769 (unsigned long long) pkey); in set_pkeys() 771 pkey); in set_pkeys()
|
D | ipath_verbs.c | 1875 u16 *pkey) in ipath_query_pkey() argument 1885 *pkey = ipath_get_pkey(dev->dd, index); in ipath_query_pkey()
|
/linux-4.1.27/Documentation/ABI/stable/ |
D | sysfs-driver-ib_srp | 18 * pkey, a four-digit hexadecimal number specifying the 153 What: /sys/class/scsi_host/host<n>/pkey
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx5/core/ |
D | main.c | 297 static u16 get_pkey_table_size(int pkey) in get_pkey_table_size() argument 299 if (pkey > MLX5_MAX_LOG_PKEY_TABLE) in get_pkey_table_size() 302 return MLX5_MIN_PKEY_TABLE_SIZE << pkey; in get_pkey_table_size()
|
/linux-4.1.27/drivers/infiniband/hw/mlx4/ |
D | sysfs.c | 146 u16 pkey; in show_phys_port_pkey() local 150 mlx4_ib_iov_dentry->entry_num, &pkey, 1); in show_phys_port_pkey() 154 return sprintf(buf, "0x%04x\n", pkey); in show_phys_port_pkey()
|
D | mcg.c | 88 __be16 pkey; member 398 if (comp_mask & IB_SA_MCMEMBER_REC_PKEY && src->pkey != dst->pkey) in cmp_rec() 1026 be16_to_cpu(group->rec.pkey), in sysfs_show_group()
|
D | qp.c | 2042 u16 pkey; in build_sriov_qp0_header() local 2081 ib_get_cached_pkey(ib_dev, sqp->qp.port, 0, &pkey); in build_sriov_qp0_header() 2082 sqp->ud_header.bth.pkey = cpu_to_be16(pkey); in build_sriov_qp0_header() 2165 u16 pkey; in build_mlx_header() local 2308 ib_get_cached_pkey(ib_dev, sqp->qp.port, sqp->pkey_index, &pkey); in build_mlx_header() 2310 ib_get_cached_pkey(ib_dev, sqp->qp.port, wr->wr.ud.pkey_index, &pkey); in build_mlx_header() 2311 sqp->ud_header.bth.pkey = cpu_to_be16(pkey); in build_mlx_header()
|
D | mad.c | 156 __be16 pkey; in mlx4_MAD_IFC() member 169 ext_info->pkey = cpu_to_be16(in_wc->pkey_index); in mlx4_MAD_IFC() 421 u8 port, u16 pkey, u16 *ix) in find_slave_port_pkey_ix() argument 428 return ib_find_cached_pkey(&dev->ib_dev, port, pkey, ix); in find_slave_port_pkey_ix() 441 if ((slot_pkey & 0x7FFF) == (pkey & 0x7FFF)) { in find_slave_port_pkey_ix()
|
D | main.c | 499 u16 *pkey, int netw_view) in __mlx4_ib_query_pkey() argument 523 *pkey = be16_to_cpu(((__be16 *) out_mad->data)[index % 32]); in __mlx4_ib_query_pkey() 531 static int mlx4_ib_query_pkey(struct ib_device *ibdev, u8 port, u16 index, u16 *pkey) in mlx4_ib_query_pkey() argument 533 return __mlx4_ib_query_pkey(ibdev, port, index, pkey, 0); in mlx4_ib_query_pkey()
|
D | mlx4_ib.h | 726 u16 *pkey, int netw_view);
|
/linux-4.1.27/drivers/infiniband/hw/cxgb4/ |
D | provider.c | 283 u16 *pkey) in c4iw_query_pkey() argument 286 *pkey = 0; in c4iw_query_pkey()
|
/linux-4.1.27/Documentation/infiniband/ |
D | ipoib.txt | 24 The P_Key for any interface is given by the "pkey" file, and the
|
/linux-4.1.27/drivers/infiniband/hw/amso1100/ |
D | c2_provider.c | 103 u8 port, u16 index, u16 * pkey) in c2_query_pkey() argument 106 *pkey = 0; in c2_query_pkey()
|
/linux-4.1.27/drivers/infiniband/hw/mthca/ |
D | mthca_qp.c | 1485 u16 pkey; in build_mlx_header() local 1522 sqp->pkey_index, &pkey); in build_mlx_header() 1525 wr->wr.ud.pkey_index, &pkey); in build_mlx_header() 1526 sqp->ud_header.bth.pkey = cpu_to_be16(pkey); in build_mlx_header()
|
D | mthca_provider.c | 229 u8 port, u16 index, u16 *pkey) in mthca_query_pkey() argument 249 *pkey = be16_to_cpu(((__be16 *) out_mad->data)[index % 32]); in mthca_query_pkey()
|
/linux-4.1.27/drivers/s390/net/ |
D | qeth_l3_main.c | 2838 __be32 *pkey = &ip_hdr(skb)->daddr; in qeth_l3_fill_header() local 2841 pkey = &rt->rt_gateway; in qeth_l3_fill_header() 2846 *((__be32 *) (&hdr->hdr.l3.dest_addr[12])) = *pkey; in qeth_l3_fill_header() 2849 struct in6_addr *pkey = &ipv6_hdr(skb)->daddr; in qeth_l3_fill_header() local 2852 pkey = &rt->rt6i_gateway; in qeth_l3_fill_header() 2858 memcpy(hdr->hdr.l3.dest_addr, pkey, 16); in qeth_l3_fill_header()
|
/linux-4.1.27/drivers/infiniband/hw/mlx5/ |
D | main.c | 304 u16 *pkey) in mlx5_ib_query_pkey() argument 323 *pkey = be16_to_cpu(((__be16 *)out_mad->data)[index % 32]); in mlx5_ib_query_pkey()
|
/linux-4.1.27/drivers/infiniband/hw/cxgb3/ |
D | iwch_provider.c | 1106 u8 port, u16 index, u16 * pkey) in iwch_query_pkey() argument 1109 *pkey = 0; in iwch_query_pkey()
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ |
D | cmd.c | 825 static int query_pkey_block(struct mlx4_dev *dev, u8 port, u16 index, u16 *pkey, in query_pkey_block() argument 846 pkey[i] = be16_to_cpu(((__be16 *) out_mad->data)[i]); in query_pkey_block()
|
/linux-4.1.27/drivers/infiniband/hw/nes/ |
D | nes_verbs.c | 613 static int nes_query_pkey(struct ib_device *ibdev, u8 port, u16 index, u16 *pkey) in nes_query_pkey() argument 615 *pkey = 0; in nes_query_pkey()
|
/linux-4.1.27/tools/lib/traceevent/ |
D | event-parse.c | 3334 struct event_format *pkey = &key; in pevent_find_event() local 3342 eventptr = bsearch(&pkey, pevent->events, pevent->nr_events, in pevent_find_event()
|
/linux-4.1.27/drivers/net/wireless/ |
D | airo.c | 1292 static void emmh32_setseed(emmh32_context *context, u8 *pkey, int keylen, 1631 static void emmh32_setseed(emmh32_context *context, u8 *pkey, int keylen, in emmh32_setseed() argument 1641 crypto_cipher_setkey(tfm, pkey, 16); in emmh32_setseed()
|