Lines Matching defs:default_acl_state
376 struct posix_acl_state acl_state, default_acl_state;
407 ret = init_acl_state(&default_acl_state, num_aces);
415 free_acl_state(&default_acl_state);
507 default_acl_state.owner.allow = ((acl_mode & 0700) >> 6) | 0004;
508 default_acl_state.users->aces[default_acl_state.users->n].uid =
510 default_acl_state.users->aces[default_acl_state.users->n++].perms.allow =
522 default_acl_state.owner.allow = ((mode & 0700) >> 6) | 0004;
523 default_acl_state.users->aces[default_acl_state.users->n].uid =
525 default_acl_state.users->aces[default_acl_state.users->n++].perms.allow =
535 default_acl_state.group.allow = (mode & 0070) >> 3;
536 default_acl_state.groups->aces[default_acl_state.groups->n].gid =
538 default_acl_state.groups->aces[default_acl_state.groups->n++].perms.allow =
547 default_acl_state.other.allow = mode & 0007;
564 if (default_acl_state.users->n || default_acl_state.groups->n) {
565 default_acl_state.mask.allow = 0x07;
569 posix_acl_alloc(default_acl_state.users->n +
570 default_acl_state.groups->n + 4, GFP_KERNEL);
573 posix_state_to_acl(&default_acl_state, cf_pdace);
578 free_acl_state(&default_acl_state);