Lines Matching defs:entry_d
127 * acl_set_permset() (23.4.23): sets the permissions of ACL entry entry_d
131 acl_set_permset(acl_entry_t entry_d, acl_permset_t permset_d)
134 if (!entry_d) {
144 if (!_entry_brand_may_be(entry_d, ACL_BRAND_NFS4)) {
148 _entry_brand_as(entry_d, ACL_BRAND_NFS4);
151 entry_d->ae_perm = *permset_d;
158 * ACL entry entry_d to the value referred to by tag_qualifier_p
161 acl_set_qualifier(acl_entry_t entry_d, const void *tag_qualifier_p)
164 if (!entry_d || !tag_qualifier_p) {
168 switch(entry_d->ae_tag) {
171 entry_d->ae_id = *(uid_t *)tag_qualifier_p;
182 * acl_set_tag_type() sets the tag type for ACL entry entry_d to the
186 acl_set_tag_type(acl_entry_t entry_d, acl_tag_t tag_type)
189 if (entry_d == NULL) {
197 if (!_entry_brand_may_be(entry_d, ACL_BRAND_POSIX)) {
201 _entry_brand_as(entry_d, ACL_BRAND_POSIX);
204 if (!_entry_brand_may_be(entry_d, ACL_BRAND_NFS4)) {
208 _entry_brand_as(entry_d, ACL_BRAND_NFS4);
220 entry_d->ae_tag = tag_type;
229 acl_set_entry_type_np(acl_entry_t entry_d, acl_entry_type_t entry_type)
232 if (entry_d == NULL) {
236 if (!_entry_brand_may_be(entry_d, ACL_BRAND_NFS4)) {
240 _entry_brand_as(entry_d, ACL_BRAND_NFS4);
247 entry_d->ae_entry_type = entry_type;