Lines Matching refs:acl_state
1873 struct posix_acl_state acl_state; in ksmbd_vfs_set_init_posix_acl() local
1883 rc = init_acl_state(&acl_state, 1); in ksmbd_vfs_set_init_posix_acl()
1888 acl_state.owner.allow = (inode->i_mode & 0700) >> 6; in ksmbd_vfs_set_init_posix_acl()
1889 acl_state.group.allow = (inode->i_mode & 0070) >> 3; in ksmbd_vfs_set_init_posix_acl()
1890 acl_state.other.allow = inode->i_mode & 0007; in ksmbd_vfs_set_init_posix_acl()
1891 acl_state.users->aces[acl_state.users->n].uid = inode->i_uid; in ksmbd_vfs_set_init_posix_acl()
1892 acl_state.users->aces[acl_state.users->n++].perms.allow = in ksmbd_vfs_set_init_posix_acl()
1893 acl_state.owner.allow; in ksmbd_vfs_set_init_posix_acl()
1894 acl_state.groups->aces[acl_state.groups->n].gid = inode->i_gid; in ksmbd_vfs_set_init_posix_acl()
1895 acl_state.groups->aces[acl_state.groups->n++].perms.allow = in ksmbd_vfs_set_init_posix_acl()
1896 acl_state.group.allow; in ksmbd_vfs_set_init_posix_acl()
1897 acl_state.mask.allow = 0x07; in ksmbd_vfs_set_init_posix_acl()
1901 free_acl_state(&acl_state); in ksmbd_vfs_set_init_posix_acl()
1904 posix_state_to_acl(&acl_state, acls->a_entries); in ksmbd_vfs_set_init_posix_acl()
1911 posix_state_to_acl(&acl_state, acls->a_entries); in ksmbd_vfs_set_init_posix_acl()
1918 free_acl_state(&acl_state); in ksmbd_vfs_set_init_posix_acl()