Lines Matching refs:abp
56 static void packnameattr(struct attrblock *abp, struct vnode *vp,
59 static void packcommonattr(struct attrblock *abp, struct hfsmount *hfsmp,
63 static void packfileattr(struct attrblock *abp, struct hfsmount *hfsmp,
67 static void packdirattr(struct attrblock *abp, struct hfsmount *hfsmp,
403 hfs_packattrblk(struct attrblock *abp,
412 struct attrlist *attrlistp = abp->ab_attrlist;
415 packcommonattr(abp, hfsmp, vp, descp, attrp, p);
418 packdirattr(abp, hfsmp, vp, descp,attrp);
421 packfileattr(abp, hfsmp, attrp, datafork, rsrcfork);
455 struct attrblock *abp,
492 varbufptr = *abp->ab_varbufpp;
493 attr_refptr = (struct attrreference *)(*abp->ab_attrbufpp);
506 *abp->ab_attrbufpp = attr_refptr;
507 *abp->ab_varbufpp = varbufptr;
513 struct attrblock *abp,
520 attrgroup_t attr = abp->ab_attrlist->commonattr;
522 void *attrbufptr = *abp->ab_attrbufpp;
523 void *varbufptr = *abp->ab_varbufpp;
534 packnameattr(abp, vp, cdp->cd_nameptr, cdp->cd_namelen);
535 attrbufptr = *abp->ab_attrbufpp;
536 varbufptr = *abp->ab_varbufpp;
709 user_access = hfs_real_user_access(vp, abp->ab_context);
719 if ((cap->ca_flags & UF_IMMUTABLE) && (vfs_context_suser(abp->ab_context) != 0))
721 if ((cap->ca_flags & SF_IMMUTABLE) && (vfs_context_suser(abp->ab_context) == 0))
736 *abp->ab_attrbufpp = attrbufptr;
737 *abp->ab_varbufpp = varbufptr;
742 struct attrblock *abp,
748 attrgroup_t attr = abp->ab_attrlist->dirattr;
749 void *attrbufptr = *abp->ab_attrbufpp;
785 *abp->ab_attrbufpp = attrbufptr;
790 struct attrblock *abp,
796 attrgroup_t attr = abp->ab_attrlist->fileattr;
797 void *attrbufptr = *abp->ab_attrbufpp;
798 void *varbufptr = *abp->ab_varbufpp;
849 *abp->ab_attrbufpp = attrbufptr;
850 *abp->ab_varbufpp = varbufptr;