Searched refs:vap (Results 1 - 25 of 191) sorted by path

12345678

/freebsd-11-stable/cddl/contrib/opensolaris/lib/libzpool/common/
H A Dkernel.c587 fop_getattr(vnode_t *vp, vattr_t *vap) argument
596 vap->va_size = st.st_size;
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libzpool/common/sys/
H A Dzfs_context.h513 extern int fop_getattr(vnode_t *vp, vattr_t *vap);
517 #define VOP_GETATTR(vp, vap, cr) fop_getattr((vp), (vap));
/freebsd-11-stable/contrib/libxo/libxo/
H A Dlibxo.c960 xo_vsnprintf (xo_handle_t *xop, xo_buffer_t *xbp, const char *fmt, va_list vap) argument
966 va_copy(va_local, vap);
980 * After we call vsnprintf(), the stage of vap is not defined.
987 va_end(va_local); /* Reset vap to the start */
988 va_copy(va_local, vap);
1005 xo_printf_v (xo_handle_t *xop, const char *fmt, va_list vap) argument
1012 va_copy(va_local, vap);
1022 va_end(va_local); /* Reset vap to the start */
1023 va_copy(va_local, vap);
1041 va_list vap; local
1511 xo_warn_hcv(xo_handle_t *xop, int code, int check_warn, const char *fmt, va_list vap) argument
1599 va_list vap; local
1609 va_list vap; local
1620 va_list vap; local
1630 va_list vap; local
1641 va_list vap; local
1653 va_list vap; local
1665 va_list vap; local
1680 xo_message_hcv(xo_handle_t *xop, int code, const char *fmt, va_list vap) argument
1829 va_list vap; local
1839 va_list vap; local
1850 va_list vap; local
1860 va_list vap; local
6560 xo_emit_hv(xo_handle_t *xop, const char *fmt, va_list vap) argument
6602 xo_emit_hvf(xo_handle_t *xop, xo_emit_flags_t flags, const char *fmt, va_list vap) argument
6651 xo_emit_field_hv(xo_handle_t *xop, const char *rolmod, const char *contents, const char *fmt, const char *efmt, va_list vap) argument
6700 va_list vap; local
6714 va_list vap; local
6724 xo_attr_hv(xo_handle_t *xop, const char *name, const char *fmt, va_list vap) argument
6784 va_list vap; local
6797 va_list vap; local
7998 xo_error_hv(xo_handle_t *xop, const char *fmt, va_list vap) argument
8057 va_list vap; local
8070 va_list vap; local
8229 xo_emit_warn_hcv(xo_handle_t *xop, int as_warning, int code, const char *fmt, va_list vap) argument
8283 va_list vap; local
8293 va_list vap; local
8304 va_list vap; local
8314 va_list vap; local
8322 xo_emit_err_v(int eval, int code, const char *fmt, va_list vap) argument
8333 va_list vap; local
8343 va_list vap; local
8355 va_list vap; local
[all...]
H A Dxo.h203 xo_emit_hv (xo_handle_t *xop, const char *fmt, va_list vap);
213 const char *fmt, va_list vap);
223 xo_emit_hvp (xo_handle_t *xop, const char *fmt, va_list vap) argument
225 return xo_emit_hv(xop, fmt, vap);
232 va_list vap; local
233 va_start(vap, fmt);
234 int rc = xo_emit_hv(xop, fmt, vap);
235 va_end(vap);
243 va_list vap; local
244 va_start(vap, fm
252 xo_emit_hvfp(xo_handle_t *xop, xo_emit_flags_t flags, const char *fmt, va_list vap) argument
262 va_list vap; local
273 va_list vap; local
463 xo_emit_warn_hcvp(xo_handle_t *xop, int as_warning, int code, const char *fmt, va_list vap) argument
473 va_list vap; local
483 va_list vap; local
494 va_list vap; local
504 va_list vap; local
515 va_list vap; local
527 va_list vap; local
538 va_list vap; local
[all...]
H A Dxo_syslog.c489 xo_vsyslog (int pri, const char *name, const char *fmt, va_list vap) argument
653 va_copy(ap, vap);
/freebsd-11-stable/contrib/libxo/xo/
H A Dxo.c80 checkpoint (xo_handle_t *xop UNUSED, va_list vap UNUSED, int restore)
95 const char *fmt, va_list vap UNUSED)
/freebsd-11-stable/contrib/netbsd-tests/fs/puffs/h_dtfs/
H A Ddtfs_subr.c43 dtfs_baseattrs(struct vattr *vap, enum vtype type, ino_t id) argument
51 vap->va_type = type;
53 vap->va_mode = 0777;
54 vap->va_nlink = 1; /* n + 1 after adding dent */
56 vap->va_mode = 0666;
57 vap->va_nlink = 0; /* n + 1 */
59 vap->va_uid = 0;
60 vap->va_gid = 0;
61 vap->va_fileid = id;
62 vap
[all...]
/freebsd-11-stable/sys/arm/arm/
H A Dpmap-v4.c2120 pmap_alloc_specials(vm_offset_t *availp, int pages, vm_offset_t *vap, argument
2134 *vap = va;
/freebsd-11-stable/sys/cddl/compat/opensolaris/kern/
H A Dopensolaris_policy.c213 secpolicy_vnode_setattr(cred_t *cr, vnode_t *vp, struct vattr *vap, argument
217 int mask = vap->va_mask;
239 error = secpolicy_setid_setsticky_clear(vp, vap, ovap, cr);
243 vap->va_mode = ovap->va_mode;
255 if (((mask & AT_UID) && vap->va_uid != ovap->va_uid) ||
256 ((mask & AT_GID) && vap->va_gid != ovap->va_gid &&
257 !groupmember(vap->va_gid, cr))) {
265 if (((mask & AT_UID) && vap->va_uid != ovap->va_uid) ||
266 ((mask & AT_GID) && vap->va_gid != ovap->va_gid)) {
267 secpolicy_setid_clear(vap, v
317 secpolicy_setid_clear(struct vattr *vap, vnode_t *vp, cred_t *cr) argument
332 secpolicy_setid_setsticky_clear(vnode_t *vp, struct vattr *vap, const struct vattr *ovap, cred_t *cr) argument
[all...]
/freebsd-11-stable/sys/cddl/compat/opensolaris/sys/
H A Dpolicy.h57 int secpolicy_vnode_setattr(cred_t *cr, vnode_t *vp, struct vattr *vap,
64 void secpolicy_setid_clear(struct vattr *vap, vnode_t *vp, cred_t *cr);
65 int secpolicy_setid_setsticky_clear(vnode_t *vp, struct vattr *vap,
H A Dvnode.h124 vattr_init_mask(vattr_t *vap) argument
127 vap->va_mask = 0;
129 if (vap->va_type != VNON)
130 vap->va_mask |= AT_TYPE;
131 if (vap->va_uid != (uid_t)VNOVAL)
132 vap->va_mask |= AT_UID;
133 if (vap->va_gid != (gid_t)VNOVAL)
134 vap->va_mask |= AT_GID;
135 if (vap->va_size != (u_quad_t)VNOVAL)
136 vap
[all...]
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dzfs_znode.h330 vattr_t *vap);
332 vattr_t *vap);
347 znode_t *zp, vattr_t *vap, uint_t mask_applied, zfs_fuid_info_t *fuidp);
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzfs_acl.c1609 zfs_acl_ids_create(znode_t *dzp, int flag, vattr_t *vap, cred_t *cr, argument
1625 acl_ids->z_mode = MAKEIMODE(vap->va_type, vap->va_mode);
1628 if ((error = zfs_vsec_2_aclp(zfsvfs, vap->va_type, vsecp, cr,
1635 ((flag & IS_XATTR) && (vap->va_type == VDIR))) {
1637 (uint64_t)vap->va_uid, cr,
1640 (uint64_t)vap->va_gid, cr,
1642 gid = vap->va_gid;
1647 if (vap->va_mask & AT_GID) {
1649 (uint64_t)vap
[all...]
H A Dzfs_dir.c791 zfs_make_xattrdir(znode_t *zp, vattr_t *vap, vnode_t **xvpp, cred_t *cr) argument
812 if ((error = zfs_acl_ids_create(zp, IS_XATTR, vap, cr, NULL,
836 zfs_mknode(zp, vap, tx, cr, IS_XATTR, &xzp, &acl_ids);
851 xzp, "", NULL, acl_ids.z_fuidp, vap);
H A Dzfs_replay.c56 zfs_init_vattr(vattr_t *vap, uint64_t mask, uint64_t mode, argument
59 VATTR_NULL(vap);
60 vap->va_mask = (uint_t)mask;
62 vap->va_type = IFTOVT(mode);
64 vap->va_mode = mode & MODEMASK;
66 vap->va_uid = (uid_t)(IS_EPHEMERAL(uid)) ? -1 : uid;
68 vap->va_gid = (gid_t)(IS_EPHEMERAL(gid)) ? -1 : gid;
69 vap->va_rdev = zfs_cmpldev(rdev);
70 vap->va_nodeid = nodeid;
874 vattr_t *vap local
[all...]
/freebsd-11-stable/sys/compat/ndis/
H A Dsubr_ndis.c2752 struct vattr *vap = &vat; local
2845 VOP_GETATTR(nd.ni_vp, vap, td->td_ucred);
2852 *filelength = fh->nf_maplen = vap->va_size & 0xFFFFFFFF;
/freebsd-11-stable/sys/dev/ath/ath_rate/amrr/
H A Damrr.c222 struct ieee80211vap *vap = ni->ni_vap; local
228 IEEE80211_NOTE(vap, IEEE80211_MSG_RATECTL, ni,
294 if (vap->iv_opmode == IEEE80211_M_STA)
/freebsd-11-stable/sys/dev/ath/ath_rate/onoe/
H A Donoe.c195 struct ieee80211vap *vap = ni->ni_vap; local
201 IEEE80211_NOTE(vap, IEEE80211_MSG_RATECTL, ni,
267 if (vap->iv_opmode == IEEE80211_M_STA)
/freebsd-11-stable/sys/dev/ath/
H A Dif_ath.c137 * ATH_BCBUF determines the number of vap's that can transmit
138 * beacons and also (currently) the number of vap's that can
1381 * The first vap uses the MAC address from the EEPROM. For
1382 * subsequent vap's we set the U/L bit (bit 1) in the MAC
1453 struct ieee80211vap *vap; local
1463 ic_opmode = opmode; /* default to opmode of new vap */
1467 device_printf(sc->sc_dev, "only 1 sta vap supported\n");
1487 "only 1 ibss vap supported\n");
1497 "only 1 tdma vap supported\n");
1509 * vap t
1705 ath_vap_delete(struct ieee80211vap *vap) argument
2120 struct ieee80211vap *vap = local
2302 ath_bmiss_vap(struct ieee80211vap *vap) argument
2968 ath_reset_vap(struct ieee80211vap *vap, u_long cmd) argument
3446 ath_key_update_begin(struct ieee80211vap *vap) argument
3455 ath_key_update_end(struct ieee80211vap *vap) argument
3493 struct ieee80211vap *vap; local
3747 ath_node_alloc(struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN]) argument
5463 struct ieee80211vap *vap; local
5475 ath_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument
5813 struct ieee80211vap *vap = ni->ni_vap; local
5846 struct ieee80211vap *vap = ni->ni_vap; local
[all...]
H A Dif_ath_beacon.c178 struct ieee80211vap *vap = ni->ni_vap; local
179 struct ath_vap *avp = ATH_VAP(vap);
234 * each time a beacon frame is sent. Note that we align vap's
235 * 1..N and leave vap 0 untouched. This means vap 0 has a
375 ath_beacon_update(struct ieee80211vap *vap, int item) argument
377 struct ieee80211_beacon_offsets *bo = &vap->iv_bcn_off;
430 struct ieee80211vap *vap; local
473 vap = sc->sc_bslot[(slot+1) % ATH_BCBUF];
475 if (vap !
693 ath_beacon_generate(struct ath_softc *sc, struct ieee80211vap *vap) argument
814 ath_beacon_start_adhoc(struct ath_softc *sc, struct ieee80211vap *vap) argument
914 ath_beacon_config(struct ath_softc *sc, struct ieee80211vap *vap) argument
[all...]
H A Dif_ath_beacon.h39 struct ieee80211vap *vap);
41 struct ieee80211vap *vap);
44 extern void ath_beacon_update(struct ieee80211vap *vap, int item);
46 struct ieee80211vap *vap);
H A Dif_ath_ioctl.c245 struct ieee80211vap *vap; local
252 TAILQ_FOREACH(vap, &ic->ic_vaps, iv_next) {
253 ifp = vap->iv_ifp;
H A Dif_ath_keycache.c183 ath_keyset(struct ath_softc *sc, struct ieee80211vap *vap, argument
237 if ((vap->iv_opmode == IEEE80211_M_HOSTAP ||
238 vap->iv_opmode == IEEE80211_M_IBSS) &&
417 ath_key_alloc(struct ieee80211vap *vap, struct ieee80211_key *k, argument
420 struct ath_softc *sc = vap->iv_ic->ic_softc;
437 if (!(&vap->iv_nw_keys[0] <= k &&
438 k < &vap->iv_nw_keys[IEEE80211_WEP_NKID])) {
444 if (vap->iv_opmode != IEEE80211_M_HOSTAP ||
452 *keyix = *rxkeyix = k - vap->iv_nw_keys;
486 ath_key_delete(struct ieee80211vap *vap, cons argument
530 ath_key_set(struct ieee80211vap *vap, const struct ieee80211_key *k) argument
[all...]
H A Dif_ath_keycache.h39 extern int ath_keyset(struct ath_softc *sc, struct ieee80211vap *vap,
H A Dif_ath_rx.c337 struct ieee80211vap *vap = ni->ni_vap; local
338 struct ath_softc *sc = vap->iv_ic->ic_softc;
361 ATH_VAP(vap)->av_recv_mgmt(ni, m, subtype, rxs, rssi, nf);
375 if (IEEE80211_ADDR_EQ(ni->ni_bssid, vap->iv_bss->ni_bssid)) {
377 /* XXX unlocked check against vap->iv_bss? */
439 if (vap->iv_opmode == IEEE80211_M_STA &&
441 ni == vap->iv_bss &&
442 (vap->iv_state == IEEE80211_S_RUN || vap->iv_state == IEEE80211_S_SLEEP)) {
450 ath_beacon_config(sc, vap);
[all...]

Completed in 254 milliseconds

12345678