/xnu-2422.115.4/bsd/sys/ |
H A D | imgact.h | 81 struct vnode_attr *ip_vattr; /* run file attributes */ 82 struct vnode_attr *ip_origvattr; /* invocation file attributes */
|
H A D | vnode_internal.h | 387 int vn_open_auth(struct nameidata *ndp, int *fmode, struct vnode_attr *); 389 errno_t vn_remove(vnode_t dvp, vnode_t *vpp, struct nameidata *ndp, int32_t flags, struct vnode_attr *vap, vfs_context_t ctx); 390 errno_t vn_rename(struct vnode *fdvp, struct vnode **fvpp, struct componentname *fcnp, struct vnode_attr *fvap, 391 struct vnode *tdvp, struct vnode **tvpp, struct componentname *tcnp, struct vnode_attr *tvap, 405 int vn_authorize_create(vnode_t, struct componentname *, struct vnode_attr *, vfs_context_t, void*); 406 int vn_attribute_prepare(vnode_t dvp, struct vnode_attr *vap, uint32_t *defaulted_fieldsp, vfs_context_t ctx); 407 void vn_attribute_cleanup(struct vnode_attr *vap, uint32_t defaulted_fields); 414 typedef int (*vn_create_authorizer_t)(vnode_t, struct componentname *, struct vnode_attr *, vfs_context_t, void*); 415 int vn_authorize_mkdir(vnode_t, struct componentname *, struct vnode_attr *, vfs_context_t, void*); 416 int vn_authorize_null(vnode_t, struct componentname *, struct vnode_attr *, vfs_context_ [all...] |
H A D | fsevents.h | 152 struct vnode_attr; 153 void create_fsevent_from_kevent(vnode_t vp, uint32_t kevents, struct vnode_attr *vap); 166 int vnode_get_fse_info_from_vap(vnode_t vp, fse_info *fse, struct vnode_attr *vap);
|
H A D | vnode_if.h | 186 struct vnode_attr *a_vap; 204 extern errno_t VNOP_CREATE(vnode_t, vnode_t *, struct componentname *, struct vnode_attr *, vfs_context_t); 239 struct vnode_attr *a_vap; 257 extern errno_t VNOP_MKNOD(vnode_t, vnode_t *, struct componentname *, struct vnode_attr *, vfs_context_t); 275 struct vnode_attr *a_vap; /* Attributes with which to create, if appropriate */ 284 struct vnode_attr *vap, /* As passed to VNOP */ 322 extern int VNOP_COMPOUND_OPEN(vnode_t dvp, vnode_t *vpp, struct nameidata *ndp, int32_t flags, int32_t fmode, uint32_t *status, struct vnode_attr *vap, vfs_context_t ctx); 372 struct vnode_attr *a_vap; 391 extern errno_t VNOP_GETATTR(vnode_t, struct vnode_attr *, vfs_context_t); 397 struct vnode_attr *a_va [all...] |
H A D | vnode.h | 468 * The vnode_attr structure is used to transact attribute changes and queries 571 struct vnode_attr { struct 1104 int vnode_getattr(vnode_t vp, struct vnode_attr *vap, vfs_context_t ctx); 1115 int vnode_setattr(vnode_t vp, struct vnode_attr *vap, vfs_context_t ctx); 1452 int vnode_notify(vnode_t, uint32_t, struct vnode_attr*); 1482 int vfs_get_notify_attributes(struct vnode_attr *vap); 1546 @abstract Given a vnode_attr structure, determine what kauth-style actions must be authorized in order to set those attributes. 1547 @discussion vnode_authorize requires kauth-style actions; if we want to set a vnode_attr structure on a vnode, we need to translate 1551 @param vap Pointer to vnode_attr struct containing desired attributes to set and their values. 1556 int vnode_authattr(vnode_t, struct vnode_attr *, kauth_action_ [all...] |
H A D | file_internal.h | 237 struct vnode_attr; 239 struct vnode_attr *vap, fp_allocfn_t fp_zalloc, void *cra,
|
H A D | decmpfs.h | 122 int decmpfs_update_attributes(vnode_t vp, struct vnode_attr *vap);
|
/xnu-2422.115.4/bsd/vfs/ |
H A D | kpi_vfs.c | 138 struct vnode_attr * vap, vfs_context_t ctx); 2173 vnode_getattr(vnode_t vp, struct vnode_attr *vap, vfs_context_t ctx) 2405 vnode_setattr(vnode_t vp, struct vnode_attr *vap, vfs_context_t ctx) 2498 vnode_setattr_fallback(vnode_t vp, struct vnode_attr *vap, vfs_context_t ctx) 2617 vnode_notify(vnode_t vp, uint32_t events, struct vnode_attr *vap) 2669 * Initialize a struct vnode_attr and activate the attributes required 2673 vfs_get_notify_attributes(struct vnode_attr *vap) 2787 struct vnode_attr *a_vap; 2794 VNOP_COMPOUND_OPEN(vnode_t dvp, vnode_t *vpp, struct nameidata *ndp, int32_t flags, int32_t fmode, uint32_t *statusp, struct vnode_attr *vap, vfs_context_t ctx) 2876 struct vnode_attr *a_va [all...] |
H A D | vfs_subr.c | 217 struct vnode_attr *vap, uint32_t flags, int fmode, uint32_t *statusp, vfs_context_t ctx); 218 static int vnode_authattr_new_internal(vnode_t dvp, struct vnode_attr *vap, int noauth, uint32_t *defaulted_fieldsp, vfs_context_t ctx); 5057 struct vnode_attr va; 5075 struct vnode_attr va; 5089 struct vnode_attr va; 5098 vn_create_reg(vnode_t dvp, vnode_t *vpp, struct nameidata *ndp, struct vnode_attr *vap, uint32_t flags, int fmode, uint32_t *statusp, vfs_context_t ctx) 5120 * vap Pointer to the vnode_attr structure 5151 vn_create(vnode_t dvp, vnode_t *vpp, struct nameidata *ndp, struct vnode_attr *vap, uint32_t flags, int fmode, uint32_t *statusp, vfs_context_t ctx) 5258 struct vnode_attr *vap; 5260 struct vnode_attr *dva [all...] |
H A D | vfs_syscalls.c | 1077 struct vnode_attr va; 3011 struct vnode_attr *vap, fp_allocfn_t fp_zalloc, void *cra, 3229 struct vnode_attr va; 3276 struct vnode_attr va; 3290 * Initialize the extra fields in vnode_attr to pass down our 3325 struct vnode_attr va; 3345 static int mkfifo1(vfs_context_t ctx, user_addr_t upath, struct vnode_attr *vap); 3350 struct vnode_attr va; 3453 mkfifo1(vfs_context_t ctx, user_addr_t upath, struct vnode_attr *vap) 3519 struct vnode_attr v [all...] |
H A D | vfs_vnops.c | 172 struct vnode_attr va; 212 vn_open_auth_do_create(struct nameidata *ndp, struct vnode_attr *vap, int fmode, boolean_t *did_create, boolean_t *did_open, vfs_context_t ctx) 357 vn_open_auth(struct nameidata *ndp, int *fmodep, struct vnode_attr *vap) 1101 struct vnode_attr va;
|
H A D | vfs_attrlist.c | 596 getattrlist_parsetab(struct getattrlist_attrtab *tab, attrgroup_t attrs, struct vnode_attr *vap, 633 getattrlist_setupvattr(struct attrlist *alp, int attr_cmn_extended, struct vnode_attr *vap, ssize_t *sizep, kauth_action_t *actionp, int is_64bit, int isdir) 667 getattrlist_fixupattrs(attribute_set_t *asp, struct vnode_attr *vap) 683 * filled in vnode_attr struct. If it is 0, then we don't typically expect 790 struct vnode_attr va; 1352 struct vnode_attr va; 1436 * Set up the vnode_attr structure and authorise. 1500 struct vnode_attr lva; 2289 struct vnode_attr va;
|
H A D | vfs_xattr.c | 575 struct vnode_attr va; 732 struct vnode_attr va; 1084 struct vnode_attr va; 2072 struct vnode_attr va; 2294 struct vnode_attr va; 2416 struct vnode_attr va; 2718 struct vnode_attr va;
|
/xnu-2422.115.4/bsd/nfs/ |
H A D | nfsm_subs.h | 83 int nfsm_chain_add_fattr4_f(struct nfsm_chain *, struct vnode_attr *, struct nfsmount *); 84 int nfsm_chain_add_v2sattr_f(struct nfsm_chain *, struct vnode_attr *, uint32_t); 85 int nfsm_chain_add_v3sattr_f(struct nfsm_chain *, struct vnode_attr *); 103 int nfsm_chain_add_fattr(struct nfsrv_descript *, struct nfsm_chain *, struct vnode_attr *); 105 struct vnode_attr *, int, struct vnode_attr *); 107 int nfsm_chain_get_sattr(struct nfsrv_descript *, struct nfsm_chain *, struct vnode_attr *); 128 /* Initialize a vnode_attr to retrieve attributes for the NFS server. */ 149 /* Initialize a vnode_attr to retrieve pre-operation attributes for the NFS server. */
|
H A D | nfs.h | 788 struct vnode_attr; struct nameidata; struct dqblk; struct sockaddr_in; /* XXX */ 1223 void nfs_vattr_set_supported(uint32_t *, struct vnode_attr *); 1224 void nfs_vattr_set_bitmap(struct nfsmount *, uint32_t *, struct vnode_attr *); 1231 void nfs_avoid_needless_id_setting_on_create(nfsnode_t, struct vnode_attr *, vfs_context_t); 1232 int nfs4_create_rpc(vfs_context_t, nfsnode_t, struct componentname *, struct vnode_attr *, int, char *, nfsnode_t *); 1256 int nfs4_open_rpc(struct nfs_open_file *, vfs_context_t, struct componentname *, struct vnode_attr *, vnode_t, vnode_t *, int, int, int); 1257 int nfs4_open_rpc_internal(struct nfs_open_file *, vfs_context_t, thread_t, kauth_cred_t, struct componentname *, struct vnode_attr *, vnode_t, vnode_t *, int, int, int); 1336 int nfs3_setattr_rpc(nfsnode_t, struct vnode_attr *, vfs_context_t); 1337 int nfs4_setattr_rpc(nfsnode_t, struct vnode_attr *, vfs_context_t);
|
H A D | nfs_serv.c | 283 struct vnode_attr vattr; 409 struct vnode_attr vattr; 471 struct vnode_attr preattr, postattr; 472 struct vnode_attr vattr, *vap = &vattr; 604 struct vnode_attr va, dirattr, *vap = &va; 695 struct vnode_attr vattr; 828 struct vnode_attr vattr, *vap = &vattr; 1175 struct vnode_attr preattr, postattr; 1378 struct vnode_attr preattr, postattr; 1812 struct vnode_attr dpreatt [all...] |
H A D | nfsmount.h | 219 int (*nf_setattr_rpc)(nfsnode_t, struct vnode_attr *, vfs_context_t);
|
/xnu-2422.115.4/bsd/miscfs/devfs/ |
H A D | devfs_fdesc_support.c | 114 static int fdesc_attr(int fd, struct vnode_attr *vap, vfs_context_t a_context); 384 fdesc_attr(int fd, struct vnode_attr *vap, vfs_context_t a_context) 460 struct vnode_attr *vap = ap->a_vap;
|
H A D | devfs_vnops.c | 412 struct vnode_attr *a_vap; 418 struct vnode_attr *vap = ap->a_vap; 514 struct vnode_attr *a_vap; 519 struct vnode_attr *vap = ap->a_vap; 1091 struct vnode_attr *a_vap; 1102 struct vnode_attr * vap = ap->a_vap; 1158 struct vnode_attr *a_vap; 1220 struct vnode_attr *a_vap; 1233 struct vnode_attr * vap = ap->a_vap;
|
/xnu-2422.115.4/bsd/kern/ |
H A D | kern_cs.c | 284 struct vnode_attr va; 304 struct vnode_attr va;
|
H A D | kern_exec.c | 1510 struct vnode_attr va; 1806 struct vnode_attr *vap; 1807 struct vnode_attr *origvap; 1835 vap = (struct vnode_attr *) (bufp + sizeof(*imgp)); 1836 origvap = (struct vnode_attr *) (bufp + sizeof(*imgp) + sizeof(*vap)); 2505 struct vnode_attr *vap; 2506 struct vnode_attr *origvap; 2524 vap = (struct vnode_attr *) (bufp + sizeof(*imgp)); 2525 origvap = (struct vnode_attr *) (bufp + sizeof(*imgp) + sizeof(*vap)); 3311 struct vnode_attr *va [all...] |
H A D | decmpfs.c | 272 struct vnode_attr va; 636 struct vnode_attr va_fetch; 781 decmpfs_update_attributes(vnode_t vp, struct vnode_attr *vap) 789 struct vnode_attr va_fetch; 1463 struct vnode_attr va;
|
H A D | kern_symfile.c | 195 struct vnode_attr va; 279 struct vnode_attr setva;
|
/xnu-2422.115.4/bsd/miscfs/mockfs/ |
H A D | mockfs_vnops.c | 148 * struct vnode_attr *a_vap; // Details the requested attributes, and used to return attributes 168 struct vnode_attr * vap;
|
/xnu-2422.115.4/security/ |
H A D | mac_framework.h | 126 struct vnode_attr; 471 struct componentname *cnp, struct vnode_attr *vap); 528 struct componentname *cnp, struct vnode_attr *vap);
|