Home
last modified time | relevance | path

Searched refs:priv (Results 1 – 25 of 755) sorted by relevance

12345678910>>...31

/freebsd/sys/dev/gve/
H A Dgve_main.c54 gve_verify_driver_compatibility(struct gve_priv *priv) in gve_verify_driver_compatibility() argument
60 err = gve_dma_alloc_coherent(priv, sizeof(struct gve_driver_info), in gve_verify_driver_compatibility()
90 err = gve_adminq_verify_driver_compatibility(priv, in gve_verify_driver_compatibility()
103 gve_up(struct gve_priv *priv) in gve_up() argument
105 if_t ifp = priv->ifp; in gve_up()
108 GVE_IFACE_LOCK_ASSERT(priv->gve_iface_lock); in gve_up()
110 if (device_is_attached(priv->dev) == 0) { in gve_up()
111 device_printf(priv->dev, "Cannot bring the iface up when detached\n"); in gve_up()
115 if (gve_get_state_flag(priv, GVE_STATE_FLAG_QUEUES_UP)) in gve_up()
128 if (gve_is_qpl(priv)) { in gve_up()
[all …]
H A Dgve_adminq.c56 void gve_parse_device_option(struct gve_priv *priv, in gve_parse_device_option() argument
76 device_printf(priv->dev, GVE_DEVICE_OPTION_ERROR_FMT, in gve_parse_device_option()
84 device_printf(priv->dev, GVE_DEVICE_OPTION_TOO_BIG_FMT, in gve_parse_device_option()
93 device_printf(priv->dev, GVE_DEVICE_OPTION_ERROR_FMT, in gve_parse_device_option()
101 device_printf(priv->dev, GVE_DEVICE_OPTION_TOO_BIG_FMT, in gve_parse_device_option()
110 device_printf(priv->dev, GVE_DEVICE_OPTION_ERROR_FMT, in gve_parse_device_option()
118 device_printf(priv->dev, GVE_DEVICE_OPTION_TOO_BIG_FMT, in gve_parse_device_option()
127 device_printf(priv->dev, GVE_DEVICE_OPTION_ERROR_FMT, in gve_parse_device_option()
135 device_printf(priv->dev, in gve_parse_device_option()
146 device_printf(priv->dev, "Unrecognized device option 0x%hx not enabled.\n", in gve_parse_device_option()
[all …]
H A Dgve_qpl.c40 gve_num_tx_qpls(struct gve_priv *priv) in gve_num_tx_qpls() argument
42 if (!gve_is_qpl(priv)) in gve_num_tx_qpls()
45 return (priv->tx_cfg.max_queues); in gve_num_tx_qpls()
49 gve_num_rx_qpls(struct gve_priv *priv) in gve_num_rx_qpls() argument
51 if (!gve_is_qpl(priv)) in gve_num_rx_qpls()
54 return (priv->rx_cfg.max_queues); in gve_num_rx_qpls()
58 gve_free_qpl(struct gve_priv *priv, uint32_t id) in gve_free_qpl() argument
60 struct gve_queue_page_list *qpl = &priv->qpls[id]; in gve_free_qpl()
87 priv->num_registered_pages--; in gve_free_qpl()
98 gve_alloc_qpl(struct gve_priv *priv, uint32_t id, int npages, bool single_kva) in gve_alloc_qpl() argument
[all …]
H A Dgve_utils.c35 gve_reg_bar_read_4(struct gve_priv *priv, bus_size_t offset) in gve_reg_bar_read_4() argument
37 return (be32toh(bus_read_4(priv->reg_bar, offset))); in gve_reg_bar_read_4()
41 gve_reg_bar_write_4(struct gve_priv *priv, bus_size_t offset, uint32_t val) in gve_reg_bar_write_4() argument
43 bus_write_4(priv->reg_bar, offset, htobe32(val)); in gve_reg_bar_write_4()
47 gve_db_bar_write_4(struct gve_priv *priv, bus_size_t offset, uint32_t val) in gve_db_bar_write_4() argument
49 bus_write_4(priv->db_bar, offset, htobe32(val)); in gve_db_bar_write_4()
53 gve_db_bar_dqo_write_4(struct gve_priv *priv, bus_size_t offset, uint32_t val) in gve_db_bar_dqo_write_4() argument
55 bus_write_4(priv->db_bar, offset, val); in gve_db_bar_dqo_write_4()
86 gve_dma_alloc_coherent(struct gve_priv *priv, int size, int align, in gve_dma_alloc_coherent() argument
90 device_t dev = priv->dev; in gve_dma_alloc_coherent()
[all …]
H A Dgve_rx.c36 gve_rx_free_ring_gqi(struct gve_priv *priv, int i) in gve_rx_free_ring_gqi() argument
38 struct gve_rx_ring *rx = &priv->rx[i]; in gve_rx_free_ring_gqi()
57 gve_rx_free_ring(struct gve_priv *priv, int i) in gve_rx_free_ring() argument
59 struct gve_rx_ring *rx = &priv->rx[i]; in gve_rx_free_ring()
65 if (gve_is_gqi(priv)) in gve_rx_free_ring()
66 gve_rx_free_ring_gqi(priv, i); in gve_rx_free_ring()
68 gve_rx_free_ring_dqo(priv, i); in gve_rx_free_ring()
83 for (i = 0; i < com->priv->rx_desc_cnt; i++) { in gve_prefill_rx_slots()
98 gve_rx_alloc_ring_gqi(struct gve_priv *priv, int i) in gve_rx_alloc_ring_gqi() argument
100 struct gve_rx_ring *rx = &priv->rx[i]; in gve_rx_alloc_ring_gqi()
[all …]
/freebsd/sys/ofed/drivers/infiniband/ulp/ipoib/
H A Dipoib_ib.c58 struct ipoib_ah *ipoib_create_ah(struct ipoib_dev_priv *priv, in ipoib_create_ah() argument
67 ah->priv = priv; in ipoib_create_ah()
76 ipoib_dbg(priv, "Created ah %p\n", ah->ah); in ipoib_create_ah()
84 struct ipoib_dev_priv *priv = ah->priv; in ipoib_free_ah() local
88 spin_lock_irqsave(&priv->lock, flags); in ipoib_free_ah()
89 list_add_tail(&ah->list, &priv->dead_ahs); in ipoib_free_ah()
90 spin_unlock_irqrestore(&priv->lock, flags); in ipoib_free_ah()
94 ipoib_dma_unmap_rx(struct ipoib_dev_priv *priv, struct ipoib_rx_buf *rx_req) in ipoib_dma_unmap_rx() argument
100 ib_dma_unmap_single(priv->ca, rx_req->mapping[i], m->m_len, in ipoib_dma_unmap_rx()
105 ipoib_dma_mb(struct ipoib_dev_priv *priv, struct mbuf *mb, unsigned int length) in ipoib_dma_mb() argument
[all …]
H A Dipoib_main.c74 struct ipoib_dev_priv *priv; member
130 ipoib_open(struct ipoib_dev_priv *priv) in ipoib_open() argument
132 if_t dev = priv->dev; in ipoib_open()
134 ipoib_dbg(priv, "bringing up interface\n"); in ipoib_open()
136 set_bit(IPOIB_FLAG_ADMIN_UP, &priv->flags); in ipoib_open()
138 if (ipoib_pkey_dev_delay_open(priv)) in ipoib_open()
141 if (ipoib_ib_dev_open(priv)) in ipoib_open()
144 if (ipoib_ib_dev_up(priv)) in ipoib_open()
147 if (!test_bit(IPOIB_FLAG_SUBINTERFACE, &priv->flags)) { in ipoib_open()
151 mutex_lock(&priv->vlan_mutex); in ipoib_open()
[all …]
H A Dipoib_cm.c84 static void ipoib_cm_dma_unmap_rx(struct ipoib_dev_priv *priv, struct ipoib_cm_rx_buf *rx_req) in ipoib_cm_dma_unmap_rx() argument
87 ipoib_dma_unmap_rx(priv, (struct ipoib_rx_buf *)rx_req); in ipoib_cm_dma_unmap_rx()
91 static int ipoib_cm_post_receive_srq(struct ipoib_dev_priv *priv, int id) in ipoib_cm_post_receive_srq() argument
99 rx_req = (struct ipoib_rx_buf *)&priv->cm.srq_ring[id]; in ipoib_cm_post_receive_srq()
101 priv->cm.rx_sge[i].addr = rx_req->mapping[i]; in ipoib_cm_post_receive_srq()
102 priv->cm.rx_sge[i].length = m->m_len; in ipoib_cm_post_receive_srq()
105 priv->cm.rx_wr.num_sge = i; in ipoib_cm_post_receive_srq()
106 priv->cm.rx_wr.wr_id = id | IPOIB_OP_CM | IPOIB_OP_RECV; in ipoib_cm_post_receive_srq()
108 ret = ib_post_srq_recv(priv->cm.srq, &priv->cm.rx_wr, &bad_wr); in ipoib_cm_post_receive_srq()
110 ipoib_warn(priv, "post srq failed for buf %d (%d)\n", id, ret); in ipoib_cm_post_receive_srq()
[all …]
H A Dipoib_multicast.c54 struct ipoib_dev_priv *priv; member
64 if_t dev = mcast->priv->dev; in ipoib_mcast_free()
67 ipoib_dbg_mcast(mcast->priv, "deleting multicast group %16D\n", in ipoib_mcast_free()
81 static struct ipoib_mcast *ipoib_mcast_alloc(struct ipoib_dev_priv *priv, in ipoib_mcast_alloc() argument
90 mcast->priv = priv; in ipoib_mcast_alloc()
100 static struct ipoib_mcast *__ipoib_mcast_find(struct ipoib_dev_priv *priv, in __ipoib_mcast_find() argument
103 struct rb_node *n = priv->multicast_tree.rb_node; in __ipoib_mcast_find()
124 static int __ipoib_mcast_add(struct ipoib_dev_priv *priv, in __ipoib_mcast_add() argument
127 struct rb_node **n = &priv->multicast_tree.rb_node, *pn = NULL; in __ipoib_mcast_add()
147 rb_insert_color(&mcast->rb_node, &priv->multicast_tree); in __ipoib_mcast_add()
[all …]
H A Dipoib_verbs.c39 int ipoib_mcast_attach(struct ipoib_dev_priv *priv, u16 mlid, union ib_gid *mgid, int set_qkey) in ipoib_mcast_attach() argument
45 if (ib_find_pkey(priv->ca, priv->port, priv->pkey, &pkey_index)) { in ipoib_mcast_attach()
46 clear_bit(IPOIB_PKEY_ASSIGNED, &priv->flags); in ipoib_mcast_attach()
50 set_bit(IPOIB_PKEY_ASSIGNED, &priv->flags); in ipoib_mcast_attach()
59 qp_attr->qkey = priv->qkey; in ipoib_mcast_attach()
60 ret = ib_modify_qp(priv->qp, qp_attr, IB_QP_QKEY); in ipoib_mcast_attach()
62 ipoib_warn(priv, "failed to modify QP, ret = %d\n", ret); in ipoib_mcast_attach()
68 ret = ib_attach_mcast(priv->qp, mgid, mlid); in ipoib_mcast_attach()
70 ipoib_warn(priv, "failed to attach to multicast group, ret = %d\n", ret); in ipoib_mcast_attach()
77 int ipoib_init_qp(struct ipoib_dev_priv *priv) in ipoib_init_qp() argument
[all …]
H A Dipoib_vlan.c50 struct ipoib_dev_priv *priv = dev->if_softc; in show_parent() local
52 return sprintf(buf, "%s\n", priv->parent->name); in show_parent()
58 struct ipoib_dev_priv *ppriv, *priv; in ipoib_vlan_add() local
76 priv = NULL; in ipoib_vlan_add()
80 list_for_each_entry(priv, &ppriv->child_intfs, list) { in ipoib_vlan_add()
81 if (priv->pkey == pkey) { in ipoib_vlan_add()
83 priv = NULL; in ipoib_vlan_add()
90 priv = ipoib_intf_alloc(intf_name, ppriv->ca); in ipoib_vlan_add()
91 if (!priv) { in ipoib_vlan_add()
96 priv->max_ib_mtu = ppriv->max_ib_mtu; in ipoib_vlan_add()
[all …]
H A Dipoib.h197 struct ipoib_dev_priv *priv; member
265 struct ipoib_dev_priv *priv; member
275 struct ipoib_dev_priv *priv; member
404 struct ipoib_dev_priv *priv; member
412 struct ipoib_dev_priv *priv; member
450 int ipoib_open(struct ipoib_dev_priv *priv);
451 int ipoib_add_pkey_attr(struct ipoib_dev_priv *priv);
452 int ipoib_add_umcast_attr(struct ipoib_dev_priv *priv);
454 void ipoib_send(struct ipoib_dev_priv *priv, struct mbuf *mb,
458 void ipoib_mark_paths_invalid(struct ipoib_dev_priv *priv);
[all …]
/freebsd/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_ethtool.c73 mlx5e_ethtool_sync_tx_completion_fact(struct mlx5e_priv *priv) in mlx5e_ethtool_sync_tx_completion_fact() argument
84 uint64_t max = priv->params_ethtool.tx_queue_size / in mlx5e_ethtool_sync_tx_completion_fact()
96 priv->params_ethtool.tx_completion_fact_max = max; in mlx5e_ethtool_sync_tx_completion_fact()
102 if (priv->params_ethtool.tx_completion_fact < 1) in mlx5e_ethtool_sync_tx_completion_fact()
103 priv->params_ethtool.tx_completion_fact = 1; in mlx5e_ethtool_sync_tx_completion_fact()
104 else if (priv->params_ethtool.tx_completion_fact > max) in mlx5e_ethtool_sync_tx_completion_fact()
105 priv->params_ethtool.tx_completion_fact = max; in mlx5e_ethtool_sync_tx_completion_fact()
109 mlx5e_getmaxrate(struct mlx5e_priv *priv) in mlx5e_getmaxrate() argument
111 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_getmaxrate()
117 PRIV_LOCK(priv); in mlx5e_getmaxrate()
[all …]
H A Dmlx5_en_main.c44 static int mlx5e_get_wqe_sz(struct mlx5e_priv *priv, u32 *wqe_sz, u32 *nsegs);
368 mlx5e_update_carrier(struct mlx5e_priv *priv) in mlx5e_update_carrier() argument
370 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_update_carrier()
385 priv->media_status_last |= IFM_ACTIVE; in mlx5e_update_carrier()
387 priv->media_status_last &= ~IFM_ACTIVE; in mlx5e_update_carrier()
388 priv->media_active_last = IFM_ETHER; in mlx5e_update_carrier()
389 if_link_state_change(priv->ifp, LINK_STATE_DOWN); in mlx5e_update_carrier()
396 priv->media_active_last = IFM_ETHER; in mlx5e_update_carrier()
397 if_setbaudrate(priv->ifp, 1); in mlx5e_update_carrier()
398 mlx5_en_err(priv->ifp, "query port ptys failed: 0x%x\n", in mlx5e_update_carrier()
[all …]
/freebsd/sys/dev/mlx4/mlx4_en/
H A Dmlx4_en_netdev.c59 static void mlx4_en_sysctl_stat(struct mlx4_en_priv *priv);
60 static void mlx4_en_sysctl_conf(struct mlx4_en_priv *priv);
68 struct mlx4_en_priv *priv = mlx4_netdev_priv(dev); in mlx4_en_low_latency_recv() local
69 struct mlx4_en_rx_ring *rx_ring = priv->rx_ring[cq->ring]; in mlx4_en_low_latency_recv()
72 if (!priv->port_up) in mlx4_en_low_latency_recv()
105 struct mlx4_en_priv *priv; member
115 static void mlx4_en_filter_rfs_expire(struct mlx4_en_priv *priv);
134 struct mlx4_en_priv *priv = filter->priv; in mlx4_en_filter_work() local
166 .port = priv->port, in mlx4_en_filter_work()
173 en_warn(priv, "RFS: ignoring unsupported ip protocol (%d)\n", in mlx4_en_filter_work()
[all …]
H A Dmlx4_en_port.c44 int mlx4_SET_VLAN_FLTR(struct mlx4_dev *dev, struct mlx4_en_priv *priv) in mlx4_SET_VLAN_FLTR() argument
62 if (test_bit(index, priv->active_vlans)) in mlx4_SET_VLAN_FLTR()
68 err = mlx4_cmd(dev, mailbox->dma, priv->port, 0, MLX4_CMD_SET_VLAN_FLTR, in mlx4_SET_VLAN_FLTR()
77 struct mlx4_en_priv *priv = mlx4_netdev_priv(mdev->pndev[port]); in mlx4_en_QUERY_PORT() local
78 struct mlx4_en_port_state *state = &priv->port_state; in mlx4_en_QUERY_PORT()
154 struct mlx4_en_priv *priv = mlx4_netdev_priv(dev); in mlx4_en_fold_software_stats() local
155 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_fold_software_stats()
159 if (!priv->port_up || mlx4_is_master(mdev->dev)) in mlx4_en_fold_software_stats()
164 for (i = 0; i < priv->rx_ring_num; i++) { in mlx4_en_fold_software_stats()
165 const struct mlx4_en_rx_ring *ring = priv->rx_ring[i]; in mlx4_en_fold_software_stats()
[all …]
/freebsd/sys/netgraph/
H A Dng_deflate.c172 priv_p priv; in ng_deflate_constructor() local
175 priv = malloc(sizeof(*priv), M_NETGRAPH_DEFLATE, M_WAITOK | M_ZERO); in ng_deflate_constructor()
177 NG_NODE_SET_PRIVATE(node, priv); in ng_deflate_constructor()
192 const priv_p priv = NG_NODE_PRIVATE(node); in ng_deflate_newhook() local
198 priv->compress = 1; in ng_deflate_newhook()
200 priv->compress = 0; in ng_deflate_newhook()
213 const priv_p priv = NG_NODE_PRIVATE(node); in ng_deflate_rcvmsg() local
239 if (priv->cfg.enable) { in ng_deflate_rcvmsg()
240 if (priv->compress) in ng_deflate_rcvmsg()
241 deflateEnd(&priv->cx); in ng_deflate_rcvmsg()
[all …]
H A Dng_one2many.c89 static void ng_one2many_update_many(priv_p priv);
90 static void ng_one2many_notify(priv_p priv, uint32_t cmd);
185 priv_p priv; in ng_one2many_constructor() local
188 priv = malloc(sizeof(*priv), M_NETGRAPH, M_WAITOK | M_ZERO); in ng_one2many_constructor()
189 priv->conf.xmitAlg = NG_ONE2MANY_XMIT_ROUNDROBIN; in ng_one2many_constructor()
190 priv->conf.failAlg = NG_ONE2MANY_FAIL_MANUAL; in ng_one2many_constructor()
193 NG_NODE_SET_PRIVATE(node, priv); in ng_one2many_constructor()
194 priv->node = node; in ng_one2many_constructor()
206 const priv_p priv = NG_NODE_PRIVATE(node); in ng_one2many_newhook() local
224 link = &priv->many[linkNum]; in ng_one2many_newhook()
[all …]
H A Dng_device.c188 priv_p priv; in ng_device_constructor() local
192 priv = malloc(sizeof(*priv), M_NETGRAPH, M_WAITOK | M_ZERO); in ng_device_constructor()
195 priv->unit = alloc_unr(ngd_unit); in ng_device_constructor()
198 mtx_init(&priv->ngd_mtx, "ng_device", NULL, MTX_DEF); in ng_device_constructor()
199 mtx_init(&priv->readq.ifq_mtx, "ng_device queue", NULL, MTX_DEF); in ng_device_constructor()
200 IFQ_SET_MAXLEN(&priv->readq, ifqmaxlen); in ng_device_constructor()
203 NG_NODE_SET_PRIVATE(node, priv); in ng_device_constructor()
204 priv->node = node; in ng_device_constructor()
206 priv->ngddev = make_dev(&ngd_cdevsw, priv->unit, UID_ROOT, in ng_device_constructor()
207 GID_WHEEL, 0600, NG_DEVICE_DEVNAME "%d", priv->unit); in ng_device_constructor()
[all …]
H A Dng_ppp.c160 #define MP_RECV_SEQ_DIFF(priv,x,y) \ argument
161 ((priv)->conf.recvShortSeq ? \
166 #define MP_NEXT_RECV_SEQ(priv,seq) \ argument
167 ((priv)->conf.recvShortSeq ? \
490 priv_p priv; in ng_ppp_constructor() local
494 priv = malloc(sizeof(*priv), M_NETGRAPH_PPP, M_WAITOK | M_ZERO); in ng_ppp_constructor()
496 NG_NODE_SET_PRIVATE(node, priv); in ng_ppp_constructor()
499 TAILQ_INIT(&priv->frags); in ng_ppp_constructor()
500 TAILQ_INIT(&priv->fragsfree); in ng_ppp_constructor()
502 TAILQ_INSERT_TAIL(&priv->fragsfree, &priv->fragsmem[i], f_qent); in ng_ppp_constructor()
[all …]
/freebsd/contrib/wpa/wpa_supplicant/dbus/
H A Ddbus_common.c58 static void process_watch(struct wpas_dbus_priv *priv, in process_watch() argument
61 dbus_connection_ref(priv->con); in process_watch()
63 priv->should_dispatch = 0; in process_watch()
72 if (priv->should_dispatch) { in process_watch()
73 dispatch_data(priv->con); in process_watch()
74 priv->should_dispatch = 0; in process_watch()
77 dbus_connection_unref(priv->con); in process_watch()
101 struct wpas_dbus_priv *priv = data; in add_watch() local
112 process_watch_exception, priv, watch) < 0) in add_watch()
117 priv, watch) < 0) in add_watch()
[all …]
/freebsd/contrib/libpcap/
H A Dpcap-rdmasniff.c67 struct pcap_rdmasniff *priv = handle->priv; in rdmasniff_stats() local
69 stat->ps_recv = priv->packets_recv; in rdmasniff_stats()
79 struct pcap_rdmasniff *priv = handle->priv; in rdmasniff_cleanup() local
81 ibv_dereg_mr(priv->mr); in rdmasniff_cleanup()
82 ibv_destroy_flow(priv->flow); in rdmasniff_cleanup()
83 ibv_destroy_qp(priv->qp); in rdmasniff_cleanup()
84 ibv_destroy_cq(priv->cq); in rdmasniff_cleanup()
85 ibv_dealloc_pd(priv->pd); in rdmasniff_cleanup()
86 ibv_destroy_comp_channel(priv->channel); in rdmasniff_cleanup()
87 ibv_close_device(priv->context); in rdmasniff_cleanup()
[all …]
/freebsd/sys/dev/gpio/
H A Dgpioc.c96 struct gpioc_cdevpriv *priv; member
163 next_head_event(struct gpioc_cdevpriv *priv) in next_head_event() argument
167 rv = &priv->events[priv->evidx_head++]; in next_head_event()
168 if (priv->evidx_head == priv->numevents) in next_head_event()
169 priv->evidx_head = 0; in next_head_event()
174 next_tail_event(struct gpioc_cdevpriv *priv) in next_tail_event() argument
178 rv = &priv->events[priv->evidx_tail++]; in next_tail_event()
179 if (priv->evidx_tail == priv->numevents) in next_tail_event()
180 priv->evidx_tail = 0; in next_tail_event()
185 number_of_events(struct gpioc_cdevpriv *priv) in number_of_events() argument
[all …]
/freebsd/sys/dev/tcp_log/
H A Dtcp_log_dev.c154 struct tcp_log_dev_info *priv; in tcp_log_dev_clear_cdevpriv() local
157 priv = (struct tcp_log_dev_info *)data; in tcp_log_dev_clear_cdevpriv()
158 if (priv == NULL) in tcp_log_dev_clear_cdevpriv()
170 if (priv->tldi_head != NULL) { in tcp_log_dev_clear_cdevpriv()
171 entry = priv->tldi_head; in tcp_log_dev_clear_cdevpriv()
180 STAILQ_REMOVE(&tcp_log_dev_reader_head, priv, tcp_log_dev_info, in tcp_log_dev_clear_cdevpriv()
184 free(priv, M_TCPLOGDEV); in tcp_log_dev_clear_cdevpriv()
191 struct tcp_log_dev_info *priv; in tcp_log_dev_open() local
203 priv = malloc(sizeof(struct tcp_log_dev_info), M_TCPLOGDEV, in tcp_log_dev_open()
207 rv = devfs_set_cdevpriv((void *)priv, tcp_log_dev_clear_cdevpriv); in tcp_log_dev_open()
[all …]
/freebsd/contrib/wpa/wpa_supplicant/
H A Dctrl_iface_unix.c68 struct ctrl_iface_priv *priv,
71 struct ctrl_iface_priv *priv);
73 struct ctrl_iface_global_priv *priv);
118 static int wpa_supplicant_ctrl_iface_level(struct ctrl_iface_priv *priv, in wpa_supplicant_ctrl_iface_level() argument
125 return ctrl_iface_level(&priv->ctrl_dst, from, fromlen, level); in wpa_supplicant_ctrl_iface_level()
133 struct ctrl_iface_priv *priv = sock_ctx; in wpa_supplicant_ctrl_iface_receive() local
161 if (wpa_supplicant_ctrl_iface_attach(&priv->ctrl_dst, &from, in wpa_supplicant_ctrl_iface_receive()
169 if (wpa_supplicant_ctrl_iface_detach(&priv->ctrl_dst, &from, in wpa_supplicant_ctrl_iface_receive()
175 if (wpa_supplicant_ctrl_iface_level(priv, &from, fromlen, in wpa_supplicant_ctrl_iface_receive()
222 sock = wpas_ctrl_iface_reinit(wpa_s, priv); in wpa_supplicant_ctrl_iface_receive()
[all …]

12345678910>>...31