/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | zfs_znode.c | 747 * vap - file attributes for new znode 761 zfs_mknode(znode_t *dzp, vattr_t *vap, dmu_tx_t *tx, cred_t *cr, argument 780 ASSERT(vap && (vap->va_mask & (AT_TYPE|AT_MODE)) == (AT_TYPE|AT_MODE)); 783 obj = vap->va_nodeid; 784 now = vap->va_ctime; /* see zfs_replay_create() */ 785 gen = vap->va_nblocks; /* ditto */ 805 if (vap->va_type == VDIR) { 852 if (vap->va_type == VDIR) { 859 if (vap [all...] |
H A D | zfs_acl.c | 1609 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 D | zfs_dir.c | 791 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);
|
/freebsd-11-stable/sys/dev/ath/ath_rate/amrr/ |
H A D | amrr.c | 222 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 D | onoe.c | 195 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/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/ |
H A D | zfs_znode.h | 330 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/contrib/libxo/xo/ |
H A D | xo.c | 80 checkpoint (xo_handle_t *xop UNUSED, va_list vap UNUSED, int restore) 95 const char *fmt, va_list vap UNUSED)
|
/freebsd-11-stable/sys/sys/ |
H A D | vnode.h | 418 #define VATTR_NULL(vap) vattr_null(vap) 420 #define VATTR_NULL(vap) (*(vap) = va_null) /* initialize a vattr */ 664 void vattr_null(struct vattr *vap); 723 int vn_utimes_perm(struct vnode *vp, struct vattr *vap,
|
/freebsd-11-stable/sys/kern/ |
H A D | vfs_subr.c | 906 vattr_null(struct vattr *vap) argument 909 vap->va_type = VNON; 910 vap->va_size = VNOVAL; 911 vap->va_bytes = VNOVAL; 912 vap->va_mode = VNOVAL; 913 vap->va_nlink = VNOVAL; 914 vap->va_uid = VNOVAL; 915 vap->va_gid = VNOVAL; 916 vap->va_fsid = VNOVAL; 917 vap [all...] |
/freebsd-11-stable/sys/dev/usb/wlan/ |
H A D | if_urtw.c | 1014 struct ieee80211vap *vap; local 1019 vap = &uvp->vap; 1022 if (ieee80211_vap_setup(ic, vap, name, unit, opmode, 1030 uvp->newstate = vap->iv_newstate; 1031 vap->iv_newstate = urtw_newstate; 1034 ieee80211_vap_attach(vap, ieee80211_media_change, 1037 return (vap); 1041 urtw_vap_delete(struct ieee80211vap *vap) argument 1043 struct urtw_vap *uvp = URTW_VAP(vap); 1198 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local 1671 struct ieee80211vap *vap = ni->ni_vap; local 1848 urtw_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument 3206 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local [all...] |
H A D | if_rsureg.h | 742 struct ieee80211vap vap; member in struct:rsu_vap 747 #define RSU_VAP(vap) ((struct rsu_vap *)(vap))
|
H A D | if_runreg.h | 196 #define RT2860_SKEY(vap, kidx) (0x6c00 + (vap) * 128 + (kidx) * 32) 210 #define RT2860_BCN_BASE(vap) (0x7800 + (vap) * 512)
|
/freebsd-11-stable/sys/fs/nfs/ |
H A D | nfs_commonsubs.c | 2059 NFSACL_T *saclp, struct vattr *vap, fhandle_t *fhp, int rderror, 2174 *tl = vtonfsv34_type(vap->va_type); 2184 txdr_hyper(vap->va_filerev, tl); 2189 txdr_hyper(vap->va_size, tl); 2276 *tl = txdr_unsigned(vap->va_fileid); 2359 *tl = vtonfsv34_mode(vap->va_mode); 2369 *tl = txdr_unsigned(vap->va_nlink); 2374 nfsv4_uidtostr(vap->va_uid, &cp, &siz, p); 2381 nfsv4_gidtostr(vap->va_gid, &cp, &siz, p); 2457 *tl++ = txdr_unsigned(NFSMAJOR(vap 2058 nfsv4_fillattr(struct nfsrv_descript *nd, struct mount *mp, vnode_t vp, NFSACL_T *saclp, struct vattr *vap, fhandle_t *fhp, int rderror, nfsattrbit_t *attrbitp, struct ucred *cred, NFSPROC_T *p, int isdgram, int reterr, int supports_nfsv4acls, int at_root, uint64_t mounted_on_fileno) argument [all...] |
/freebsd-11-stable/sys/fs/fuse/ |
H A D | fuse_internal.c | 383 struct vattr *vap = VTOVA(vp); local 401 if (vap->va_nlink > 1) { 403 target_nlink = vap->va_nlink;
|
/freebsd-11-stable/sys/dev/malo/ |
H A D | if_malo.h | 520 #define MALO_VAP(vap) ((struct malo_vap *)(vap))
|
/freebsd-11-stable/contrib/libxo/libxo/ |
H A D | xo_syslog.c | 489 xo_vsyslog (int pri, const char *name, const char *fmt, va_list vap) argument 653 va_copy(ap, vap);
|
/freebsd-11-stable/sys/security/mac_bsdextended/ |
H A D | ugidfw_vnode.c | 89 struct label *dvplabel, struct componentname *cnp, struct vattr *vap) 88 ugidfw_check_create_vnode(struct ucred *cred, struct vnode *dvp, struct label *dvplabel, struct componentname *cnp, struct vattr *vap) argument
|
/freebsd-11-stable/sys/dev/ral/ |
H A D | rt2860reg.h | 198 #define RT2860_SKEY(vap, kidx) (0x6c00 + (vap) * 128 + (kidx) * 32) 211 #define RT2860_BCN_BASE(vap) (0x7800 + (vap) * 512)
|
/freebsd-11-stable/sys/dev/bwn/ |
H A D | if_bwnvar.h | 994 * Driver-specific vap state. 1001 #define BWN_VAP(vap) ((struct bwn_vap *)(vap)) 1002 #define BWN_VAP_CONST(vap) ((const struct mwl_vap *)(vap))
|
H A D | if_bwn.c | 1843 struct ieee80211vap *vap; local 1860 vap = &bvp->bv_vap; 1861 ieee80211_vap_setup(ic, vap, name, unit, opmode, flags, bssid); 1863 bvp->bv_newstate = vap->iv_newstate; 1864 vap->iv_newstate = bwn_newstate; 1867 vap->iv_max_aid = BWN_STAID_MAX; 1869 ieee80211_ratectl_init(vap); 1872 ieee80211_vap_attach(vap, ieee80211_media_change, 1874 return (vap); 1878 bwn_vap_delete(struct ieee80211vap *vap) argument 4742 bwn_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument 6194 struct ieee80211vap *vap = ni->ni_vap; local [all...] |
/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/fs/nfsclient/ |
H A D | nfs_clrpcops.c | 1123 nfsrpc_setattr(vnode_t vp, struct vattr *vap, NFSACL_T *aclp, argument 1136 if (vap != NULL && NFSATTRISSET(u_quad_t, vap, va_size)) 1167 if (vap != NULL) 1168 error = nfsrpc_setattrrpc(vp, vap, &stateid, cred, p, 1207 nfsrpc_setattrrpc(vnode_t vp, struct vattr *vap, argument 1220 vap->va_type = vnode_vtype(vp); 1221 nfscl_fillsattr(nd, vap, vp, NFSSATTR_FULL, 0); 1829 nfsrpc_mknod(vnode_t dvp, char *name, int namelen, struct vattr *vap, argument 1862 nfscl_fillsattr(nd, vap, dv 1909 nfsrpc_create(vnode_t dvp, char *name, int namelen, struct vattr *vap, nfsquad_t cverf, int fmode, struct ucred *cred, NFSPROC_T *p, struct nfsvattr *dnap, struct nfsvattr *nnap, struct nfsfh **nfhpp, int *attrflagp, int *dattrflagp, void *dstuff) argument 1980 nfsrpc_createv23(vnode_t dvp, char *name, int namelen, struct vattr *vap, nfsquad_t cverf, int fmode, struct ucred *cred, NFSPROC_T *p, struct nfsvattr *dnap, struct nfsvattr *nnap, struct nfsfh **nfhpp, int *attrflagp, int *dattrflagp, void *dstuff) argument 2028 nfsrpc_createv4(vnode_t dvp, char *name, int namelen, struct vattr *vap, nfsquad_t cverf, int fmode, struct nfsclowner *owp, struct nfscldeleg **dpp, struct ucred *cred, NFSPROC_T *p, struct nfsvattr *dnap, struct nfsvattr *nnap, struct nfsfh **nfhpp, int *attrflagp, int *dattrflagp, void *dstuff, int *unlockedp) argument 2574 nfsrpc_symlink(vnode_t dvp, char *name, int namelen, char *target, struct vattr *vap, struct ucred *cred, NFSPROC_T *p, struct nfsvattr *dnap, struct nfsvattr *nnap, struct nfsfh **nfhpp, int *attrflagp, int *dattrflagp, void *dstuff) argument 2635 nfsrpc_mkdir(vnode_t dvp, char *name, int namelen, struct vattr *vap, struct ucred *cred, NFSPROC_T *p, struct nfsvattr *dnap, struct nfsvattr *nnap, struct nfsfh **nfhpp, int *attrflagp, int *dattrflagp, void *dstuff) argument 6350 nfsrpc_createlayout(vnode_t dvp, char *name, int namelen, struct vattr *vap, nfsquad_t cverf, int fmode, struct nfsclowner *owp, struct nfscldeleg **dpp, struct ucred *cred, NFSPROC_T *p, struct nfsvattr *dnap, struct nfsvattr *nnap, struct nfsfh **nfhpp, int *attrflagp, int *dattrflagp, void *dstuff, int *unlockedp, nfsv4stateid_t *stateidp, int usecurstateid, int layoutlen, int *retonclosep, struct nfsclflayouthead *flhp, int *laystatp) argument 6608 nfsrpc_getcreatelayout(vnode_t dvp, char *name, int namelen, struct vattr *vap, nfsquad_t cverf, int fmode, struct nfsclowner *owp, struct nfscldeleg **dpp, struct ucred *cred, NFSPROC_T *p, struct nfsvattr *dnap, struct nfsvattr *nnap, struct nfsfh **nfhpp, int *attrflagp, int *dattrflagp, void *dstuff, int *unlockedp) argument [all...] |
/freebsd-11-stable/sys/dev/bwi/ |
H A D | if_bwivar.h | 541 #define BWI_VAP(vap) ((struct bwi_vap *)(vap))
|
/freebsd-11-stable/sys/security/mac/ |
H A D | mac_vfs.c | 424 struct componentname *cnp, struct vattr *vap) 431 vap); 432 MAC_CHECK_PROBE4(vnode_check_create, error, cred, dvp, cnp, vap); 423 mac_vnode_check_create(struct ucred *cred, struct vnode *dvp, struct componentname *cnp, struct vattr *vap) argument
|
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libzpool/common/sys/ |
H A D | zfs_context.h | 513 extern int fop_getattr(vnode_t *vp, vattr_t *vap); 517 #define VOP_GETATTR(vp, vap, cr) fop_getattr((vp), (vap));
|