Searched refs:qpn_htbl (Results 1 – 2 of 2) sorted by relevance
52 struct mlx5i_pkey_qpn_ht *qpn_htbl; in mlx5i_pkey_qpn_ht_init() local54 qpn_htbl = kzalloc(sizeof(*qpn_htbl), GFP_KERNEL); in mlx5i_pkey_qpn_ht_init()55 if (!qpn_htbl) in mlx5i_pkey_qpn_ht_init()58 ipriv->qpn_htbl = qpn_htbl; in mlx5i_pkey_qpn_ht_init()59 spin_lock_init(&qpn_htbl->ht_lock); in mlx5i_pkey_qpn_ht_init()68 kfree(ipriv->qpn_htbl); in mlx5i_pkey_qpn_ht_cleanup()88 struct mlx5i_pkey_qpn_ht *ht = ipriv->qpn_htbl; in mlx5i_pkey_add_qpn()109 struct mlx5i_pkey_qpn_ht *ht = ipriv->qpn_htbl; in mlx5i_pkey_del_qpn()131 node = mlx5i_find_qpn_to_netdev_node(ipriv->qpn_htbl->buckets, qpn); in mlx5i_pkey_get_netdev()182 ipriv->qpn_htbl = parent_ipriv->qpn_htbl; in mlx5i_pkey_dev_init()
60 struct mlx5i_pkey_qpn_ht *qpn_htbl; member