/freebsd-11-stable/sys/security/mac_bsdextended/ |
H A D | mac_bsdextended.c | 229 struct ucred *cred, struct vnode *vp, struct vattr *vap, int acc_mode) 286 match = (vap->va_uid <= rule->mbr_object.mbo_uid_max && 287 vap->va_uid >= rule->mbr_object.mbo_uid_min); 295 match = (vap->va_gid <= rule->mbr_object.mbo_gid_max && 296 vap->va_gid >= rule->mbr_object.mbo_gid_min); 314 match = (vap->va_mode & S_ISUID); 322 match = (vap->va_mode & S_ISGID); 330 match = (vap->va_uid == cred->cr_uid || 331 vap->va_uid == cred->cr_ruid || 332 vap 228 ugidfw_rulecheck(struct mac_bsdextended_rule *rule, struct ucred *cred, struct vnode *vp, struct vattr *vap, int acc_mode) argument 426 ugidfw_check(struct ucred *cred, struct vnode *vp, struct vattr *vap, int acc_mode) argument 459 struct vattr vap; local [all...] |
/freebsd-11-stable/sys/dev/iwm/ |
H A D | if_iwm_power.c | 255 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local 256 int dtimper = vap->iv_dtim_period ?: 1; 288 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local 289 struct iwm_vap *ivp = IWM_VAP(vap); 293 dtimper = vap->iv_dtim_period ?: 1; 375 struct ieee80211vap *vap = TAILQ_FIRST(&sc->sc_ic.ic_vaps); local 382 if (vap != NULL && (vap->iv_flags & IEEE80211_F_PMGTON) == 0) 419 struct ieee80211vap *vap = TAILQ_FIRST(&sc->sc_ic.ic_vaps); local 426 if (vap ! 435 struct ieee80211vap *vap = TAILQ_FIRST(&sc->sc_ic.ic_vaps); local [all...] |
H A D | if_iwm_mac_ctxt.c | 260 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local 261 struct ieee80211_node *ni = vap->iv_bss; 262 struct iwm_vap *ivp = IWM_VAP(vap); 271 * These are both functions of the vap, not of the node. 287 * It's per-vap, not per-node. 291 IEEE80211_ADDR_COPY(cmd->node_addr, vap->iv_myaddr); 381 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local 384 dtim_period = vap->iv_dtim_period; 385 dtim_count = vap->iv_dtim_count; 460 iwm_mvm_mac_ctxt_cmd_station(struct iwm_softc *sc, struct ieee80211vap *vap, argument 488 iwm_mvm_mac_ctx_send(struct iwm_softc *sc, struct ieee80211vap *vap, uint32_t action) argument 495 iwm_mvm_mac_ctxt_add(struct iwm_softc *sc, struct ieee80211vap *vap) argument 514 iwm_mvm_mac_ctxt_changed(struct iwm_softc *sc, struct ieee80211vap *vap) argument [all...] |
/freebsd-11-stable/sys/net80211/ |
H A D | ieee80211_tdma.h | 96 int ieee80211_tdma_getslot(struct ieee80211vap *vap); 98 uint8_t *ieee80211_add_tdma(uint8_t *frm, struct ieee80211vap *vap); 100 void ieee80211_tdma_update_beacon(struct ieee80211vap *vap,
|
H A D | ieee80211_dfs.c | 132 struct ieee80211vap *vap = arg; local 133 struct ieee80211com *ic = vap->iv_ic; 139 if (vap->iv_state != IEEE80211_S_CAC) /* NB: just in case */ 150 if_printf(vap->iv_ifp, 156 vap->iv_des_chan = dfs->newchan; 157 ieee80211_new_state_locked(vap, IEEE80211_S_SCAN, 0); 159 if_printf(vap->iv_ifp, 175 ieee80211_cac_completeswitch(vap); 185 ieee80211_dfs_cac_start(struct ieee80211vap *vap) argument 187 struct ieee80211com *ic = vap 203 ieee80211_dfs_cac_stop(struct ieee80211vap *vap) argument [all...] |
H A D | ieee80211_regdomain.c | 89 ieee80211_regdomain_vattach(struct ieee80211vap *vap) argument 94 ieee80211_regdomain_vdetach(struct ieee80211vap *vap) argument 324 struct ieee80211vap *vap; local 327 TAILQ_FOREACH(vap, &ic->ic_vaps, iv_next) 328 if (vap->iv_state != IEEE80211_S_INIT) 334 ieee80211_setregdomain(struct ieee80211vap *vap, argument 337 struct ieee80211com *ic = vap->iv_ic; 344 IEEE80211_DPRINTF(vap, IEEE80211_MSG_IOCTL, 349 IEEE80211_DPRINTF(vap, IEEE80211_MSG_IOCTL, 355 IEEE80211_DPRINTF(vap, IEEE80211_MSG_IOCT [all...] |
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);
|
/freebsd-11-stable/sys/fs/tmpfs/ |
H A D | tmpfs_vnops.c | 243 struct vattr *vap = v->a_vap; local 246 MPASS(vap->va_type == VREG || vap->va_type == VSOCK); 248 error = tmpfs_alloc_file(dvp, vpp, vap, cnp, NULL); 260 struct vattr *vap = v->a_vap; local 262 if (vap->va_type != VBLK && vap->va_type != VCHR && 263 vap->va_type != VFIFO) 266 return tmpfs_alloc_file(dvp, vpp, vap, cnp, NULL); 372 struct vattr *vap local 411 struct vattr *vap = v->a_vap; local 1081 struct vattr *vap = v->a_vap; local 1187 struct vattr *vap = v->a_vap; local [all...] |
/freebsd-11-stable/sys/dev/mwl/ |
H A D | if_mwl.c | 560 * The first vap uses the MAC address from the EEPROM. For 561 * subsequent vap's we set the U/L bit (bit 1) in the MAC 599 struct ieee80211vap *vap, *apvap; local 630 hvap = NULL; /* NB: we use associated AP vap */ 632 return NULL; /* no existing AP vap */ 647 * WDS vaps must have an associated AP vap; find one. 655 KASSERT(mvp->mv_ap_hvap != NULL, ("no ap vap")); 657 vap = &mvp->mv_vap; 658 ieee80211_vap_setup(ic, vap, name, unit, opmode, flags, bssid); 660 mvp->mv_newstate = vap 720 mwl_vap_delete(struct ieee80211vap *vap) argument 1020 mwl_setrates(struct ieee80211vap *vap) argument 1051 mwl_seteapolformat(struct ieee80211vap *vap) argument 1209 mwl_reset_vap(struct ieee80211vap *vap, int state) argument 1243 mwl_reset(struct ieee80211vap *vap, u_long cmd) argument 1471 struct ieee80211vap *vap = ifp->if_softc; local 1517 mwl_key_alloc(struct ieee80211vap *vap, struct ieee80211_key *k, ieee80211_keyix *keyix, ieee80211_keyix *rxkeyix) argument 1546 mwl_key_delete(struct ieee80211vap *vap, const struct ieee80211_key *k) argument 1607 mwl_key_set(struct ieee80211vap *vap, const struct ieee80211_key *k) argument 1613 _mwl_key_set(struct ieee80211vap *vap, const struct ieee80211_key *k, const uint8_t mac[IEEE80211_ADDR_LEN]) argument 1832 mwl_beacon_setup(struct ieee80211vap *vap) argument 1851 mwl_beacon_update(struct ieee80211vap *vap, int item) argument 1891 mwl_update_ps(struct ieee80211vap *vap, int nsta) argument 1906 struct ieee80211vap *vap = ni->ni_vap; local 2242 mwl_node_alloc(struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN]) argument 2269 struct ieee80211vap *vap = ni->ni_vap; local 3069 struct ieee80211vap *vap = ni->ni_vap; local 3513 mwl_cleartxq(struct mwl_softc *sc, struct ieee80211vap *vap) argument 3559 struct ieee80211vap *vap = ni->ni_vap; local 3643 struct ieee80211vap *vap = ni->ni_vap; local 3748 mwl_getapmode(const struct ieee80211vap *vap, struct ieee80211_channel *chan) argument 3776 mwl_setapmode(struct ieee80211vap *vap, struct ieee80211_channel *chan) argument 3873 mwl_startcsa(struct ieee80211vap *vap) argument 3894 mwl_setanywepkey(struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN]) argument 3908 struct ieee80211vap *vap = ni->ni_vap; local 3939 mwl_setglobalkeys(struct ieee80211vap *vap) argument 4002 const struct ieee80211vap *vap = ni->ni_vap; local 4036 mwl_localstadb(struct ieee80211vap *vap) argument 4072 mwl_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument 4259 struct ieee80211vap *vap = ni->ni_vap; local [all...] |
H A D | mwlhal.c | 73 #define MWL_MBSS_AP_MAX 8 /* max ap vap's */ 74 #define MWL_MBSS_STA_MAX 24 /* max station/client vap's */ 104 #define _VCMD_SETUP(vap, pCmd, type, cmd) do { \ 106 pCmd->CmdHdr.MacId = vap->macid; \ 266 /* setup constant portion of vap state */ 267 /* XXX should get max ap/client vap's from f/w */ 413 struct mwl_hal_vap *vap; local 419 vap = &mh->mh_vaps[i]; 420 if (vap->vap_type == type && vap 431 mwl_hal_delvap(struct mwl_hal_vap *vap) argument 690 mwl_hal_sethtgi(struct mwl_hal_vap *vap, int GIType) argument 776 mwl_hal_setrtsthreshold(struct mwl_hal_vap *vap, int threshold) argument 797 mwl_hal_setinframode(struct mwl_hal_vap *vap) argument 938 mwl_hal_settxrate(struct mwl_hal_vap *vap, MWL_HAL_TXRATE_HANDLING handling, const MWL_HAL_TXRATE *rate) argument 1177 mwl_hal_keyset(struct mwl_hal_vap *vap, const MWL_HAL_KEYVAL *kv, const uint8_t mac[IEEE80211_ADDR_LEN]) argument 1227 mwl_hal_keyreset(struct mwl_hal_vap *vap, const MWL_HAL_KEYVAL *kv, const uint8_t mac[IEEE80211_ADDR_LEN]) argument 1252 mwl_hal_setmac_locked(struct mwl_hal_vap *vap, const uint8_t addr[IEEE80211_ADDR_LEN]) argument 1268 mwl_hal_setmac(struct mwl_hal_vap *vap, const uint8_t addr[IEEE80211_ADDR_LEN]) argument 1280 mwl_hal_setbeacon(struct mwl_hal_vap *vap, const void *frame, size_t frameLen) argument 1300 mwl_hal_setpowersave_bss(struct mwl_hal_vap *vap, uint8_t nsta) argument 1317 mwl_hal_setpowersave_sta(struct mwl_hal_vap *vap, uint16_t aid, int ena) argument 1334 mwl_hal_setassocid(struct mwl_hal_vap *vap, const uint8_t bssId[IEEE80211_ADDR_LEN], uint16_t assocId) argument 1370 bastream_check_available(struct mwl_hal_vap *vap, int qid, const uint8_t Macaddr[IEEE80211_ADDR_LEN], uint8_t Tid, uint8_t ParamInfo) argument 1413 mwl_hal_bastream_alloc(struct mwl_hal_vap *vap, int ba_policy, const uint8_t Macaddr[IEEE80211_ADDR_LEN], uint8_t Tid, uint8_t ParamInfo, void *a1, void *a2) argument 1463 mwl_hal_bastream_create(struct mwl_hal_vap *vap, const MWL_HAL_BASTREAM *s, int BarThrs, int WindowSize, uint16_t seqno) argument 1683 mwl_hal_newstation(struct mwl_hal_vap *vap, const uint8_t addr[IEEE80211_ADDR_LEN], uint16_t aid, uint16_t sid, const MWL_HAL_PEERINFO *peer, int isQosSta, int wmeInfo) argument 1712 mwl_hal_delstation(struct mwl_hal_vap *vap, const uint8_t addr[IEEE80211_ADDR_LEN]) argument 1761 mwl_hal_setapmode(struct mwl_hal_vap *vap, MWL_HAL_APMODE ApMode) argument 1779 mwl_hal_stop(struct mwl_hal_vap *vap) argument 1800 mwl_hal_start(struct mwl_hal_vap *vap) argument 1917 mwl_hal_setnprot(struct mwl_hal_vap *vap, MWL_HAL_HTPROTECT mode) argument 1935 mwl_hal_setnprotmode(struct mwl_hal_vap *vap, uint8_t mode) argument [all...] |
/freebsd-11-stable/sys/fs/fdescfs/ |
H A D | fdesc_vnops.c | 432 struct vattr *vap = ap->a_vap; local 436 vap->va_mode = S_IRUSR|S_IXUSR|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH; 437 vap->va_fileid = VTOFDESC(vp)->fd_ix; 438 vap->va_uid = 0; 439 vap->va_gid = 0; 440 vap->va_blocksize = DEV_BSIZE; 441 vap->va_atime.tv_sec = boottime.tv_sec; 442 vap->va_atime.tv_nsec = 0; 443 vap->va_mtime = vap 477 struct vattr *vap = ap->a_vap; local [all...] |
/freebsd-11-stable/sys/fs/msdosfs/ |
H A D | msdosfs_vnops.c | 144 printf("msdosfs_create(cnp %p, vap %p\n", cnp, ap->a_vap); 261 struct vattr *vap = ap->a_vap; local 269 vap->va_fsid = dev2udev(pmp->pm_dev); 289 vap->va_fileid = msdosfs_fileno_map(pmp->pm_mountp, fileid); 291 vap->va_fileid = (long)fileid; 294 vap->va_mode = mode & 296 vap->va_uid = pmp->pm_uid; 297 vap->va_gid = pmp->pm_gid; 298 vap->va_nlink = 1; 299 vap 336 struct vattr *vap = ap->a_vap; local [all...] |
/freebsd-11-stable/tools/regression/net80211/wep/ |
H A D | test_wep.c | 188 runtest(struct ieee80211vap *vap, struct ciphertest *t) argument 190 struct ieee80211_key *key = &vap->iv_nw_keys[t->keyix]; 204 if (!ieee80211_crypto_newkey(vap, t->cipher, 212 if (!ieee80211_crypto_setkey(vap, key)) { 255 ctx->wc_vap = vap; 256 ctx->wc_ic = vap->iv_ic; 278 ieee80211_crypto_delkey(vap, key); 284 ieee80211_crypto_delkey(vap, key); 299 struct ieee80211vap vap; local 304 memset(&vap, [all...] |
/freebsd-11-stable/sys/cddl/compat/opensolaris/sys/ |
H A D | policy.h | 57 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,
|
/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...] |
/freebsd-11-stable/sys/dev/usb/wlan/ |
H A D | if_uralvar.h | 75 struct ieee80211vap vap; member in struct:ural_vap 83 #define URAL_VAP(vap) ((struct ural_vap *)(vap))
|
H A D | if_rum.c | 663 struct ieee80211vap *vap; local 668 vap = &rvp->vap; 671 if (ieee80211_vap_setup(ic, vap, name, unit, opmode, 679 rvp->newstate = vap->iv_newstate; 680 vap->iv_newstate = rum_newstate; 681 vap->iv_key_alloc = rum_key_alloc; 682 vap->iv_key_set = rum_key_set; 683 vap->iv_key_delete = rum_key_delete; 684 vap 715 rum_vap_delete(struct ieee80211vap *vap) argument 838 rum_beacon_miss(struct ieee80211vap *vap) argument 869 struct ieee80211vap *vap = ni->ni_vap; local 921 rum_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument 1036 struct ieee80211vap *vap; local 1416 struct ieee80211vap *vap = ni->ni_vap; local 1449 struct ieee80211vap *vap = ni->ni_vap; local 1584 struct ieee80211vap *vap = ni->ni_vap; local 1734 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local 2130 rum_set_maxretry(struct rum_softc *sc, struct ieee80211vap *vap) argument 2152 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local 2509 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local 2678 rum_reset(struct ieee80211vap *vap, u_long cmd) argument 2713 rum_set_beacon(struct rum_softc *sc, struct ieee80211vap *vap) argument 2746 rum_alloc_beacon(struct rum_softc *sc, struct ieee80211vap *vap) argument 2771 struct ieee80211vap *vap = data->vap; local 2777 rum_update_beacon(struct ieee80211vap *vap, int item) argument 2959 rum_key_alloc(struct ieee80211vap *vap, struct ieee80211_key *k, ieee80211_keyix *keyix, ieee80211_keyix *rxkeyix) argument 2993 rum_key_set(struct ieee80211vap *vap, const struct ieee80211_key *k) argument 3010 rum_key_delete(struct ieee80211vap *vap, const struct ieee80211_key *k) argument 3071 struct ieee80211vap *vap = ni->ni_vap; local 3084 struct ieee80211vap *vap = &rvp->vap; local 3094 struct ieee80211vap *vap = &rvp->vap; local [all...] |
/freebsd-11-stable/sys/fs/autofs/ |
H A D | autofs_vnops.c | 79 struct vattr *vap; local 85 vap = ap->a_vap; 109 vap->va_type = VDIR; 110 vap->va_mode = 0755; 111 vap->va_nlink = 3; /* XXX */ 112 vap->va_uid = 0; 113 vap->va_gid = 0; 114 vap->va_rdev = NODEV; 115 vap->va_fsid = mp->mnt_stat.f_fsid.val[0]; 116 vap [all...] |
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | zfs_ctldir.c | 485 zfsctl_common_getattr(vnode_t *vp, vattr_t *vap) argument 492 vap->va_uid = 0; 493 vap->va_gid = 0; 494 vap->va_rdev = 0; 499 vap->va_blksize = 0; 500 vap->va_nblocks = 0; 501 vap->va_seq = 0; 502 vap->va_fsid = vp->v_mount->mnt_stat.f_fsid.val[0]; 503 vap->va_mode = zfsctl_ctldir_mode; 504 vap 581 struct vattr *vap = ap->a_vap; local 1119 vattr_t *vap = ap->a_vap; local [all...] |
/freebsd-11-stable/sys/dev/ath/ |
H A D | if_ath_keycache.c | 183 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 D | if_ath_beacon.c | 178 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...] |
/freebsd-11-stable/sys/dev/wi/ |
H A D | if_wi.c | 119 static void wi_vap_delete(struct ieee80211vap *vap); 491 struct ieee80211vap *vap; local 497 vap = &wvp->wv_vap; 498 ieee80211_vap_setup(ic, vap, name, unit, opmode, flags, bssid); 500 vap->iv_max_aid = WI_MAX_AID; 505 wvp->wv_newstate = vap->iv_newstate; 506 vap->iv_newstate = wi_newstate_sta; 508 wvp->wv_recv_mgmt = vap->iv_recv_mgmt; 509 vap->iv_recv_mgmt = wi_recv_mgmt; 513 wvp->wv_newstate = vap 538 wi_vap_delete(struct ieee80211vap *vap) argument 767 struct ieee80211vap *vap = ni->ni_vap; local 780 wi_newstate_sta(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument 849 wi_newstate_hostap(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument 1038 struct ieee80211vap *vap = ni->ni_vap; local 1192 struct ieee80211vap *vap = ifp->if_softc; local 1223 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local 1436 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local 1513 struct ieee80211vap *vap; local 1660 wi_write_txrate(struct wi_softc *sc, struct ieee80211vap *vap) argument 1688 wi_write_wep(struct wi_softc *sc, struct ieee80211vap *vap) argument [all...] |
/freebsd-11-stable/sys/fs/nandfs/ |
H A D | nandfs_vnops.c | 492 struct vattr *vap = ap->a_vap; local 500 VATTR_NULL(vap); 501 vap->va_atime.tv_sec = inode->i_mtime; 502 vap->va_atime.tv_nsec = inode->i_mtime_nsec; 503 vap->va_mtime.tv_sec = inode->i_mtime; 504 vap->va_mtime.tv_nsec = inode->i_mtime_nsec; 505 vap->va_ctime.tv_sec = inode->i_ctime; 506 vap->va_ctime.tv_nsec = inode->i_ctime_nsec; 507 vap->va_type = IFTOVT(inode->i_mode); 508 vap 803 struct vattr *vap = ap->a_vap; local 978 nandfs_check_possible(struct vnode *vp, struct vattr *vap, mode_t mode) argument 1015 nandfs_check_permitted(struct vnode *vp, struct vattr *vap, mode_t mode, struct ucred *cred) argument 1040 struct vattr vap; local 1879 struct vattr *vap = ap->a_vap; local [all...] |
/freebsd-11-stable/sys/ufs/ufs/ |
H A D | ufs_vnops.c | 227 struct vattr *vap = ap->a_vap; local 233 error = ufs_makeinode(MAKEIMODE(vap->va_type, vap->va_mode), 239 if (vap->va_rdev != VNOVAL) { 244 DIP_SET(ip, i_rdev, vap->va_rdev); 433 struct vattr *vap = ap->a_vap; local 438 vap->va_atime.tv_sec = ip->i_din1->di_atime; 439 vap->va_atime.tv_nsec = ip->i_din1->di_atimensec; 441 vap->va_atime.tv_sec = ip->i_din2->di_atime; 442 vap 493 struct vattr *vap = ap->a_vap; local 1760 struct vattr *vap = ap->a_vap; local [all...] |
/freebsd-11-stable/sys/fs/devfs/ |
H A D | devfs_vnops.c | 672 struct vattr *vap = ap->a_vap; local 693 vap->va_uid = de->de_uid; 694 vap->va_gid = de->de_gid; 695 vap->va_mode = de->de_mode; 697 vap->va_size = strlen(de->de_symlink); 699 vap->va_size = vap->va_bytes = DEV_BSIZE; 701 vap->va_size = 0; 703 vap->va_bytes = 0; 704 vap 1562 struct vattr *vap; local [all...] |