Lines Matching refs:acl_state
376 struct posix_acl_state acl_state, default_acl_state; in parse_dacl() local
408 ret = init_acl_state(&acl_state, num_aces); in parse_dacl()
413 free_acl_state(&acl_state); in parse_dacl()
499 acl_state.owner.allow = ((acl_mode & 0700) >> 6) | 0004; in parse_dacl()
500 acl_state.users->aces[acl_state.users->n].uid = in parse_dacl()
502 acl_state.users->aces[acl_state.users->n++].perms.allow = in parse_dacl()
515 acl_state.owner.allow = ((mode & 0700) >> 6) | 0004; in parse_dacl()
516 acl_state.users->aces[acl_state.users->n].uid = fattr->cf_uid; in parse_dacl()
517 acl_state.users->aces[acl_state.users->n++].perms.allow = in parse_dacl()
527 acl_state.group.allow = (mode & 0070) >> 3; in parse_dacl()
528 acl_state.groups->aces[acl_state.groups->n].gid = in parse_dacl()
530 acl_state.groups->aces[acl_state.groups->n++].perms.allow = in parse_dacl()
543 acl_state.other.allow = mode & 0007; in parse_dacl()
547 if (acl_state.users->n || acl_state.groups->n) { in parse_dacl()
548 acl_state.mask.allow = 0x07; in parse_dacl()
552 posix_acl_alloc(acl_state.users->n + in parse_dacl()
553 acl_state.groups->n + 4, GFP_KERNEL); in parse_dacl()
556 posix_state_to_acl(&acl_state, cf_pace); in parse_dacl()
574 free_acl_state(&acl_state); in parse_dacl()