Lines Matching refs:mode_set
57 #define mode_set(r) ((attr->mode & (SHFL_UNIX_##r)) ? (S_##r) : 0) in vboxsf_init_inode() macro
59 mode = mode_set(IRUSR); in vboxsf_init_inode()
60 mode |= mode_set(IWUSR); in vboxsf_init_inode()
61 mode |= mode_set(IXUSR); in vboxsf_init_inode()
63 mode |= mode_set(IRGRP); in vboxsf_init_inode()
64 mode |= mode_set(IWGRP); in vboxsf_init_inode()
65 mode |= mode_set(IXGRP); in vboxsf_init_inode()
67 mode |= mode_set(IROTH); in vboxsf_init_inode()
68 mode |= mode_set(IWOTH); in vboxsf_init_inode()
69 mode |= mode_set(IXOTH); in vboxsf_init_inode()
71 #undef mode_set in vboxsf_init_inode()
281 #define mode_set(r) ((iattr->ia_mode & (S_##r)) ? SHFL_UNIX_##r : 0) in vboxsf_setattr() macro
289 info.attr.mode = mode_set(IRUSR); in vboxsf_setattr()
290 info.attr.mode |= mode_set(IWUSR); in vboxsf_setattr()
291 info.attr.mode |= mode_set(IXUSR); in vboxsf_setattr()
292 info.attr.mode |= mode_set(IRGRP); in vboxsf_setattr()
293 info.attr.mode |= mode_set(IWGRP); in vboxsf_setattr()
294 info.attr.mode |= mode_set(IXGRP); in vboxsf_setattr()
295 info.attr.mode |= mode_set(IROTH); in vboxsf_setattr()
296 info.attr.mode |= mode_set(IWOTH); in vboxsf_setattr()
297 info.attr.mode |= mode_set(IXOTH); in vboxsf_setattr()
331 #undef mode_set in vboxsf_setattr()