Home
last modified time | relevance | path

Searched refs:perms (Results 1 – 9 of 9) sorted by relevance

/linux-4.19.296/fs/orangefs/
Dorangefs-utils.c105 if (attrs->perms & ORANGEFS_O_EXECUTE) in orangefs_inode_perms()
107 if (attrs->perms & ORANGEFS_O_WRITE) in orangefs_inode_perms()
109 if (attrs->perms & ORANGEFS_O_READ) in orangefs_inode_perms()
112 if (attrs->perms & ORANGEFS_G_EXECUTE) in orangefs_inode_perms()
114 if (attrs->perms & ORANGEFS_G_WRITE) in orangefs_inode_perms()
116 if (attrs->perms & ORANGEFS_G_READ) in orangefs_inode_perms()
119 if (attrs->perms & ORANGEFS_U_EXECUTE) in orangefs_inode_perms()
121 if (attrs->perms & ORANGEFS_U_WRITE) in orangefs_inode_perms()
123 if (attrs->perms & ORANGEFS_U_READ) in orangefs_inode_perms()
126 if (attrs->perms & ORANGEFS_G_SGID) in orangefs_inode_perms()
[all …]
Dprotocol.h229 __u32 perms; member
Dorangefs-kernel.h442 sys_attr.perms = ORANGEFS_util_translate_mode(mode); \
/linux-4.19.296/fs/nfsd/
Dnfs4acl.c431 struct posix_ace_state perms; member
526 low_mode_from_nfs4(state->users->aces[i].perms.allow, in posix_state_to_acl()
529 add_to_mask(state, &state->users->aces[i].perms); in posix_state_to_acl()
540 low_mode_from_nfs4(state->groups->aces[i].perms.allow, in posix_state_to_acl()
543 add_to_mask(state, &state->groups->aces[i].perms); in posix_state_to_acl()
582 a->aces[i].perms.allow = state->everyone.allow; in find_uid()
583 a->aces[i].perms.deny = state->everyone.deny; in find_uid()
599 a->aces[i].perms.allow = state->everyone.allow; in find_gid()
600 a->aces[i].perms.deny = state->everyone.deny; in find_gid()
610 deny_bits(&a->aces[i].perms, mask); in deny_bits_array()
[all …]
/linux-4.19.296/fs/hfsplus/
Dcatalog.c81 void hfsplus_cat_set_perms(struct inode *inode, struct hfsplus_perm *perms) in hfsplus_cat_set_perms() argument
84 perms->rootflags |= HFSPLUS_FLG_IMMUTABLE; in hfsplus_cat_set_perms()
86 perms->rootflags &= ~HFSPLUS_FLG_IMMUTABLE; in hfsplus_cat_set_perms()
88 perms->rootflags |= HFSPLUS_FLG_APPEND; in hfsplus_cat_set_perms()
90 perms->rootflags &= ~HFSPLUS_FLG_APPEND; in hfsplus_cat_set_perms()
92 perms->userflags = HFSPLUS_I(inode)->userflags; in hfsplus_cat_set_perms()
93 perms->mode = cpu_to_be16(inode->i_mode); in hfsplus_cat_set_perms()
94 perms->owner = cpu_to_be32(i_uid_read(inode)); in hfsplus_cat_set_perms()
95 perms->group = cpu_to_be32(i_gid_read(inode)); in hfsplus_cat_set_perms()
98 perms->dev = cpu_to_be32(inode->i_nlink); in hfsplus_cat_set_perms()
[all …]
Dinode.c182 struct hfsplus_perm *perms, int dir) in hfsplus_get_perms() argument
187 mode = be16_to_cpu(perms->mode); in hfsplus_get_perms()
189 i_uid_write(inode, be32_to_cpu(perms->owner)); in hfsplus_get_perms()
193 i_gid_write(inode, be32_to_cpu(perms->group)); in hfsplus_get_perms()
204 HFSPLUS_I(inode)->userflags = perms->userflags; in hfsplus_get_perms()
205 if (perms->rootflags & HFSPLUS_FLG_IMMUTABLE) in hfsplus_get_perms()
209 if (perms->rootflags & HFSPLUS_FLG_APPEND) in hfsplus_get_perms()
Dhfsplus_fs.h455 void hfsplus_cat_set_perms(struct inode *inode, struct hfsplus_perm *perms);
/linux-4.19.296/include/linux/
Dkernel.h1026 #define VERIFY_OCTAL_PERMISSIONS(perms) \ argument
1027 (BUILD_BUG_ON_ZERO((perms) < 0) + \
1028 BUILD_BUG_ON_ZERO((perms) > 0777) + \
1030 BUILD_BUG_ON_ZERO((((perms) >> 6) & 4) < (((perms) >> 3) & 4)) + \
1031 BUILD_BUG_ON_ZERO((((perms) >> 3) & 4) < ((perms) & 4)) + \
1033 BUILD_BUG_ON_ZERO((((perms) >> 6) & 2) < (((perms) >> 3) & 2)) + \
1035 BUILD_BUG_ON_ZERO((perms) & 2) + \
1036 (perms))
/linux-4.19.296/drivers/misc/lkdtm/
DMakefile7 lkdtm-$(CONFIG_LKDTM) += perms.o