Searched refs:priv (Results 226 - 250 of 1210) sorted by relevance

1234567891011>>

/freebsd-current/contrib/ofed/libibverbs/
H A Ddevice.c188 cq = vctx->priv->create_cq_ex(context, cq_attr);
236 struct verbs_ex_private *priv; local
246 priv = calloc(1, sizeof(*priv));
247 if (!priv) {
252 context_ex->priv = priv;
279 priv->create_cq_ex = context_ex->create_cq_ex;
292 free(context_ex->priv);
312 free(context_ex->priv);
[all...]
/freebsd-current/contrib/wpa/src/ap/
H A Dvlan_full.c752 struct full_dynamic_vlan *priv; local
754 priv = os_zalloc(sizeof(*priv));
755 if (priv == NULL)
763 priv->s = socket(PF_NETLINK, SOCK_RAW, NETLINK_ROUTE);
764 if (priv->s < 0) {
768 os_free(priv);
775 if (bind(priv->s, (struct sockaddr *) &local, sizeof(local)) < 0) {
778 close(priv->s);
779 os_free(priv);
794 full_dynamic_vlan_deinit(struct full_dynamic_vlan *priv) argument
[all...]
/freebsd-current/sys/dev/mlx5/mlx5_core/
H A Dmlx5_fs_counters.c108 struct mlx5_fc_stats *fc_stats = &dev->priv.fc_stats;
133 struct mlx5_fc_stats *fc_stats = &dev->priv.fc_stats;
174 struct mlx5_fc_stats *fc_stats = &dev->priv.fc_stats;
221 struct mlx5_fc_stats *fc_stats = &dev->priv.fc_stats;
231 struct mlx5_fc_stats *fc_stats = &dev->priv.fc_stats;
267 priv.fc_stats.work.work);
268 struct mlx5_fc_stats *fc_stats = &dev->priv.fc_stats;
330 struct mlx5_fc_stats *fc_stats = &dev->priv.fc_stats;
345 struct mlx5_fc_stats *fc_stats = &dev->priv.fc_stats;
385 struct mlx5_fc_stats *fc_stats = &dev->priv
[all...]
H A Dmlx5_uar.c165 mutex_lock(&mdev->priv.bfregs.reg_head.lock);
166 if (!list_empty(&mdev->priv.bfregs.reg_head.list)) {
167 ret = list_first_entry(&mdev->priv.bfregs.reg_head.list,
175 list_add(&ret->list, &mdev->priv.bfregs.reg_head.list);
177 mutex_unlock(&mdev->priv.bfregs.reg_head.lock);
185 mutex_lock(&mdev->priv.bfregs.reg_head.lock);
187 mutex_unlock(&mdev->priv.bfregs.reg_head.lock);
212 bfregs = &mdev->priv.bfregs;
297 bfregs = &mdev->priv.bfregs;
/freebsd-current/contrib/wpa/src/eap_peer/
H A Deap_sake.c65 static void eap_sake_deinit(struct eap_sm *sm, void *priv);
105 static void eap_sake_deinit(struct eap_sm *sm, void *priv) argument
107 struct eap_sake_data *data = priv;
370 static struct wpabuf * eap_sake_process(struct eap_sm *sm, void *priv, argument
374 struct eap_sake_data *data = priv;
440 static bool eap_sake_isKeyAvailable(struct eap_sm *sm, void *priv) argument
442 struct eap_sake_data *data = priv;
447 static u8 * eap_sake_getKey(struct eap_sm *sm, void *priv, size_t *len) argument
449 struct eap_sake_data *data = priv;
464 static u8 * eap_sake_get_session_id(struct eap_sm *sm, void *priv, size_ argument
486 eap_sake_get_emsk(struct eap_sm *sm, void *priv, size_t *len) argument
[all...]
H A Deap_ikev2.c108 static void eap_ikev2_deinit(struct eap_sm *sm, void *priv) argument
110 struct eap_ikev2_data *data = priv;
328 static struct wpabuf * eap_ikev2_process(struct eap_sm *sm, void *priv, argument
332 struct eap_ikev2_data *data = priv;
438 static bool eap_ikev2_isKeyAvailable(struct eap_sm *sm, void *priv) argument
440 struct eap_ikev2_data *data = priv;
445 static u8 * eap_ikev2_getKey(struct eap_sm *sm, void *priv, size_t *len) argument
447 struct eap_ikev2_data *data = priv;
463 static u8 * eap_ikev2_get_emsk(struct eap_sm *sm, void *priv, size_t *len) argument
465 struct eap_ikev2_data *data = priv;
481 eap_ikev2_get_session_id(struct eap_sm *sm, void *priv, size_t *len) argument
[all...]
/freebsd-current/contrib/wpa/src/drivers/
H A Ddriver_privsep.c101 static int wpa_driver_privsep_scan(void *priv, argument
104 struct wpa_driver_privsep_data *drv = priv;
108 wpa_printf(MSG_DEBUG, "%s: priv=%p", __func__, priv);
130 wpa_driver_privsep_get_scan_results2(void *priv) argument
132 struct wpa_driver_privsep_data *drv = priv;
208 static int wpa_driver_privsep_set_key(void *priv, argument
211 struct wpa_driver_privsep_data *drv = priv;
222 wpa_printf(MSG_DEBUG, "%s: priv=%p alg=%d key_idx=%d set_tx=%d",
223 __func__, priv, al
248 wpa_driver_privsep_authenticate( void *priv, struct wpa_driver_auth_params *params) argument
298 wpa_driver_privsep_associate( void *priv, struct wpa_driver_associate_params *params) argument
342 wpa_driver_privsep_get_bssid(void *priv, u8 *bssid) argument
355 wpa_driver_privsep_get_ssid(void *priv, u8 *ssid) argument
376 wpa_driver_privsep_deauthenticate(void *priv, const u8 *addr, u16 reason_code) argument
618 wpa_driver_privsep_deinit(void *priv) argument
647 wpa_driver_privsep_set_param(void *priv, const char *param) argument
786 wpa_driver_privsep_get_capa(void *priv, struct wpa_driver_capa *capa) argument
806 wpa_driver_privsep_get_mac_addr(void *priv) argument
814 wpa_driver_privsep_set_country(void *priv, const char *alpha2) argument
[all...]
H A Ddriver_atheros.c84 static int atheros_sta_deauth(void *priv, const u8 *own_addr, const u8 *addr,
86 static int atheros_set_privacy(void *priv, int enabled);
387 atheros_set_ieee8021x(void *priv, struct wpa_bss_params *params) argument
389 struct atheros_driver_data *drv = priv;
395 if (set80211param(priv, IEEE80211_PARAM_AUTHMODE,
409 if (set80211param(priv, IEEE80211_PARAM_AUTHMODE,
419 atheros_set_privacy(void *priv, int enabled) argument
421 struct atheros_driver_data *drv = priv;
429 atheros_set_sta_authorized(void *priv, const u8 *addr, int authorized) argument
431 struct atheros_driver_data *drv = priv;
454 atheros_sta_set_flags(void *priv, const u8 *addr, unsigned int total_flags, unsigned int flags_or, unsigned int flags_and) argument
467 atheros_del_key(void *priv, const u8 *addr, int key_idx) argument
495 atheros_set_key(void *priv, struct wpa_driver_set_key_params *params) argument
589 atheros_get_seqnum(const char *ifname, void *priv, const u8 *addr, int idx, u8 *seq) argument
636 atheros_flush(void *priv) argument
646 atheros_read_sta_driver_data(void *priv, struct hostap_sta_driver_data *data, const u8 *addr) argument
682 atheros_sta_clear_stats(void *priv, const u8 *addr) argument
704 atheros_set_opt_ie(void *priv, const u8 *ie, size_t ie_len) argument
759 atheros_sta_deauth(void *priv, const u8 *own_addr, const u8 *addr, u16 reason_code) argument
783 atheros_sta_disassoc(void *priv, const u8 *own_addr, const u8 *addr, u16 reason_code) argument
999 atheros_set_wps_ie(void *priv, const u8 *ie, size_t len, u32 frametype) argument
1034 atheros_set_ap_wps_ie(void *priv, const struct wpabuf *beacon, const struct wpabuf *proberesp, const struct wpabuf *assocresp) argument
1067 atheros_sta_auth(void *priv, struct wpa_driver_sta_auth_params *params) argument
1128 atheros_sta_assoc(void *priv, const u8 *own_addr, const u8 *addr, int reassoc, u16 status_code, const u8 *ie, size_t len) argument
1647 atheros_send_eapol(void *priv, const u8 *addr, const u8 *data, size_t data_len, int encrypt, const u8 *own_addr, u32 flags) argument
1817 atheros_deinit(void *priv) argument
1843 atheros_set_ssid(void *priv, const u8 *buf, int len) argument
1863 atheros_get_ssid(void *priv, u8 *buf, int len) argument
1886 atheros_set_countermeasures(void *priv, int enabled) argument
1894 atheros_commit(void *priv) argument
1900 atheros_set_authmode(void *priv, int auth_algs) argument
1917 atheros_set_ap(void *priv, struct wpa_driver_ap_params *params) argument
1965 atheros_send_mgmt(void *priv, const u8 *frm, size_t data_len, int noack, unsigned int freq, const u16 *csa_offs, size_t csa_offs_len, int no_encrypt, unsigned int wait) argument
1994 atheros_add_tspec(void *priv, const u8 *addr, u8 *tspec_ie, size_t tspec_ielen) argument
2018 atheros_add_sta_node(void *priv, const u8 *addr, u16 auth_alg) argument
2062 atheros_send_action(void *priv, unsigned int freq, unsigned int wait, const u8 *dst, const u8 *src, const u8 *bssid, const u8 *data, size_t data_len, int no_cck) argument
2225 atheros_wnm_oper(void *priv, enum wnm_oper oper, const u8 *peer, u8 *buf, u16 *buf_len) argument
[all...]
/freebsd-current/sys/dev/netmap/
H A Dnetmap_freebsd.c957 struct netmap_priv_d *priv; member in struct:netmap_vm_handle_t
982 struct netmap_priv_d *priv = vmh->priv; local
986 netmap_dtor(priv);
997 struct netmap_priv_d *priv = vmh->priv; local
998 struct netmap_adapter *na = priv->np_na;
1046 struct netmap_priv_d *priv; local
1060 error = devfs_get_cdevpriv((void**)&priv);
1063 if (priv
1118 struct netmap_priv_d *priv; local
1340 struct netmap_priv_d *priv = (struct netmap_priv_d *)kn->kn_hook; local
1355 struct netmap_priv_d *priv = (struct netmap_priv_d *)kn->kn_hook; local
1375 struct netmap_priv_d *priv; local
1425 struct netmap_priv_d *priv; local
1462 struct netmap_priv_d *priv; local
1474 struct netmap_priv_d *priv; local
[all...]
H A Dnetmap_kloop.c567 netmap_sync_kloop(struct netmap_priv_d *priv, struct nmreq_header *hdr) argument
594 if (priv->np_nifp == NULL) {
599 na = priv->np_na;
606 if (!priv->np_csb_atok_base || !priv->np_csb_ktoa_base) {
613 csb_atok_base = priv->np_csb_atok_base;
614 csb_ktoa_base = priv->np_csb_ktoa_base;
617 if (priv->np_kloop_state & NM_SYNC_KLOOP_RUNNING) {
620 priv->np_kloop_state |= NM_SYNC_KLOOP_RUNNING;
626 num_rx_rings = priv
913 netmap_sync_kloop_stop(struct netmap_priv_d *priv) argument
[all...]
/freebsd-current/contrib/wpa/src/eap_server/
H A Deap_server_pax.c64 static void eap_pax_reset(struct eap_sm *sm, void *priv) argument
66 struct eap_pax_data *data = priv;
180 static struct wpabuf * eap_pax_buildReq(struct eap_sm *sm, void *priv, u8 id) argument
182 struct eap_pax_data *data = priv;
198 static bool eap_pax_check(struct eap_sm *sm, void *priv, argument
201 struct eap_pax_data *data = priv;
484 static void eap_pax_process(struct eap_sm *sm, void *priv, argument
487 struct eap_pax_data *data = priv;
516 static bool eap_pax_isDone(struct eap_sm *sm, void *priv) argument
518 struct eap_pax_data *data = priv;
523 eap_pax_getKey(struct eap_sm *sm, void *priv, size_t *len) argument
544 eap_pax_get_emsk(struct eap_sm *sm, void *priv, size_t *len) argument
566 eap_pax_isSuccess(struct eap_sm *sm, void *priv) argument
573 eap_pax_get_session_id(struct eap_sm *sm, void *priv, size_t *len) argument
[all...]
H A Deap_server_gpsk.c96 static void eap_gpsk_reset(struct eap_sm *sm, void *priv) argument
98 struct eap_gpsk_data *data = priv;
193 static struct wpabuf * eap_gpsk_buildReq(struct eap_sm *sm, void *priv, u8 id) argument
195 struct eap_gpsk_data *data = priv;
211 static bool eap_gpsk_check(struct eap_sm *sm, void *priv, argument
214 struct eap_gpsk_data *data = priv;
541 static void eap_gpsk_process(struct eap_sm *sm, void *priv, argument
544 struct eap_gpsk_data *data = priv;
563 static bool eap_gpsk_isDone(struct eap_sm *sm, void *priv) argument
565 struct eap_gpsk_data *data = priv;
570 eap_gpsk_getKey(struct eap_sm *sm, void *priv, size_t *len) argument
587 eap_gpsk_get_emsk(struct eap_sm *sm, void *priv, size_t *len) argument
604 eap_gpsk_isSuccess(struct eap_sm *sm, void *priv) argument
611 eap_gpsk_get_session_id(struct eap_sm *sm, void *priv, size_t *len) argument
[all...]
H A Deap_server_sake.c82 static void eap_sake_reset(struct eap_sm *sm, void *priv) argument
84 struct eap_sake_data *data = priv;
215 static struct wpabuf * eap_sake_buildReq(struct eap_sm *sm, void *priv, u8 id) argument
217 struct eap_sake_data *data = priv;
235 static bool eap_sake_check(struct eap_sm *sm, void *priv, argument
238 struct eap_sake_data *data = priv;
420 static void eap_sake_process(struct eap_sm *sm, void *priv, argument
423 struct eap_sake_data *data = priv;
459 static bool eap_sake_isDone(struct eap_sm *sm, void *priv) argument
461 struct eap_sake_data *data = priv;
466 eap_sake_getKey(struct eap_sm *sm, void *priv, size_t *len) argument
483 eap_sake_get_emsk(struct eap_sm *sm, void *priv, size_t *len) argument
500 eap_sake_isSuccess(struct eap_sm *sm, void *priv) argument
507 eap_sake_get_session_id(struct eap_sm *sm, void *priv, size_t *len) argument
[all...]
H A Deap_server_psk.c46 static void eap_psk_reset(struct eap_sm *sm, void *priv) argument
48 struct eap_psk_data *data = priv;
156 static struct wpabuf * eap_psk_buildReq(struct eap_sm *sm, void *priv, u8 id) argument
158 struct eap_psk_data *data = priv;
174 static bool eap_psk_check(struct eap_sm *sm, void *priv, argument
177 struct eap_psk_data *data = priv;
407 static void eap_psk_process(struct eap_sm *sm, void *priv, argument
410 struct eap_psk_data *data = priv;
436 static bool eap_psk_isDone(struct eap_sm *sm, void *priv) argument
438 struct eap_psk_data *data = priv;
443 eap_psk_getKey(struct eap_sm *sm, void *priv, size_t *len) argument
460 eap_psk_get_emsk(struct eap_sm *sm, void *priv, size_t *len) argument
477 eap_psk_isSuccess(struct eap_sm *sm, void *priv) argument
484 eap_psk_get_session_id(struct eap_sm *sm, void *priv, size_t *len) argument
[all...]
H A Deap_server_tnc.c94 static void eap_tnc_reset(struct eap_sm *sm, void *priv) argument
96 struct eap_tnc_data *data = priv;
280 static struct wpabuf * eap_tnc_buildReq(struct eap_sm *sm, void *priv, u8 id) argument
282 struct eap_tnc_data *data = priv;
323 static bool eap_tnc_check(struct eap_sm *sm, void *priv, argument
326 struct eap_tnc_data *data = priv;
446 static void eap_tnc_process(struct eap_sm *sm, void *priv, argument
449 struct eap_tnc_data *data = priv;
540 static bool eap_tnc_isDone(struct eap_sm *sm, void *priv) argument
542 struct eap_tnc_data *data = priv;
547 eap_tnc_isSuccess(struct eap_sm *sm, void *priv) argument
[all...]
H A Deap_server_ikev2.c123 static void eap_ikev2_reset(struct eap_sm *sm, void *priv) argument
125 struct eap_ikev2_data *data = priv;
211 static struct wpabuf * eap_ikev2_buildReq(struct eap_sm *sm, void *priv, u8 id) argument
213 struct eap_ikev2_data *data = priv;
239 static bool eap_ikev2_check(struct eap_sm *sm, void *priv, argument
350 static void eap_ikev2_process(struct eap_sm *sm, void *priv, argument
353 struct eap_ikev2_data *data = priv;
468 static bool eap_ikev2_isDone(struct eap_sm *sm, void *priv) argument
470 struct eap_ikev2_data *data = priv;
475 static bool eap_ikev2_isSuccess(struct eap_sm *sm, void *priv) argument
483 eap_ikev2_getKey(struct eap_sm *sm, void *priv, size_t *len) argument
501 eap_ikev2_get_emsk(struct eap_sm *sm, void *priv, size_t *len) argument
519 eap_ikev2_get_session_id(struct eap_sm *sm, void *priv, size_t *len) argument
[all...]
/freebsd-current/contrib/wpa/wpa_supplicant/
H A Dbgscan_simple.c160 static void bgscan_simple_deinit(void *priv) argument
162 struct bgscan_simple_data *data = priv;
170 static int bgscan_simple_notify_scan(void *priv, argument
173 struct bgscan_simple_data *data = priv;
192 static void bgscan_simple_notify_beacon_loss(void *priv) argument
199 static void bgscan_simple_notify_signal_change(void *priv, int above, argument
204 struct bgscan_simple_data *data = priv;
/freebsd-current/contrib/libpcap/
H A Dpcap-netmap.c67 struct pcap_netmap *pn = p->priv;
80 struct pcap_netmap *pn = p->priv;
93 struct pcap_netmap *pn = p->priv;
121 struct pcap_netmap *pn = p->priv;
131 struct pcap_netmap *pn = p->priv;
207 struct pcap_netmap *pn = p->priv;
226 struct pcap_netmap *pn = p->priv;
239 fprintf(stderr, "%s device %s priv %p fd %d ports %d..%d\n",
/freebsd-current/sys/dev/mlx4/mlx4_core/
H A Dmlx4_profile.c74 struct mlx4_priv *priv = mlx4_priv(dev); local
169 for (priv->qp_table.rdmarc_shift = 0;
170 request->num_qp << priv->qp_table.rdmarc_shift < profile[i].num;
171 ++priv->qp_table.rdmarc_shift)
173 dev->caps.max_qp_dest_rdma = 1 << priv->qp_table.rdmarc_shift;
174 priv->qp_table.rdmarc_base = (u32) profile[i].start;
176 init_hca->log_rd_per_qp = priv->qp_table.rdmarc_shift;
210 priv->mr_table.mpt_base = profile[i].start;
219 priv->mr_table.mtt_base = profile[i].start;
/freebsd-current/sys/contrib/dev/mediatek/mt76/mt76x2/
H A Dusb_main.c11 struct mt76x02_dev *dev = hw->priv;
27 struct mt76x02_dev *dev = hw->priv;
67 struct mt76x02_dev *dev = hw->priv;
/freebsd-current/sys/contrib/dev/iwlwifi/fw/
H A Ddebugfs.c294 struct iwl_dbgfs_fw_info_priv *priv = seq->private; local
295 const struct iwl_fw *fw = priv->fwrt->fw;
314 struct iwl_dbgfs_fw_info_priv *priv = seq->private; local
315 const struct iwl_fw *fw = priv->fwrt->fw;
331 struct iwl_dbgfs_fw_info_priv *priv = seq->private; local
332 const struct iwl_fw *fw = priv->fwrt->fw;
354 iwl_get_cmd_string(priv->fwrt->trans, cmd_id));
369 struct iwl_dbgfs_fw_info_priv *priv; local
371 priv = __seq_open_private(filp, &iwl_dbgfs_info_seq_ops,
372 sizeof(*priv));
[all...]
/freebsd-current/contrib/ncurses/ncurses/base/
H A Dkey_defined.c34 #include <curses.priv.h>
H A Dlib_initscr.c43 #include <curses.priv.h>
H A Dlib_inchstr.c43 #include <curses.priv.h>
H A Dlib_nl.c46 #include <curses.priv.h>

Completed in 191 milliseconds

1234567891011>>