Lines Matching defs:acl_state
376 struct posix_acl_state acl_state, default_acl_state;
404 ret = init_acl_state(&acl_state, num_aces);
409 free_acl_state(&acl_state);
416 free_acl_state(&acl_state);
502 acl_state.owner.allow = ((acl_mode & 0700) >> 6) | 0004;
503 acl_state.users->aces[acl_state.users->n].uid =
505 acl_state.users->aces[acl_state.users->n++].perms.allow =
518 acl_state.owner.allow = ((mode & 0700) >> 6) | 0004;
519 acl_state.users->aces[acl_state.users->n].uid = fattr->cf_uid;
520 acl_state.users->aces[acl_state.users->n++].perms.allow =
530 acl_state.group.allow = (mode & 0070) >> 3;
531 acl_state.groups->aces[acl_state.groups->n].gid =
533 acl_state.groups->aces[acl_state.groups->n++].perms.allow =
546 acl_state.other.allow = mode & 0007;
550 if (acl_state.users->n || acl_state.groups->n) {
551 acl_state.mask.allow = 0x07;
555 posix_acl_alloc(acl_state.users->n +
556 acl_state.groups->n + 4, GFP_KERNEL);
559 posix_state_to_acl(&acl_state, cf_pace);
577 free_acl_state(&acl_state);