Lines Matching refs:mode_set
58 #define mode_set(r) ((attr->mode & (SHFL_UNIX_##r)) ? (S_##r) : 0) in vboxsf_init_inode() macro
60 mode = mode_set(IRUSR); in vboxsf_init_inode()
61 mode |= mode_set(IWUSR); in vboxsf_init_inode()
62 mode |= mode_set(IXUSR); in vboxsf_init_inode()
64 mode |= mode_set(IRGRP); in vboxsf_init_inode()
65 mode |= mode_set(IWGRP); in vboxsf_init_inode()
66 mode |= mode_set(IXGRP); in vboxsf_init_inode()
68 mode |= mode_set(IROTH); in vboxsf_init_inode()
69 mode |= mode_set(IWOTH); in vboxsf_init_inode()
70 mode |= mode_set(IXOTH); in vboxsf_init_inode()
72 #undef mode_set in vboxsf_init_inode()
282 #define mode_set(r) ((iattr->ia_mode & (S_##r)) ? SHFL_UNIX_##r : 0) in vboxsf_setattr() macro
290 info.attr.mode = mode_set(IRUSR); in vboxsf_setattr()
291 info.attr.mode |= mode_set(IWUSR); in vboxsf_setattr()
292 info.attr.mode |= mode_set(IXUSR); in vboxsf_setattr()
293 info.attr.mode |= mode_set(IRGRP); in vboxsf_setattr()
294 info.attr.mode |= mode_set(IWGRP); in vboxsf_setattr()
295 info.attr.mode |= mode_set(IXGRP); in vboxsf_setattr()
296 info.attr.mode |= mode_set(IROTH); in vboxsf_setattr()
297 info.attr.mode |= mode_set(IWOTH); in vboxsf_setattr()
298 info.attr.mode |= mode_set(IXOTH); in vboxsf_setattr()
332 #undef mode_set in vboxsf_setattr()