Lines Matching refs:acl_state
1829 struct posix_acl_state acl_state; in ksmbd_vfs_set_init_posix_acl() local
1837 rc = init_acl_state(&acl_state, 1); in ksmbd_vfs_set_init_posix_acl()
1842 acl_state.owner.allow = (inode->i_mode & 0700) >> 6; in ksmbd_vfs_set_init_posix_acl()
1843 acl_state.group.allow = (inode->i_mode & 0070) >> 3; in ksmbd_vfs_set_init_posix_acl()
1844 acl_state.other.allow = inode->i_mode & 0007; in ksmbd_vfs_set_init_posix_acl()
1845 acl_state.users->aces[acl_state.users->n].uid = inode->i_uid; in ksmbd_vfs_set_init_posix_acl()
1846 acl_state.users->aces[acl_state.users->n++].perms.allow = in ksmbd_vfs_set_init_posix_acl()
1847 acl_state.owner.allow; in ksmbd_vfs_set_init_posix_acl()
1848 acl_state.groups->aces[acl_state.groups->n].gid = inode->i_gid; in ksmbd_vfs_set_init_posix_acl()
1849 acl_state.groups->aces[acl_state.groups->n++].perms.allow = in ksmbd_vfs_set_init_posix_acl()
1850 acl_state.group.allow; in ksmbd_vfs_set_init_posix_acl()
1851 acl_state.mask.allow = 0x07; in ksmbd_vfs_set_init_posix_acl()
1855 free_acl_state(&acl_state); in ksmbd_vfs_set_init_posix_acl()
1858 posix_state_to_acl(&acl_state, acls->a_entries); in ksmbd_vfs_set_init_posix_acl()
1864 posix_state_to_acl(&acl_state, acls->a_entries); in ksmbd_vfs_set_init_posix_acl()
1871 free_acl_state(&acl_state); in ksmbd_vfs_set_init_posix_acl()