Lines Matching refs:mopt
89 struct mount_options *mopt,
861 struct mount_options *mopt) in ocfs2_verify_userspace_stack() argument
863 if (!ocfs2_userspace_stack(osb) && mopt->cluster_stack[0]) { in ocfs2_verify_userspace_stack()
872 strncmp(osb->osb_cluster_stack, mopt->cluster_stack, in ocfs2_verify_userspace_stack()
877 mopt->cluster_stack, in ocfs2_verify_userspace_stack()
1255 struct mount_options *mopt, in ocfs2_parse_options() argument
1266 mopt->commit_interval = 0; in ocfs2_parse_options()
1267 mopt->mount_opt = OCFS2_MOUNT_NOINTR; in ocfs2_parse_options()
1268 mopt->atime_quantum = OCFS2_DEFAULT_ATIME_QUANTUM; in ocfs2_parse_options()
1269 mopt->slot = OCFS2_INVALID_SLOT; in ocfs2_parse_options()
1270 mopt->localalloc_opt = -1; in ocfs2_parse_options()
1271 mopt->cluster_stack[0] = '\0'; in ocfs2_parse_options()
1272 mopt->resv_level = OCFS2_DEFAULT_RESV_LEVEL; in ocfs2_parse_options()
1273 mopt->dir_resv_level = -1; in ocfs2_parse_options()
1287 mopt->mount_opt |= OCFS2_MOUNT_HB_LOCAL; in ocfs2_parse_options()
1290 mopt->mount_opt |= OCFS2_MOUNT_HB_NONE; in ocfs2_parse_options()
1293 mopt->mount_opt |= OCFS2_MOUNT_HB_GLOBAL; in ocfs2_parse_options()
1301 mopt->mount_opt |= OCFS2_MOUNT_BARRIER; in ocfs2_parse_options()
1303 mopt->mount_opt &= ~OCFS2_MOUNT_BARRIER; in ocfs2_parse_options()
1306 mopt->mount_opt &= ~OCFS2_MOUNT_NOINTR; in ocfs2_parse_options()
1309 mopt->mount_opt |= OCFS2_MOUNT_NOINTR; in ocfs2_parse_options()
1312 mopt->mount_opt &= ~OCFS2_MOUNT_ERRORS_CONT; in ocfs2_parse_options()
1313 mopt->mount_opt &= ~OCFS2_MOUNT_ERRORS_ROFS; in ocfs2_parse_options()
1314 mopt->mount_opt |= OCFS2_MOUNT_ERRORS_PANIC; in ocfs2_parse_options()
1317 mopt->mount_opt &= ~OCFS2_MOUNT_ERRORS_CONT; in ocfs2_parse_options()
1318 mopt->mount_opt &= ~OCFS2_MOUNT_ERRORS_PANIC; in ocfs2_parse_options()
1319 mopt->mount_opt |= OCFS2_MOUNT_ERRORS_ROFS; in ocfs2_parse_options()
1322 mopt->mount_opt &= ~OCFS2_MOUNT_ERRORS_ROFS; in ocfs2_parse_options()
1323 mopt->mount_opt &= ~OCFS2_MOUNT_ERRORS_PANIC; in ocfs2_parse_options()
1324 mopt->mount_opt |= OCFS2_MOUNT_ERRORS_CONT; in ocfs2_parse_options()
1327 mopt->mount_opt &= ~OCFS2_MOUNT_DATA_WRITEBACK; in ocfs2_parse_options()
1330 mopt->mount_opt |= OCFS2_MOUNT_DATA_WRITEBACK; in ocfs2_parse_options()
1333 mopt->mount_opt &= ~OCFS2_MOUNT_NOUSERXATTR; in ocfs2_parse_options()
1336 mopt->mount_opt |= OCFS2_MOUNT_NOUSERXATTR; in ocfs2_parse_options()
1344 mopt->atime_quantum = option; in ocfs2_parse_options()
1352 mopt->slot = (u16)option; in ocfs2_parse_options()
1363 mopt->commit_interval = HZ * option; in ocfs2_parse_options()
1371 mopt->localalloc_opt = option; in ocfs2_parse_options()
1385 mopt->mount_opt |= OCFS2_MOUNT_LOCALFLOCKS; in ocfs2_parse_options()
1402 memcpy(mopt->cluster_stack, args[0].from, in ocfs2_parse_options()
1404 mopt->cluster_stack[OCFS2_STACK_LABEL_LEN] = '\0'; in ocfs2_parse_options()
1410 if (memcmp(mopt->cluster_stack, in ocfs2_parse_options()
1416 mopt->mount_opt |= OCFS2_MOUNT_INODE64; in ocfs2_parse_options()
1419 mopt->mount_opt |= OCFS2_MOUNT_USRQUOTA; in ocfs2_parse_options()
1422 mopt->mount_opt |= OCFS2_MOUNT_GRPQUOTA; in ocfs2_parse_options()
1425 mopt->mount_opt |= OCFS2_MOUNT_COHERENCY_BUFFERED; in ocfs2_parse_options()
1428 mopt->mount_opt &= ~OCFS2_MOUNT_COHERENCY_BUFFERED; in ocfs2_parse_options()
1431 mopt->mount_opt |= OCFS2_MOUNT_POSIX_ACL; in ocfs2_parse_options()
1432 mopt->mount_opt &= ~OCFS2_MOUNT_NO_POSIX_ACL; in ocfs2_parse_options()
1435 mopt->mount_opt |= OCFS2_MOUNT_NO_POSIX_ACL; in ocfs2_parse_options()
1436 mopt->mount_opt &= ~OCFS2_MOUNT_POSIX_ACL; in ocfs2_parse_options()
1447 mopt->resv_level = option; in ocfs2_parse_options()
1458 mopt->dir_resv_level = option; in ocfs2_parse_options()
1461 mopt->mount_opt |= OCFS2_MOUNT_JOURNAL_ASYNC_COMMIT; in ocfs2_parse_options()
1464 mopt->mount_opt |= OCFS2_MOUNT_NOCLUSTER; in ocfs2_parse_options()
1477 tmp = mopt->mount_opt & (OCFS2_MOUNT_HB_LOCAL | in ocfs2_parse_options()