/freebsd-11-stable/sys/fs/nfsclient/ |
H A D | nfs_clsubs.c | 176 * If the cache is valid, copy contents to *vap and return 0 183 struct vattr *vap; local 188 vap = &np->n_vattr.na_vattr; 200 if (vap->va_type == VDIR) { 231 if (vap->va_size != np->n_size) { 232 if (vap->va_type == VREG) { 234 if (vap->va_size < np->n_size) 235 vap->va_size = np->n_size; 237 np->n_size = vap->va_size; 239 np->n_size = vap [all...] |
H A D | nfs_kdtrace.h | 87 #define KDTRACE_NFS_ATTRCACHE_GET_HIT(vp, vap) do { \ 90 nfscl_attrcache_get_hit_id, (vp), (vap)); \ 99 #define KDTRACE_NFS_ATTRCACHE_LOAD_DONE(vp, vap, error) do { \ 102 nfscl_attrcache_load_done_id, (vp), (vap), \ 114 #define KDTRACE_NFS_ATTRCACHE_GET_HIT(vp, vap) 116 #define KDTRACE_NFS_ATTRCACHE_LOAD_DONE(vp, vap, error)
|
/freebsd-11-stable/sys/fs/procfs/ |
H A D | procfs.c | 110 vap->va_mode = 0200; 116 vap->va_mode = 0600; 122 vap->va_mode = 0;
|
/freebsd-11-stable/sys/fs/pseudofs/ |
H A D | pseudofs.h | 116 struct vattr *vap 118 td, p, pn, vap
|
/freebsd-11-stable/sys/fs/unionfs/ |
H A D | union_vnops.c | 810 struct vattr *vap; local 821 vap = ap->a_vap; 824 (vap->va_flags != VNOVAL || vap->va_uid != (uid_t)VNOVAL || 825 vap->va_gid != (gid_t)VNOVAL || vap->va_atime.tv_sec != VNOVAL || 826 vap->va_mtime.tv_sec != VNOVAL || vap->va_mode != (mode_t)VNOVAL)) 830 error = unionfs_copyfile(unp, (vap->va_size != 0), 838 error = VOP_SETATTR(uvp, vap, a [all...] |
/freebsd-11-stable/sys/net80211/ |
H A D | ieee80211_acl.c | 99 acl_attach(struct ieee80211vap *vap) argument 110 as->as_vap = vap; 111 vap->iv_as = as; 117 acl_detach(struct ieee80211vap *vap) argument 119 struct aclstate *as = vap->iv_as; 124 acl_free_all(vap); 125 vap->iv_as = NULL; 156 acl_check(struct ieee80211vap *vap, const struct ieee80211_frame *wh) argument 158 struct aclstate *as = vap->iv_as; 173 acl_add(struct ieee80211vap *vap, cons argument 212 acl_remove(struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN]) argument 231 acl_free_all(struct ieee80211vap *vap) argument 247 acl_setpolicy(struct ieee80211vap *vap, int policy) argument 274 acl_getpolicy(struct ieee80211vap *vap) argument 282 acl_setioctl(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 289 acl_getioctl(struct ieee80211vap *vap, struct ieee80211req *ireq) argument [all...] |
H A D | ieee80211_action.c | 247 struct ieee80211vap *vap = ni->ni_vap; local 265 if (ni == vap->iv_bss || 267 IEEE80211_DISCARD_MAC(vap, IEEE80211_MSG_MESH, 271 vap->iv_stats.is_mesh_nolink++;
|
H A D | ieee80211_alq.c | 136 ieee80211_alq_log(struct ieee80211vap *vap, uint8_t op, u_char *p, int l) argument 151 r->r_wlan = htons(vap->iv_ifp->if_dunit);
|
H A D | ieee80211_alq.h | 50 extern void ieee80211_alq_log(struct ieee80211vap *vap, uint8_t op,
|
H A D | ieee80211_crypto.h | 196 uint8_t ieee80211_crypto_get_keyid(struct ieee80211vap *vap, 209 ieee80211_crypto_demic(struct ieee80211vap *vap, struct ieee80211_key *k, argument 220 ieee80211_crypto_enmic(struct ieee80211vap *vap, argument 233 ieee80211_crypto_resetkey(struct ieee80211vap *vap, argument 237 k->wk_private = k->wk_cipher->ic_attach(vap, k);
|
H A D | ieee80211_crypto_ccmp.c | 97 ccmp_attach(struct ieee80211vap *vap, struct ieee80211_key *k) argument 104 vap->iv_stats.is_crypto_nomem++; 107 ctx->cc_vap = vap; 108 ctx->cc_ic = vap->iv_ic; 143 struct ieee80211vap *vap = ctx->cc_vap; local 146 keyid = ieee80211_crypto_get_keyid(vap, k) << 6; 221 struct ieee80211vap *vap = ctx->cc_vap; local 236 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2, 238 vap->iv_stats.is_rx_ccmpformat++; 248 ieee80211_notify_replay_failure(vap, w 564 struct ieee80211vap *vap = ctx->cc_vap; local [all...] |
H A D | ieee80211_crypto_none.c | 75 none_attach(struct ieee80211vap *vap, struct ieee80211_key *k) argument 77 return vap; /* for diagnostics+stats */ 101 struct ieee80211vap *vap = k->wk_private; local 106 keyid = ieee80211_crypto_get_keyid(vap, k); 112 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr1, 115 vap->iv_stats.is_tx_badcipher++; 122 struct ieee80211vap *vap = k->wk_private; local 133 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2, 135 vap->iv_stats.is_rx_badkeyid++; 142 struct ieee80211vap *vap local 151 struct ieee80211vap *vap = k->wk_private; local [all...] |
H A D | ieee80211_crypto_tkip.c | 109 tkip_attach(struct ieee80211vap *vap, struct ieee80211_key *k) argument 116 vap->iv_stats.is_crypto_nomem++; 120 ctx->tc_vap = vap; 155 struct ieee80211vap *vap = ctx->tc_vap; local 158 keyid = ieee80211_crypto_get_keyid(vap, k) << 6; 178 struct ieee80211vap *vap = ctx->tc_vap; local 179 struct ieee80211com *ic = vap->iv_ic; 186 if (vap->iv_flags & IEEE80211_F_COUNTERM) { 191 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2, 193 vap 230 struct ieee80211vap *vap = ctx->tc_vap; local 263 struct ieee80211vap *vap = ctx->tc_vap; local 343 struct ieee80211vap *vap = ctx->tc_vap; local 965 struct ieee80211vap *vap = ctx->tc_vap; local [all...] |
H A D | ieee80211_crypto_wep.c | 88 wep_attach(struct ieee80211vap *vap, struct ieee80211_key *k) argument 95 vap->iv_stats.is_crypto_nomem++; 99 ctx->wc_vap = vap; 100 ctx->wc_ic = vap->iv_ic; 126 struct ieee80211vap *vap = ctx->wc_vap; local 130 keyid = ieee80211_crypto_get_keyid(vap, k) << 6; 229 struct ieee80211vap *vap = ctx->wc_vap; local 241 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2, 243 vap->iv_stats.is_rx_wepfail++; 326 struct ieee80211vap *vap local 409 struct ieee80211vap *vap = ctx->wc_vap; local [all...] |
H A D | ieee80211_ddb.c | 108 DB_SHOW_COMMAND(vap, db_show_vap) 113 db_printf("usage: show vap <addr>\n"); 324 _db_show_vap(const struct ieee80211vap *vap, int showmesh, int showprocs) argument 326 const struct ieee80211com *ic = vap->iv_ic; 329 db_printf("%p:", vap); 330 db_printf(" bss %p", vap->iv_bss); 331 db_printf(" myaddr %s", ether_sprintf(vap->iv_myaddr)); 334 db_printf("\topmode %s", ieee80211_opmode_name[vap->iv_opmode]); 336 if (vap->iv_opmode == IEEE80211_M_MBSS) 337 db_printf("(%p)", vap 500 struct ieee80211vap *vap; local 675 const struct ieee80211vap *vap; local [all...] |
H A D | ieee80211_hwmp.c | 251 hwmp_vattach(struct ieee80211vap *vap) argument 255 KASSERT(vap->iv_opmode == IEEE80211_M_MBSS, 256 ("not a mesh vap, opmode %d", vap->iv_opmode)); 266 vap->iv_hwmp = hs; 270 hwmp_vdetach(struct ieee80211vap *vap) argument 272 struct ieee80211_hwmp_state *hs = vap->iv_hwmp; 275 IEEE80211_FREE(vap->iv_hwmp, M_80211_VAP); 276 vap->iv_hwmp = NULL; 280 hwmp_newstate(struct ieee80211vap *vap, enu argument 301 verify_mesh_preq_len(struct ieee80211vap *vap, const struct ieee80211_frame *wh, const uint8_t *iefrm) argument 332 verify_mesh_prep_len(struct ieee80211vap *vap, const struct ieee80211_frame *wh, const uint8_t *iefrm) argument 356 verify_mesh_perr_len(struct ieee80211vap *vap, const struct ieee80211_frame *wh, const uint8_t *iefrm) argument 396 struct ieee80211vap *vap = ni->ni_vap; local 576 hwmp_send_action(struct ieee80211vap *vap, const uint8_t da[IEEE80211_ADDR_LEN], uint8_t *ie, size_t len) argument 796 hwmp_rootmode_setup(struct ieee80211vap *vap) argument 830 struct ieee80211vap *vap = (struct ieee80211vap *)arg; local 871 struct ieee80211vap *vap = (struct ieee80211vap *)arg; local 898 hwmp_update_transmitter(struct ieee80211vap *vap, struct ieee80211_node *ni, const char *hwmp_frame) argument 937 hwmp_recv_preq(struct ieee80211vap *vap, struct ieee80211_node *ni, const struct ieee80211_frame *wh, const struct ieee80211_meshpreq_ie *preq) argument 1226 hwmp_send_preq(struct ieee80211vap *vap, const uint8_t da[IEEE80211_ADDR_LEN], struct ieee80211_meshpreq_ie *preq, struct timeval *last, struct timeval *minint) argument 1259 hwmp_recv_prep(struct ieee80211vap *vap, struct ieee80211_node *ni, const struct ieee80211_frame *wh, const struct ieee80211_meshprep_ie *prep) argument 1469 hwmp_send_prep(struct ieee80211vap *vap, const uint8_t da[IEEE80211_ADDR_LEN], struct ieee80211_meshprep_ie *prep) argument 1497 struct ieee80211vap *vap = ni->ni_vap; local 1532 hwmp_recv_perr(struct ieee80211vap *vap, struct ieee80211_node *ni, const struct ieee80211_frame *wh, const struct ieee80211_meshperr_ie *perr) argument 1634 hwmp_send_perr(struct ieee80211vap *vap, const uint8_t da[IEEE80211_ADDR_LEN], struct ieee80211_meshperr_ie *perr) argument 1683 hwmp_senderror(struct ieee80211vap *vap, const uint8_t addr[IEEE80211_ADDR_LEN], struct ieee80211_mesh_route *rt, int rcode) argument 1731 hwmp_recv_rann(struct ieee80211vap *vap, struct ieee80211_node *ni, const struct ieee80211_frame *wh, const struct ieee80211_meshrann_ie *rann) argument 1824 hwmp_send_rann(struct ieee80211vap *vap, const uint8_t da[IEEE80211_ADDR_LEN], struct ieee80211_meshrann_ie *rann) argument 1849 struct ieee80211vap *vap = rt->rt_vap; local 1902 hwmp_discover(struct ieee80211vap *vap, const uint8_t dest[IEEE80211_ADDR_LEN], struct mbuf *m) argument 2034 hwmp_ioctl_get80211(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 2057 hwmp_ioctl_set80211(struct ieee80211vap *vap, struct ieee80211req *ireq) argument [all...] |
H A D | ieee80211_input.c | 122 struct ieee80211vap *vap; local 136 TAILQ_FOREACH(vap, &ic->ic_vaps, iv_next) { 141 if (vap->iv_state == IEEE80211_S_INIT) 144 * WDS vap's only receive directed traffic from the 146 * be passed through the AP vap the station is associated 149 if (vap->iv_opmode == IEEE80211_M_WDS) 151 if (TAILQ_NEXT(vap, iv_next) != NULL) { 165 ni = ieee80211_ref_node(vap->iv_bss); 182 struct ieee80211vap *vap = ni->ni_vap; local 251 vap 267 ieee80211_deliver_data(struct ieee80211vap *vap, struct ieee80211_node *ni, struct mbuf *m) argument 304 ieee80211_decap(struct ieee80211vap *vap, struct mbuf *m, int hdrlen) argument 404 struct ieee80211vap *vap = ni->ni_vap; local 440 struct ieee80211vap *vap = ni->ni_vap; local 495 struct ieee80211vap *vap = ni->ni_vap; local 739 struct ieee80211vap *vap = ni->ni_vap; local 859 ieee80211_ssid_mismatch(struct ieee80211vap *vap, const char *tag, uint8_t mac[IEEE80211_ADDR_LEN], uint8_t *ssid) argument 872 ieee80211_getbssid(const struct ieee80211vap *vap, const struct ieee80211_frame *wh) argument 887 ieee80211_note(const struct ieee80211vap *vap, const char *fmt, ...) argument 900 ieee80211_note_frame(const struct ieee80211vap *vap, const struct ieee80211_frame *wh, const char *fmt, ...) argument 915 ieee80211_note_mac(const struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN], const char *fmt, ...) argument 929 ieee80211_discard_frame(const struct ieee80211vap *vap, const struct ieee80211_frame *wh, const char *type, const char *fmt, ...) argument 946 ieee80211_discard_ie(const struct ieee80211vap *vap, const struct ieee80211_frame *wh, const char *type, const char *fmt, ...) argument 965 ieee80211_discard_mac(const struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN], const char *type, const char *fmt, ...) argument [all...] |
H A D | ieee80211_input.h | 33 IEEE80211_DISCARD(vap, IEEE80211_MSG_ELEMID, \ 35 vap->iv_stats.is_rx_elem_missing++; \ 38 IEEE80211_DISCARD(vap, IEEE80211_MSG_ELEMID, \ 40 vap->iv_stats.is_rx_elem_toobig++; \ 47 IEEE80211_DISCARD(vap, IEEE80211_MSG_ELEMID, \ 50 vap->iv_stats.is_rx_elem_toosmall++; \ 63 if (ieee80211_msg_input(vap)) \ 64 ieee80211_ssid_mismatch(vap, \ 67 vap->iv_stats.is_rx_ssidmismatch++; \ 76 vap 161 struct ieee80211vap *vap = ni->ni_vap; local [all...] |
H A D | ieee80211_mesh.h | 582 ieee80211_mesh_isproxyena(struct ieee80211vap *vap) argument 584 struct ieee80211_mesh_state *ms = vap->iv_mesh; 597 ieee80211_mesh_discover(struct ieee80211vap *vap, argument 600 struct ieee80211_mesh_state *ms = vap->iv_mesh; 601 return ms->ms_ppath->mpp_discover(vap, dest, m);
|
H A D | ieee80211_monitor.c | 78 monitor_vdetach(struct ieee80211vap *vap) argument 83 monitor_vattach(struct ieee80211vap *vap) argument 85 vap->iv_newstate = monitor_newstate; 86 vap->iv_input = monitor_input; 87 vap->iv_opdetach = monitor_vdetach; 91 * IEEE80211_M_MONITOR vap state machine handler. 94 monitor_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument 96 struct ieee80211com *ic = vap->iv_ic; 101 ostate = vap->iv_state; 102 IEEE80211_DPRINTF(vap, IEEE80211_MSG_STAT 131 struct ieee80211vap *vap = ni->ni_vap; local [all...] |
H A D | ieee80211_node.h | 113 struct ieee80211vap *ni_vap; /* associated vap */ 114 struct ieee80211com *ni_ic; /* copy from vap to save deref*/ 232 struct ieee80211vap *ni_wdsvap; /* associated WDS vap */ 390 const struct ieee80211vap *vap, 395 const struct ieee80211vap *vap, 414 #define ieee80211_find_vap_node_locked(nt, vap, mac) \ 415 ieee80211_find_vap_node_locked_debug(nt, vap, mac, __func__, __LINE__) 416 #define ieee80211_find_vap_node(nt, vap, mac) \ 417 ieee80211_find_vap_node_debug(nt, vap, mac, __func__, __LINE__) 422 #define ieee80211_find_txnode(vap, ma [all...] |
H A D | ieee80211_power.c | 66 ieee80211_power_vattach(struct ieee80211vap *vap) argument 68 if (vap->iv_opmode == IEEE80211_M_HOSTAP || 69 vap->iv_opmode == IEEE80211_M_IBSS) { 71 vap->iv_update_ps = ieee80211_update_ps; 72 vap->iv_set_tim = ieee80211_set_tim; 74 vap->iv_node_ps = ieee80211_node_pwrsave; 75 vap->iv_sta_ps = ieee80211_sta_pwrsave; 79 ieee80211_power_latevattach(struct ieee80211vap *vap) argument 85 if (vap->iv_opmode == IEEE80211_M_HOSTAP) { 86 vap 99 ieee80211_power_vdetach(struct ieee80211vap *vap) argument 233 struct ieee80211vap *vap = ni->ni_vap; local 273 ieee80211_update_ps(struct ieee80211vap *vap, int nsta) argument 287 struct ieee80211vap *vap = ni->ni_vap; local 327 struct ieee80211vap *vap = ni->ni_vap; local 420 struct ieee80211vap *vap = ni->ni_vap; local 481 struct ieee80211vap *vap = ni->ni_vap; local 521 ieee80211_sta_pwrsave(struct ieee80211vap *vap, int enable) argument 556 ieee80211_sta_tim_notify(struct ieee80211vap *vap, int set) argument 598 ieee80211_sta_ps_timer_check(struct ieee80211vap *vap) argument [all...] |
H A D | ieee80211_power.h | 76 * Don't call these directly from the stack; they are vap methods 82 void ieee80211_sta_tim_notify(struct ieee80211vap *vap, int set); 83 void ieee80211_sta_ps_timer_check(struct ieee80211vap *vap);
|
H A D | ieee80211_radiotap.c | 112 ieee80211_radiotap_vattach(struct ieee80211vap *vap) argument 114 struct ieee80211com *ic = vap->iv_ic; 119 bpfattach2(vap->iv_ifp, DLT_IEEE802_11_RADIO, 121 &vap->iv_rawbpf); 126 ieee80211_radiotap_vdetach(struct ieee80211vap *vap) argument 192 struct ieee80211vap *vap; local 194 TAILQ_FOREACH(vap, &ic->ic_vaps, iv_next) { 195 if (vap != vap0 && 196 vap->iv_opmode == IEEE80211_M_MONITOR && 197 (vap 259 struct ieee80211vap *vap; local [all...] |
H A D | ieee80211_ratectl.c | 85 struct ieee80211vap *vap = arg1; local 86 struct ieee80211com *ic = vap->iv_ic; 108 ieee80211_ratectl_init(struct ieee80211vap *vap) argument 110 if (vap->iv_rate == ratectls[IEEE80211_RATECTL_NONE]) 111 ieee80211_ratectl_set(vap, IEEE80211_RATECTL_AMRR); 112 vap->iv_rate->ir_init(vap); 115 SYSCTL_ADD_PROC(vap->iv_sysctl, SYSCTL_CHILDREN(vap->iv_oid), OID_AUTO, 116 "rate_stats", CTLTYPE_STRING | CTLFLAG_RD | CTLFLAG_MPSAFE, vap, 121 ieee80211_ratectl_set(struct ieee80211vap *vap, int type) argument [all...] |