Searched refs:acl_state (Results 1 – 5 of 5) sorted by relevance
398 struct posix_acl_state acl_state, default_acl_state; in parse_dacl() local432 ret = init_acl_state(&acl_state, num_aces); in parse_dacl()437 free_acl_state(&acl_state); in parse_dacl()444 free_acl_state(&acl_state); in parse_dacl()536 acl_state.owner.allow = ((acl_mode & 0700) >> 6) | 0004; in parse_dacl()537 acl_state.users->aces[acl_state.users->n].uid = in parse_dacl()539 acl_state.users->aces[acl_state.users->n++].perms.allow = in parse_dacl()551 acl_state.owner.allow = ((mode & 0700) >> 6) | 0004; in parse_dacl()552 acl_state.users->aces[acl_state.users->n].uid = fattr->cf_uid; in parse_dacl()553 acl_state.users->aces[acl_state.users->n++].perms.allow = in parse_dacl()[all …]
2216 struct posix_acl_state acl_state; in ksmbd_vfs_set_init_posix_acl() local2226 rc = init_acl_state(&acl_state, 1); in ksmbd_vfs_set_init_posix_acl()2231 acl_state.owner.allow = (inode->i_mode & 0700) >> 6; in ksmbd_vfs_set_init_posix_acl()2232 acl_state.group.allow = (inode->i_mode & 0070) >> 3; in ksmbd_vfs_set_init_posix_acl()2233 acl_state.other.allow = inode->i_mode & 0007; in ksmbd_vfs_set_init_posix_acl()2234 acl_state.users->aces[acl_state.users->n].uid = inode->i_uid; in ksmbd_vfs_set_init_posix_acl()2235 acl_state.users->aces[acl_state.users->n++].perms.allow = in ksmbd_vfs_set_init_posix_acl()2236 acl_state.owner.allow; in ksmbd_vfs_set_init_posix_acl()2237 acl_state.groups->aces[acl_state.groups->n].gid = inode->i_gid; in ksmbd_vfs_set_init_posix_acl()2238 acl_state.groups->aces[acl_state.groups->n++].perms.allow = in ksmbd_vfs_set_init_posix_acl()[all …]
65 int *want_meta, struct ocfs2_acl_state *acl_state);
259 struct ocfs2_acl_state acl_state = { 0 }; in ocfs2_mknod() local334 status = ocfs2_acl_init_prepare(inode, dir, parent_fe_bh, &acl_state); in ocfs2_mknod()340 &want_meta, &acl_state); in ocfs2_mknod()415 &acl_state); in ocfs2_mknod()480 ocfs2_acl_init_release(&acl_state); in ocfs2_mknod()
641 int *want_meta, struct ocfs2_acl_state *acl_state) in ocfs2_calc_xattr_init() argument651 if (acl_state->default_acl && S_ISDIR(mode)) { in ocfs2_calc_xattr_init()652 acl_len = acl_state->default_acl->a_count * in ocfs2_calc_xattr_init()656 if (acl_state->acl) { in ocfs2_calc_xattr_init()657 acl_len = acl_state->acl->a_count * in ocfs2_calc_xattr_init()703 if (acl_state->default_acl && S_ISDIR(mode)) { in ocfs2_calc_xattr_init()704 acl_len = acl_state->default_acl->a_count * in ocfs2_calc_xattr_init()716 if (acl_state->acl) { in ocfs2_calc_xattr_init()717 acl_len = acl_state->acl->a_count * in ocfs2_calc_xattr_init()7461 struct ocfs2_acl_state acl_state = { 0 }; in ocfs2_init_security_and_acl() local[all …]