Searched refs:vap (Results 1 - 24 of 24) sorted by relevance

/darwin-on-arm/xnu/bsd/miscfs/devfs/
H A Ddevfs_vnops.c418 struct vnode_attr *vap = ap->a_vap; local
426 VATTR_RETURN(vap, va_mode, file_node->dn_mode);
439 VATTR_RETURN(vap, va_rdev, 0);
440 vap->va_mode |= (S_IFDIR);
443 VATTR_RETURN(vap, va_rdev, vp->v_rdev);
444 vap->va_mode |= (S_IFCHR);
447 VATTR_RETURN(vap, va_rdev, vp->v_rdev);
448 vap->va_mode |= (S_IFBLK);
451 VATTR_RETURN(vap, va_rdev, 0);
452 vap
519 struct vnode_attr *vap = ap->a_vap; local
1102 struct vnode_attr * vap = ap->a_vap; local
1233 struct vnode_attr * vap = ap->a_vap; local
[all...]
H A Ddevfs_fdesc_support.c117 static int fdesc_attr(int fd, struct vnode_attr *vap, vfs_context_t a_context);
385 fdesc_attr(int fd, struct vnode_attr *vap, vfs_context_t a_context) argument
403 error = vnode_getattr((struct vnode *)fp->f_fglob->fg_data, vap, a_context);
404 if (error == 0 && vap->va_type == VDIR) {
411 vap->va_mode &= ~((VEXEC)|(VEXEC>>3)|(VEXEC>>6));
427 VATTR_RETURN(vap, va_type, VSOCK);
429 VATTR_RETURN(vap, va_type, VFIFO);
431 VATTR_RETURN(vap, va_mode, stb.st_mode);
432 VATTR_RETURN(vap, va_nlink, stb.st_nlink);
433 VATTR_RETURN(vap, va_ui
461 struct vnode_attr *vap = ap->a_vap; local
[all...]
/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_vnops.c83 struct componentname *cnp, struct vnode_attr *vap,
213 struct vnode_attr *vap = ap->a_vap; local
224 error = hfs_makenode(dvp, vpp, ap->a_cnp, vap, ap->a_context);
233 if ((vap->va_rdev != VNOVAL) &&
234 (vap->va_type == VBLK || vap->va_type == VCHR))
235 cp->c_rdev = vap->va_rdev;
682 struct vnode_attr *vap = ap->a_vap; local
696 if (VATTR_IS_ACTIVE(vap, va_data_size) || VATTR_IS_ACTIVE(vap, va_total_allo
1114 struct vnode_attr *vap = ap->a_vap; local
5066 hfs_makenode(struct vnode *dvp, struct vnode **vpp, struct componentname *cnp, struct vnode_attr *vap, vfs_context_t ctx) argument
[all...]
/darwin-on-arm/xnu/bsd/vfs/
H A Dkpi_vfs.c141 struct vnode_attr * vap, vfs_context_t ctx);
2425 vnode_getattr(vnode_t vp, struct vnode_attr *vap, vfs_context_t ctx) argument
2435 VATTR_CLEAR_ACTIVE(vap, va_acl);
2436 VATTR_CLEAR_ACTIVE(vap, va_uuuid);
2437 VATTR_CLEAR_ACTIVE(vap, va_guuid);
2444 if (VATTR_IS_ACTIVE(vap, va_data_alloc) ||
2445 VATTR_IS_ACTIVE(vap, va_total_size) ||
2446 VATTR_IS_ACTIVE(vap, va_total_alloc)) {
2447 VATTR_SET_ACTIVE(vap, va_data_size);
2448 VATTR_SET_ACTIVE(vap, va_data_allo
2657 vnode_setattr(vnode_t vp, struct vnode_attr *vap, vfs_context_t ctx) argument
2750 vnode_setattr_fallback(vnode_t vp, struct vnode_attr *vap, vfs_context_t ctx) argument
2869 vnode_notify(vnode_t vp, uint32_t events, struct vnode_attr *vap) argument
2925 vfs_get_notify_attributes(struct vnode_attr *vap) argument
3082 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) argument
3159 VNOP_CREATE(vnode_t dvp, vnode_t * vpp, struct componentname * cnp, struct vnode_attr * vap, vfs_context_t ctx) argument
3274 VNOP_MKNOD(vnode_t dvp, vnode_t * vpp, struct componentname * cnp, struct vnode_attr * vap, vfs_context_t ctx) argument
3494 VNOP_GETATTR(vnode_t vp, struct vnode_attr * vap, vfs_context_t ctx) argument
3542 VNOP_SETATTR(vnode_t vp, struct vnode_attr * vap, vfs_context_t ctx) argument
4246 VNOP_COMPOUND_REMOVE(vnode_t dvp, vnode_t *vpp, struct nameidata *ndp, int32_t flags, struct vnode_attr *vap, vfs_context_t ctx) argument
4849 vn_mkdir(struct vnode *dvp, struct vnode **vpp, struct nameidata *ndp, struct vnode_attr *vap, vfs_context_t ctx) argument
4880 VNOP_MKDIR(struct vnode *dvp, struct vnode **vpp, struct componentname *cnp, struct vnode_attr *vap, vfs_context_t ctx) argument
4926 VNOP_COMPOUND_MKDIR(struct vnode *dvp, struct vnode **vpp, struct nameidata *ndp, struct vnode_attr *vap, vfs_context_t ctx) argument
4964 vn_rmdir(vnode_t dvp, vnode_t *vpp, struct nameidata *ndp, struct vnode_attr *vap, vfs_context_t ctx) argument
5047 VNOP_COMPOUND_RMDIR(struct vnode *dvp, struct vnode **vpp, struct nameidata *ndp, struct vnode_attr *vap, vfs_context_t ctx) argument
5176 xattrfile_setattr(vnode_t dvp, const char * basename, struct vnode_attr * vap, vfs_context_t ctx) argument
5264 VNOP_SYMLINK(struct vnode *dvp, struct vnode **vpp, struct componentname *cnp, struct vnode_attr *vap, char *target, vfs_context_t ctx) argument
5906 vn_remove(vnode_t dvp, vnode_t *vpp, struct nameidata *ndp, int32_t flags, struct vnode_attr *vap, vfs_context_t ctx) argument
[all...]
H A Dvfs_subr.c217 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);
5094 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) argument
5099 return VNOP_COMPOUND_OPEN(dvp, vpp, ndp, VNOP_COMPOUND_OPEN_DO_CREATE, fmode, statusp, vap, ctx);
5101 return VNOP_CREATE(dvp, vpp, &ndp->ni_cnd, vap, ctx);
5116 * vap Pointer to the vnode_attr structure
5129 * *vap May be modified by the underlying VFS.
5136 * Notes: The kauth_filesec_t in 'vap', if any, is in host byte order.
5138 * Modification of '*cnp' and '*vap' by the underlying VFS is
5147 vn_create(vnode_t dvp, vnode_t *vpp, struct nameidata *ndp, struct vnode_attr *vap, uint32_ argument
5254 struct vnode_attr *vap; member in struct:_vnode_authorize_context
5277 vn_attribute_prepare(vnode_t dvp, struct vnode_attr *vap, uint32_t *defaulted_fieldsp, vfs_context_t ctx) argument
5322 vn_attribute_cleanup(struct vnode_attr *vap, uint32_t defaulted_fields) argument
5483 vn_authorize_create(vnode_t dvp, struct componentname *cnp, struct vnode_attr *vap, vfs_context_t ctx, void *reserved) argument
5648 vn_authorize_mkdir(vnode_t dvp, struct componentname *cnp, struct vnode_attr *vap, vfs_context_t ctx, void *reserved) argument
5767 vnode_immutable(struct vnode_attr *vap, int append, int ignore) argument
5795 vauth_node_owner(struct vnode_attr *vap, kauth_cred_t cred) argument
5830 vauth_node_group(struct vnode_attr *vap, kauth_cred_t cred, int *ismember, int idontknow) argument
6024 struct vnode_attr *vap; local
6188 struct vnode_attr *vap = vcp->vap; local
6322 struct vnode_attr *vap = vcp->vap; local
6506 vnode_authorize_checkimmutable(vnode_t vp, struct vnode_attr *vap, int rights, int ignore) argument
7038 vnode_authattr_new(vnode_t dvp, struct vnode_attr *vap, int noauth, vfs_context_t ctx) argument
7048 vnode_authattr_new_internal(vnode_t dvp, struct vnode_attr *vap, int noauth, uint32_t *defaulted_fieldsp, vfs_context_t ctx) argument
7269 vnode_authattr(vnode_t vp, struct vnode_attr *vap, kauth_action_t *actionp, vfs_context_t ctx) argument
[all...]
H A Dvfs_fsevents.c2333 vnode_get_fse_info_from_vap(vnode_t vp, fse_info *fse, struct vnode_attr *vap) argument
2335 fse->ino = (ino64_t)vap->va_fileid;
2336 fse->dev = (dev_t)vap->va_fsid;
2337 fse->mode = (int32_t)vnode_vttoif(vnode_vtype(vp)) | vap->va_mode;
2338 fse->uid = (uid_t)vap->va_uid;
2339 fse->gid = (gid_t)vap->va_gid;
2343 fse->nlink = (uint64_t)vap->va_dirlinkcount;
2345 fse->nlink = (uint64_t)vap->va_nlink;
2353 create_fsevent_from_kevent(vnode_t vp, uint32_t kevents, struct vnode_attr *vap) argument
2376 fse.dev = vap
[all...]
H A Dvfs_vnops.c201 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) argument
212 VATTR_SET(vap, va_type, VREG);
214 vap->va_vaflags |= VA_EXCLUSIVE;
218 if ((error = vn_authorize_create(dvp, &ndp->ni_cnd, vap, ctx, NULL)) != 0)
226 if ((error = vn_authorize_create(dvp, &ndp->ni_cnd, vap, ctx, NULL)) != 0)
230 error = vn_create(dvp, &ndp->ni_vp, ndp, vap, VN_CREATE_DOOPEN, fmode, &status, ctx);
308 * pointed to by ndp, fmodep, and vap as necessary to perform the requested
316 * vap A pointer to the vnode attribute
326 * Notes: The kauth_filesec_t in 'vap', if any, is in host byte order.
341 * The contents of '*vap' wil
352 vn_open_auth(struct nameidata *ndp, int *fmodep, struct vnode_attr *vap) argument
[all...]
H A Dvfs_attrlist.c294 * Given the attributes listed in alp, configure vap to request
455 getattrlist_parsetab(struct getattrlist_attrtab *tab, attrgroup_t attrs, struct vnode_attr *vap, argument
465 vap->va_active |= tab->bits;
488 * Given the attributes listed in alp, configure vap to request
492 getattrlist_setupvattr(struct attrlist *alp, struct vnode_attr *vap, ssize_t *sizep, kauth_action_t *actionp, int is_64bit, int isdir) argument
502 (error = getattrlist_parsetab(getattrlist_common_tab, alp->commonattr, vap, sizep, actionp, is_64bit)) != 0)
505 (error = getattrlist_parsetab(getattrlist_dir_tab, alp->dirattr, vap, sizep, actionp, is_64bit)) != 0)
508 (error = getattrlist_parsetab(getattrlist_file_tab, alp->fileattr, vap, sizep, actionp, is_64bit)) != 0)
516 * in the vap, fixup the asp attributes to reflect any
520 getattrlist_fixupattrs(attribute_set_t *asp, struct vnode_attr *vap) argument
[all...]
H A Dvfs_syscalls.c2964 open1(vfs_context_t ctx, struct nameidata *ndp, int uflags, struct vnode_attr *vap, int32_t *retval) argument
2987 AUDIT_ARG(mode, vap->va_mode);
3014 if ((error = vn_open_auth(ndp, &flags, vap))) {
3051 if (VATTR_IS_ACTIVE (vap, va_dataprotect_flags)) {
3052 if (vap->va_dataprotect_flags & VA_DP_RAWENCRYPTED) {
3297 static int mkfifo1(vfs_context_t ctx, user_addr_t upath, struct vnode_attr *vap);
3405 mkfifo1(vfs_context_t ctx, user_addr_t upath, struct vnode_attr *vap) argument
3424 VATTR_SET(vap, va_type, VFIFO);
3426 if ((error = vn_authorize_create(dvp, &nd.ni_cnd, vap, ctx, NULL)) != 0)
3429 error = vn_create(dvp, &vp, &nd, vap,
3963 struct vnode_attr *vap = NULL; local
5137 chmod2(vfs_context_t ctx, vnode_t vp, struct vnode_attr *vap) argument
5180 chmod1(vfs_context_t ctx, user_addr_t path, struct vnode_attr *vap) argument
5276 fchmod1(__unused proc_t p, int fd, struct vnode_attr *vap) argument
6470 mkdir1(vfs_context_t ctx, user_addr_t path, struct vnode_attr *vap) argument
6644 struct vnode_attr *vap = NULL; local
[all...]
/darwin-on-arm/xnu/bsd/nfs/
H A Dnfs_vnops.c1481 struct vnode_attr *vap = ap->a_vap; local
1489 VATTR_RETURN(vap, va_type, nva.nva_type);
1490 VATTR_RETURN(vap, va_mode, nva.nva_mode);
1492 VATTR_RETURN(vap, va_rdev, rdev);
1493 VATTR_RETURN(vap, va_uid, nva.nva_uid);
1494 VATTR_RETURN(vap, va_gid, nva.nva_gid);
1495 VATTR_RETURN(vap, va_nlink, nva.nva_nlink);
1496 VATTR_RETURN(vap, va_fileid, nva.nva_fileid);
1497 VATTR_RETURN(vap, va_data_size, nva.nva_size);
1498 VATTR_RETURN(vap, va_data_allo
1530 struct vnode_attr *vap = ap->a_vap; local
1835 nfs3_setattr_rpc( nfsnode_t np, struct vnode_attr *vap, vfs_context_t ctx) argument
3326 struct vnode_attr *vap = ap->a_vap; local
3475 struct vnode_attr *vap = ap->a_vap; local
4249 struct vnode_attr *vap = ap->a_vap; local
4405 struct vnode_attr *vap = ap->a_vap; local
7498 struct vnode_attr vattr, *vap = NULL; local
7522 vnode_notify(NFSTOV(np), events, vap); local
[all...]
H A Dnfs_subs.c832 nfsm_chain_add_v2sattr_f(struct nfsm_chain *nmc, struct vnode_attr *vap, uint32_t szrdev) argument
836 nfsm_chain_add_32(error, nmc, vtonfsv2_mode(vap->va_type,
837 (VATTR_IS_ACTIVE(vap, va_mode) ? vap->va_mode : 0600)));
839 VATTR_IS_ACTIVE(vap, va_uid) ? vap->va_uid : (uint32_t)-1);
841 VATTR_IS_ACTIVE(vap, va_gid) ? vap->va_gid : (uint32_t)-1);
844 VATTR_IS_ACTIVE(vap, va_access_time) ?
845 &vap
857 nfsm_chain_add_v3sattr_f(struct nfsm_chain *nmc, struct vnode_attr *vap) argument
1710 nfs_avoid_needless_id_setting_on_create(nfsnode_t dnp, struct vnode_attr *vap, vfs_context_t ctx) argument
2247 nfsm_chain_add_fattr( struct nfsrv_descript *nd, struct nfsm_chain *nmc, struct vnode_attr *vap) argument
2291 nfsm_chain_get_sattr( struct nfsrv_descript *nd, struct nfsm_chain *nmc, struct vnode_attr *vap) argument
[all...]
H A Dnfs_serv.c472 struct vnode_attr vattr, *vap = &vattr; local
493 VATTR_INIT(vap);
494 error = nfsm_chain_get_sattr(nd, nmreq, vap);
539 if ((vap->va_uid == saved_uid) && (kauth_cred_getuid(nd->nd_cr) != saved_uid)) {
541 VATTR_SET(vap, va_uid, kauth_cred_getuid(nd->nd_cr));
542 if (kauth_cred_ismember_gid(nd->nd_cr, vap->va_gid, &ismember) || !ismember)
543 VATTR_SET(vap, va_gid, kauth_cred_getgid(nd->nd_cr));
547 error = vnode_authattr(vp, vap, &action, ctx);
553 error = vnode_setattr(vp, vap, ctx);
604 struct vnode_attr va, dirattr, *vap local
828 struct vnode_attr vattr, *vap = &vattr; local
1813 struct vnode_attr va, *vap = &va; local
2142 struct vnode_attr va, *vap = &va; local
3283 struct vnode_attr va, *vap = &va; local
3504 struct vnode_attr va, *vap = &va; local
4121 struct vnode_attr attr, va, *vap = &va; local
[all...]
H A Dnfs4_subs.c787 nfs_vattr_set_bitmap(struct nfsmount *nmp, uint32_t *bitmap, struct vnode_attr *vap) argument
792 if (VATTR_IS_ACTIVE(vap, va_data_size))
794 if (VATTR_IS_ACTIVE(vap, va_acl) && (nmp->nm_fsattr.nfsa_flags & NFS_FSFLAG_ACL))
796 if (VATTR_IS_ACTIVE(vap, va_flags)) {
801 if (VATTR_IS_ACTIVE(vap, va_mode) && !NMFLAG(nmp, ACLONLY))
803 if (VATTR_IS_ACTIVE(vap, va_uid) || VATTR_IS_ACTIVE(vap, va_uuuid))
805 if (VATTR_IS_ACTIVE(vap, va_gid) || VATTR_IS_ACTIVE(vap, va_guuid))
808 if (vap
1470 nfs_vattr_set_supported(uint32_t *bitmap, struct vnode_attr *vap) argument
2176 nfsm_chain_add_fattr4_f(struct nfsm_chain *nmc, struct vnode_attr *vap, struct nfsmount *nmp) argument
[all...]
H A Dnfs4_vnops.c1371 struct vnode_attr *vap = ap->a_vap; local
1381 if (VATTR_IS_ACTIVE(vap, va_acl) && acls)
1388 if (VATTR_IS_ACTIVE(vap, va_rdev) && NFS_BITMAP_ISSET(nva.nva_bitmap, NFS_FATTR_RAWDEV)) {
1390 VATTR_RETURN(vap, va_rdev, rdev);
1392 if (VATTR_IS_ACTIVE(vap, va_nlink) && NFS_BITMAP_ISSET(nva.nva_bitmap, NFS_FATTR_NUMLINKS))
1393 VATTR_RETURN(vap, va_nlink, nva.nva_nlink);
1394 if (VATTR_IS_ACTIVE(vap, va_data_size) && NFS_BITMAP_ISSET(nva.nva_bitmap, NFS_FATTR_SIZE))
1395 VATTR_RETURN(vap, va_data_size, nva.nva_size);
1396 // VATTR_RETURN(vap, va_data_alloc, ???);
1397 // VATTR_RETURN(vap, va_total_siz
1472 nfs4_setattr_rpc( nfsnode_t np, struct vnode_attr *vap, vfs_context_t ctx) argument
4520 nfs4_open_rpc( struct nfs_open_file *nofp, vfs_context_t ctx, struct componentname *cnp, struct vnode_attr *vap, vnode_t dvp, vnode_t *vpp, int create, int share_access, int share_deny) argument
4618 nfs4_open_rpc_internal( struct nfs_open_file *nofp, vfs_context_t ctx, thread_t thd, kauth_cred_t cred, struct componentname *cnp, struct vnode_attr *vap, vnode_t dvp, vnode_t *vpp, int create, int share_access, int share_deny) argument
6119 struct vnode_attr *vap = ap->a_vap; local
6273 nfs4_create_rpc( vfs_context_t ctx, nfsnode_t dnp, struct componentname *cnp, struct vnode_attr *vap, int type, char *link, nfsnode_t *npp) argument
[all...]
/darwin-on-arm/xnu/bsd/sys/
H A Dfsevents.h151 void create_fsevent_from_kevent(vnode_t vp, uint32_t kevents, struct vnode_attr *vap);
164 int vnode_get_fse_info_from_vap(vnode_t vp, fse_info *fse, struct vnode_attr *vap);
H A Dvnode_internal.h403 errno_t vn_remove(vnode_t dvp, vnode_t *vpp, struct nameidata *ndp, int32_t flags, struct vnode_attr *vap, vfs_context_t ctx);
420 int vn_attribute_prepare(vnode_t dvp, struct vnode_attr *vap, uint32_t *defaulted_fieldsp, vfs_context_t ctx);
421 void vn_attribute_cleanup(struct vnode_attr *vap, uint32_t defaulted_fields);
439 int vn_mkdir(vnode_t dvp, vnode_t *vpp, struct nameidata *ndp, struct vnode_attr *vap, vfs_context_t ctx);
440 int vn_rmdir(vnode_t dvp, vnode_t *vpp, struct nameidata *ndp, struct vnode_attr *vap, vfs_context_t ctx);
507 int vnode_setattr_fallback(vnode_t vp, struct vnode_attr *vap, vfs_context_t ctx);
H A Ddecmpfs.h122 int decmpfs_update_attributes(vnode_t vp, struct vnode_attr *vap);
H A Dvnode_if.h198 @param vap File creation properties, as seen in vnode_getattr(). Manipulated with VATTR_ISACTIVE, VATTR_RETURN,
252 @param vap Attributes for new file, including type.
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);
384 @param vap Container for which attributes are requested, which attributes are supported by the filesystem, and attribute values.
409 @param vap Container for which attributes are to be set and their desired values, as well as for the filesystem to
671 extern errno_t VNOP_COMPOUND_REMOVE(vnode_t, vnode_t*, struct nameidata *, int32_t flags, struct vnode_attr *vap, vfs_context_t);
776 @param vap Attributes for new directory.
795 int (*a_mkdir_authorizer)(vnode_t dvp, struct componentname *cnp, struct vnode_attr *vap, vfs_context_t ctx, void *reserved);
846 extern errno_t VNOP_COMPOUND_RMDIR(vnode_t, vnode_t*, struct nameidata *, struct vnode_attr *vap, vfs_context_
[all...]
H A Dvnode.h1095 @param vap Structure containing: 1) A list of requested attributes 2) Space to indicate which attributes are supported and being returned 3) Space to return attributes.
1099 int vnode_getattr(vnode_t vp, struct vnode_attr *vap, vfs_context_t ctx);
1106 @param vap Structure containing: 1) A list of attributes to set 2) Space for values for those attributes 3) Space to indicate which attributes were set.
1110 int vnode_setattr(vnode_t vp, struct vnode_attr *vap, vfs_context_t ctx);
1439 @param vap Attributes for that vnode, to be passed to fsevents.
1441 vfs_get_notify_attributes(&vap). The most specific events possible should be passed,
1473 @param vap Structure to initialize and activate required attributes on.
1477 int vfs_get_notify_attributes(struct vnode_attr *vap);
1546 @param vap Pointer to vnode_attr struct containing desired attributes to set and their values.
1559 @param vap Pointe
[all...]
/darwin-on-arm/xnu/bsd/kern/
H A Dkern_exec.c1698 struct vnode_attr *vap; local
1718 MALLOC(bufp, char *, (sizeof(*imgp) + sizeof(*vap) + sizeof(*origvap)), M_TEMP, M_WAITOK | M_ZERO);
1724 vap = (struct vnode_attr *) (bufp + sizeof(*imgp));
1725 origvap = (struct vnode_attr *) (bufp + sizeof(*imgp) + sizeof(*vap));
1731 imgp->ip_vattr = vap;
2293 struct vnode_attr *vap; local
2306 MALLOC(bufp, char *, (sizeof(*imgp) + sizeof(*vap) + sizeof(*origvap)), M_TEMP, M_WAITOK | M_ZERO);
2312 vap = (struct vnode_attr *) (bufp + sizeof(*imgp));
2313 origvap = (struct vnode_attr *) (bufp + sizeof(*imgp) + sizeof(*vap));
2319 imgp->ip_vattr = vap;
3066 struct vnode_attr *vap = imgp->ip_vattr; local
[all...]
H A Ddecmpfs.c781 decmpfs_update_attributes(vnode_t vp, struct vnode_attr *vap) argument
785 if (VATTR_IS_ACTIVE(vap, va_flags)) {
787 if (vap->va_flags & UF_COMPRESSED) {
806 if (VATTR_IS_ACTIVE(vap, va_data_size)) {
811 vap->va_flags &= ~UF_COMPRESSED;
822 VATTR_SET_ACTIVE(vap, va_data_size);
823 vap->va_data_size = 0;
828 vap->va_flags &= ~UF_COMPRESSED;
/darwin-on-arm/xnu/security/
H A Dmac_vfs.c540 struct componentname *cnp, struct vnode_attr *vap)
550 MAC_CHECK(vnode_check_create, cred, dvp, dvp->v_label, cnp, vap);
1144 struct componentname *cnp, struct vnode_attr *vap)
1154 MAC_CHECK(vnode_check_uipc_bind, cred, dvp, dvp->v_label, cnp, vap);
539 mac_vnode_check_create(vfs_context_t ctx, struct vnode *dvp, struct componentname *cnp, struct vnode_attr *vap) argument
1143 mac_vnode_check_uipc_bind(vfs_context_t ctx, struct vnode *dvp, struct componentname *cnp, struct vnode_attr *vap) argument
H A Dmac_framework.h463 struct componentname *cnp, struct vnode_attr *vap);
520 struct componentname *cnp, struct vnode_attr *vap);
H A Dmac_policy.h4861 @param vap vnode attributes for vap
4878 struct vnode_attr *vap
5534 @param vap vnode attributes for vap
5549 struct vnode_attr *vap

Completed in 222 milliseconds