Lines Matching refs:mopt

103 			       struct mount_options *mopt,
882 struct mount_options *mopt) in ocfs2_verify_userspace_stack() argument
884 if (!ocfs2_userspace_stack(osb) && mopt->cluster_stack[0]) { in ocfs2_verify_userspace_stack()
892 strncmp(osb->osb_cluster_stack, mopt->cluster_stack, in ocfs2_verify_userspace_stack()
897 mopt->cluster_stack, in ocfs2_verify_userspace_stack()
1290 struct mount_options *mopt, in ocfs2_parse_options() argument
1301 mopt->commit_interval = 0; in ocfs2_parse_options()
1302 mopt->mount_opt = OCFS2_MOUNT_NOINTR; in ocfs2_parse_options()
1303 mopt->atime_quantum = OCFS2_DEFAULT_ATIME_QUANTUM; in ocfs2_parse_options()
1304 mopt->slot = OCFS2_INVALID_SLOT; in ocfs2_parse_options()
1305 mopt->localalloc_opt = -1; in ocfs2_parse_options()
1306 mopt->cluster_stack[0] = '\0'; in ocfs2_parse_options()
1307 mopt->resv_level = OCFS2_DEFAULT_RESV_LEVEL; in ocfs2_parse_options()
1308 mopt->dir_resv_level = -1; in ocfs2_parse_options()
1322 mopt->mount_opt |= OCFS2_MOUNT_HB_LOCAL; in ocfs2_parse_options()
1325 mopt->mount_opt |= OCFS2_MOUNT_HB_NONE; in ocfs2_parse_options()
1328 mopt->mount_opt |= OCFS2_MOUNT_HB_GLOBAL; in ocfs2_parse_options()
1336 mopt->mount_opt |= OCFS2_MOUNT_BARRIER; in ocfs2_parse_options()
1338 mopt->mount_opt &= ~OCFS2_MOUNT_BARRIER; in ocfs2_parse_options()
1341 mopt->mount_opt &= ~OCFS2_MOUNT_NOINTR; in ocfs2_parse_options()
1344 mopt->mount_opt |= OCFS2_MOUNT_NOINTR; in ocfs2_parse_options()
1347 mopt->mount_opt &= ~OCFS2_MOUNT_ERRORS_CONT; in ocfs2_parse_options()
1348 mopt->mount_opt &= ~OCFS2_MOUNT_ERRORS_ROFS; in ocfs2_parse_options()
1349 mopt->mount_opt |= OCFS2_MOUNT_ERRORS_PANIC; in ocfs2_parse_options()
1352 mopt->mount_opt &= ~OCFS2_MOUNT_ERRORS_CONT; in ocfs2_parse_options()
1353 mopt->mount_opt &= ~OCFS2_MOUNT_ERRORS_PANIC; in ocfs2_parse_options()
1354 mopt->mount_opt |= OCFS2_MOUNT_ERRORS_ROFS; in ocfs2_parse_options()
1357 mopt->mount_opt &= ~OCFS2_MOUNT_ERRORS_ROFS; in ocfs2_parse_options()
1358 mopt->mount_opt &= ~OCFS2_MOUNT_ERRORS_PANIC; in ocfs2_parse_options()
1359 mopt->mount_opt |= OCFS2_MOUNT_ERRORS_CONT; in ocfs2_parse_options()
1362 mopt->mount_opt &= ~OCFS2_MOUNT_DATA_WRITEBACK; in ocfs2_parse_options()
1365 mopt->mount_opt |= OCFS2_MOUNT_DATA_WRITEBACK; in ocfs2_parse_options()
1368 mopt->mount_opt &= ~OCFS2_MOUNT_NOUSERXATTR; in ocfs2_parse_options()
1371 mopt->mount_opt |= OCFS2_MOUNT_NOUSERXATTR; in ocfs2_parse_options()
1379 mopt->atime_quantum = option; in ocfs2_parse_options()
1387 mopt->slot = (s16)option; in ocfs2_parse_options()
1398 mopt->commit_interval = HZ * option; in ocfs2_parse_options()
1406 mopt->localalloc_opt = option; in ocfs2_parse_options()
1420 mopt->mount_opt |= OCFS2_MOUNT_LOCALFLOCKS; in ocfs2_parse_options()
1437 memcpy(mopt->cluster_stack, args[0].from, in ocfs2_parse_options()
1439 mopt->cluster_stack[OCFS2_STACK_LABEL_LEN] = '\0'; in ocfs2_parse_options()
1445 if (memcmp(mopt->cluster_stack, in ocfs2_parse_options()
1451 mopt->mount_opt |= OCFS2_MOUNT_INODE64; in ocfs2_parse_options()
1454 mopt->mount_opt |= OCFS2_MOUNT_USRQUOTA; in ocfs2_parse_options()
1457 mopt->mount_opt |= OCFS2_MOUNT_GRPQUOTA; in ocfs2_parse_options()
1460 mopt->mount_opt |= OCFS2_MOUNT_COHERENCY_BUFFERED; in ocfs2_parse_options()
1463 mopt->mount_opt &= ~OCFS2_MOUNT_COHERENCY_BUFFERED; in ocfs2_parse_options()
1466 mopt->mount_opt |= OCFS2_MOUNT_POSIX_ACL; in ocfs2_parse_options()
1467 mopt->mount_opt &= ~OCFS2_MOUNT_NO_POSIX_ACL; in ocfs2_parse_options()
1470 mopt->mount_opt |= OCFS2_MOUNT_NO_POSIX_ACL; in ocfs2_parse_options()
1471 mopt->mount_opt &= ~OCFS2_MOUNT_POSIX_ACL; in ocfs2_parse_options()
1482 mopt->resv_level = option; in ocfs2_parse_options()
1493 mopt->dir_resv_level = option; in ocfs2_parse_options()
1496 mopt->mount_opt |= OCFS2_MOUNT_JOURNAL_ASYNC_COMMIT; in ocfs2_parse_options()
1509 tmp = mopt->mount_opt & (OCFS2_MOUNT_HB_LOCAL | in ocfs2_parse_options()